My Oracle Support Banner

libovdconfig.sh Fails With Exception in thread "Main Thread" java.io.IOException: Couldn't connect to the specified host "org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code" (Doc ID 1991892.1)

Last updated on AUGUST 30, 2023

Applies to:

Oracle Virtual Directory - Version 11.1.1.7.0 and later
Information in this document applies to any platform.

Symptoms

Creating keystore using the following command fails:

./libovdconfig.sh -host <WLS_ADMIN_HOSTNAME> -port <WLS_SSL_PORT> -userName <WLS_ADMIN_USER> -domainPath <DOMAIN_PATH> -createKeystore

Enter AdminServer password:
Enter OVD Keystore password:
OVD config files already exist for context: default
Exception in thread "Main Thread" java.io.IOException: Couldn't connect to the specified host :
  at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:196)
  at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.java:84)
  at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:338)
  at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:247)
  at oracle.ods.virtualization.config.BootstrapConfig.initConn(BootstrapConfig.java:424)
  at oracle.ods.virtualization.config.BootstrapConfig.main(BootstrapConfig.java:227)
Caused by: javax.naming.NamingException: Couldn't connect to the specified host : [Root exception is org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 208 completed: Maybe]
  at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:83)
  at weblogic.corba.j2ee.naming.ORBHelper.getORBReferenceWithRetry(ORBHelper.java:656)
  at weblogic.corba.j2ee.naming.ORBHelper.getORBReference(ORBHelper.java:594)
  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.n



OR

./libovdconfig.sh -host <WLS_ADMIN_HOSTNAME> -port <WLS_PORT> -userName <WLS_ADMIN_USER> -domainPath <DOMAIN_PATH> -createKeystore
Enter AdminServer password:
Enter OVD Keystore password:
OVD config files already exist for context: default
Exception in thread "main" java.io.IOException: Couldn't resolve initial reference: NameService after 1 failures
at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:327)
at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.java:135)
at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:371)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:269)
at oracle.ods.virtualization.config.BootstrapConfig.initConn(BootstrapConfig.java:468)
at oracle.ods.virtualization.config.BootstrapConfig.main(BootstrapConfig.java:246)
Caused by: javax.naming.NamingException: Couldn't resolve initial reference: NameService after 1 failures [Root exception is org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 203 completed: No]
at weblogic.corba.j2ee.naming.ORBHelper$InitialReferenceResolution.createNamingException(ORBHelper.java:557)
at weblogic.corba.j2ee.naming.ORBHelper$InitialReferenceResolution.invoke(ORBHelper.java:548)
at weblogic.corba.j2ee.naming.ORBHelper.getORBInitialReference(ORBHelper.java:410)
at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getRemoteNameService(InitialContextFactoryImpl.java:105)
at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:68)
at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:32)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:46)
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 weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:296)
... 5 more
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:981)
at com.sun.corba.se.impl.encoding.BufferManagerWriteGrow.sendMessage(BufferManagerWriteGrow.java:71)
at com.sun.corba.se.impl.encoding.CDROutputObject.finishSendingMessage(CDROutputObject.java:162)
at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.finishSendingRequest(CorbaMessageMediatorImpl.java:265)
at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete1(CorbaClientRequestDispatcherImpl.java:389)
at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(CorbaClientRequestDispatcherImpl.java:371)
at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:148)
at com.sun.corba.se.impl.resolver.BootstrapResolverImpl.invoke(BootstrapResolverImpl.java:114)
at com.sun.corba.se.impl.resolver.BootstrapResolverImpl.resolve(BootstrapResolverImpl.java:132)
at com.sun.corba.se.impl.resolver.CompositeResolverImpl.resolve(CompositeResolverImpl.java:47)
at com.sun.corba.se.impl.resolver.CompositeResolverImpl.resolve(CompositeResolverImpl.java:47)
at com.sun.corba.se.impl.resolver.CompositeResolverImpl.resolve(CompositeResolverImpl.java:47)
at com.sun.corba.se.impl.orb.ORBImpl.resolve_ini

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.