java.io.IOException

Couldn't resolve initial reference: NameService

Samebug tips9

Check if your MongoDB is available.


rprp

host port isnt set

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web2668

  • Stack trace

    • java.io.IOException: Couldn't resolve initial reference: NameService 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:349) at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:258) at oracle.as.provisioning.weblogic.AdminServer.connect(AdminServer.java:98) at oracle.as.provisioning.weblogic.ASDomain._connectToAdminServer(ASDomain.java:406) at oracle.as.provisioning.weblogic.ASDomain.connectToAdminServer(ASDomain.java:360) at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:411) at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866) at oracle.as.install.bi.biconfig.standard.StandardWorkFlowExecutor.executeHelper(StandardWorkFlowExecutor.java:31) at oracle.as.install.bi.biconfig.standard.ConfigTemplateTask.doExecute(ConfigTemplateTask.java:34) at oracle.as.install.bi.biconfig.standard.AbstractProvisioningTask.execute(AbstractProvisioningTask.java:70) at oracle.as.install.bi.biconfig.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61) at oracle.as.install.bi.biconfig.BIConfigMain.doExecute(BIConfigMain.java:113) at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:371) at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:88) at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:105) at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15) at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:64) at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:160) at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81) at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:86) at java.lang.Thread.run(Thread.java:736) Caused by: javax.naming.InvalidNameException: Couldn't resolve initial reference: NameService [Root exception is org.omg.CORBA.ORBPackage.InvalidName: NameService:org.omg.CORBA.TRANSIENT: java.net.ConnectException: Connection refused:host=cor089ya50,port=7001 vmcid: IBM minor code: E02 completed: No] at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:52) at weblogic.corba.j2ee.naming.ORBHelper.getORBReferenceWithRetry(ORBHelper.java:644) 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:235) at javax.naming.InitialContext.initializeDefaultInitCtx(InitialContext.java:318) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:348) at javax.naming.InitialContext.internalInit(InitialContext.java:286) at javax.naming.InitialContext.<init>(InitialContext.java:211) at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:178) ... 22 more Caused by: org.omg.CORBA.ORBPackage.InvalidName: NameService:org.omg.CORBA.TRANSIENT: java.net.ConnectException: Connection refused:host=cor089ya50,port=7001 vmcid: IBM minor code: E02 completed: No at com.ibm.rmi.corba.InitialReferenceClient.resolve_initial_references(InitialReferenceClient.java:221) at com.ibm.rmi.corba.ORB.resolve_initial_references(ORB.java:4228) at com.ibm.rmi.iiop.ORB.resolve_initial_references(ORB.java:680) at com.ibm.CORBA.iiop.ORB.resolve_initial_references(ORB.java:3219) at weblogic.corba.j2ee.naming.ORBHelper.getORBReferenceWithRetry(ORBHelper.java:631) ... 32 more Caused by: org.omg.CORBA.TRANSIENT: java.net.ConnectException: Connection refused:host=cor089ya50,port=7001 vmcid: IBM minor code: E02 completed: No at com.ibm.CORBA.transport.TransportConnectionBase.connect(TransportConnectionBase.java:425) at com.ibm.rmi.transport.TCPTransport.getConnection(TCPTransport.java:157) at com.ibm.rmi.iiop.TransportManager.get(TransportManager.java:89) at com.ibm.rmi.iiop.GIOPImpl.getConnection(GIOPImpl.java:130) at com.ibm.rmi.iiop.GIOPImpl.locate(GIOPImpl.java:219) at com.ibm.rmi.corba.Corbaloc.locateUsingINS(Corbaloc.java:307) at com.ibm.rmi.corba.Corbaloc.resolve(Corbaloc.java:378) at com.ibm.rmi.corba.ORB.objectURLToObject(ORB.java:3751) at com.ibm.CORBA.iiop.ORB.objectURLToObject(ORB.java:3262) at com.ibm.rmi.corba.ORB.string_to_object(ORB.java:3649) at com.ibm.rmi.corba.InitialReferenceClient.resolve_initial_references(InitialReferenceClient.java:179) ... 36 more Caused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:383) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:245) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:232) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:377) at java.net.Socket.connect(Socket.java:539) at com.ibm.rmi.transport.TCPTransportConnection.createSocket(TCPTransportConnection.java:155) at com.ibm.rmi.transport.TCPTransportConnection.createSocket(TCPTransportConnection.java:167) at com.ibm.CORBA.transport.TransportConnectionBase.connect(TransportConnectionBase.java:354) ... 46 more

    Write tip

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

    Users with the same issue

    raytestraytest
    Once,
    mauritiusmauritius
    13 times, last one
    Eric HendersonEric Henderson
    39 times, last one
    slashslash
    Once,
    tvrmsmithtvrmsmith
    13 times, last one
    391 more bugmates