JBoss ON provisioning bundle deployment to EAP 6 standalone server may fail if EAP server is not running due to: Cannot obtain trait [Deploy Directory] for resource

Solution Unverified - Updated -


  • Bundle deployment fails with the below error:

    Deployment failed: java.lang.IllegalArgumentException: Cannot obtain trait [Deploy Directory] for resource [EAP (]
  • Bundle is not deployed.


  • JBoss Operations Network (ON) 3.1.1, 3.1.2
  • JBoss Enterprise Application Platform (EAP) 6
  • JBoss Application Server (AS) 7 management plug-in
  • Attempting to deploy a JBoss ON provisioning bundle to one or more JBoss EAP standalone server resources
    • Deployment Base Location is set to Deploy Directory
  • JBoss EAP standalone server is not running or is temporarily unavailable at the time the bundle is being deployed

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