2 Replies Latest reply on Nov 8, 2007 11:28 PM by jaikiran pai

    Problem to deploy

    Elias Vafiadis Newbie

      Hello, i have a problem to deploy a new version of my application to jboss.

      I rename the old jar and war files, i copy the new files to deploy folder and when i start the server i get the following error:

      007-11-08 09:39:08,109 ERROR [STDERR] Nov 8, 2007 9:39:08 AM java.util.jar.Attributes read
      WARNING: Duplicate name in Manifest: Class-Path
      2007-11-08 09:39:08,109 ERROR [STDERR] Nov 8, 2007 9:39:08 AM java.util.jar.Attributes read
      WARNING: Duplicate name in Manifest: Class-Path
      2007-11-08 09:39:08,109 ERROR [STDERR] Nov 8, 2007 9:39:08 AM java.util.jar.Attributes read
      WARNING: Duplicate name in Manifest: Class-Path
      2007-11-08 09:39:08,109 ERROR [STDERR] Nov 8, 2007 9:39:08 AM java.util.jar.Attributes read
      WARNING: Duplicate name in Manifest: Class-Path
      2007-11-08 09:39:08,125 ERROR [STDERR] Nov 8, 2007 9:39:08 AM java.util.jar.Attributes read
      WARNING: Duplicate name in Manifest: Class-Path
      2007-11-08 09:39:08,125 ERROR [STDERR] Nov 8, 2007 9:39:08 AM java.util.jar.Attributes read
      WARNING: Duplicate name in Manifest: Class-Path
      2007-11-08 09:39:08,125 ERROR [STDERR] Nov 8, 2007 9:39:08 AM java.util.jar.Attributes read
      WARNING: Duplicate name in Manifest: Class-Path
      2007-11-08 09:39:13,141 ERROR [STDERR] Nov 8, 2007 9:39:13 AM java.util.jar.Attributes read
      WARNING: Duplicate name in Manifest: Class-Path
      2007-11-08 09:39:13,141 ERROR [STDERR] Nov 8, 2007 9:39:13 AM java.util.jar.Attributes read
      WARNING: Duplicate name in Manifest: Class-Path
      2007-11-08 09:39:13,141 ERROR [STDERR] Nov 8, 2007 9:39:13 AM java.util.jar.Attributes read
      WARNING: Duplicate name in Manifest: Class-Path
      2007-11-08 09:39:13,141 ERROR [STDERR] Nov 8, 2007 9:39:13 AM java.util.jar.Attributes read
      WARNING: Duplicate name in Manifest: Class-Path
      2007-11-08 09:39:13,156 ERROR [STDERR] Nov 8, 2007 9:39:13 AM java.util.jar.Attributes read
      WARNING: Duplicate name in Manifest: Class-Path
      2007-11-08 09:39:13,156 ERROR [STDERR] Nov 8, 2007 9:39:13 AM java.util.jar.Attributes read
      WARNING: Duplicate name in Manifest: Class-Path
      2007-11-08 09:39:13,156 ERROR [STDERR] Nov 8, 2007 9:39:13 AM java.util.jar.Attributes read
      WARNING: Duplicate name in Manifest: Class-Path
      2007-11-08 09:39:16,203 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
      Cause: Incomplete Deployment listing:
      Packages waiting for a deployer:
      [org.jboss.deployment.DeploymentInfo@660f5654 { url=file:/D:/jboss-3.2.0_tomcat-4.1.24/server/default/deploy/ebillejbs.jarold }
      deployer: null
      status: null
      state: INIT_WAITING_DEPLOYER
      watch: file:/D:/jboss-3.2.0_tomcat-4.1.24/server/default/deploy/ebillejbs.jarold
      lastDeployed: 1194507554391
      lastModified: 1194507554391
      mbeans:
      , org.jboss.deployment.DeploymentInfo@563caff4 { url=file:/D:/jboss-3.2.0_tomcat-4.1.24/server/default/deploy/ebillejbs.jarold2 }
      deployer: null
      status: null
      state: INIT_WAITING_DEPLOYER
      watch: file:/D:/jboss-3.2.0_tomcat-4.1.24/server/default/deploy/ebillejbs.jarold2
      lastDeployed: 1194507554422
      lastModified: 1194507554406
      mbeans:
      , org.jboss.deployment.DeploymentInfo@138a37f { url=file:/D:/jboss-3.2.0_tomcat-4.1.24/server/default/deploy/ebillweb.warold }
      deployer: null
      status: null
      state: INIT_WAITING_DEPLOYER
      watch: file:/D:/jboss-3.2.0_tomcat-4.1.24/server/default/deploy/ebillweb.warold
      lastDeployed: 1194507554531
      lastModified: 1194507554531

      My new files are ebillweb.war and ebillejbs.jar. I rename the old files
      to ebillweb.warold, ebillejbs.jarold. It seems that the server does not
      look for the new war and jar. What is the problem?
      Thank u!

        • 1. Re: Problem to deploy
          Elias Vafiadis Newbie

          i am using eclipse to create the war and jar files and jboss 3-2, tomcat 4-1-24

          • 2. Re: Problem to deploy
            jaikiran pai Master

             

            url=file:/D:/jboss-3.2.0_tomcat-4.1.24/server/default/deploy/ ebillejbs.jarold

            url=file:/D:/jboss-3.2.0_tomcat-4.1.24/server/default/deploy/ ebillejbs.jarold2

            url=file:/D:/jboss-3.2.0_tomcat-4.1.24/server/default/deploy/ebillweb.warold


            The server is trying to deploy these files but cant associate them with any deployers because of the extension(.jarold, .jarold2, .warold) of these files. That's why you see those exceptions.

            You have 2 options:

            1) Remove(delete) these files from the deploy folder. Or maybe move it to some other folder outside deploy folder.

            OR

            2) Let them remain in the deploy folder but rename them to ebillejbs.jarold.bak, ebillweb.warold.bak, ebillejbs.jarold2.bak. Anything that has a .bak extension is excluded from deployment.