Rickard,

I have jboss-client.jar in my client's directory along with the other .jar files
from the client directory. My CLASSPATH environment variable is defined as:

CLASSPATH=C:\JavaApps\com\titan\client;.

Where c:\JavaApps\com\titan\client is the directory from which I am running the
client.

Do I need to change the classpath to:

CLASSPATH=C:\JavaApps\com\titan\client\jboss-client.jar;.?

or remove the .jar file from the client directory and change the classpath to:

CLASSPATH=C:\JavaApps\EJBoss\client;.?

or

CLASSPATH=C:\JavaApps\EJBoss\client\jboss-client.jar;.?

Thank you.

Ken

----- Original Message -----
From: "Rickard �berg" <[EMAIL PROTECTED]>
To: "jBoss" <[EMAIL PROTECTED]>
Sent: Monday, June 19, 2000 1:47 PM
Subject: Re: [jBoss-User] "no security manager: RMI class loader disabled"


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]




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to