Hello, I want to run all services and watch them in Browser. My configs follow ones given in River docs. On starting services no sign of any problem. The Browser shows one registrar on localhost. This is the first I do not understand, because IP is used in config. Selecting this LUS shows no other services, that it should.
Excerpt from the starter config (other services follows the reggie-pattern): com.sun.jini.start { private static urlBase = "http://192.168.1.100:8080/"; // // HTTPD Service // private static httpd_codebase = ""; private static httpd_policy = "conf/jsk-all.policy"; private static httpd_classpath = "lib/classserver.jar"; private static httpd_impl = "com.sun.jini.tool.ClassServer"; private static httpd_service = new NonActivatableServiceDescriptor( httpd_codebase, httpd_policy, httpd_classpath, httpd_impl, new String[]{"-port", "8080", "-dir", "lib-dl", "-verbose"}); ... // // Reggie (Lookup Service) // private static reggie_codebase = urlBase + "reggie-dl.jar " + urlBase + "jsk-dl.jar"; private static reggie_policy = "conf/jsk-all.policy"; private static reggie_classpath = "lib/reggie.jar"; private static reggie_config = "conf/transient-reggie.config"; private static reggie_impl = "com.sun.jini.reggie.TransientRegistrarImpl"; private static reggie_service = new NonActivatableServiceDescriptor( reggie_codebase, reggie_policy, reggie_classpath, reggie_impl, new String[] { reggie_config }); All the services's own config is like this: com.sun.jini.reggie { initialLookupGroups = new String[] { "tinca" }; } While the all-policy file is (both forms were tried): //grant codebase "file:/home/kuti/apps/apache-river-2.1.1/lib/*" { grant { permission java.security.AllPermission; }; The startAll command is: java -Djava.security.policy=conf/jsk-all.policy -jar lib/start.jar conf/start-transient-jeri-services.config and the browser one is: java -Djava.security.policy=conf/browser-all.policy -Djava.rmi.server.codebase="http://192.168.1.100:8080/browser-dl.jar http://192.168.1.100:8080/jsk-dl.jar" -Djava.protocol.handler.pkgs=net.jini.url -jar lib/browser.jar All works the same when "localhost" is used instead of IP. What I do wrong? Thanks! ------------ Zsolt Kúti