org.omg.CORBA.COMM_FAILURE

tip

First of all, check if your firewall is not blocking your connection. If it's not, you might need to explicitly set advertised.host.name to "advertised.host.name = yourIpAddress", this forces the hosts returned to be the resolvable IP address of your VM.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • I am noticing 12 new failure in j2ee-jms tests. All the test are failing with "org.omg.CORBA.COMM_FAILURE" error. Attaching entire v3g_jms.output file. Ran "jmscluster-test1-AppClient" test manually , attaching the log file for the same. To see the problem, please follow the following example, adjust the glassfish3, jdk, ant location and your id in CVSROOT % setenv CVSROOT :pserver:cvsguest@sunsw.us.oracle.com:/m/jws % setenv SPS_HOME /space/test1/ws/appserver-sqe % setenv S1AS_HOME /space/test1/glassfish3/glassfish % setenv JAVA_HOME /space/test1/tool/jdk1.7.0-b148 % setenv ANT_HOME /space/test1/tool/apache-ant-1.7.1 % setenv PATH $JAVA_HOME/bin:$ANT_HOME/bin:$S1AS_HOME/bin:$PATH To check out test source % cvs co appserver-sqe/bootstrap.xml % cd appserver-sqe % ant -f bootstrap.xml co-core To run the test % ant start-domain % ant startDerby % ant v3g-jms-all or % cd $SPS_HOME/pe/jms/jmscluster % run the individual tests manually. The complete error is: jms-change-orb-port: [copy] Copying 1 file to /scratch/bhavya/312/antws/appserver-sqe/pe/jms/jmscluster/test1 [echo] Changing the ORB Port to : 1114 jms-run-appclient: [exec] WS HOME appserver-sqe [exec] Start the Test : jmscluster-test1-AppClient [exec] org.omg.CORBA.COMM_FAILURE: FINE: IOP00410001: Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: localhost; port: 1114 vmcid: OMG minor code: 1 completed: No [exec] at sun.reflect.GeneratedConstructorAccessor31.newInstance(Unknown Source) [exec] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [exec] at java.lang.reflect.Constructor.newInstance(Constructor.java:525) [exec] at com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:248) [exec] at com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:95) [exec] at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.handleFullLogging(WrapperGenerator.java:387) [exec] at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.access$400(WrapperGenerator.java:107) [exec] at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator$2.invoke(WrapperGenerator.java:511) [exec] at com.sun.corba.ee.spi.orbutil.proxy.CompositeInvocationHandlerImpl.invoke(CompositeInvocationHandlerImpl.java:99) [exec] at $Proxy34.connectFailure(Unknown Source) [exec] at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:257) [exec] at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:270) [exec] at com.sun.corba.ee.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:129) [exec] at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:223) [exec] at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:228) [exec] at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:393) [exec] at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:130) [exec] at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69) [exec] at com.sun.enterprise.naming.impl.SerialContext$ProviderCacheKey.getNameService(SerialContext.java:1241) [exec] at com.sun.enterprise.naming.impl.SerialContext.getRemoteProvider(SerialContext.java:411) [exec] at com.sun.enterprise.naming.impl.SerialContext.getProvider(SerialContext.java:347) [exec] at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:504) [exec] at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:455) [exec] at javax.naming.InitialContext.lookup(InitialContext.java:411) [exec] at com.sun.enterprise.naming.util.JndiNamingObjectFactory.create(JndiNamingObjectFactory.java:90) [exec] at com.sun.enterprise.container.common.impl.ComponentEnvManagerImpl$1.create(ComponentEnvManagerImpl.java:650) [exec] at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:776) [exec] at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:744) [exec] at com.sun.enterprise.naming.impl.JavaURLContext.lookup(JavaURLContext.java:172) [exec] at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:498) [exec] at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:455) [exec] at javax.naming.InitialContext.lookup(InitialContext.java:411) [exec] at com.sun.s1peqe.jms.jmscluster.client.Client.run(Client.java:55) [exec] at com.sun.s1peqe.jms.jmscluster.client.Client.main(Client.java:40) [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [exec] at java.lang.reflect.Method.invoke(Method.java:601) [exec] at org.glassfish.appclient.client.acc.AppClientContainer.launch(AppClientContainer.java:438) [exec] at org.glassfish.appclient.client.AppClientFacade.launch(AppClientFacade.java:182) [exec] at org.glassfish.appclient.client.AppClientGroupFacade.main(AppClientGroupFacade.java:65) [exec] Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection refused [exec] at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:339) [exec] at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:242) [exec] ... 30 more [exec] Caused by: java.net.ConnectException: Connection refused [exec] at sun.nio.ch.Net.connect0(Native Method) [exec] at sun.nio.ch.Net.connect(Net.java:364) [exec] at sun.nio.ch.Net.connect(Net.java:356) [exec] at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:623) [exec] at com.sun.corba.ee.impl.orbutil.ORBUtility.openSocketChannel(ORBUtility.java:110) [exec] at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:324) [exec] ... 31 more [exec] javax.naming.NamingException: Lookup failed for 'java:comp/env/jms/mq_q' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.url.pkgs=com.sun.enterprise.naming, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl} [Root exception is javax.naming.NamingException: Lookup failed for 'jms/mq_q' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.url.pkgs=com.sun.enterprise.naming, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, com.sun.enterprise.naming.logicalName=java:comp/env/jms/mq_q} [Root exception is javax.naming.NamingException: Unable to acquire SerialContextProvider for SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.url.pkgs=com.sun.enterprise.naming, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, com.sun.enterprise.naming.logicalName=java:comp/env/jms/mq_q} [Root exception is org.omg.CORBA.COMM_FAILURE: FINE: IOP00410001: Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: localhost; port: 1114 vmcid: OMG minor code: 1 completed: No]]] [exec] at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:518) [exec] at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:455) [exec] at javax.naming.InitialContext.lookup(InitialContext.java:411) [exec] at com.sun.s1peqe.jms.jmscluster.client.Client.run(Client.java:55) [exec] at com.sun.s1peqe.jms.jmscluster.client.Client.main(Client.java:40) [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [exec] at java.lang.reflect.Method.invoke(Method.java:601) [exec] at org.glassfish.appclient.client.acc.AppClientContainer.launch(AppClientContainer.java:438) [exec] at org.glassfish.appclient.client.AppClientFacade.launch(AppClientFacade.java:182) [exec] at org.glassfish.appclient.client.AppClientGroupFacade.main(AppClientGroupFacade.java:65) [exec] Caused by: javax.naming.NamingException: Lookup failed for 'jms/mq_q' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.url.pkgs=com.sun.enterprise.naming, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, com.sun.enterprise.naming.logicalName=java:comp/env/jms/mq_q} [Root exception is javax.naming.NamingException: Unable to acquire SerialContextProvider for SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.url.pkgs=com.sun.enterprise.naming, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, com.sun.enterprise.naming.logicalName=java:comp/env/jms/mq_q} [Root exception is org.omg.CORBA.COMM_FAILURE: FINE: IOP00410001: Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: localhost; port: 1114 vmcid: OMG minor code: 1 completed: No]] [exec] at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:518) [exec] at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:455) [exec] at javax.naming.InitialContext.lookup(InitialContext.java:411) [exec] at com.sun.enterprise.naming.util.JndiNamingObjectFactory.create(JndiNamingObjectFactory.java:90) [exec] at com.sun.enterprise.container.common.impl.ComponentEnvManagerImpl$1.create(ComponentEnvManagerImpl.java:650) [exec] at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:776) [exec] at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:744) [exec] at com.sun.enterprise.naming.impl.JavaURLContext.lookup(JavaURLContext.java:172) [exec] at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:498) [exec] ... 11 more [exec] Caused by: javax.naming.NamingException: Unable to acquire SerialContextProvider for SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.url.pkgs=com.sun.enterprise.naming, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, com.sun.enterprise.naming.logicalName=java:comp/env/jms/mq_q} [Root exception is org.omg.CORBA.COMM_FAILURE: FINE: IOP00410001: Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: localhost; port: 1114 vmcid: OMG minor code: 1 completed: No] [exec] at com.sun.enterprise.naming.impl.SerialContext.getProvider(SerialContext.java:352) [exec] at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:504) [exec] ... 19 more [exec] Caused by: org.omg.CORBA.COMM_FAILURE: FINE: IOP00410001: Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: localhost; port: 1114 vmcid: OMG minor code: 1 completed: No [exec] at sun.reflect.GeneratedConstructorAccessor31.newInstance(Unknown Source) [exec] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [exec] at java.lang.reflect.Constructor.newInstance(Constructor.java:525) [exec] at com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:248) [exec] at com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:95) [exec] at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.handleFullLogging(WrapperGenerator.java:387) [exec] at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.access$400(WrapperGenerator.java:107) [exec] at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator$2.invoke(WrapperGenerator.java:511) [exec] at com.sun.corba.ee.spi.orbutil.proxy.CompositeInvocationHandlerImpl.invoke(CompositeInvocationHandlerImpl.java:99) [exec] at $Proxy34.connectFailure(Unknown Source) [exec] at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:257) [exec] at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:270) [exec] at com.sun.corba.ee.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:129) [exec] at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:223) [exec] at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:228) [exec] at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:393) [exec] at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:130) [exec] at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69) [exec] at com.sun.enterprise.naming.impl.SerialContext$ProviderCacheKey.getNameService(SerialContext.java:1241) [exec] at com.sun.enterprise.naming.impl.SerialContext.getRemoteProvider(SerialContext.java:411) [exec] at com.sun.enterprise.naming.impl.SerialContext.getProvider(SerialContext.java:347) [exec] ... 20 more [exec] jmscluster-test1-AppClient setup failed: unexpected NamingException [exec] Generating report at /scratch/bhavya/312/antws/appserver-sqe/test_results.xml [exec] [exec] [exec] ----------------------------------------- [exec] - jmscluster-test1-AppClient: FAIL - [exec] ----------------------------------------- [exec] Total PASS: 0 [exec] Total FAIL: 1 [exec] Total DNR: 0 [exec] ----------------------------------------- [exec] Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection refused [exec] at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:339) [exec] at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:242) [exec] ... 30 more [exec] Caused by: java.net.ConnectException: Connection refused [exec] at sun.nio.ch.Net.connect0(Native Method) [exec] at sun.nio.ch.Net.connect(Net.java:364) [exec] at sun.nio.ch.Net.connect(Net.java:356) [exec] at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:623) [exec] at com.sun.corba.ee.impl.orbutil.ORBUtility.openSocketChannel(ORBUtility.java:110) [exec] at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:324) [exec] ... 31 more
    via by hsbhavya,
  • jndi unknown source with jms
    via by 932533,
    • org.omg.CORBA.COMM_FAILURE: FINE: IOP00410001: Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: localhost; port: 3700 vmcid: OMG minor code: 1 completed: No at sun.reflect.GeneratedConstructorAccessor33.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:248) at com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:95) at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.handleFullLogging(WrapperGenerator.java:387) at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.access$400(WrapperGenerator.java:107) at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator$2.invoke(WrapperGenerator.java:511) at com.sun.corba.ee.spi.orbutil.proxy.CompositeInvocationHandlerImpl.invoke(CompositeInvocationHandlerImpl.java:99) at $Proxy24.connectFailure(Unknown Source) at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:257) at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:270) at com.sun.corba.ee.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:129) at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:223) at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:228) at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:393) at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:130) at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69) at com.sun.enterprise.naming.impl.SerialContext$ProviderCacheKey.getNameService(SerialContext.java:1241) at com.sun.enterprise.naming.impl.SerialContext.getRemoteProvider(SerialContext.java:411) at com.sun.enterprise.naming.impl.SerialContext.getProvider(SerialContext.java:347) at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:504) at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:455) at javax.naming.InitialContext.lookup(InitialContext.java:411) at com.sun.enterprise.resource.naming.AdministeredObjectFactory.getObjectInstance(AdministeredObjectFactory.java:98) at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:321) at com.sun.enterprise.naming.impl.SerialContext.getObjectInstance(SerialContext.java:556) at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:514) at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:455) at javax.naming.InitialContext.lookup(InitialContext.java:411) at libraryclient.LibraryClient.main(LibraryClient.java:34) Caused by: java.lang.RuntimeException: java.net.ConnectException: Po??czenie odrzucone at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:339) at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:242) ... 20 more Caused by: java.net.ConnectException: Po??czenie odrzucone at sun.nio.ch.Net.connect0(Native Method) at sun.nio.ch.Net.connect(Net.java:364) at sun.nio.ch.Net.connect(Net.java:356) at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:623) at com.sun.corba.ee.impl.orbutil.ORBUtility.openSocketChannel(ORBUtility.java:110) at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:324) ... 21 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    22 more bugmates