• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

javax.naming.NamingException: Couldn't connect to any host [Root exception is org.omg.CORBA.COMM_FA

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Iam getting the below error while trying to run a jar file with the below classpath to connect to a jms queue and submit few xmls:

javax.naming.NamingException: Couldn't connect to any host [Root exception is org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 203 completed: No]
at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:83)
at weblogic.corba.j2ee.naming.ORBHelper.getORBReferenceWithRetry(ORBHelper.java:605)
at weblogic.corba.j2ee.naming.ORBHelper.getORBReference(ORBHelper.java:559)
at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:85)
at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:31)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:46)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288
)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at com.jpmorgan.JMSQueueSender.getInitialContext(JMSQueueSender.java:81)

at com.jpmorgan.JMSQueueSender.createQueueConnection(JMSQueueSender.java:56)
at com.jpmorgan.JMSQueueSender.<init>(JMSQueueSender.java:48)
at com.jpmorgan.CALCXmlSubmitterUtility.createQueueConnection(CALCXmlSubmitterUtility.java:257)
at com.jpmorgan.CALCXmlSubmitterUtility.main(CALCXmlSubmitterUtility.java:206)
Caused by: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 203 completed: No
at com.sun.corba.se.impl.logging.ORBUtilSystemException.writeErrorSend(ORBUtilSystemException.java:2259)
at com.sun.corba.se.impl.logging.ORBUtilSystemException.writeErrorSend(ORBUtilSystemException.java:2281)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.writeLock(SocketOrChannelConnectionImpl.java:957)
at com.sun.corba.se.impl.encoding.BufferManagerWriteStream.sendFragment(BufferManagerWriteStream.java:86)
at com.sun.corba.se.impl.encoding.BufferManagerWriteStream.sendMessage(BufferManagerWriteStream.java:104)
at com.sun.corba.se.impl.encoding.CDROutputObject.finishSendingMessage(CDROutputObject.java:144)
at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.finishSendingRequest(CorbaMessageMediatorImpl.java:247)
at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete1(CorbaClientRequestDispatcherImpl.java:374)
at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(CorbaClientRequestDispatcherImpl.java:355)
at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:129)
at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.non_existent(CorbaClientDelegateImpl.java:232)
at org.omg.CORBA.portable.ObjectImpl._non_existent(ObjectImpl.java:137)
at weblogic.corba.j2ee.naming.ORBHelper.getORBReferenceWithRetry(ORBHelper.java:590)
... 13 more
java.lang.NullPointerException
at com.jpmorgan.JMSQueueSender.<init>(JMSQueueSender.java:49)
at com.jpmorgan.CALCXmlSubmitterUtility.createQueueConnection(CALCXmlSubmitterUtility.java:257)
at com.jpmorgan.CALCXmlSubmitterUtility.main(CALCXmlSubmitterUtility.java:206)
12-Nov-2013 16:16:21 com.jpmorgan.CALCXmlSubmitterUtility.main(CALCXmlSubmitterUtility.java:225)
ERROR : Exception While adding to the Queue :java.lang.NullPointerException
at com.jpmorgan.JMSQueueSender.<init>(JMSQueueSender.java:49)
at com.jpmorgan.CALCXmlSubmitterUtility.createQueueConnection(CALCXmlSubmitterUtility.java:257)
at com.jpmorgan.CALCXmlSubmitterUtility.main(CALCXmlSubmitterUtility.java:206)



THis is my complete classpath which i use to run jar:

Class-Path: lib/log4j-1.2.17.jar lib/wlclient-1.0.jar lib/com.bea.core .datasource-1.6.0.0.jar lib/com.bea.core.weblogic.rmi.client-1.5.0.0. jar lib/javax.servlet-1.0.0.0_2-5.jar lib/com.bea.core.xml.weblogic.x path-1.2.0.0.jar lib/com.bea.core.antlr.runtime-2.7.7.jar lib/com.bea .core.weblogic.security.identity-1.1.1.0.jar lib/com.bea.core.transac tion-2.5.1.0.jar lib/com.bea.core.weblogic.security.wls-1.0.0.0_5-1-0 -0.jar lib/com.bea.core.utils.full-1.6.0.0.jar lib/com.bea.core.weblo gic.security-1.0.0.0_5-1-0-0.jar lib/com.bea.core.utils.classloaders- 1.5.0.0.jar lib/com.bea.core.management.core-2.4.0.0.jar lib/com.bea. core.descriptor-1.6.0.0.jar lib/com.bea.core.logging-1.5.0.0.jar lib/ com.bea.core.weblogic.socket.api-1.0.0.0.jar lib/com.bea.core.weblogi c.security.digest-1.0.0.0.jar lib/com.bea.core.weblogic.workmanager-1 .6.0.0.jar lib/com.bea.core.weblogic.lifecycle-1.2.0.0.jar lib/com.be a.core.store-1.4.1.0.jar lib/com.bea.core.common.security.api-1.0.0.0 _5-1-0-0.jar lib/com.bea.core.utils.wrapper-1.4.0.0.jar lib/wsdl4j-1. 5.1.jar lib/ojdbc6-1.0.jar lib/CERequestSchemas-1.1.jar lib/xmlbeans- 2.2.0.jar lib/spring-jms-2.5.jar lib/commons-logging-1.1.jar lib/comm ons-pool-1.3.jar lib/spring-beans-2.5.jar lib/spring-context-2.5.jar lib/aopalliance-1.0.jar lib/spring-context-support-2.5.jar lib/spring -core-2.5.jar lib/spring-tx-2.5.jar lib/jms-1.1.jar lib/commons-colle ctions-3.2.jar lib/weblogic-10.3.jar lib/ce-framework-core-13.2.0.0.j ar lib/ce-framework-dal-${framework.version}.jar lib/spring-test-3.0. 0.RELEASE.jar lib/mail-1.3.2.jar lib/activation-1.0.2.jar lib/axis-1. 2.1.jar lib/commons-codec-1.3.jar lib/commons-discovery-0.4.jar lib/c ommons-httpclient-3.0.jar lib/junit-3.8.1.jar lib/commons-net-1.4.1.j ar lib/oro-2.0.8.jar lib/xercesImpl-2.4.0.jar lib/poi-ooxml-3.7.jar l ib/poi-3.7.jar lib/poi-ooxml-schemas-3.7.jar lib/xmlbeans-2.3.0.jar l ib/stax-api-1.0.1.jar lib/geronimo-stax-api_1.0_spec-1.0.jar lib/xbea n-1.0.jar lib/symphony-2.0.jar lib/symphonydc-2.0.jar lib/jdbcappende r-2.1.01.jar lib/BomacMonitorSchema-1.0.jar lib/CmentSchemas-2.1.jar lib/driJava-1.3.6.jar lib/CITContextServiceClient-10.0.5.0.jar lib/CE EJBServiceClient-2.5.jar lib/CEIndexServiceEjbs-1.0.jar lib/xelem-2.0 .jar lib/xmlStreamAPIs-1.0.jar lib/commons-lang-2.2.jar lib/sbdriclie nt-3.0.jar lib/sbdri-3.0.jar lib/gemfire-5.5.1.jar lib/gemfirecache-2 .3.4.jar lib/sb_data_cache_api-2.3.4.jar lib/spring-orm-2.5.jar lib/s pring-jdbc-2.5.jar lib/spring-aop-2.5.jar lib/spring-web-2.5.jar lib/ spring-webmvc-2.5.jar lib/hessian-3.1.5.jar lib/cachedb-2008.1.0.401. jar lib/commons-math-1.2.jar lib/hibernate-3.3.2.ga.jar lib/ehcache-c ore-1.7.2.jar lib/common-1.0.1.jar lib/commons-beanutils-1.8.0.jar li b/dom4j-1.6.1.jar lib/slf4j-api-1.5.8.jar lib/slf4j-jdk14-1.5.8.jar l ib/javassist-3.4.ga.jar lib/cglib-2.1_3.jar lib/jsch-0.1.42.jar lib/w oodstox-core-asl-4.1.1.jar lib/stax-api-1.0-2.jar lib/stax2-api-3.1.1 .jar




Can someone please help me to resolve this error..
 
reply
    Bookmark Topic Watch Topic
  • New Topic