I have a remote Java application which I want to profile on a linux machine. Since this is a RMI based application, I need to pass the rmi.server.codebase argument( N.B. Two separate jar files needed here)

as a format:

-Djava.rmi.server.codebase="file:/opt/abc.jar file:/opt/def.jar" ......

but no way to set it right.. I got the following exception on the server when I start the profiling in Eclipse. (Agent controller is setup correctly )


java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
       java.net.MalformedURLException: no protocol: "file:/opt/abc.jar
       at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
       at sun.rmi.server.UnicastRef.invoke(Unknown Source)
       at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
       at java.rmi.Naming.rebind(Unknown Source)
at com.shenick.diversifeye.server.masterserver.LogOnImpl.<init>(LogOnImpl.java:43)

at

N.B.

It seems only recognized one jar file but not the other...Well, I assume this is the right way to setup the codebase..

I need urgent help on this.

Thank you all.


_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev

Reply via email to