3 Replies Latest reply on Mar 7, 2016 4:33 AM by yogesh.k.b

    Deployment failure problem

    sunainavarma


      hi i am using jboss4.2.0 and myeclipse 5.5 while i am deploying my project the following error is occur. how to solve this .

      Deployment failure on JBoss 4.x. Could not copy all resources to E:\jboss-4.2.0.GA\server\default\deploy\NeoForms.war. If a file is locked, you can wait until the lock times out to redeploy, or stop the server and redeploy, or manually remove the deployment at E:\jboss-4.2.0.GA\server\default\deploy\NeoForms.war

        • 1. Re: Deployment failure problem
          poojasreejith

          Hi,

          I am also having the issue with JBoss 4.x. It shows :

          Deployment failure on JBoss 4.x. Could not copy all resources to C:\Program Files\jboss-4.0.3SP1\server\default\deploy\LMS.war. If a file is locked, you can wait until the lock times out to redeploy, or stop the server and redeploy, or manually remove the deployment at C:\Program Files\jboss-4.0.3SP1\server\default\deploy\LMS.war


          Please help me out with a solution...

          Thanks,
          Pooja

          • 2. Re: Deployment failure problem
            peterj

            Where are you seeing this error message? What are you using to deploy the WAR file?

            • 3. Re: Deployment failure problem
              yogesh.k.b

              Hi pooja and Sunaina,

               

              Its due to your jboss is going to crash.Now it snot able added your jar in to lib folder.

              also give exception in console like unable to load javaee jar ...

               

               

              Solution :- Just change the your jboss and place an new location into pc...

               

              In case  of linux u need to kill all jboss running into terminal...