Reggie and maven-jini-plugin

Morten Simonsen <[email protected]> Tue, 13 Feb 2007 11:38:46 +0100
Newsgroups gmane.comp.java.sun.javaspaces
Organization Owera
Message-ID <1171363126.6293.11.camel@morten-laptop>
Hello

I tried to start the reggie-service by using mvn:

################### from my console ###############
 mvn org.jini.maven-jini-plugin:maven-jini-plugin:reggie
[INFO] Scanning for projects...
[INFO]
----------------------------------------------------------------------------
[INFO] Building A custom Jini service project
[INFO]    task-segment:
[org.jini.maven-jini-plugin:maven-jini-plugin:reggie] (aggregator-style)
[INFO]
----------------------------------------------------------------------------
[INFO] [jini:reggie]
[INFO] Configuring the reggie service
[INFO] Jini Home
Directory: /home/morten/.m2/repository/org/jini/maven-jini-plugin/resources/jini2_1
[INFO] Jini starter kit ready for use
at /home/morten/.m2/repository/org/jini/maven-jini-plugin/resources/jini2_1
[INFO] Starting the reggie service in transient mode using the jeri
protocol...
[INFO] Command: /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/bin/java
-Djava.security.manager= '-Djava.security.policy="service.policy"'
'-Dconfig="/home/morten/.m2/repository/org/jini/maven-jini-plugin/resources/jini2_1/example/common/jeri/config/start-one-transient.config"' -DserverHost=localhost -DcodebaseHost=localhost -DcodebasePort=5464 '-DjiniHome="/home/morten/.m2/repository/org/jini/maven-jini-plugin/resources/jini2_1"' '-DappHome="/home/morten/.m2/repository/org/jini/maven-jini-plugin/resources/jini2_1"' '-DresourceHome="/home/morten/.m2/repository/org/jini/maven-jini-plugin/resources/jini2_1/lib"' '-DgroupConfig="/home/morten/.m2/repository/org/jini/maven-jini-plugin/resources/jini2_1/example/phoenix/jeri/config/phoenix-group.config"' -DserviceName=reggie -DinterfaceName=Registrar -DimplName=TransientRegistrarImpl -Djava.security.debug=true -jar '"/home/morten/.m2/repository/org/jini/maven-jini-plugin/resources/jini2_1/lib/start.jar"' '"/home/morten/.m2/repository/org/jini/maven-jini-plugin/resources/jini2_1/ex
 ample/common/jeri/config/start-one-transient.config"'
[INFO] reggie service started.
[INFO] Unable to access jarfile
"/home/morten/.m2/repository/org/jini/maven-jini-plugin/resources/jini2_1/lib/start.jar"
############################

In the end it says that reggie service is started and that it wasn't
able to access start.jar. I guarantee that start.jar is placed exactly
there. Anyway, when trying to run IncaX service-browser it won't locate
any Reggie. I'm really not sure whether this thing is working or not.
How can I be sure (telnet to a certain port maybe?)

And yes, I am pretty new into this stuff. Any help is appreciated.

mvh
Morten Simonsen

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff JAVASPACES-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

To view past JAVASPACES-USERS postings, please see:
http://archives.java.sun.com/archives/javaspaces-users.html