0 Replies Latest reply on Sep 9, 2010 5:05 AM by mid491 mid491

    Deployment Problem - Unable to replace existing file : still not working...

    mid491 mid491 Newbie
      Buildfile: C:\java\dev\ejb3\eclipse_helios\plugins\org.eclipse.jst.server.generic.jboss_1.6.1.v200904151730\buildfiles\jboss323.xml
      deploy.j2ee.web:
           [move] Moving 1 file to C:\java\dev\ejb3\jboss-5.1.0.GA\server\default\deploy
      BUILD FAILED
      C:\java\dev\ejb3\eclipse_helios\plugins\org.eclipse.jst.server.generic.jboss_1.6.1.v200904151730\buildfiles\jboss323.xml:12: Unable to remove existing file C:\java\dev\ejb3\jboss-5.1.0.GA\server\default\deploy\archdsic-presentation.war

      Total

       

       

      time: 203 milliseconds

      1) when I try to publish my project, got htis error :

       

      Buildfile: C:\java\eclipse_helios\plugins\org.eclipse.jst.server.generic.jboss_1.6.1.v200904151730\buildfiles\jboss323.xml

      deploy.j2ee.web:

           [move] Moving 1 file to C:\java\jboss-5.1.0.GA\server\default\deploy

       

      BUILD FAILED

      C:\java\\eclipse_helios\plugins\org.eclipse.jst.server.generic.jboss_1.6.1.v200904151730\buildfiles\jboss323.xml:12: Unable to remove existing file C:\java\jboss-5.1.0.GA\server\default\deploy\foo-presentation.war

       

      Total time: 203 milliseconds

      Jboss 5.1.0 GA, jdk 1.6, Eclipse Helios, Windows XP.
      This is an old bug I know, but is there a solution or a turnaround ?? Seems that the bug still occurs with JBoss 6 ....

       

      2) Other problem : removing the file from server with Eclipse (servers view->add and remove) don't remove the file from Jboss/default/deploy directory, neither publish or clean commands...

       

      3) can't delete the war file from defautl/deploy until I stop the server...

       

      thx