If local server is not started I am getting following error if I try to
connect to any external websphere 5.x server
javax.naming.CommunicationException: Cannot connect to ORB. Root
exception is org.omg.CORBA.COMM_FAILURE: WRITE_ERROR_SEND_1 vmcid:
0x49421000 minor code: 50 completed: No at
com.ibm.ws.orbimpl.transport.HTTPOutputStream.write(HTTPOutputStream.jav
a:178) at
com.ibm.rmi.iiop.IIOPOutputStream.writeTo(IIOPOutputStream.java:314) at com.ibm.rmi.iiop.Connection.send(Connection.java:1504) at com.ibm.rmi.iiop.Connection._locate(Connection.java:270) at com.ibm.rmi.iiop.Connection.locate(Connection.java:249) at com.ibm.rmi.iiop.GIOPImpl.locate(GIOPImpl.java:186) at com.ibm.rmi.corba.Corbaloc.locateUsingINS(Corbaloc.java:306) at com.ibm.rmi.corba.Corbaloc.resolve(Corbaloc.java:377) at com.ibm.rmi.corba.ORB.objectURLToObject(ORB.java:3368) at com.ibm.CORBA.iiop.ORB.objectURLToObject(ORB.java:3237) at com.ibm.rmi.corba.ORB.string_to_object(ORB.java:3254) at
com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:386) at
com.sun.jndi.cosnaming.CNCtx.initUsingCorbanameUrl(CNCtx.java:369) at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(CNCtx.java:288) at
com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(CNCtx.java:237) at com.sun.jndi.cosnaming.CNCtx.<init>(CNCtx.java:85) at
com.sun.jndi.cosnaming.CNCtxFactory.getInitialContext(CNCtxFactory.java:
49) 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
org.mc4j.console.connection.WebsphereConnectionNode.connect(WebsphereCon
nectionNode.java:93) at
org.mc4j.console.connection.ReconnectAction.performAction(ReconnectActio
n.java:47) at
org.openide.util.actions.NodeAction$3.run(NodeAction.java:440) at
org.openide.util.actions.CallableSystemAction$ActionRunnable.actionPerfo
rmed(CallableSystemAction.java:247) at
org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:74) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:79) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java(Compiled Code)) at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) at
org.openide.util.actions.CallableSystemAction.invokeAction(CallableSyste
mAction.java:179) at
org.openide.util.actions.CallableSystemAction.access$000(CallableSystemA
ction.java:31) at
org.openide.util.actions.CallableSystemAction$ActionRunnable.doRun(Calla
bleSystemAction.java:241) at
org.openide.util.actions.CallableSystemAction$2.run(CallableSystemAction
.java:111) at org.openide.util.Task.run(Task.java:136) at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:68
6)
==>
org.omg.CORBA.COMM_FAILURE: WRITE_ERROR_SEND_1 vmcid: 0x49421000 minor
code: 50 completed: No at
com.ibm.ws.orbimpl.transport.HTTPOutputStream.write(HTTPOutputStream.jav
a:178) at
com.ibm.rmi.iiop.IIOPOutputStream.writeTo(IIOPOutputStream.java:314) at com.ibm.rmi.iiop.Connection.send(Connection.java:1504) at com.ibm.rmi.iiop.Connection._locate(Connection.java:270) at com.ibm.rmi.iiop.Connection.locate(Connection.java:249) at com.ibm.rmi.iiop.GIOPImpl.locate(GIOPImpl.java:186) at com.ibm.rmi.corba.Corbaloc.locateUsingINS(Corbaloc.java:306) at com.ibm.rmi.corba.Corbaloc.resolve(Corbaloc.java:377) at com.ibm.rmi.corba.ORB.objectURLToObject(ORB.java:3368) at com.ibm.CORBA.iiop.ORB.objectURLToObject(ORB.java:3237) at com.ibm.rmi.corba.ORB.string_to_object(ORB.java:3254) at
com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:386) at
com.sun.jndi.cosnaming.CNCtx.initUsingCorbanameUrl(CNCtx.java:369) at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(CNCtx.java:288) at
com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(CNCtx.java:237) at com.sun.jndi.cosnaming.CNCtx.<init>(CNCtx.java:85) at
com.sun.jndi.cosnaming.CNCtxFactory.getInitialContext(CNCtxFactory.java:
49) 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
org.mc4j.console.connection.WebsphereConnectionNode.connect(WebsphereCon
nectionNode.java:93) at
org.mc4j.console.connection.ReconnectAction.performAction(ReconnectActio
n.java:47) at
org.openide.util.actions.NodeAction$3.run(NodeAction.java:440) at
org.openide.util.actions.CallableSystemAction$ActionRunnable.actionPerfo
rmed(CallableSystemAction.java:247) at
org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:74) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:79) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java(Compiled Code)) at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) at
org.openide.util.actions.CallableSystemAction.invokeAction(CallableSyste
mAction.java:179) at
org.openide.util.actions.CallableSystemAction.access$000(CallableSystemA
ction.java:31) at
org.openide.util.actions.CallableSystemAction$ActionRunnable.doRun(Calla
bleSystemAction.java:241) at
org.openide.util.actions.CallableSystemAction$2.run(CallableSystemAction
.java:111) at org.openide.util.Task.run(Task.java:136) at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:68
6)
If my local server is started it works fine
-Thanks
Chandra Talluri
Email Confidentiality Notice: The information in this email and
subsequent attachments may contain confidential information that is
intended solely for the attention and use of the named addressee(s).
This message or any part thereof must not be disclosed, copied,
distributed or retained by any person without authorization from
Fidelity Investments
Hi Chandra, unfortunately I no longer have access to WebSphere for testing. I haven't looked at the websphere support for a while, but it was always kind of a kludge. I had a lot of problems getting an rmi connection from a sun jvm to websphere....