The Artima Developer Community
Sponsored Link

Legacy Jini Forum
The Jini Lookup Service



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: while starting lookup

Posted by Tom Llanso on December 18, 2000 at 7:17 AM

> This is what I get when I try to run RMI, WWW server and lookup on my home computer

> rmid -J-Dsun.rmi.activation.execPolicy=none
> Web server startup...
> java -jar /home/jim/files/jini1_1/lib/reggie.jar http://maxwell.localnet.home:8080/reggie-dl.jar /home/jim/files/jini1_1/example/lookup/policy.all /var/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 exception is:
> java.rmi.activation.ActivationException: exception in object constructor; nested exception is:
> error setting options
> java.rmi.activation.ActivationException: exception in object constructor; nested exception is:
> error setting options
> error setting options
> at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(
> at sun.rmi.transport.StreamRemoteCall.executeCall(
> at sun.rmi.server.UnicastRef.invoke(
> at sun.rmi.server.Activation$ActivatorImpl_Stub.activate(Unknown Source)
> at java.rmi.activation.ActivationID.activate(
> at sun.rmi.server.ActivatableRef.activate(
> at sun.rmi.server.ActivatableRef.invoke(
> at com.sun.jini.reggie.RegistrarImpl_Stub.getServiceID(Unknown Source)
> at com.sun.jini.reggie.CreateLookup.create(
> at java.lang.reflect.Method.invoke(Native Method)
> at com.sun.jini.start.ServiceStarter.doCreate(
> at com.sun.jini.start.ServiceStarter.create(
> at com.sun.jini.start.ServiceStarter.create(
> at com.sun.jini.reggie.CreateLookup.main(

> The strangest is that on my work place (with full T1 internet connection) it really works fine !
> I have the same configuration (JDK 1.3, JINI 1.1 and Linux/Windows) for work and home but it fails.. Any help ?

I don't have the answer, but I can report that I too am getting exactly the same
error. My configuration is Java 1.3 running on Windows 2000 server.
I am not sure what is causing it, though perhaps it is related resource consumption.
My machine has 192k memory and the only other thing I have running is the
webserver provided by Sun and rmid.


Sponsored Links

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