Re: getting the geronimo.home value inside a session bean

2009-08-27 Thread Rodney B. Cabahug
; > all Geronimo classes. > > > > -Jack > > > > On Thu, Aug 27, 2009 at 2:58 PM, Rodney B. Cabahug > > >> wrote: > > > >> Hello. How do you get the value for the geronimo.home or the > installation > >> directory of geronimo from i

Re: getting the geronimo.home value inside a session bean

2009-08-27 Thread viola.lu
the value for the geronimo.home or the installation >> directory of geronimo from inside a session bean? >> Regards, >> Rodney >> > > -- View this message in context: http://www.nabble.com/getting-the-geronimo.home-value-inside-a-session-bean-tp25167289s134p25183296.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.

Re: getting the geronimo.home value inside a session bean

2009-08-27 Thread Jack Cai
I think you can simply get it from system property using this key: org.apache.geronimo.home.dir. I'm not 100% percent sure that this will always work (for example, when server is started using gshell commands, e.g., start-server) - you can do a test. There is another way to fall back, which is to

getting the geronimo.home value inside a session bean

2009-08-26 Thread Rodney B. Cabahug
Hello. How do you get the value for the geronimo.home or the installation directory of geronimo from inside a session bean? Regards, Rodney