I am new to Jini technology and am having great difficulty getting the services up and running.
Currently I am using Jini 1.2.1_001 under SuSE Linux 8.2 Pro.
Here is how I am starting RMI: rmi -J-Dsun.com.activation.execPolicy=none -log ~/SEGMeeting/ & This appears to work fine.
This is how I start the lookup service: java -Djava.security.policy=~/SEGMeeting/policy.all -jar ~/SEGMeeting/lib/reggie.jar http://linux:80/Jini/reggie-dl.jar ~/SEGMeeting/policy.all ~/SEGMeeting/Temp/reggie2_log This produces a very long error output begining with: 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.....nested exception is: java.net.SocketException: No such device
This is how I start the transaction service: java -Djava.security.policy=~/SEGMeeting/policy.all -jar ~/SEGMeeting/lib/mahalo.jar http://linux:80/Jini/mahalo-dl.jar ~/SEGMeeting/policy.all ~/SEGMeeting/Temp/txn_log public This also produces a long error output: Sun Dec 21 03:09:46 GMT 2003: ExecGroup-1:errJoinAdmin:Problem starting discovery... This carries on like this for a lot of lines. I'm assuming this error is caused by the lack of a lookup service. It then also goes on to add Unable to invoke by reflection..
This is how I start the JavaSpace service: java -Dcom.sun.jini.outrigger.spaceName=JavaSpaces -Djava.security.policy=~/SEGMeeting/policy.all -jar ~/SEGMeeting/lib/outrigger.jar http://linux:80/Jini/outrigger-dl.jar ~/SEGMeeting/policy.all ~/SEGMeeting/Temp/js_log public This generates a similar error to the transaction service.
It has been suggested that the problem may lie in the policy file. Although not advisable, my policy file contains:
This should guarentee that permissions are given. It has also been suggested that I should use the http server provided by tools.jar rather than Apache, as I am doing, but this makes no difference and produces the same errors.
Any help in getting these services started would be gratefully recieved.