-
1. Re: 3.0.6 -> 3.0.7 ClassCastException in PortableRemoteObjec
adrian.brock Apr 30, 2003 9:43 AM (in response to jonmartin)It sounds like you have a jndi.properties in your
deployment. Remove it.
I think 3.0.7 was built with jdk1.3 so it does not
contain this workaround class for jdk1.4
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/jboss-system/src/main/org/jboss/system/JBossRMIClassLoader.java?annotate=1.2
Regards,
Adrian -
2. Re: 3.0.6 -> 3.0.7 ClassCastException in PortableRemoteObjec
jonmartin Apr 30, 2003 10:05 AM (in response to jonmartin)Thanks, I'm not quite sure what you mean, taking away jndi.properites in .../default/conf makes jboss throw a million exceptions, so I suppose you mean something else. Uhm lets see ... lets cut the props in my javacode instead:
env.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
env.put(Context.PROVIDER_URL, "localhost:1099");
Aha, this actually made the problem go away. How nice. Thanks again!
--
Jon Martin Solaas
jonmartin.soalas@mail.link.no
solaas.minidns.net