Folks; I am trying to start a reggie lookup service with Apache River 3.0.0 on a unix machine. Below is the error message followed by the script and its two configuration files that I used. I get a ClassNotFoundException but I don't know what jar in what directory I should include where.
Regards, -Tim ------------------------------------------------------------ Activation.main: an exception occurred: java.io.IOException: log recover failed with exception: java.lang.ClassNotFoundException: com.sun.jini.phoenix.Activatio n java.io.IOException: log recover failed with exception: java.lang.ClassNotFoundE xception: com.sun.jini.phoenix.Activation at sun.rmi.log.ReliableLog.recover(ReliableLog.java:226) at sun.rmi.server.Activation.startActivation(Activation.java:220) at sun.rmi.server.Activation.main(Activation.java:2081) Feb 23, 2017 7:59:42 AM org.apache.river.start.HTTPDStatus httpdWarning WARNING: Problem accessing desired URL[http://132.249.107.70:4160/reggie.jar]: j ava.io.FileNotFoundException: http://132.249.107.70:4160/reggie.jar. Feb 23, 2017 7:59:42 AM org.apache.river.start.HTTPDStatus httpdWarning WARNING: Problem accessing desired URL[http://132.249.107.70:4160/jsk-policy.jar ]: java.io.FileNotFoundException: http://132.249.107.70:4160/jsk-policy.jar. Feb 23, 2017 7:59:42 AM org.apache.river.reggie.RegistrarImpl$Unicast <init> INFO: Reggie Unicast Discovery listening on port 45,086 Feb 23, 2017 7:59:42 AM org.apache.river.reggie.RegistrarImpl$3 run INFO: started Reggie: 0011c9db-a890-400f-8a1b-56ea7dfd823a, [nonsecure], jini:// tscc-2-56.sdsc.edu:45086/ --------------------------------------------------------------- rm -f -r /home/haas/jinitmp/ echo [Deleting jinitmp directory] # mkdir /home/haas/jinitmp echo [Creating jinitmp directory] # rh="/projects/builder-group/jpg/apache-river" myconfigs="/home/haas/jsutils" # # Start an http server. # java -jar ${rh}/lib/classserver.jar -port 4160 \ -dir lib:${rh}/lib-dl $* \ > /home/haas/jinitmp/http.out \ 2> /home/haas/jinitmp/http.err & # # Activation daemon # rmid -J-Djava.security.policy=policy.all & # # Start a reggie lookup service. # java -Djava.security.policy=policy.all \ -Djava.ext.dirs=${rh}/lib-ext/:${rh}/lib-dl/:${rh}/lib/:${rh}/dep-libs/groovy/ \ -jar ${rh}/lib/start.jar ${myconfigs}/start-reggie.config ------------------- start-reggie.config ---------------------------- import org.apache.river.config.ConfigUtil; import org.apache.river.start.NonActivatableServiceDescriptor; import org.apache.river.start.ServiceDescriptor; org.apache.river.start { private static policy = "policy.all"; port="4160"; private static codebasePrefix= " http://" + ConfigUtil.getHostAddress() + ":" + port + "/"; private static codebase = codebasePrefix + "reggie-dl.jar" + codebasePrefix + "jsk-dl.jar" + codebasePrefix + "reggie.jar" + codebasePrefix + "jsk-policy.jar"; private static classpath = "lib${/}reggie.jar"; private static config = "jrmp-reggie.config"; static serviceDescriptors = new ServiceDescriptor[] { new NonActivatableServiceDescriptor( codebase, policy, classpath, "org.apache.river.reggie.TransientRegistrarImpl", new String[] { config }) }; } ------------------ jrmp-reggie.config ------------------------------ /* Configure source file for JRMP reggie */ import net.jini.jrmp.JrmpExporter; org.apache.river.reggie { serverExporter = new JrmpExporter(); initialMemberGroups = new String[] { "nonsecure" }; }//end org.apache.river.reggie