Connection refused !!

Hello,

a collegue developped a standalone program. It's a client RMI. It works fine !

I need this program to add it in my webapp. But an exception is thrown :

java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:

java.net.ConnectException: Connection refused

at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574)

at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)

at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)

at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)

at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)

at java.rmi.Naming.lookup(Naming.java:84)

As if the server isn't runningBUT it's running.

Any idea ?

Thanks a lot

[835 byte] By [gyll35a] at [2007-11-27 8:52:49]
# 1
I guess u havnt started the RMI registry...
john8921a at 2007-7-12 21:09:06 > top of Java-index,Core,Core APIs...