Message: "Failed to resolve host '127.0.0.1 10.33.63.237': Failed to create URI" when updating JBoss ON to 3.2.3

Solution Verified - Updated -

Issue

$ ./apply-updates.sh  /opt/jboss/jon-server-3.2.0.GA
        Successfully detected server [/opt/jboss/jon-server-3.2.0.GA] to be upgraded. Proceeding...
        Proceeding with application of patch '03' to /opt/jboss/jon-server-3.2.0.GA
        Successfully detected agent [/opt/jboss/rhq-agent] to be upgraded. Proceeding...
        Proceeding with application of patch '03' to /opt/jboss/rhq-agent
        Verifying that all [Server] component(s) are stopped...
        Successfull verified that [Server] is already shut down.
        Archiving legacy files. This list is cumulative and may attempt to remove files handled by earlier updates.
        Moving the following files to [./.old] for server and/or [./.old-agent] for agent:
        See './update.log' for more archive details.
        Applying the update contents.
        Applying additional JON Server updates...
        Starting JON Server...
        Starting JBoss CLI and applying patches...
org.jboss.as.cli.CliInitializationException: Failed to connect to the controller
        at org.jboss.as.cli.impl.CliLauncher.initCommandContext(CliLauncher.java:280)
        at org.jboss.as.cli.impl.CliLauncher.main(CliLauncher.java:240)
        at org.jboss.as.cli.CommandLineMain.main(CommandLineMain.java:34)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.modules.Module.run(Module.java:270)
        at org.jboss.modules.Main.main(Main.java:411)
Caused by: org.jboss.as.cli.CommandLineException: Failed to resolve host '127.0.0.1
10.33.63.237': Failed to create URI
        at org.jboss.as.cli.impl.CommandContextImpl.connectController(CommandContextImpl.java:796)
        at org.jboss.as.cli.impl.CommandContextImpl.connectController(CommandContextImpl.java:766)
        at org.jboss.as.cli.impl.CliLauncher.initCommandContext(CliLauncher.java:278)
        ... 8 more
        Stopping the JON Server...

        You have successfully extracted patch contents into (JON server) and/or (JON agent) installation folder(s).
        You should do the following as is necessary:
         i)Closely follow the remainder of the instructions delivered with this update.
         ii)restart your server(s)*
         iii)restart agents and request agent updates
        *NOTE: for HA environments you may need to repeat the steps here for each server before patch application is complete.

Environment

  • Red Hat JBoss Operations Network (JON) 3.2.0 GA
  • File rhq-server.properties contains commented out jboss bind address like in the following example:
...
    jboss.bind.address=10.33.63.237

    # By default only local management connections 
    #jboss.bind.address.management=127.0.0.1
    jboss.bind.address.management=10.33.63.237
...

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.