Executing EAP CLI Scripts via JBoss ON Bundle on a Secure EAP server hangs
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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
