[jira] Updated: (GERONIMO-2567) Remote admin of server using deployer.jar fails to connect
[ https://issues.apache.org/jira/browse/GERONIMO-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Donald Woods updated GERONIMO-2567: --- Fix Version/s: (was: 2.0.x) 2.0.2 updated Fixed For field Remote admin of server using deployer.jar fails to connect -- Key: GERONIMO-2567 URL: https://issues.apache.org/jira/browse/GERONIMO-2567 Project: Geronimo Issue Type: Bug Security Level: public(Regular issues) Components: deployment Affects Versions: 1.2, 2.0, 2.0.x Environment: Linux Java 1.5 Reporter: Jay D. McHugh Assignee: Kevan Miller Fix For: 2.0.2, 2.1 Trying to remote deploy a WAR file resulted in a failed connection. This happened regardless of whether the port was specified. $ java -jar deployer.jar --user system --password manager --host 172.16.1.41 redeploy ~/PaLM.war Error: Unable to connect to server at deployer:geronimo:jmx://172.16.1.41 -- Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectException: Connection refused -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (GERONIMO-2567) Remote admin of server using deployer.jar fails to connect
[ https://issues.apache.org/jira/browse/GERONIMO-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jay D. McHugh updated GERONIMO-2567: Affects Version/s: 2.0.x 2.0 Summary: Remote admin of server using deployer.jar fails to connect (was: Remote deploy of apps fails) I am still having a problem. Perhaps the problem is that I am trying to use the deployer incorrectly (I usually just use the web console to administer remote servers). Please let me know if I am trying to use the tool incorrectly (It would be nice to be able to script my redeploys). Configuration: Local system - Linux with Sun JDK 1.5.0_12 Remote system - Linux with Sun JDK 1.5.0_8 (IP Address 172.16.1.41) No running firewall on either system and the web admin console works. When I try to list the modules running on a remote server here is the command I use and the resulting output: (with a server running locally also) java -jar deployer.jar --user system --password manager --host 172.16.1.41 list-modules Error: Unable to connect to server at deployer:geronimo:jmx://172.16.1.41 -- no such object in table javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException: no such object in table at org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory.newRemoteDeploymentManager(BaseDeploymentFactory.java:167) at org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory.getDeploymentManager(BaseDeploymentFactory.java:131) at javax.enterprise.deploy.shared.factories.DeploymentFactoryManager.getDeploymentManager(DeploymentFactoryManager.java:111) at org.apache.geronimo.deployment.cli.ServerConnection.tryToConnect(ServerConnection.java:181) at org.apache.geronimo.deployment.cli.ServerConnection.init(ServerConnection.java:93) at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:158) at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45) at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67) at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31) Caused by: java.rmi.NoSuchObjectException: no such object in table at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126) at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown Source) at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2239) at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:271) at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248) at org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory.newRemoteDeploymentManager(BaseDeploymentFactory.java:159) ... 8 more (without a server running locally) java -jar deployer.jar --user system --password manager --host 172.16.1.41 list-modules Error: Unable to connect to server at deployer:geronimo:jmx://172.16.1.41 -- Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectException: Connection refused javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException: Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectException: Connection refused at org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory.newRemoteDeploymentManager(BaseDeploymentFactory.java:167) at org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory.getDeploymentManager(BaseDeploymentFactory.java:131) at javax.enterprise.deploy.shared.factories.DeploymentFactoryManager.getDeploymentManager(DeploymentFactoryManager.java:111) at org.apache.geronimo.deployment.cli.ServerConnection.tryToConnect(ServerConnection.java:181) at org.apache.geronimo.deployment.cli.ServerConnection.init(ServerConnection.java:93) at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:158) at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45) at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67) at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31) Caused by: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectException: Connection refused at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574) at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185) at