-
Bug
-
Resolution: Done
-
Major
-
None
-
None
org.jboss.as.test.iiop.client.IIOPTransactionPropagationTestCase fails once -Dnode0 and -Dnode1 properties are used.
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 19,243.526 sec <<< FAILURE! - in org.jboss.as.test.iiop.client.IIOPTransactionPropagationTestCase org.jboss.as.test.iiop.client.IIOPTransactionPropagationTestCase Time elapsed: 19,241.627 sec <<< ERROR! javax.naming.CommunicationException: Cannot connect to ORB at sun.nio.ch.Net.connect0(Native Method) at sun.nio.ch.Net.connect(Net.java:458) at sun.nio.ch.Net.connect(Net.java:450) at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:648) at java.nio.channels.SocketChannel.open(SocketChannel.java:189) at com.sun.corba.se.impl.transport.DefaultSocketFactoryImpl.createSocket(DefaultSocketFactoryImpl.java:95) at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:207) at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:236) at com.sun.corba.se.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:119) at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:187) at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:137) at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:229) at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:130) at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69) at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:381) at com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(CNCtx.java:247) at com.sun.jndi.cosnaming.CNCtx.<init>(CNCtx.java:105) at com.sun.jndi.cosnaming.CNCtxFactory.getInitialContext(CNCtxFactory.java:49) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313) at javax.naming.InitialContext.init(InitialContext.java:244) at javax.naming.InitialContext.<init>(InitialContext.java:216) at org.jboss.as.test.iiop.client.Util.getContext(Util.java:130) at org.jboss.as.test.iiop.client.IIOPTransactionPropagationTestCase.beforeClass(IIOPTransactionPropagationTestCase.java:102)
Fix
--- a/testsuite/integration/iiop/src/test/java/org/jboss/as/test/iiop/client/Util.java +++ b/testsuite/integration/iiop/src/test/java/org/jboss/as/test/iiop/client/Util.java @@ -56,7 +56,7 @@ import com.arjuna.orbportability.ORB; import com.sun.corba.se.impl.orbutil.ORBConstants; public class Util { - public static final String HOST = NetworkUtils.formatPossibleIpv6Address(System.getProperty("node0", "localhost")); + public static final String HOST = NetworkUtils.formatPossibleIpv6Address(System.getProperty("node1", "localhost")); private static ORB orb = null; // Recovery manager is needed till the end of orb usage
- is cloned by
-
WFLY-4796 IIOPTransactionPropagationTestCase fails with -Dnode0 property set
- Closed