2 Replies Latest reply on Aug 17, 2006 2:40 PM by rockym

    Problem to copy in the ejbjar

    rockym

      Hi, I have a little problem to build a build.xml, the reason is the following

      dup-200-65-195-134:/users/rodrigomartinezheredia/desktop/workbook/ex04_1 rodrigomartinezheredia$ ant
      Buildfile: build.xml

      prepare:

      compile:

      ejbjar:
      [copy] Copying 1 file to /Applications/jboss/server/default/deploy

      BUILD FAILED
      /Users/rodrigomartinezheredia/Desktop/workbook/ex04_1/build.xml:69: Failed to copy /Users/rodrigomartinezheredia/Desktop/workbook/ex04_1/build/titan.jar to /Applications/jboss/server/default/deploy/titan.jar due to /Applications/jboss/server/default/deploy/titan.jar (Permission denied)


      I got these failed, but I don't knwo why the JBOSS_HOME is set in the folder where is jboss, the version is the able to carry but I'm not sure what's going on. What can I do?

      Rodrigo Martinez

        • 1. Re: Problem to copy in the ejbjar
          visolvejboss

          Hello,

          ejbjar:
          [copy] Copying 1 file to /Applications/jboss/server/default/deploy
          
          BUILD FAILED
          /Users/rodrigomartinezheredia/Desktop/workbook/ex04_1/build.xml:69: Failed to copy /Users/rodrigomartinezheredia/Desktop/workbook/ex04_1/build/titan.jar to /Applications/jboss/server/default/deploy/titan.jar due to /Applications/jboss/server/default/deploy/titan.jar (Permission denied)


          The error shows that, the user don't have the proper permission to copy the file into deploy directory. Login as root or privileged user and then run the ant script.

          • 2. Re: Problem to copy in the ejbjar
            rockym

            Thanks a lot, It's working finally, you're great