On Thu, 22 Mar 2001, Daniel Toms wrote:

> Anyone have trouble getting the InitialContext for Jboss 2.1
> when running Tomcat-4.0-b1?  We are getting:
> 
> Cannot instantiate class:
> org.jnp.interfaces.NamingContextFactoryorg.jnp.interfaces.NamingContextFacto
> ry
> 
> We have verified that all our settings, etc.,  are correct, as we can do
> this
> successfully using tomcat3.2.
> 
> I have seen various references to similar problems in the archives, but
> none that seemed to be relevant to the catalina build.....
> 
> In the meanwhile, we are reverting to 3.2
> 

One potential issue is that Tomcat 4.0 also provides a JNDI InitialContext
by default, populated from the settings in the web.xml file.  You can
disable this by adding "-nonaming" on the startup command line.

NOTE:  There have been patches against this functionality since 4.0-b1 --
I would recommend a recent nightly build.

> 
> thanks,
> 
> dan
> 
> 

Craig


Reply via email to