JBoss ON bundle deployment fails to deploy application in handover task

Solution Verified - Updated -

Issue

  • Is there a way to make JON bundle handover operations wait?
  • bundle ear deployment fails because it attempts to deploy the ear file before the script finishes executing.
  • Is there a way to make sure the ear or war isn't deployed until the handover script is finished?
  • Is there a way to introduce a wait in bundle handover tasks?
  • deployment handover task fails after previous cli script execution invokes a reload of the target server

Environment

  • Red Hat JBoss Operations Network (ON) 3.3
  • deployment handover task executed after CLI execution task like in below example, and CLI script results in server reloading:
    <rhq:file name="example.cli" replace="false">  
        <rhq:handover action="execute-script" failonerror="false" ></rhq:handover>  
    </rhq:file> 
    <rhq:archive name="example.ear">
        <rhq:handover action="deployment" ></rhq:handover>
    </rhq:archive>

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content