Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Strange problem - RMI and JAR

 
Garry Kalra
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am facing a very strange problem. I am using RMI for the network facilities. When i run my server application using the class files, everything works out fine.
However recently i created a server.jar with all the related files. When i run this server.jar, then the application comes up file, but gives a problem that it is unable to connect to the RMIRegistry, even though the RMIRegistry is running on the correct machine and the correct port. No such problems arise when i run the application using the class files.
I start RMIRegistry separately and have decided that i would ask the examiner to start it separately. Is this acceptable.
Pls help me as i can't figure out whats wrong.
Garry
 
Roman Rytov
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
do u use correct codebase?
 
Steven Martin
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have a permission file? That may be why it's unable to use the registry.
 
Garry Kalra
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The problem occurs only on windows 95 system and that too not always.
Rest everything is fine. Are there any solutions.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!