[Back again]
> Well, as long as you run the NamingService (where "comp" is
> created, as
> you can see) before you try to use it in Tomcat, that should be fine.
Yeah, it is.
Current problem:
I am able to do a lookup at this point (and I think it finds the correct
object), but I get an infamous (to me) class cast because the class
loader for my interface (to which I am casting the object) is an
AdaptiveClassLoader and the class loader for the object I'm getting back
from JNDI is an instance of sun.rmi.server.LoaderHandler$Loader:
java.lang.ClassCastException
at
com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(Portable
RemoteObject.java:296)
at
javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
I'm getting further, but more and more stumped!
-Kevin
- RE: [jBoss-Dev] RE: [jBoss-User] JNDI Problem (and Embe... Kevin Lewis
- RE: [jBoss-Dev] RE: [jBoss-User] JNDI Problem (and Embe... Kevin Lewis
- Re: [jBoss-Dev] RE: [jBoss-User] JNDI Problem (and... Rickard �berg
- RE: [jBoss-Dev] RE: [jBoss-User] JNDI Problem (and Embe... Kevin Lewis
- Re: [jBoss-Dev] RE: [jBoss-User] JNDI Problem (and... Rickard �berg
- RE: [jBoss-Dev] RE: [jBoss-User] JNDI Problem (and Embe... Kevin Lewis
- RE: [jBoss-Dev] RE: [jBoss-User] JNDI Problem (and Embe... Kevin Lewis
- Re: [jBoss-Dev] RE: [jBoss-User] JNDI Problem (and... Rickard �berg
- Re: [jBoss-Dev] RE: [jBoss-User] JNDI Problem (and Embe... Kevin Lewis
- Re: [jBoss-Dev] RE: [jBoss-User] JNDI Problem (and... Rickard �berg
- RE: [jBoss-Dev] RE: [jBoss-User] JNDI Problem (and Embe... Kevin Lewis
- Re: [jBoss-Dev] RE: [jBoss-User] JNDI Problem (and... Rickard �berg
- Re: [jBoss-Dev] RE: [jBoss-User] JNDI Problem (and... Sebastien Alborini
- RE: [jBoss-Dev] RE: [jBoss-User] JNDI Problem (and Embe... Kevin Lewis
- RE: [jBoss-Dev] RE: [jBoss-User] JNDI Problem (and Embe... Kevin Lewis
