The Artima Developer Community
Sponsored Link

Legacy Jini Forum
The Jini Lookup Service

Advertisement

Advertisement

This page contains an archived post to the Jini Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Problems starting Reggie in Jini 1.1, JDK 1.3

Posted by Jakob Jenkov on September 08, 2000 at 5:14 AM

Hi Bill etc.

I'm desparately trying to run the Reggie service in Jini 1.1, using JDK 1.3.

Now, I'm running the rmiregistry and the rmid and then Reggie. Here's what I do:

1)
e:\rmiregistry

2)
e:\rmid -J-Djava.security.policy=e:\java\jini\jini1_1\example\lookup\policy.all

3)
e:\java\jini\jini1_1\java -jar reggie.jar http://172.30.105.52/reggie-dl.jar e:\java\jini\jini1_1\example\lookup\policy.all e:\java\jini\jini1_1\tmp\reggie_log public


I get the following error:

E:\java\jini\jini1_1\lib>java -jar reggie.jar http://172.30.105.52/reggie-dl.jar e:\java\jini\jini1_1\example\lookup\policy.a
ll e:\java\jini\jini1_1\tmp\reggie_log public
Unable to invoke by reflection, the method: com.sun.jini.reggie.CreateLookup.create.
An exception was thrown by the invoked method.
java.lang.reflect.InvocationTargetException: java.rmi.activation.ActivateFailedException: failed to activate object; nested e
xception is:
java.rmi.activation.ActivationException: group creation failed after 2 tries; nested exception is:
java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is:
java.net.SocketException: Connection reset by peer: JVM_recv in socket input stream read
java.rmi.activation.ActivationException: group creation failed after 2 tries; nested exception is:
java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is:
java.net.SocketException: Connection reset by peer: JVM_recv in socket input stream read
java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is:
java.net.SocketException: Connection reset by peer: JVM_recv in socket input stream read
java.net.SocketException: Connection reset by peer: JVM_recv in socket input stream read
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
at sun.rmi.server.Activation$ActivatorImpl_Stub.activate(Unknown Source)
at java.rmi.activation.ActivationID.activate(ActivationID.java:89)
at sun.rmi.server.ActivatableRef.activate(ActivatableRef.java:250)
at sun.rmi.server.ActivatableRef.invoke(ActivatableRef.java:110)
at com.sun.jini.reggie.RegistrarImpl_Stub.getServiceID(Unknown Source)
at com.sun.jini.reggie.CreateLookup.create(CreateLookup.java:106)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.jini.start.ServiceStarter.doCreate(ServiceStarter.java:955)
at com.sun.jini.start.ServiceStarter.create(ServiceStarter.java:251)
at com.sun.jini.start.ServiceStarter.create(ServiceStarter.java:193)
at com.sun.jini.reggie.CreateLookup.main(CreateLookup.java:69)
Exception in thread "main" java.lang.ClassCastException: java.lang.reflect.InvocationTargetException
at com.sun.jini.start.ServiceStarter.doCreate(ServiceStarter.java:1053)
at com.sun.jini.start.ServiceStarter.create(ServiceStarter.java:251)
at com.sun.jini.start.ServiceStarter.create(ServiceStarter.java:193)
at com.sun.jini.reggie.CreateLookup.main(CreateLookup.java:69)

E:\java\jini\jini1_1\lib>


Do you have any Idea of what may be going wrong ??

Do you have a step by step "setting up Reggie on NT" ???

Any help will be appreciated !!!

Regards,
Jakob Jenkov



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us