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(MarshalInputStream.java:
> 172)
> at
> java.io.ObjectInputStream.inputProxyClassDescriptor(ObjectInputStream.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?
/Rickard
--
Rickard �berg
Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]