1 Reply Latest reply on Apr 2, 2004 12:07 AM by cenos

    ear/war deployment problem on windows xp / jboss-3.2.x

    memphisto Newbie

      Hi,

      I've got problems with deploying my apps' ear file on windows xp / jboss-3.2.x. The app is already a working j2ee app, and can be deployed as separate jars on windows, and as also can be deployed as an EAR on solaris running jboss 3.2.2.
      I seem to have a problem like lots of other users however the replies/suggestions found on jboss forum archives didn't help me. Here is the relevant part of the failed deployment on xp/jboss-3.2.3 (3.2.2 had the same problem):

      2004-02-10 13:05:04,348 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/D:/Development/javatools/jboss/server/default/tmp/deploy/tmp14421jadmin.ear-contents/jadmin.war
      2004-02-10 13:05:04,348 DEBUG [org.jboss.deployment.MainDeployer] using deployer org.jboss.web.tomcat.tc4.EmbeddedTomcatService@104fc23
      2004-02-10 13:05:04,348 DEBUG [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] Begin init
      2004-02-10 13:05:04,348 ERROR [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] Problem in init
      org.jboss.deployment.DeploymentException: Was unable to move war to: D:\Development\javatools\jboss\server\default\tmp\deploy\tmp14421jadmin.ear-contents\jadmin.war.tmp
      at org.jboss.web.AbstractWebContainer.init(AbstractWebContainer.java:296)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:696)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:716)


      Here's a successful deploy on xp, this time the contenst of ear were deployed separately:

      2004-02-09 18:00:33,378 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/D:/Development/javatools/jboss/server/default/deploy/jadmin.war
      2004-02-09 18:00:33,440 DEBUG [org.jboss.deployment.MainDeployer] using deployer org.jboss.web.tomcat.tc4.EmbeddedTomcatService@457d21
      2004-02-09 18:00:33,440 DEBUG [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] Begin init
      2004-02-09 18:00:33,440 DEBUG [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] Unpacking war to: D:\Development\javatools\jboss\server\default\tmp\deploy\tmp55743jadmin.war
      2004-02-09 18:00:33,941 DEBUG [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] Replaced war with unpacked contents
      2004-02-09 18:00:33,941 DEBUG [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] Deleted war archive

      On solaris, the WAR part of the EAR deploy log shows the same as the separate deploy on xp:

      2004-02-06 18:22:30,896 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/apps/opt/jboss-3.2.2/server/default/tmp/deploy/tmp49896jadmin.ear-contents/jadmin.war
      2004-02-06 18:22:30,897 DEBUG [org.jboss.deployment.MainDeployer] using deployer org.jboss.web.tomcat.tc4.EmbeddedTomcatService@14e45b3
      2004-02-06 18:22:30,897 DEBUG [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] Begin init
      2004-02-06 18:22:30,899 DEBUG [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] Unpacking war to: /apps/opt/jboss-3.2.2/server/default/tmp/deploy/tmp49896jadmin.ear-contents/jadmin.war
      2004-02-06 18:22:31,725 DEBUG [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] Replaced war with unpacked contents
      2004-02-06 18:22:31,726 DEBUG [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] Deleted war archive

      Any ideas?

      Regards,

      Zoltan