| Author |
exception when starting lookup service
|
kirit modi
Greenhorn
Joined: Aug 23, 2006
Posts: 1
|
|
i am working with Jini starter kit1_2_1 and java virtual machine is JDK 1.3 i am starting services as follows: Starting Services from Command Line startHttpServer.bat: @echo off java -jar C:\jini1_2_1\lib\tools.jar -port 8080 -dir C:\MathService\WWW -verbose StartRmiServer.bat: @echo off rmid -J-Djava.security.policy=C:\jini1_2_1\policy\policy.all -J-Dsun.rmi.activation.execPolicy=none -log rmid_logs startLookupService.bat: @echo off java -Djava.security.policy=C:\jini1_2_1\policy\policy.all -jar C:\jini1_2_1\lib\reggie.jar http://localhost:8080/reggie-dl.jar C:\jini1_2_1\example\lookup\policy.all C:\reggie_log public C:\>startHttpserver.bat C:\>startRmiServer.bat C:\>startLookupService.bat 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.BindException: Cannot assign requested address: set socket option failed java.net.BindException: Cannot assign requested address: set socket option failed at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source) at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source) at sun.rmi.server.UnicastRef.invoke(Unknown Source) at sun.rmi.server.Activation$ActivatorImpl_Stub.activate(Unknown Source) at java.rmi.activation.ActivationID.activate(Unknown Source) 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:1219) 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) what is solution of this exception kirit
|
 |
Nathan Pruett
Bartender
Joined: Oct 18, 2000
Posts: 4121
|
|
|
Revelant post on the Jini-Users mailing list found through a google search for the error message.
|
-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
|
 |
 |
|
|
subject: exception when starting lookup service
|
|
|