3 Replies Latest reply on Feb 3, 2005 1:28 AM by henry nguyen

    Connection Refused on EAR Deployment

    Amin Lalji Newbie

      Hi,

      I had coded my EJB's, packaged and deployed them last night... everything worked!...today when I startup JBOSS 3.2.3 i get the following on deployment (I have tried to recompile and redeploy, same results)
      :

      Init J2EE application: file:/C:/DEV/jboss-3.2.3/server/default/deploy/UserApp.ear
      11:53:24,815 ERROR [MainDeployer] Could not initialise deloyment: file:/C:/DEV/jboss-3.2.3/server/default/deploy/UserApp.ear
      org.jboss.deployment.DeploymentException: Connection refused: connect; - nested throwable: (java.net.ConnectException: Connection refused: connect) at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:316)
      at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:247)
      at org.jboss.deployment.EARDeployer.init(EARDeployer.java:69)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:696)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:632)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy6.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
      + nested throwable:
      java.net.ConnectException: Connection refused: connect
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(Unknown Source)

      Your help is greatly appreciated!