[Mc4j-development] [ mc4j-Bugs-1163482 ] IOExpection
Brought to you by:
ghinkl
From: SourceForge.net <no...@so...> - 2005-03-15 05:16:06
|
Bugs item #1163482, was opened at 2005-03-14 23:16 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=1163482&group_id=60228 Category: None Group: MC4J 1.2b8 Status: Open Resolution: None Priority: 5 Submitted By: spaz_swa (andy_shervin) Assigned to: Nobody/Anonymous (nobody) Summary: IOExpection Initial Comment: Attempting to connect to a work server from across a firewall using a vpn connection. I can successfully ping xspsvc01.swacorp.com from my client machine. jre 1.4.2_06 in use on the client. Using JSR160. Server URL: service:jmx:rmi:///jndi/rmi://xspsvc01.swacorp.com:9085/jmxconnector Here is the stack trace java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: xspsvc01.swacorp.com; nested exception is: java.net.ConnectException: connect: Address is invalid on local machine, or port is not valid on remote machine] at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:317) at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:247) at org.mc4j.console.connection.JSR160ConnectionNode.connect(JSR160ConnectionNode.java:132) 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(Unknown Source) Caused by: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: xspsvc01.swacorp.com; nested exception is: java.net.ConnectException: connect: Address is invalid on local machine, or port is not valid on remote machine] at com.sun.jndi.rmi.registry.RegistryContext.lookup(Unknown Source) at com.sun.jndi.toolkit.url.GenericURLContext.lookup(Unknown Source) at javax.naming.InitialContext.lookup(Unknown Source) at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1785) at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1751) at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:259) ... 5 more Caused by: java.rmi.ConnectException: Connection refused to host: xspsvc01.swacorp.com; nested exception is: java.net.ConnectException: connect: Address is invalid on local machine, or port is not valid on remote machine at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source) at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source) at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source) at sun.rmi.server.UnicastRef.newCall(Unknown Source) at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) ... 11 more Caused by: java.net.ConnectException: connect: Address is invalid on local machine, or port is not valid on remote machine at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.<init>(Unknown Source) at java.net.Socket.<init>(Unknown Source) at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source) at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source) [catch] ... 16 more ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=1163482&group_id=60228 |