javax.naming.ServiceUnavailableException

A communication failure occurred while attempting to obtain an initial context with the provider URL: "corbaloc:iiop:l ocalhost:2809". Make sure that any bootstrap address information in the URL is correct and that the target name server is running. A bootstrap address with no port specification defaults to port 2809. Possible causes other than an incorr ect bootstrap address or unavailable name server include the network environment and workstation network configuration. Root exception is org.omg.CORBA.OBJ_ADA PTER: ORB_CONNECT_ERROR (5) - couldn't get Server Subcontract :-o rg.omg.CORBA.INTE RNAL: CREATE_LISTENER_FAILED_4 vmcid: 0x49421000 minor code: 56 completed: No vmcid: IBM minor code: B8F completed: No

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web226

  • via Coderanch by Sri Addanki, 8 months ago
    A communication failure occurred while attempting to obtain an initial context with the provider URL: "corbaloc:iiop:l ocalhost:2809". Make sure that any bootstrap address information in the URL is correct and that the target name server is
  • via Coderanch by Ryan Zezeski, 8 months ago
    A communication failure occurred while attempting to obtain an initial context with the provider URL: "corbaloc:iiop:l ocalhost:2809". Make sure that any bootstrap address information in the URL is correct and that the target name server is
  • via coderanch.com by Unknown author, 11 months ago
    A communication failure occurred while attempting to obtain an initial context with the provider URL: "corbaloc:iiop:l ocalhost:2809". Make sure that any bootstrap address information in the URL is correct and that the target name server is
  • Stack trace

    • javax.naming.ServiceUnavailableException: A communication failure occurred while attempting to obtain an initial context with the provider URL: "corbaloc:iiop:l ocalhost:2809". Make sure that any bootstrap address information in the URL is correct and that the target name server is running. A bootstrap address with no port specification defaults to port 2809. Possible causes other than an incorr ect bootstrap address or unavailable name server include the network environment and workstation network configuration. Root exception is org.omg.CORBA.OBJ_ADA PTER: ORB_CONNECT_ERROR (5) - couldn't get Server Subcontract :-o rg.omg.CORBA.INTE RNAL: CREATE_LISTENER_FAILED_4 vmcid: 0x49421000 minor code: 56 completed: No vmcid: IBM minor code: B8F completed: No at com.ibm.rmi.corba.ORB.connect(ORB.java:3399) at com.ibm.rmi.corba.ORB.createServantIOR(ORB.java:4062) at com.ibm.rmi.corba.ORB.getServantIOR(ORB.java:4035) at com.ibm.rmi.iiop.ORB.getServantIOR(ORB.java:777) at com.ibm.CORBA.iiop.ORB.getServantIOR(ORB.java:580) at com.ibm.rmi.corba.ClientDelegate.getServiceContexts(ClientDelegate.java:1052) at com.ibm.rmi.iiop.GIOPImpl.createRequest(GIOPImpl.java:142) at com.ibm.rmi.iiop.GIOPImpl.createRequest(GIOPImpl.java:98) at com.ibm.rmi.corba.ClientDelegate._createRequest(ClientDelegate.java:1937) at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1233) at com.ibm.CORBA.iiop.ClientDelegate.createRequest(ClientDelegate.java:1253) at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1166) at com.ibm.CORBA.iiop.ClientDelegate.createRequest(ClientDelegate.java:1219) at com.ibm.rmi.corba.ClientDelegate.request(ClientDelegate.java:1833) at com.ibm.CORBA.iiop.ClientDelegate.request(ClientDelegate.java:1175) at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:459) at com.ibm.WsnBootstrap._WsnNameServiceStub.getProperties(Unknown Source) at com.ibm.ws.naming.util.WsnInitCtxFactory.mergeWsnNSProperties(WsnInitCtxFactory.java:1114) at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootContextFromServer(WsnInitCtxFactory.java:679) at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext(WsnInitCtxFactory.java:607) at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:482) at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:102) at com.ibm.ws.naming.util.WsnInitCtx.<init>(WsnInitCtx.java:82) at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContext(WsnInitCtxFactory.java:327) at com.ibm.websphere.naming.WsnInitialContextFactory.getInitialContext(WsnInitialContextFactory.java:114) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:674) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:256) at javax.naming.InitialContext.init(InitialContext.java:232) at javax.naming.InitialContext.<init>(InitialContext.java:208) at com.ibm.websphere.naming.DumpNameSpace.getStartingContext(DumpNameSpace.java:398) at com.ibm.websphere.naming.DumpNameSpace.main(DumpNameSpace.java:320) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41) at java.lang.reflect.Method.invoke(Method.java:386) at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:105)

    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

    You’re the first here who have seen this exception.