Have you tried : -Djava.rmi.server.codebase="file:///opt/abc.jar file:///opt/def.jar" ?
\T, -- Any fool can write code that a computer can understand. Good programmers write code that humans can understand. Martin Fowler T. : +32 (0)2 742 05 94 M. : +32 (0)497 44 68 12 @ : [EMAIL PROTECTED] Do you skype too ... (callto://tsmets/) ? ----- Original Message ---- From: η <[EMAIL PROTECTED]> To: tptp-tracing-profiling-tools-dev@eclipse.org Sent: Tuesday, August 15, 2006 7:07:36 PM Subject: [tptp-tracing-profiling-tools-dev] about -Djava.rmi.server.codebase 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 _______________________________________________ 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