jQuery in Action, 2nd edition*
The moose likes Websphere and the fly likes Error while getting JMX Connector: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Error while getting JMX Connector: "ORB_CONNECT_ERROR (5) - couldn Watch "Error while getting JMX Connector: "ORB_CONNECT_ERROR (5) - couldn New topic
Author

Error while getting JMX Connector: "ORB_CONNECT_ERROR (5) - couldn't get Server Subcontract"

Madhes Rathinam
Greenhorn

Joined: Aug 19, 2011
Posts: 7
We get the following error while trying to get the JMXConnector, as below:



NOTE: url is in the format:=> "service:jmx:iiop://"+host+":"+port+"/jndi/JMXConnector"
"env", the hashtable has just one entry for "java.naming.provider.url", with value, "iiop://"+host+":"+port

The error trace is:
java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.NamingException: Error getting WsnNameService properties [Root exception is org.omg.CORBA.TRANSIENT: initial and forwarded IOR inaccessible vmcid: IBM minor code: E07 completed: No]
...
Caused by: javax.naming.NamingException: Error getting WsnNameService properties [Root exception is org.omg.CORBA.TRANSIENT: initial and forwarded IOR inaccessible vmcid: IBM minor code: E07 completed: No]
...
Caused by: org.omg.CORBA.TRANSIENT: initial and forwarded IOR inaccessible vmcid: IBM minor code: E07 completed: No
...
Caused by: org.omg.CORBA.OBJ_ADAPTER: ORB_CONNECT_ERROR (5) - couldn't get Server Subcontract:org.omg.CORBA.INTERNAL: 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:3776)
at com.ibm.rmi.corba.ORB.internalConnect(ORB.java:3794)
at com.ibm.CORBA.iiop.ORB.internalConnect(ORB.java:1904)
at com.ibm.rmi.corba.ORB.createCodeBaseServant(ORB.java:4433)
at com.ibm.rmi.corba.ORB.getCodeBaseServant(ORB.java:4412)
at com.ibm.rmi.iiop.ORB.getCodeBaseServant(ORB.java:825)
at com.ibm.rmi.iiop.Connection.addCodeBaseContext(Connection.java:954)
at com.ibm.rmi.iiop.Connection.getServiceContexts(Connection.java:1002)
at com.ibm.rmi.iiop.GIOPImpl.getServiceContexts(GIOPImpl.java:146)
at com.ibm.rmi.iiop.GIOPImpl.createRequest(GIOPImpl.java:183)
at com.ibm.rmi.corba.ClientDelegate._createRequest(ClientDelegate.java:2001)
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1180)
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1266)
... 34 more

Came thru many IBM sites, but it doesn't look like we are facing those issues:
> http://www-01.ibm.com/support/docview.wss?uid=swg21162691
> http://www-01.ibm.com/support/docview.wss?uid=swg21221317

Any clues would be helpful.

Thanks
Madhes Rathinam
Greenhorn

Joined: Aug 19, 2011
Posts: 7
Came thru this: http://www.ibm.com/developerworks/forums/message.jspa?messageID=13802897

it suggested to set "0" for few ports, but that didn't help either.

But, this DID NOT help too. May be, we are facing a different error than the above page describes.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error while getting JMX Connector: "ORB_CONNECT_ERROR (5) - couldn't get Server Subcontract"
 
Similar Threads
Websphere EJB issue. Same application working fine in JBOSS. need help.
Cannot Create Remote Object
javax.naming.NamingException while lookup for JNDI Name of EJB
EJB Lookup fails
Getting Corba Marshall Exception while accessing the WAS remotely form my client .