I have the same problem as a couple of other posters on this list.
I've tried starting rmid with rmid -J-Dsun.rmi.activation.execPolicy=none and rmid -J-Djava.security.policy=jini1_2_1/policy/policy.all that works fine,
but starting reggie reveals (after 10 secs)
Unable to invoke by reflection, the method: com.sun.jini.reggie.CreateLookup.create. An exception was thrown by the invoked method. java.rmi.activation.ActivationException: exception in object constructor; nested exception is: java.net.SocketException: error setting options java.net.SocketException: error setting options ...
I've tried to point out the policy.all file for reggie, checking the correct IP (I know some Java implementations doesn't like localhost) and checked my kernel for multicast.
hi, I faced the same problem but on win2000 The cause is that you started rmid like this: rmid -J-Dsun.rmi.activation.execPolicy=none
this means that all the previous reggie instances will wake up because reggie is activatable and probably it wasn't set up properly last time you started it. (hint: reggie is started propely when the prompter appears after running reggie start command)
If you want that service killed... 1 .you must stop rmid (rmid -stop) 2 .delete it's log file (the 'log' directory for rmid... it appears in the current directory from where you ran the rmid command or in the specified log dir for rmid - but i don't think you specified it- so look after 'log' directory and delete it - but after you stopped the rmid, otherwise you will get a sharing violation) 3. also delete the reggie log file (you must have specified it when you first ran reggie) - otherwise you will receive the same error when you will try to start a new reggie
I had somehow very simmilar problem on Win2K. The problem was that I was not connected to the network so RMID and other services could not create sockets.
Therefore my question is are you connected to the network?
I have a similar problem,on Sun-solaris. I was able to run on windows without any problem . Can anyone point me what i am doing wrong.
%rmid -J-Djava.security.policy=/local/users/pcheruv/JINI/jini1_2/example/lookup/polic y.all %java -jar /local/users/pcheruv/JINI/jini1_2/lib/tools.jar -port 8085 -dir /local/users/pcheruv/JINI/jini1_2/lib -verbose reggie-dl.jar requested from chick.cesr.ncsu.edu:40052 reggie-dl.jar requested from chick.cesr.ncsu.edu:40061 reggie-dl.jar requested from chick.cesr.ncsu.edu:40075 reggie-dl.jar requested from chick.cesr.ncsu.edu:40125 %java -jar /local/users/pcheruv/JINI/jini1_2/lib/reggie.jar http://152.14.52.120:8085/reggie-dl.jar /local/users/pcheruv/JINI/jini1_2/example/lookup/policy.all /local/users/pcheruv/reggie public Unable to invoke by reflection, the method: com.sun.jini.reggie.CreateLookup.create. An exception was thrown by the invoked method. java.rmi.activation.ActivationException: exception in object constructor; nested exception is: java.net.SocketException: error setting options java.net.SocketException: error setting options 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 com.sun.jini.start.ClassLoaderUtil$ActivateClass.activate(ClassLoaderUtil.java: 616) at java.lang.reflect.Method.invoke(Native Method) at com.sun.jini.start.ServiceStarter.doCreate(ServiceStarter.java:1213) at com.sun.jini.start.ServiceStarter.create(ServiceStarter.java:377) at com.sun.jini.start.ServiceStarter.create(ServiceStarter.java:300) at com.sun.jini.reggie.CreateLookup.main(CreateLookup.java:83)