incubator-yoko-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tracy <tracy...@yahoo.com.cn>
Subject [Test] Problem with unit test in core module
Date Mon, 26 Mar 2007 02:15:05 GMT
Hi, all

I have compiled Yoko. But I encountered a problem when I used "mvn test" in /core to run the
unit test of core module, with the following output:

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
[client:err] Exception in thread "main" java.rmi.ConnectException: Connection refused to host:
localhost; nested excepti
on is:
[client:err]    java.net.ConnectException: Connection refused: connect
[client:err]    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574)
[client:err]    at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
[client:err]    at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
[client:err]    at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)
[client:err]    at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
[client:err]    at org.apache.yoko.processmanager.internal.ProcessAgentImpl.main(ProcessAgentImpl.java:79)
[client:err] Caused by: java.net.ConnectException: Connection refused: connect
[client:err]    at java.net.PlainSocketImpl.socketConnect(Native Method)
[client:err]    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
[client:err]    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
[client:err]    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
[client:err]    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
[client:err]    at java.net.Socket.connect(Socket.java:516)
[client:err]    at java.net.Socket.connect(Socket.java:466)
[client:err]    at java.net.Socket.<init>(Socket.java:366)
[client:err]    at java.net.Socket.<init>(Socket.java:179)
[client:err]    at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
[client:err]    at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
[client:err]    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569)
[client:err]    ... 5 more

Could someone help me?
Thanks!

 		
---------------------------------
抢注雅虎免费邮箱-3.5G容量,20M附件! 
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message