Hi,
What kind of message do you get when you telnet to localhost at port
1111 (presuming you've configured RMI to use port 1111). Normally
such a command would be something like:
telnet localhost 1111
You could also try (presuming 10.1.1.102 is your the IP-address of
your local machine):
telnet 10.1.1.102 1111
---André
Op 29-okt-2007, om 17:33 heeft Zhang Xiaofei het volgende geschreven:
Hi,all
I met a troublesome error which cost me two days. I still don't get
method to solve it now. I am really confused.
When I use RMMCI module in my own pc, this error appears as blow.
but when I connect to my friend's pc with tomcat5.5+mmbase1.8.4
+mysql5(which is as same as my computer), it works very well.
Could you give me some suggestions about this error, and how to
solve it. Thank you:-)
Hope to hear from you soon.
Best wishes.
Eddy
The Error generated by eclipse:
Exception in thread "main" org.mmbase.bridge.BridgeException:
Connection refused to host: 10.1.1.102; nested exception is:
java.net.ConnectException: Connection refused: connect
at
org.mmbase.bridge.remote.implementation.RemoteCloudContext_Impl.getClo
ud(RemoteCloudContext_Impl.java:77)
at org.seaba.scheduler.jobs.mail.EmailSenderTest .<init>
(EmailSenderTest.java:46)
at org.seaba.scheduler.jobs.mail.Test.main(Test.java:5)
Caused by: java.rmi.ConnectException: Connection refused to host:
10.1.1.102; nested exception is:
java.net.ConnectException: Connection refused: connect
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown
Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection (Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at
org.mmbase.bridge.remote.rmi.RemoteCloudContext_Rmi_Stub.getCloud
(Unknown Source)
at
org.mmbase.bridge.remote.implementation.RemoteCloudContext_Impl.getClo
ud (RemoteCloudContext_Impl.java:74)
... 2 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect (Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect (Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket
(Unknown Source)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket
(Unknown Source)
... 8 more
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers
--
André van Toly
web http://www.toly.nl mobile +31(0)627233562
----------------------------------------------------------------~~<<>>~~
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers