JNI and classloaders on Restart

2009-01-16 Thread Juergen Weber
A given native library cannot be loaded by more than one classloader. (http://java.sun.com/docs/books/jni/html/design.html - 11.2.4) So if a Geronimo application, that uses JNI, is restarted, the new classloader cannot load the library and gets java.lang.UnsatisfiedLinkError: xx (Library is

Re: Semantics of application restart

2009-01-16 Thread Juergen Weber
Don't know what I saw earlier, but it works as you say. Thanks very much, Juergen djencks wrote: On Jan 15, 2009, at 4:39 AM, Juergen Weber wrote: Hi, what happens if you restart an application from the console? I tried to cache properties loaded from an LDAP server in a pojo

Re: JNI and classloaders on Restart

2009-01-16 Thread Kevan Miller
On Jan 16, 2009, at 7:40 AM, Juergen Weber wrote: A given native library cannot be loaded by more than one classloader. (http://java.sun.com/docs/books/jni/html/design.html - 11.2.4) So if a Geronimo application, that uses JNI, is restarted, the new classloader cannot load the library and

Re: [VOTE] Release DayTrader v2.1.3

2009-01-16 Thread Kevan Miller
Donald, What's the status of this vote? If we need more votes, then please ask for a review or cancel... --kevan On Dec 3, 2008, at 3:34 PM, Donald Woods wrote: All, I've prepared a release candidate of DayTrader 2.1.3 for your review and vote. This release can only be installed on

Re: Where does log message go?

2009-01-16 Thread Tim McConnell
Hi bongosdude, this error results because you are using the 2.1.4 GEP to point to the TRUNK version of the Geronimo server. You can use the GEP Trunk version to point to a 2.1.4 Geronimo server, but not the other way around. If you are still having difficultly deploying your artifact from

Re: Gbean to get list of modules?

2009-01-16 Thread Ricky Ignatius
Sorry for unclear question. I mean any gbean method that I can call using JMX to return list of deployed modules in server. Thanks, Ricky Ivan-65 wrote: No sure what modules you mean, web applications, ejb modules ? If does, you could refer to the corresponding portlets.Thanks !

Re: Gbean to get list of modules?

2009-01-16 Thread David Jencks
ConfigurationManager.listConfigurations() In the geronimo vm the gbean is in j2ee-system and has the short name ConfigurationManager. hope this helps david jencks On Jan 16, 2009, at 2:41 PM, Ricky Ignatius wrote: Sorry for unclear question. I mean any gbean method that I can call using