Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RMI SSL Server failing silently on startup after 60s

 
Igor Vujosevic
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all, I have a piece of code that exports an object using SSL RMI socket factories if a secure flag is set. I am providing the location and password of the keystore on startup as a JVM parameter.

Basically everything works fine unless the JVM cannot find or access the keystore. In that case the server appears to start (my thread that starts the RMI server exists immediately after only leaving the RMI threads) but then the program exists silently almost exactly a minute later (I'm guessing some bind timeout). I can't find anything on Google and my next step would be to look at the Sun code if no one here has come across this.

It would be nice to trap this case.

I saw a similar topic posted a few years ago, but no answers were given.

Thanks for reading!
-I


 
Igor Vujosevic
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Noticed the silent fail happens immediately if the keystore can be found but no server certificate is present.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic