You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by Rafael Schloming <ra...@redhat.com> on 2009/08/13 03:35:52 UTC

test failures

A number of the java tests are now failing under the cpp profile with 
the following exception. It looks to be as of robbie's change at r802819.

--Rafael


   Testcase: testBindingCreateOnFanoutViaManagementConsole took 0.141 sec
   	Caused an ERROR
   null
   java.io.IOException
   	at 
org.apache.qpid.management.common.JMXConnnectionFactory.getJMXConnection(JMXConnnectionFactory.java:80)
   	at 
org.apache.qpid.management.jmx.ManagementActorLoggingTest.setUp(ManagementActorLoggingTest.java:61)
   	at 
org.apache.qpid.test.utils.QpidTestCase.runBare(QpidTestCase.java:219)
   	at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:265)
   Caused by: java.io.IOException: Failed to retrieve RMIServer stub: 
javax.naming.ServiceUnavailableException [Root exception is 
java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested 
exception is:
   	java.net.ConnectException: Connection refused]
   	at 
javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:338)
   	at 
javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
   	at 
org.apache.qpid.management.common.JMXConnnectionFactory$ConnectWaiter.run(JMXConnnectionFactory.java:231)
   	at java.lang.Thread.run(Thread.java:619)
   Caused by: javax.naming.ServiceUnavailableException [Root exception 
is java.rmi.ConnectException: Connection refused to host: 127.0.0.1; 
nested exception is:
   	java.net.ConnectException: Connection refused]
   	at 
com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101)
   	at 
com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:185)
   	at javax.naming.InitialContext.lookup(InitialContext.java:392)
   	at 
javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1886)
   	at 
javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1856)
   	at 
javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:257)
   	... 3 more
   Caused by: 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:601)
   	at 
sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
   	at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
   	at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
   	at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
   	at 
com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97)
   	... 8 more
   Caused by: java.net.ConnectException: Connection refused
   	at java.net.PlainSocketImpl.socketConnect(Native Method)
   	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
   	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
   	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
   	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
   	at java.net.Socket.connect(Socket.java:519)
   	at java.net.Socket.connect(Socket.java:469)
   	at java.net.Socket.<init>(Socket.java:366)
   	at java.net.Socket.<init>(Socket.java:180)
   	at 
sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
   	at 
sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
   	at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)
   	... 13 more

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


Re: test failures

Posted by Martin Ritchie <ri...@apache.org>.
Sorry Rafi, My fault. Will exclude them

2009/8/13 Rafael Schloming <ra...@redhat.com>:
> A number of the java tests are now failing under the cpp profile with the
> following exception. It looks to be as of robbie's change at r802819.
>
> --Rafael
>
>
>  Testcase: testBindingCreateOnFanoutViaManagementConsole took 0.141 sec
>        Caused an ERROR
>  null
>  java.io.IOException
>        at
> org.apache.qpid.management.common.JMXConnnectionFactory.getJMXConnection(JMXConnnectionFactory.java:80)
>        at
> org.apache.qpid.management.jmx.ManagementActorLoggingTest.setUp(ManagementActorLoggingTest.java:61)
>        at
> org.apache.qpid.test.utils.QpidTestCase.runBare(QpidTestCase.java:219)
>        at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:265)
>  Caused by: java.io.IOException: Failed to retrieve RMIServer stub:
> javax.naming.ServiceUnavailableException [Root exception is
> java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested
> exception is:
>        java.net.ConnectException: Connection refused]
>        at
> javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:338)
>        at
> javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
>        at
> org.apache.qpid.management.common.JMXConnnectionFactory$ConnectWaiter.run(JMXConnnectionFactory.java:231)
>        at java.lang.Thread.run(Thread.java:619)
>  Caused by: javax.naming.ServiceUnavailableException [Root exception is
> java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested
> exception is:
>        java.net.ConnectException: Connection refused]
>        at
> com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101)
>        at
> com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:185)
>        at javax.naming.InitialContext.lookup(InitialContext.java:392)
>        at
> javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1886)
>        at
> javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1856)
>        at
> javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:257)
>        ... 3 more
>  Caused by: 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:601)
>        at
> sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
>        at
> sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
>        at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
>        at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
>        at
> com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97)
>        ... 8 more
>  Caused by: java.net.ConnectException: Connection refused
>        at java.net.PlainSocketImpl.socketConnect(Native Method)
>        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
>        at
> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
>        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
>        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
>        at java.net.Socket.connect(Socket.java:519)
>        at java.net.Socket.connect(Socket.java:469)
>        at java.net.Socket.<init>(Socket.java:366)
>        at java.net.Socket.<init>(Socket.java:180)
>        at
> sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
>        at
> sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
>        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)
>        ... 13 more
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:dev-subscribe@qpid.apache.org
>
>



-- 
Martin Ritchie

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org