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 -

Issue

  • Bundle deployment fails with the below error:

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

Environment

  • 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
Close

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