Can someone help me with the following problem.
I need to access an external JNDI namespace from my web app. The external JNDI namespace is the embeded JNDI server of openJMS.
The server I am using is
Test Server that comes with WSAD 5.1
I am getting error when I try to creat an IntialContext object from a
Servlet.
I am using the following properties to create the InitialContext object.
java.naming.factory.initial=org.exolab.jms.jndi.InitialContextFactory
java.naming.provider.url=iiop://localhost:1099
I get the error:
Cannot instantiate class: org.exolab.jms.jndi.InitialContextFactory
The create of IntialContext factory works when I use a simple
java class with a main(). I have set the openJMS library in my class path.
Why is it that I cannot create the InitialContext object.