Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Is specifying rmi .server.codebase mandatory when bind/rebind?  RSS feed

 
Vishal Saxena
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My understanding is that it is.
Dynamic downloading of classes is a choice, but when bind/rebind rmi.server.codebase is to be set.
I verified this - took this property off and exceptions were thrown. There are reasons why it should be like that, but still I have a feeling that if not specified when bind/rebind, the classpath should be considered as codebase.

-V
 
Edward Harned
Ranch Hand
Posts: 291
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using the CLASSPATH works just fine. Make sure the rmiregistry has access to the CLASSPATH when you start it.

If you're getting messages, then post them here so we can see them.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!