• Post Reply Bookmark Topic Watch Topic
  • New Topic

RMI / SSL Server Exits

 
Michael Conley
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greetings,
I have implemented a solution from one server to another that uses RMI over SSL. The implementation is based off of the standard RMI/SSL examples and documentation that come with Java 1.4.
The problem is that server classes started with:
super(0, new RMISSLClientSocketFactory(), new RMISSLServerSocketFactory());
in the constructor exit within 1 minute. It is as if all of the object references are gone, so the JVM just closes out.
I have done some research on Google, and I saw two posts regarding this similiar problem. One person mentioned that they implemented a while (true) loop to keep the class running, however they could not make any more of the needed connections to the server class. Perhaps the server can only hang onto the RMI/SSL port for under a minute, then it releases. I don't know.
Any ideas?
Thank you.
-Mike
 
Michael Ernest
High Plains Drifter
Sheriff
Posts: 7292
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hm. I haven't played in this area myself, but my first guess is that the session key generation routine is happening at the 50-second mark, something is not happening that makes the exchange work, and it all times out.
Wild guess.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!