Hi!
Kenneth Reed wrote:
>
> When my client code does the following:
>
> CabinHome home = (CabinHome)jndiContext.lookup("titan/CabinHome");
>
> I get the following error:
>
> javax.naming.CommunicationException. Root exception is
> java.lang.ClassNotFoundException:
> org.jboss.ejb.plugins.jrmp13.interfaces.HomeProxy (no security manager: RMI
> class loader disabled)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:484)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
> at java.rmi.MarshalledObject.get(MarshalledObject.java:138)
> at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:171)
> at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:152)
> at javax.naming.InitialContext.lookup(InitialContext.java:350)
> at com.titan.client.Client_1.main(Client_1.java:33)
> at sun.tools.agent.MainThread.runMain(Native Method)
> at sun.tools.agent.MainThread.run(MainThread.java:45)
>
> Am I missing some jar file in my client directory?
Yes, add /client/jboss-client.jar to your clients classpath.
/Rickard
>
> Thanks.
>
> Ken
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
--
Rickard �berg
@home: +46 13 177937
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]