You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@river.apache.org by Timothy C Haas <ha...@uwm.edu> on 2017/02/16 20:22:17 UTC
run a javaspace in 3.0.0?
Folks;
I'm trying to start a javaspace using apache river 3.0.0. The script
below runs on a unix system at the San Diego Supercomputer center. It
breaks on the reggie command just before the exit. It says it can't find
a groovy class. As you can I am currently letting it see the
groovy-all.2.4.5.jar file in dep-libs
but that has caused the ConfigUtils class to not be found:
Feb 16, 2017 12:13:41 PM org.apache.river.start.ServiceStarter main
SEVERE: Problem reading configuration file.
net.jini.config.ConfigurationException: start-hello-service.config:27: class no
found: com.sun.jini.config.ConfigUtil
at net.jini.config.ConfigurationFile.oops(ConfigurationFile.java:2773)
It is when I leave-off the deps-lib/groovy directory that I get the
groovy class problem.
I was successfully running a javaspace with the previous version of
Apache River.
Any help would be greatly appreciated,
-Tim Haas, Associate Professor, Lubar School of Business,
University of Wisconsin-Milwaukee
haas@uwm.edu
---------------------------------------------------------------
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"
cd ${rh}/examples/home/src/main/home
#
# Start an http server. Was 4160
#
java -jar ${rh}/lib/classserver.jar -port 8080 \
-dir lib:${rh}/lib-dl $* \
> /home/haas/jinitmp/http.out \
2> /home/haas/jinitmp/http.err &
#java -jar ${rh}/lib/tools.jar -port 8080 \
# -dir lib:${rh}/lib-dl $* -verbose
echo - HTTP Server Running -
#
# Activation daemon
#
#java -Djava.security.manager= \
# -Djava.security.policy=policy/all.policy \
# -Djava.rmi.server.codebase="http://$host:8080/phoenix-dl.jar http://$host:8080/jsk-dl.jar" \
# -DserverHost=$host \
# -jar ${rh}/lib/phoenix.jar \
# configs/jeri/phoenix/phoenix.config
rmid -J-Djava.security.policy=${rh}/qa/harness/policy/all.policy \
-log /home/haas/jinitmp &
#
# Start a reggie lookup service.
#
java -Djava.security.policy=${rh}/qa/harness/policy/all.policy \
-Djava.ext.dirs=${rh}/lib-ext:${rh}/lib-dl:${rh}/lib:${rh}/dep-libs/groovy \
-jar ${rh}/lib/start.jar start-hello-service.config
# ${myconfigs}/start-reggie.config
exit
echo - Lookup Service Running -
#
# Start the JavaSpace.
#
java -Djava.security.policy=policy/all.policy \
-jar ${rh}/lib/start.jar \
configs/jeri/outrigger/outrigger.config
echo - JavaSpace Running -