The jar files and RMI - java.rmi.NotBoundEcxeption
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Panos_Koup
Posted On:   Friday, June 29, 2001 04:06 AM

Hello, i develope an application and i use RMI.I must point that i do not use remote object activation but a server class that creates the object. In order to make things look better i decided to put all the classes concerning the client and the server to two (different of course ) jar files.However when i did that and i tried to test the application ,in my pc and not in a network (i do not think that this plays any role),i got an java.rmi.NotBoundException exception. As i figure out later the server class from inside the jar file cannot bind the object to the rmiregistry. ---Is there any way i can solve this problem? Thanks Panos ps:I put the stub   More>>

Hello,
i develope an application and i use RMI.I must point that i do not use
remote object activation but a server class that creates the object.
In order to make things look better i decided to put all the classes
concerning the client and the server to two (different of course ) jar
files.However when i did that and i tried to test the application ,in my pc
and not in a network (i do not think that this plays any role),i got an
java.rmi.NotBoundException exception.
As i figure out later the server class from inside the jar file cannot
bind the object to the rmiregistry.
---Is there any way i can solve this problem?


Thanks
Panos

ps:I put the stub class inside the client jar....
(I suppose it is a bad tactic..........)

   <<Less
About | Sitemap | Contact