While attempting to connect to jboss with jakarta-tomcat, i get the
following error...

Can't find SerialContextProvider

...Has anyone encountered this or similar, and might be able to give me a
hint as to the root cause?
Thanks a lot!


The code throwing this exception is as follows...

Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,
"org.jnp.interfaces.NamingContextFactory");
env.put(Context.URL_PKG_PREFIXES, "org.jnp.interfaces");
env.put(Context.PROVIDER_URL, "127.0.0.1:1099");
Context ic = new InitialContext();

java.lang.Object objref = ic.lookup("User");

userhome = (UserHome) PortableRemoteObject.narrow(objref, UserHome.class);




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to