2 Replies Latest reply on Mar 8, 2013 2:24 PM by bigcooster45

    RHQ 4.5.1 Bundle deployment error on Linux - 10021

    bigcooster45

      I'm currently attempting to deploy a bundle through RHQ and am receiving the following error: 
      Cannot determine deployment backup dir for [10021] at org.rhq.bundle.ant.AntLauncher.executeBundleDeployFile(AntLauncher.java:118)

       

      Any help with this would be appreciated.  I can post the recipe file if that would be helpful. 

        • 1. Re: RHQ 4.5.1 Bundle deployment error on Linux - 10021
          mazz

          Look inside your agent's log file, you will probably see more information. I suspect you will see this:

           

          IllegalStateException: Failed to create backup directory: ...

           

          But that's just a guess. We'd need to see the agent logs to be sure what's going on.

           

          For background, when you deploy a bundle, the RHQ Agent will write some metadata to the deployment directory (called .rhqdeployments). If, during a deployment of a bundle, some files need to be backed up and moved out of the way, they will be stored under some subdirectory under that metadata directory.

           

          I suspect the problem is the RHQ Agent no longer has write permissions to that file location?? Again, that's just a guess, but the agent logs should give more info.

          • 2. Re: RHQ 4.5.1 Bundle deployment error on Linux - 10021
            bigcooster45

            Thank you for your response. Your assumptions were correct.  I've gotten passed the error.  I granted permissions throughout the jboss EAP directory and that fixed the problem. 

             

            Thanks