-
1. Re: Weird Class Instantiation Problem
adrian.brock Aug 27, 2003 12:46 PM (in response to azydron)Do you have any jndi.properties anywhere else
besides server/default/conf? Or something changing the
system properties?
This is Sun code it hasn't got to jboss code yet.
Also try closing your initial context after you are finished with it
rather than relying on the garbage collector?
Regards,
Adrian -
2. Re: Weird Class Instantiation Problem
azydron Aug 28, 2003 2:26 AM (in response to azydron)Hi Adrian,
Thank you very much for your reply. We are closing the initial context. This is one of the things that we have already implemented. regarding jndi.properties we have several versions under the main jboss distribution directory (all, default and minimal). They are all identical and have the following content:
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
# Do NOT uncomment this line as it causes in VM calls to go over
# RMI!
#java.naming.provider.url=localhost
Regards,
AZ -
3. Re: Weird Class Instantiation Problem
wmprice Aug 28, 2003 10:26 PM (in response to azydron)I posted a reply to your other post....however, just to reiterate:
Are you sure you have the jbossall-client.jar in your classpath?
Weston