Exception in thread "main" javax.naming.NamingException: Unhandled exception in bind() [Root exception is org.omg.CORBA.COMM_FAILURE: Connection refused (Connection refused) vmcid: 0x0 minor code: 0 completed: No]
at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:83)
at weblogic.corba.j2ee.naming.ContextImpl.bind(ContextImpl.java:345)
at weblogic.corba.j2ee.naming.ContextImpl.bind(ContextImpl.java:302)
at javax.naming.InitialContext.bind(InitialContext.java:425)
at org.example.messageDestinationReference.main(messageDestinationReference.java:157)
Caused by: org.omg.CORBA.COMM_FAILURE: Connection refused (Connection refused) vmcid: 0x0 minor code: 0 completed: No
at weblogic.iiop.Utils.mapToCORBAException(Utils.java:886)
at weblogic.corba.idl.RemoteDelegateImpl.request(RemoteDelegateImpl.java:311)
at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:449)
at weblogic.corba.cos.naming._NamingContextAnyStub.bind_any(_NamingContextAnyStub.java:18)
at weblogic.corba.j2ee.naming.ContextImpl.bind(ContextImpl.java:331)
... 3 more
Caused by: java.net.ConnectException: Connection refused (Connection refused)
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:204)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:607)
at weblogic.socket.SocketMuxer.newSocket(SocketMuxer.java:374)
at weblogic.socket.SocketMuxer.newClientSocket(SocketMuxer.java:384)
at weblogic.socket.ChannelSocketFactory.createSocket(ChannelSocketFactory.java:86)
at weblogic.socket.BaseAbstractMuxableSocket.createSocket(BaseAbstractMuxableSocket.java:135)
at weblogic.iiop.MuxableSocketIIOP.newSocket(MuxableSocketIIOP.java:266)
at weblogic.iiop.MuxableSocketIIOP.createSocket(MuxableSocketIIOP.java:253)
at weblogic.socket.BaseAbstractMuxableSocket.connect(BaseAbstractMuxableSocket.java:108)
at weblogic.iiop.MuxableSocketIIOP.connect(MuxableSocketIIOP.java:238)
at weblogic.iiop.MuxableSocketIIOP.createConnection(MuxableSocketIIOP.java:222)
at weblogic.iiop.EndPointManager.createEndPoint(EndPointManager.java:470)
at weblogic.iiop.EndPointManager.findOrCreateEndPoint(EndPointManager.java:245)
at weblogic.iiop.EndPointManager.findOrCreateEndPoint(EndPointManager.java:262)
at weblogic.iiop.IIOPRemoteRef.locateIORForRequest(IIOPRemoteRef.java:383)
at weblogic.corba.idl.RemoteDelegateImpl.getInvocationIOR(RemoteDelegateImpl.java:535)
at weblogic.corba.idl.RemoteDelegateImpl.request(RemoteDelegateImpl.java:256)
... 6 more
Exception in thread "main" javax.naming.NamingException: Unhandled exception in bind() [Root exception is org.omg.CORBA.COMM_FAILURE: Connection refused (Connection refused) vmcid: 0x0 minor code: 0 completed: No] at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:83) at weblogic.corba.j2ee.naming.ContextImpl.bind(ContextImpl.java:345) at weblogic.corba.j2ee.naming.ContextImpl.bind(ContextImpl.java:302) at javax.naming.InitialContext.bind(InitialContext.java:425) at org.example.messageDestinationReference.main(messageDestinationReference.java:157) Caused by: org.omg.CORBA.COMM_FAILURE: Connection refused (Connection refused) vmcid: 0x0 minor code: 0 completed: No at weblogic.iiop.Utils.mapToCORBAException(Utils.java:886) at weblogic.corba.idl.RemoteDelegateImpl.request(RemoteDelegateImpl.java:311) at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:449) at weblogic.corba.cos.naming._NamingContextAnyStub.bind_any(_NamingContextAnyStub.java:18) at weblogic.corba.j2ee.naming.ContextImpl.bind(ContextImpl.java:331) ... 3 more Caused by: java.net.ConnectException: Connection refused (Connection refused) at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:204) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:607) at weblogic.socket.SocketMuxer.newSocket(SocketMuxer.java:374) at weblogic.socket.SocketMuxer.newClientSocket(SocketMuxer.java:384) at weblogic.socket.ChannelSocketFactory.createSocket(ChannelSocketFactory.java:86) at weblogic.socket.BaseAbstractMuxableSocket.createSocket(BaseAbstractMuxableSocket.java:135) at weblogic.iiop.MuxableSocketIIOP.newSocket(MuxableSocketIIOP.java:266) at weblogic.iiop.MuxableSocketIIOP.createSocket(MuxableSocketIIOP.java:253) at weblogic.socket.BaseAbstractMuxableSocket.connect(BaseAbstractMuxableSocket.java:108) at weblogic.iiop.MuxableSocketIIOP.connect(MuxableSocketIIOP.java:238) at weblogic.iiop.MuxableSocketIIOP.createConnection(MuxableSocketIIOP.java:222) at weblogic.iiop.EndPointManager.createEndPoint(EndPointManager.java:470) at weblogic.iiop.EndPointManager.findOrCreateEndPoint(EndPointManager.java:245) at weblogic.iiop.EndPointManager.findOrCreateEndPoint(EndPointManager.java:262) at weblogic.iiop.IIOPRemoteRef.locateIORForRequest(IIOPRemoteRef.java:383) at weblogic.corba.idl.RemoteDelegateImpl.getInvocationIOR(RemoteDelegateImpl.java:535) at weblogic.corba.idl.RemoteDelegateImpl.request(RemoteDelegateImpl.java:256) ... 6 more
请问有什么思路么?