JBoss ON apply-updates fails if RHQ_SERVER_HOME is set to an incorrect path

Solution Unverified - Updated -

Issue

  • WARNING: Failed to apply jboss-cli updates, these may need to be applied manually. Continuing...
  • update.log contains error messages indicating RHQ_SERVER_JBOSS_HOME is 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.log contains 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-updates reports 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_HOME is 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.

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.