Hello,

I'm currently using JOnAS 1.5 and
I'm having troubles with a remote client, using an applet to access
the EJB server.

Before I used a Webserver to access the EJB server, but now I want
a direct access to EJB server via applet.

I looked in the FAQ, and there is so little written about the remote client.
I hope you can guide me through this?

Currently have set a classpath to all .jar files I need.
So I have unset the classpath to all those jar-files.

Then I put all jar-files in a file, classes.jar.
But after I have started rmiregistry I have got the following problem:

java -Djava.security.policy=$JONAS_ROOT/java.policy -Dinstall.root=$JONAS_RO
OT
-Djava.rmi.server.codebase=/home/vastmans/public_html/classes/classes.jar
org.objectweb.jonas.server.Server

I get an error:

Cannot rebind TM:
javax.naming.CommunicationException [Root exception is
java.rmi.ServerException:
RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception
is:
java.io.IOException: Malformed URL:
/home/vastmans/public_html/classes/classes.jar]

When the client downloads the applet, he will also download the classes.jar.

Can you tell me what I'm doing wrong?
I really need some help with this.

Best Regards,

Jochen Vastmans

e-mail: [EMAIL PROTECTED]


----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to