(see below)
> Hi!
>
> David Solum wrote:
> > When I try jndiContext.lookup("titan/CabinBean"), which works perfectly
> > from the client, I get this:
> >
> > javax.naming.CommunicationException. Root exception is at
> > java.net.URL.<init>(URL.java:473)
> > at java.net.URL.<init>(URL.java:376)
> > at java.net.URL.<init>(URL.java:330)
> > at
> sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:374)
> > at
> sun.rmi.server.LoaderHandler.getClassLoader(LoaderHandler.java:254)
> > at
> >
> sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputSt
> ream.java:
> > 172)
> > at
> >
> java.io.ObjectInputStream.inputProxyClassDescriptor(ObjectInputStr
> eam.java:9
> <snip>
>
> Weird. This should definitely work. You seem to have used the right name
> since it gets this far. It is apparently failing to recognize the RMI
> URL's in the codebase. This particular exception is thrown because of
> missing protocol (i.e. "http://") in the URL. What have you set the
> codebase to?
Actually, I haven't reconfigured much of anything--it should be set to
the default. I assume you're referring to jboss.properties, which appears
like this in my setup:
--- begin ---
# System properties
# These will be loaded and set by jBoss
#java.rmi.server.useLocalHostName=true
#java.rmi.server.codebase=http://localhost:8080/
jdbc.drivers=org.hsql.jdbcDriver,jdbc.idbDriver
--- end ---
Should I change anything here (or elsewhere)? My deployed beans are in
jboss2/deploy/Cabin, which contains subfolders META-INF (w/ the xml files)
and com/titan/cabin and com/titan/travelagent with the classes.
Thanks,
David
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]