Hi Girbea,
Jan Newmarch's online book is a good place to start;
http://jan.newmarch.name/java/jini/tutorial/Jini.html
Services are started using start.jar
Like this:
java -Djava.security.policy=D:\policy.all -jar start.jar
start-transient-reggie.config
Where the config file contains your configuration.
See:
http://jan.newmarch.name/java/jini/tutorial/ServiceStarter.html
Regards,
Peter.
Girbea Alina wrote:
Hi,
I'm trying to set up the most basic Jini application, but I haven't
gone very far.
First I've started the Jini HTTP server using the following command line:
java -jar tools.jar -dir D:\jini\apache-river-2.1.2-bin\lib-dl
Now I'm trying to start the reggie lookup service on this server,
using the following command line (first I'm trying to start everything
on the same machine):
java -jar D:\jini\apache-river-2.1.2-bin\lib\reggie.jar
http:\\localhost:8080\reggie-dl.jar D:\policy.all D:\tmp\reggie_log
public
Unfortunately, I get the following error message: "Failed to load
Main-Class manifest attribute from:
D:\jini\apache-river-2.1.2-bin\lib\reggie.jar"
I've tried this both with version 2.2.0 and 2.1.2 and I get the same
error messgae. Furthermore, I've looked into the source code classes
of reggie, but I couldn't find any main function in any of the classes.
How can I solve this issue?
Thank you very much.
Best Regards,
Girbea Alina