• Post Reply Bookmark Topic Watch Topic
  • New Topic

Is codebase required  RSS feed

 
Garry Kalra
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is codebase required to be specified if i don't use dynamic stub downloading.
Pls guide me as i am having trouble running a server when it was packaged in a jar file.
Garry
 
Marco Barenkamp
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
you don't have to specify the codebase if
the registry and the server share the same
classpath.
 
Garry Kalra
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I also think that way. Maybe if i don't use dynamic stub loading and package all the stub files with the client, then i need to start rmiregistry after setting the classpath to include the files where the stubs are located or the server won't bind.
am i right on this, beacuse it is working this way only on a win95 system.
waiting for your response
Garry
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!