aspose file tools*
The moose likes Distributed Java and the fly likes Problem in invoking rmi server, which is existing in a jar file. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Problem in invoking rmi server, which is existing in a jar file." Watch "Problem in invoking rmi server, which is existing in a jar file." New topic
Author

Problem in invoking rmi server, which is existing in a jar file.

Girish Amara
Greenhorn

Joined: May 28, 2011
Posts: 4

Hi folks,

I am facing a problem with RMI. I developed code for the interface, server and client. Nothing problem it is working fine. But when I create a jar file and trying to run my server. For my surprise I am unable to run the server. The JVM is throwing ClassNotFoundException. I don't what happened. Can someone help me in creating a jar file and invoking my rmi server from the jar file.

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Problem in invoking rmi server, which is existing in a jar file.