Maybe you can refer to ServerProxy from below, and call its method
Jack Cai wrote:
> 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 get the ServerInfo gbean
> kernel, and read the home info from it. But that will make your code
> all Geronimo classes.
> On Thu, Aug 27, 2009 at 2:58 PM, 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?
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.