Bundle deployment to an EAP 6 resource fails in JBoss ON 3.1.2 when destBaseDirName is set to "Install Directory" or "Base Directory" due to: The resource type doesn't support bundle destination base location named [<destBaseDirName>]

Solution Unverified - Updated -

Issue

  • Unable to do bundle deployment because application did not receive the EAR file or other bundle contents
  • Bundle content is not deployed
  • Destination agent log contains the following error:

    ERROR [BundleDeployment-1] (rhq.core.pc.bundle.BundleManager)- Failed to complete bundle deployment
    java.lang.IllegalArgumentException: The resource type doesn't support bundle destination base location named [Install Directory]
        at org.rhq.core.pc.bundle.BundleManager.getAbsoluteDestinationDir(BundleManager.java:494)
        at org.rhq.core.pc.bundle.BundleManager.access$200(BundleManager.java:85)
        at org.rhq.core.pc.bundle.BundleManager$1.run(BundleManager.java:194)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:724)
    

Environment

  • Red Hat JBoss Operations Network (ON) 3.1.2
  • Red Hat JBoss Enterprise Application Platform (EAP) 6 management plug-in hotfix-02 or earlier for JBoss ON 3.1.2
  • The remote API BundleManagerRemote.createBundleDestination interface method is used and its destBaseDirName parameter is set to Install Directory or Base Directory

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.