JBoss ON apply-updates fails if RHQ_SERVER_HOME is set to an incorrect path
Issue
- WARNING: Failed to apply jboss-cli updates, these may need to be applied manually. Continuing...
-
update.logcontains error messages indicatingRHQ_SERVER_JBOSS_HOMEis not valid:The system cannot find the path specified. ERROR RHQ_SERVER_JBOSS_HOME is not pointing to a valid AS instance Missing "C:\jon-server-3.3.0.GA-update-07\jboss-modules.jar" ERROR! RHQ_SERVER_JBOSS_HOME is not pointing to a valid AS instance Missing /tmp/jon-server-3.3.0.GA-update-07/jboss-modules.jar -
update.logcontains connection failure message for JBoss CLI updates:Failed to connect, retrying JBoss CLI updates... Unable to apply patch as [Server/cli interface] component(s) not yet running. Retrying... -
apply-updatesreports script failure:/opt/jboss/on/jon-server-3.3.0.GA/bin/rhqctl: line 109: cd: /tmp/jon-server-3.3.0.GA-update-07/jbossas: No such file or directory
Environment
- Red Hat JBoss Operations Network (ON) 3.3
- Applying JBoss ON update-07 (3.3.7) to an existing JBoss ON server installation
- The environment variable
RHQ_SERVER_HOMEis set to a path different then the target JBoss ON server being updated
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.
