The Artima Developer Community
Sponsored Link

Java Answers Forum
RMI doubt

4 replies on 1 page. Most recent reply: Sep 30, 2003 6:50 PM by Senthoorkumaran Punniamoorthy

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 4 replies on 1 page
Shekhar

Posts: 11
Nickname: shekhar4u
Registered: Aug, 2003

RMI doubt Posted: Sep 30, 2003 3:13 AM
Reply to this message Reply
Advertisement
Hi friends

Im working with RMI. Oracle is installed in my machine and its path is set before the jdk path. Now when i start rmiregistry, its starting oracle's rmiregistry but not jdks rmiregistry. I hv understood that its becoz oracle path is appearing before jdk, may be thats why. But now my doubt when I removed the oracle path and execute rmiregistry, fine it started jdks rmiregistry, but im unable to export the remote object to rmiregistry. It gives a remote exception and stub , skel files not found...i.e classnotfoundexception. I hv stub & skel files generated before exporting object to rmiregistry. But no luck. Even I tried setting the classpath to the stub & skel class files location, but still the same problem..Can any1 tell me where Im going wrong...


Senthoorkumaran Punniamoorthy

Posts: 335
Nickname: senthoor
Registered: Mar, 2002

Re: RMI doubt Posted: Sep 30, 2003 3:37 AM
Reply to this message Reply
-Djava.rmi.server.codebase=


Check out the above switch. It is used to specify where your generated classes are. Reffer to doc for more information.

Shekhar

Posts: 11
Nickname: shekhar4u
Registered: Aug, 2003

Re: RMI doubt Posted: Sep 30, 2003 4:47 AM
Reply to this message Reply
Thanks for ur reply....but the error still persist...
is there any other way??

Senthoorkumaran Punniamoorthy

Posts: 335
Nickname: senthoor
Registered: Mar, 2002

Re: RMI doubt Posted: Sep 30, 2003 4:25 PM
Reply to this message Reply
Why don;t you post the names of the clases involved, the directory structure, the classpath information and what you passed to the -Djava.rmi.server.codebase

let me see whether I can figure out anything from them.

Senthoorkumaran Punniamoorthy

Posts: 335
Nickname: senthoor
Registered: Mar, 2002

Re: RMI doubt Posted: Sep 30, 2003 6:50 PM
Reply to this message Reply
Why don;t you post your question this mailing list

http://www.lsoft.com/scripts/wl.exe?SL1=RMI-USERS&H=JAVA.SUN.COM

Flat View: This topic has 4 replies on 1 page
Topic: web page Previous Topic   Next Topic Topic: Indian Editions

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use