Le mar, 11 avr 2000, Bruno Dumant a �crit :
> It seems that you use rmi and not J�r�mie : The exception stack trace indicates
>sun.rmi classes never used by J�r�mie. Are you sure you didn't try to
> start the rmi registry twice ?
>
> Bruno
I'm sure : i kill every task with 'java' inside before, as there isn't any stop
script.
Effectively, i forgot to comment RMI lines in jndi.properties. But even in this
case, i still got something very close :
[guillaume@agathe ejb]$ JOnAS Server, version 2.0, running on Jeremie.
TransactionService: Cannot rebind TM:
javax.naming.NamingException: registry context error: rebind [Root exception is
java.rmi.MarshalException: error during marshalling/unmarshalling by stub; nested
exception is:
java.rmi.MarshalException: exception preparing marshaller; nested exception is:
java.net.ConnectException: Connexion refus�e]
JOnAS: Cannot start Transaction Service
javax.naming.NamingException: registry context error: rebind. Root exception is
java.rmi.MarshalException: error during marshalling/unmarshalling by stub; nested
exception is:
java.rmi.MarshalException: exception preparing marshaller; nested exception is:
java.net.ConnectException: Connexion refus�e
java.rmi.MarshalException: exception preparing marshaller; nested exception is:
java.net.ConnectException: Connexion refus�e
java.net.ConnectException: Connexion refus�e
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java, Compiled Code)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java, Compiled
Code)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java, Compiled Code)
at java.net.Socket.<init>(Socket.java, Compiled Code)
at java.net.Socket.<init>(Socket.java, Compiled Code)
at
org.objectweb.jonathan.libs.resources.tcpip.JConnectionMgr.newCltConnection(JConnectionMgr.java,
Compiled Code)
at
org.objectweb.jonathan.libs.protocols.tcpip.TcpIpProtocol$CltSessionIdentifier.bind(TcpIpProtocol.java,
Compiled Code)
at
org.objectweb.david.libs.protocols.giop.GIOPProtocol$GIOPCltSessionIdentifier.bind(GIOPProtocol.java,
Compiled Code)
at
org.objectweb.jeremie.libs.stub_factories.std.RefImpl.prepareInvocation(RefImpl.java,
Compiled Code)
at
org.objectweb.jeremie.libs.services.registry.RegistryImpl_Stub.rebind(RegistryImpl_Stub.java,
Compiled Code)
at
org.objectweb.jeremie.libs.services.registry.jndi.JRMIRegistryContext.rebind(JRMIRegistryContext.java,
Compiled Code)
at
org.objectweb.jeremie.libs.services.registry.jndi.JRMIRegistryContext.rebind(JRMIRegistryContext.java,
Compiled Code)
at javax.naming.InitialContext.rebind(InitialContext.java, Compiled Code)
at org.objectweb.jonas.naming.NamingManager.rebind(NamingManager.java,
Compiled Code)
at org.objectweb.jonas.jtm.TransactionService.<init>(TransactionService.java,
Compiled Code)
at org.objectweb.jonas.server.Server.main(Server.java, Compiled Code)
> Guillaume Rousse wrote:
>
> > Here's the message i get when launching Jonas with Jeremie :
> > JOnAS Server, version 2.0, running on Jeremie.
> > TransactionService: Cannot rebind TM:
> > javax.naming.ServiceUnavailableException [Root exception is
>java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
> > java.net.ConnectException: Connexion refus�e]
> > JOnAS: Cannot start Transaction Service
> > javax.naming.ServiceUnavailableException. Root exception is
>java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
> > java.net.ConnectException: Connexion refus�e
> > java.net.ConnectException: Connexion refus�e
> > at java.net.PlainSocketImpl.socketConnect(Native Method)
> > at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java, Compiled Code)
> > at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java,
>Compiled Code)
> > at java.net.PlainSocketImpl.connect(PlainSocketImpl.java, Compiled Code)
> > at java.net.Socket.<init>(Socket.java, Compiled Code)
> > at java.net.Socket.<init>(Socket.java, Compiled Code)
> > at
>sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java,
> Compiled Code)
> > at
>sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java,
> Compiled Code)
> > at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java, Compiled
>Code)
> > at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java,
>Compiled Code)
> > at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java,
>Compiled Code)
> > at sun.rmi.server.UnicastRef.newCall(UnicastRef.java, Compiled Code)
> > at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
> > at com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java,
>Compiled Code)
> > at com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java,
>Compiled Code)
> > at javax.naming.InitialContext.rebind(InitialContext.java, Compiled Code)
> > at org.objectweb.jonas.naming.NamingManager.rebind(NamingManager.java,
>Compiled Code)
> > at
>org.objectweb.jonas.jtm.TransactionService.<init>(TransactionService.java, Compiled
>Code)
> > at org.objectweb.jonas.server.Server.main(Server.java, Compiled Code)
> > Seems not to be a port-related problem, as RMI registry is OK with the same
> > port number. What's the problem ?
> > Also, there isn't any status phrase when launching rmiregistry, such as
> > "Jeremie Registry started"...
> >
> > Cheers
> > --
> > Guillaume Rousse
--
Guillaume Rousse
Iremia - Universit� de la R�union
15 avenue Ren� Cassin, BP 7151
97715 Saint Denis, messagerie cedex 9
Tel:0262938330 Fax:0262938260 ICQ:10756815
And now, some words for our sponsor :
Explosives, guns, assassination, conspiracy, primers, detonators, Kakadan,
initiators, main charge, nuclear charges, ambush, sniping, motorcade, IRS,
ETA, FARC, Cuba, Castro, Che Guevara, revolution, ATTAC, BATF, jtf-6...
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".