Hi
I define a network connection to a Websphere v 6.0 App
server. A little window shows up saying that I should
rport this to/on sourceforge.net.
In the details view of the above the following can be
found:
org.omg.CORBA.TRANSIENT: java.net.ConnectException:
Connection refused:host=localhost,port=2809 vmcid: IBM
minor code: E02 completed: No
at
com.ibm.CORBA.transport.TransportConnectionBase.connect(TransportConnectionBase.java:443)
at
com.ibm.ws.orbimpl.transport.WSTransport.getConnection(WSTransport.java:437)
at
com.ibm.CORBA.transport.TransportBase.getConnection(TransportBase.java:162)
at
com.ibm.rmi.iiop.TransportManager.get(TransportManager.java:81)
at com.ibm.rmi.iiop.GIOPImpl.locate(GIOPImpl.java:175)
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:3457)
at com.ibm.CORBA.iiop.ORB.objectURLToObject(ORB.java:3374)
at com.ibm.rmi.corba.ORB.string_to_object(ORB.java:3343)
at
com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:385)
at
com.sun.jndi.cosnaming.CNCtx.initUsingCorbanameUrl(CNCtx.java:368)
at
com.sun.jndi.cosnaming.CNCtx.initUsingUrl(CNCtx.java:287)
at
com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(CNCtx.java:236)
at com.sun.jndi.cosnaming.CNCtx.<init>(CNCtx.java:84)
at
com.sun.jndi.cosnaming.CNCtxFactory.getInitialContext(CNCtxFactory.java:50)
at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:675)
at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:257)
at
javax.naming.InitialContext.init(InitialContext.java:233)
at
javax.naming.InitialContext.<init>(InitialContext.java:209)
at
org.mc4j.console.connection.WebsphereConnectionNode.connect(WebsphereConnectionNode.java:93)
at
org.mc4j.console.connection.ConnectionNodeChildren.exposeDomains(ConnectionNodeChildren.java:56)
at
org.mc4j.console.connection.ConnectionNodeChildren$1.run(ConnectionNodeChildren.java:44)
at java.lang.Thread.run(Thread.java:568)
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:331)
at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:196)
at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.connect(Socket.java:428)
at java.net.Socket.<init>(Socket.java:335)
at java.net.Socket.<init>(Socket.java:150)
at
com.ibm.ws.orbimpl.transport.WSTCPTransportConnection.createSocket(WSTCPTransportConnection.java:224)
at
com.ibm.CORBA.transport.TransportConnectionBase.connect(TransportConnectionBase.java:372)
[catch] ... 23 more
Why is the monitortrying to contact the ORB on
localhost:2809? shouldn't it at least use the ip adress
of the Websphere serve??
Rgds
/Anders
Logged In: YES
user_id=1483028
If I install a the same version of Websphere on my local
machine and set the classpath to the local installation
directories, I see no difference in behaviour.
If I start a Websphere ser er on my local machine -- I can
connect to the remote machine.
Please explain
Rgds
/Anders