Le mar, 11 avr 2000, Philippe Coq a �crit :
> 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
> 
> Hi, it seems that you are using the rmiregistry instead of the registry
> of jeremie.
> Use the registry script that is able to know what is the correct
> registry to launch.
> 
> regards,
> -- 
>       Philippe

The problem is i already use the registry script :-)
I've edited $JONAS_ROOT/bin/config.env to change OBJECTWEB_ORB to JEREMIE and
JONAS_CLASSES to JEREMIE_jonas.jar
I've a jndi.properties in my ejb source directory (from where i launch
EJBServer) with RMI lines commented.
running registry is OK : Jeremie Registry started 
Error comes when running EJBServer

-- 
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".

Reply via email to