Dashboard > MC4J > Browse Space > Mail Archive > Re: [Mc4j-user] Not able to connect to websphere external server if localserver is not started
MC4J Management Console Log In | Sign Up   View a printable version of the current page.
Re: [Mc4j-user] Not able to connect to websphere external server if localserver is not started
Subject:   Re: [Mc4j-user] Not able to connect to websphere external server if localserver is not started (find more)
From:   Greg Hinkle <hidden> (find more)
Date:   Dec 19, 2005

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. I searched for a  
websphere trial, but they only appear to have ws 6 available.

As to the problem, its a simple bug as far as I can see, I'm first  
loading the naming service (which I never use), but do it by hard  
coding localhost:2809. I'll definitely remove that for the next  
release, but I can't guarantee it'll help.


On Dec 15, 2005, at 11:09 AM, Talluri, Chandra wrote:

> 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.java: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
> (WebsphereConnectionNode.java:93)
>         at org.mc4j.console.connection.ReconnectAction.performAction
> (ReconnectAction.java:47)
>         at org.openide.util.actions.NodeAction$3.run
> (NodeAction.java:440)
>         at org.openide.util.actions.CallableSystemAction
> $ActionRunnable.actionPerformed(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.java:79)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java(Compiled Code))
>         at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
>         at  
> org.openide.util.actions.CallableSystemAction.invokeAction
> (CallableSystemAction.java:179)
>         at org.openide.util.actions.CallableSystemAction.access$000
> (CallableSystemAction.java:31)
>         at org.openide.util.actions.CallableSystemAction
> $ActionRunnable.doRun(CallableSystemAction.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:686)
> ==>
> 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.java: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
> (WebsphereConnectionNode.java:93)
>         at org.mc4j.console.connection.ReconnectAction.performAction
> (ReconnectAction.java:47)
>         at org.openide.util.actions.NodeAction$3.run
> (NodeAction.java:440)
>         at org.openide.util.actions.CallableSystemAction
> $ActionRunnable.actionPerformed(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.java:79)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java(Compiled Code))
>         at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
>         at  
> org.openide.util.actions.CallableSystemAction.invokeAction
> (CallableSystemAction.java:179)
>         at org.openide.util.actions.CallableSystemAction.access$000
> (CallableSystemAction.java:31)
>         at org.openide.util.actions.CallableSystemAction
> $ActionRunnable.doRun(CallableSystemAction.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:686)
>
> 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
>

Entire Thread (Showing 2 of 2)

Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.7 Build:#524 Jul 28, 2006) - Bug/feature request - Contact Administrators