1 Reply Latest reply on Oct 8, 2002 10:59 PM by Jason Brome

    Deployment scanner runs before file copied

    Kathy Hogan Newbie

      I'm upgrading from JBoss3.00_tomcat4.0.3 to jboss.3.0.3-tomcat4.0.5. When I copy my ear file to server/default/deploy, the scanner thread kicks off before the file is completely copied and I get the error:

      2002-10-08 11:54:29,211 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@b30c40de{ url=file:/D:/jboss/boss-3.0.3_tomcat-4.0.5/server/default/deploy/QSPlatform.ear, deployedLastModified=0 }
      org.jboss.deployment.DeploymentException: url file:/D:/jboss/boss-3.0.3_tomcat-4.0.5/server/default/deploy/QSPlatform.ear could not be opened, does it exist?

      I would get this error on the older version of jboss, but the scanner thread would retry and the ear would get deployed. However, with jboss 3.0.3 the scanner thread doesn't retry the operation so my ear is never deployed.