Thank you for the insides. Somehow -Dcatalina.useNaming=false didn't work;"-nonaming" worked. Ma Cheng ----- Original Message ----- From: "Remy Maucherat" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 20, 2001 9:55 PM Subject: Re: [JBoss-dev] "java.naming.factory.initial" in Tomcat 4.0 > > It seems "java.naming.factory.initial" in Tomcat 4.0 is set to > > "org.apache.naming.java.javaURLContextFactory" no matter what is the value > > in jndi.properties or > > "-Djava.naming.factory.initial=org.jnp.interfaces.NamingContextFactory". > > > > Does any one know how to handle this? > > There's a system property you can use to disable the support for JNDI in > Tomcat 4.0. Just set 'catalina.useNaming' to 'false'. You can also use > the -nonaming switch if you're running it from the command line. > > Remy > > > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development