Hi,
I created client.jar and server.jar files. In client.jar I inlcuded the stub files also with directory structure. In the server.jar also I includes stub & skel files. I even gave the correct manifest files in both jars..and the executing the server.jar like below..
start rmiregistry 9999
java -Djava.security.policy=mysecurity.policy -jar server.jar db.db 9999
I am getting following exception:::
Exception: RemoteException occurred in server
thread; nested exception is: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.lang.ClassNotFoundException: suncertify.server.DataServerInterfaceImpl_Stub
where DataServerInterfaceImpl is the main class in starting the server.
where as the above command executes fine, if I extract the server.jar first before starting the server by using the following command..
jar -xf server.jar
I am feeling that it's not the correct way of running the jar files..where as, client .jar working fine with out extracting that. Why it is happening for server.jar only that too I am providing all files necessary for it's executing with directoy structure..
Please help me out from here..
Thanks a lot..