users@glassfish.java.net

Re: Problem with JMX Connector on Glassfish v2.1

From: <glassfish_at_javadesktop.org>
Date: Thu, 27 Aug 2009 00:27:50 PDT

Thanks!
 
The output is:
./run_test.sh
objRef not null - RMIServerImpl_Stub[UnicastRef2 [liveRef: [endpoint:[127.0.1.1:49616](remote),objID:[26faf02b:1235ab3ab38:-7fe7, -2508639987768405706]]]]
Exception when creating a RMI connection
java.rmi.ConnectException: Connection refused to host: 127.0.1.1; nested exception is:
        java.net.ConnectException: Connection refused
        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)
        at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
        at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:110)
        at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown Source)
        at org.testcase.rmicontext.rmiContextTestCase.main(rmiContextTestCase.java:71)
Caused by: java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:525)
        at java.net.Socket.connect(Socket.java:475)
        at java.net.Socket.<init>(Socket.java:372)
        at java.net.Socket.<init>(Socket.java:186)
        at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
        at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)
        ... 5 more

But it doesn't explain anything :(
[Message sent by forum member 'amarok' (pavel.a.prokopenko_at_gmail.com)]

http://forums.java.net/jive/thread.jspa?messageID=362101