The Artima Developer Community
Sponsored Link

Jini Forum
RMID: Unable to restart service

1 reply on 1 page. Most recent reply: Nov 6, 2002 7:37 AM by Qwerty Qwerty

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 1 reply on 1 page
Qwerty Qwerty

Posts: 3
Nickname: qwerty
Registered: Nov, 2002

RMID: Unable to restart service Posted: Nov 6, 2002 7:12 AM
Reply to this message Reply
Advertisement
Hello,
I was able to start Sun's HelloWorld project successfully and ran it one time. When I tried to restart the various processes and run it again, I get the following error in my rmid start window after a timeout. I am starting rmid with this: rmid -J-Dsun.rmi.activation.execPolicy=none
I have no other Jini processes running and have tried to clear the rmid ports by typing:

rmid -port 1098 -stop
which tells me no ActivationSystem is running.

rmid: unable to restart service
rmid: exception occurred: timeout creating child process
java.rmi.activation.ActivationException: timeout creating child process
at sun.rmi.server.Activation$GroupEntry.getInstantiator(Activation.java:1216)
at sun.rmi.server.Activation$GroupEntry.activate(Activation.java:1083)
at sun.rmi.server.Activation$GroupEntry.restartServices(Activation.java:831)
at sun.rmi.server.Activation$GroupEntry$RestartThread.run(Activation.java:1318)
at java.lang.Thread.run(Thread.java:479)


Qwerty Qwerty

Posts: 3
Nickname: qwerty
Registered: Nov, 2002

Re: RMID: Unable to restart service Posted: Nov 6, 2002 7:37 AM
Reply to this message Reply
I solved this problem by starting rmid in the folliwng way. I found this post at java.sun.com.

-----From John
I have also encountered the exact same problem as you and solved
it by adding an option to the execution of the rmid daemon.

Try starting the rmid service as follows,

c:\jdk1.3\bin\rmid -J-Dsun.rmi.activation.execPolicy=none -log
d:\dev\tmp

Good Luck,
John.
----

Flat View: This topic has 1 reply on 1 page
Topic: a service invoking another service Previous Topic   Next Topic Topic: problem starting rmid

Sponsored Links



Google
  Web Artima.com   

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