Hi Zhang,
Its been a while ago since I last used (and had errors with ;-) RMMCI,
and I believe it also might be an error in an MMBase configuration
file. I once had a problem where I could connect to the port using
telnet just fine (as Andre suggested), but RMMCI still failed to work.
If I recall correctly, you also have to have a correct hostname in the
mmbaseroot.xml file, in the 'host property':
<property name="host">10.1.1.102</property>
This property should be the same as the hostname you try to connect
to. It might just work.
Johannes
On 10/29/07, Zhang Xiaofei <[EMAIL PROTECTED]> wrote:
> 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.getCloud(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.getCloud
> (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
>
>
--
Mail: mailto:[EMAIL PROTECTED]
Web: http://www.verelst.net/
Blog: http://keukenhelden.nl/
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers