-
1. Re: SerialContextProvider
rdoust Jul 1, 2002 3:58 PM (in response to rdoust)I was doing some further research and found some other info on the JBoss forums on this topic. Someone suggested that we replace j2ee.jar with jboss-j2ee.jar. I did this and had problems creating NamingContextFactory. Then I tried putting both jars in the path, jboss-j2ee first. This got me an exception that no security.properties file exists in a directory at ../config relative to the location of the jboss-j2ee.jar. I would appreciate it if someone could send me to a place where I can read about what I need to do to get this working again.
Thanks -
2. Re: SerialContextProvider
ezaydens Dec 10, 2002 4:55 PM (in response to rdoust)I had that same problem when I was invoking the InitialContext without any properties passed to the constructor. What fixed the problem was specifying the JBoss parameters:
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.provider.url=jnp://localhost:1099
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces -
3. Re: SerialContextProvider
dnoyeb Dec 18, 2002 9:15 PM (in response to rdoust)good catch and post rdoust! I started using the jboss j2ee file and this went away.