2 Replies Latest reply on May 3, 2003 6:29 PM by raja05

    DeploymentException: Connection timed out

    andyc

      I have recently upgraded from 3.0.6 to 3.2.

      When I deploy my ear file I now get:

      15:21:56,341 ERROR [URLDeploymentScanner] Failed to deploy: org.jboss.deployment
      .scanner.URLDeploymentScanner$DeployedURL@c0744e03{ url=file:/home/apc/jboss-3.2
      /jboss-3.2.0_tomcat-4.1.24/server/twblite/deploy/twblite.ear, deployedLastModifi
      ed=0 }
      org.jboss.deployment.DeploymentException: exception in init of file:/home/apc/jb
      oss-3.2/jboss-3.2.0_tomcat-4.1.24/server/twblite/deploy/twblite.ear; - nested th
      rowable: (org.jboss.deployment.DeploymentException: Connection timed out; - nest
      ed throwable: (java.net.ConnectException: Connection timed out))
      ... Many lines
      at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:76)
      at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:248)
      ... 49 more


      It seems to be failing while processing one of my .xml configuration files, but I cannot tell which one.

      Any help would be appreciated.

      Thanks,

        • 1. Re: DeploymentException: Connection timed out
          mikefinn

          From the call stack, it looks like it's puking on one of the jboss xml files. Make sure any instance of these files are valid XML:
          jboss-web.xml
          jboss.xml
          jboss-app.xml


          mike

          • 2. Re: DeploymentException: Connection timed out
            raja05

            I think the deployment descriptors changed from 3.0.x to 3.2, Also the ConnectException says its not able to connect to the DTD. I had this the other day for a Struts App because i was behind a firewall.
            Try a standalone piece of code to see if u can connect to the DTD for jboss-ejb-jar.xml.. Im not sure if u can comment out the DTD to make it work..(not a good practice but thats how i made it work for Struts)

            -Raj