Executing EAP CLI Scripts via JBoss ON Bundle on a Secure EAP server hangs

Solution Verified - Updated -

Issue

  • When using rhq:handover in a JBoss ON Bundle recipe and deploying it to an EAP6 server running https only, the process hangs

Environment

  • Red Hat JBoss Operations Network (ON) 3.3.1, 3.3.2
  • Red Hat JBoss Enterprise Application Platform (EAP) 6
  • ON Bundle Ant recipe using rhq:handover
<?xml version="1.0"?>
<project name="LoggingCLI" default="main"
    xmlns:rhq="antlib:org.rhq.bundle">

    <rhq:bundle name="LoggingCLI" version="1.0" description="Execute EAP handover script">
        <rhq:deployment-unit name="LoggingCLI" preinstallTarget="preinstall" postinstallTarget="postinstall" manageRootDir="false">
      <rhq:file name="logging.cli" replace="true">
  <rhq:handover action="execute-script" failonerror="false"/>
</rhq:file>
      </rhq:deployment-unit>
  </rhq:bundle>

    <target name="main" />

    <target name="preinstall">
        <echo>Deploying LoggingCLI...</echo>
        <property name="preinstallTargetExecuted" value="true"/>
    </target>

    <target name="postinstall">
        <echo>Done deploying LoggingCLI</echo>
        <property name="postinstallTargetExecuted" value="true"/>
        </target>
</project>
  • Using only https on EAP 6 Server
<management-interfaces>
            <native-interface security-realm="ManagementRealm">
                <socket-binding native="management-native"/>
            </native-interface>
            <http-interface security-realm="TDSecurityRealm">
                <socket-binding https="management-https"/>
            </http-interface>
        </management-interfaces>

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