4 Replies Latest reply on Jun 27, 2008 2:31 AM by Tarcisio Fedrizzi

    Deployment Problem -- Unable to replace existing file

    rajeev dr Newbie

      Hi,
      When I am trying to deploy new version of the existing file 'StudentEAR.ear' in JBoss 5.0.0.4 beta server, I am getting the below error.

      I am using Eclipse Europa & JBoss 5.0.0.4 beta server. I am right clicking on the project & selecting run as --> run on server for deployment. The same method works with JBoss 4.2.2 GA with out any problem.

      BUILD FAILED
      C:\JBoss\eclipse\plugins\org.eclipse.jst.server.generic.jboss_1.5.105.v200709061325\buildfiles\jboss323.xml:33: Unable to remove existing file C:\JBoss\jboss-5.0.0.Beta4\server\default\deploy\StudentEAR.ear
      


      Is it required to change anything in xml configuration files? Can anybody help me to solve the above problem?
      ----------
      Thanks,
      Rajeev R