Jini (Apache River) がかなり古くて時代遅れのテクノロジであることは知っていますが、大学のプロジェクトで必要です。
問題は、ルックアップ サービス スクリプト (jrmp-reggie.sh) を開始することさえできないことです。httpd.sh を実行するとうまくいきます。
何かアドバイス?ありがとう。
ちなみに、私が得ている出力は次のとおりです。
+ java -Djava.security.policy=config/start.policy -Djava.ext.dirs=../../lib-ext/ -jar ../../lib/start.jar config/start-reggie.config
Jun 14, 2013 8:19:51 PM com.sun.jini.reggie.RegistrarImpl <init>
SEVERE: Reggie initialization failed
java.lang.ExceptionInInitializerError
at net.jini.config.AbstractConfiguration.getEntryInternal(AbstractConfiguration.java:371)
at net.jini.config.AbstractConfiguration.getEntry(AbstractConfiguration.java:193)
at com.sun.jini.reggie.RegistrarImpl.init(RegistrarImpl.java:4554)
at com.sun.jini.reggie.RegistrarImpl.access$000(RegistrarImpl.java:143)
at com.sun.jini.reggie.RegistrarImpl$1.run(RegistrarImpl.java:448)
at com.sun.jini.reggie.RegistrarImpl.loginAndRun(RegistrarImpl.java:461)
at com.sun.jini.reggie.RegistrarImpl.<init>(RegistrarImpl.java:396)
at com.sun.jini.reggie.TransientRegistrarImpl.<init>(TransientRegistrarImpl.java:39)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at com.sun.jini.start.NonActivatableServiceDescriptor.create(NonActivatableServiceDescriptor.java:674)
at com.sun.jini.start.ServiceStarter.create(ServiceStarter.java:287)
at com.sun.jini.start.ServiceStarter.processServiceDescriptors(ServiceStarter.java:445)
at com.sun.jini.start.ServiceStarter.main(ServiceStarter.java:476)
Caused by: java.lang.RuntimeException: Unexpected exception
at com.sun.jini.logging.Levels.createLevel(Levels.java:142)
at com.sun.jini.logging.Levels.<clinit>(Levels.java:52)
... 16 more
Caused by: java.io.EOFException
at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2596)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1316)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1989)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1913)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1796)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
at com.sun.jini.logging.Levels.createLevel(Levels.java:138)
... 17 more
Jun 14, 2013 8:19:51 PM com.sun.jini.start.ServiceStarter checkResultFailures
WARNING: Exception creating service.
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at com.sun.jini.start.NonActivatableServiceDescriptor.create(NonActivatableServiceDescriptor.java:674)
at com.sun.jini.start.ServiceStarter.create(ServiceStarter.java:287)
at com.sun.jini.start.ServiceStarter.processServiceDescriptors(ServiceStarter.java:445)
at com.sun.jini.start.ServiceStarter.main(ServiceStarter.java:476)
Caused by: java.lang.ExceptionInInitializerError
at net.jini.config.AbstractConfiguration.getEntryInternal(AbstractConfiguration.java:371)
at net.jini.config.AbstractConfiguration.getEntry(AbstractConfiguration.java:193)
at com.sun.jini.reggie.RegistrarImpl.init(RegistrarImpl.java:4554)
at com.sun.jini.reggie.RegistrarImpl.access$000(RegistrarImpl.java:143)
at com.sun.jini.reggie.RegistrarImpl$1.run(RegistrarImpl.java:448)
at com.sun.jini.reggie.RegistrarImpl.loginAndRun(RegistrarImpl.java:461)
at com.sun.jini.reggie.RegistrarImpl.<init>(RegistrarImpl.java:396)
at com.sun.jini.reggie.TransientRegistrarImpl.<init>(TransientRegistrarImpl.java:39)
... 8 more
Caused by: java.lang.RuntimeException: Unexpected exception
at com.sun.jini.logging.Levels.createLevel(Levels.java:142)
at com.sun.jini.logging.Levels.<clinit>(Levels.java:52)
... 16 more
Caused by: java.io.EOFException
at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2596)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1316)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1989)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1913)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1796)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
at com.sun.jini.logging.Levels.createLevel(Levels.java:138)
... 17 more
Jun 14, 2013 8:19:51 PM com.sun.jini.start.ServiceStarter checkResultFailures
WARNING: Associated service descriptor [0]: [http://t420:8080/reggie-dl.jar http://t420:8080/jsk-dl.jar, config/reggie.policy, ../../lib/reggie.jar, com.sun.jini.reggie.TransientRegistrarImpl, [config/jrmp-reggie.config], com.sun.jini.start.NonActivatableServiceDescriptor$1@c27ce4, BasicProxyPreparer[]]