Hello. Could someone please help me on this?
I'm having trouble running Jini sample code which came with the
package on my linux box. The environment is:
---
jdk: blackdown's jdk1.2 version pre-release 1
kernel: 2.0.36
distribution: basically Debian-slink
---
The reason I'm not using the required "kernel 2.0.37 with Alan
Cox's ac9 patch" is because I couldn't find it at www.kernel.org, and
didn't want to take a chance to install anything that is not
authenticated (or is it?).
I followed Jini's example document's instructions and started HTTP
server, rmid, rmiregistry, and entered the following command to start
a transaction manager.
---
java -jar -Djava.security.policy=/usr/local/jini1_0/example/txn/policy.all \
-Dcom.sun.jini.use.registry=yes \
-Dcom.sun.jini.rmiregistryport=1099 \
-Dcom.sun.jini.mahalo.managerName=TransactionManager \
/usr/local/jini1_0/lib/mahalo.jar \
http://localhost:8080/mahalo-dl.jar \
/usr/local/jini1_0/example/txn/policy.all /tmp/txn_log &
---
I got following error message as a result.
---
TxnManagerImpl: main: unable to start TransactionManager
java.rmi.activation.ActivateFailedException: failed to activate object; nested
xception is:
java.rmi.activation.ActivationException: exception in object constructo;
nested exception is:
java.net.SocketException: error setting options
java.rmi.activation.ActivationException: exception in object constructor; neste
exception is:
java.net.SocketException: error setting options
java.net.SocketException: error setting options
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Compied Code)
at sun.rmi.transport.StreamRemoteCall.executeCall(Compiled Code)
at sun.rmi.server.UnicastRef.invoke(Compiled Code)
at sun.rmi.server.Activation$ActivatorImpl_Stub.activate(Compiled Code)
at java.rmi.activation.ActivationID.activate(Compiled Code)
at sun.rmi.server.ActivatableRef.activate(Compiled Code)
at sun.rmi.server.ActivatableRef.invoke(Compiled Code)
at com.sun.jini.mahout.binder.RemoteJoinAdminImpl_Stub.activate(Compile Code)
at com.sun.jini.mahout.binder.LookupBinderSetup.setService(Compiled Cod)
at com.sun.jini.mahalo.TxnManagerImpl.create(Compiled Code)
at com.sun.jini.mahalo.TxnManagerImpl.create(Compiled Code)
at com.sun.jini.mahalo.TxnManagerImpl.main(Compiled Code)
---
Next I tried to start a JavaSpace service to see what this got to say.
---
java -jar -Djava.security.policy=/usr/local/jini1_0/example/books/policy.all \
-Djava.rmi.server.codebase=http://localhost:8080/outrigger-dl.jar \
-Dcom.sun.jini.outrigger.spaceName=JavaSpaces \
/home/jota/jini/jini1_0/lib/transient-outrigger.jar public &
---
I got almost the identical error message.
Do I need to upgrade my kernel to 2.0.37 + patch to make Transaction
Manager and JavaSpaces Service work right, or am I missing something
else?
Thank you in advance.
p.s.
...and thanks to java-linux porting team for the great work.
---
Jota Matsubara
Global Communication Service pj. e-mail: [EMAIL PROTECTED]
Network Node Systems Div. tel. +81 3 5487 9269
NTT Communicationware Co.
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]