The Artima Developer Community
Sponsored Link

Jini Forum
Urgent, please help! Start Lookup service will auto-exit

1 reply on 1 page. Most recent reply: May 26, 2004 7:14 AM by Marius Danciu

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
Roman Suchenvki

Posts: 1
Nickname: benjaman27
Registered: Mar, 2004

Urgent, please help! Start Lookup service will auto-exit Posted: Mar 29, 2004 9:53 PM
Reply to this message Reply
Advertisement
hi,


I am at the beginning on a Jini project. I have tried to start bundles web server and RMID, and they are working fine, however, when tried to startup the (reggie.jar) it first created the log directory, and then it just exited without any exception or message.

Without any exception or message, I am not able to debug or figure out the problem. Does anyone how to solve this or where to begin?


My config is Windows 2000 SP4 / Java 1.4.1_05 / Jini1_2_1_001

And my scripts are as the following:


@rem START JINI 1.2.1_001 BUNDLED WEB SERVER
java -jar C:\jini1_2_1_001\lib\tools.jar -port 8080 -dir
C:\jini1_2_1_001\lib -verbose


@rem START RMID; %JAVA_HOME% is at C:\j2sdk1.4.2_01
%JAVA_HOME%\bin\rmid -J-Dsun.rmi.activation.execPolicy=none -J-Dnet.jini.discovery.debug=1 -J-Djava.security.policy=%JINI_HOME%\policy\policy.all



@rem JINI_HOME=C:\jini1_2_1_001
set JINI_HOME=C:\jini1_2_1_001



@rem SETUP reggie.jar
set REGGIE_JAR=%JINI_HOME%\lib\reggie.jar



@rem SETUP CODEBASE; This is also where the client lives!
set CODEBASE=http://localhost:8080/reggie-dl.jar



@rem SETUP POLICY
set POLICY=%JINI_HOME%\policy\policy.all



@rem SETUP LOG_DIR
set LOG_DIR=jini_log



@rem GROUP_POLICY
set GROUP_POLICY=public


@rem ACTIVATE LOOKUP, reggie.jar
java -jar %REGGIE_JAR% %CODEBASE% %POLICY% %LOG_DIR% %GROUP_POLICY%


Marius Danciu

Posts: 5
Nickname: dmarius
Registered: May, 2004

Re: Urgent, please help! Start Lookup service will auto-exit Posted: May 26, 2004 7:14 AM
Reply to this message Reply
Hi,

Reggie for jini 1.2 is basicaly acting like a activatable service. It register itself to the activation daemon and then is just exists. You should be able to register your own service with no problem.
See this link :
http://java.ittoolbox.com/browse.asp?c=JAVAPeerPublishing&r=http%3A%2F%2Fwww%2Ekedwards%2Ecom%2Fjini%2Freggie%2Ehtml

Flat View: This topic has 1 reply on 1 page
Topic: jini server Previous Topic   Next Topic Topic: Problem with activatable service lookup

Sponsored Links



Google
  Web Artima.com   

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