Updating jboss wildfly to the latest version

Updating wildfly installed by homebrew is as easy as it could be:
1. update brew packages
2. upgrade wildfly

A bit more verbose:

  • Check which version of wildfly-as is installed. You should see something similar to the following lines:

    [mupfel@volkers-imac]$~ > brew list wildfly-as
    /usr/local/Cellar/wildfly-as/8.0.0.Final/libexec/appclient/ (2 files)
    /usr/local/Cellar/wildfly-as/8.0.0.Final/libexec/bin/ (29 files)
    /usr/local/Cellar/wildfly-as/8.0.0.Final/libexec/docs/ (231 files)
    /usr/local/Cellar/wildfly-as/8.0.0.Final/libexec/domain/ (10 files)
    /usr/local/Cellar/wildfly-as/8.0.0.Final/libexec/modules/ (741 files)
    /usr/local/Cellar/wildfly-as/8.0.0.Final/libexec/standalone/ (10 files)
    /usr/local/Cellar/wildfly-as/8.0.0.Final/libexec/welcome-content/ (10 files)
    /usr/local/Cellar/wildfly-as/8.0.0.Final/libexec/ (4 files)
    [mupfel@volkers-imac]$~ >

  • update homebrew package list:

    [mupfel@volkers-imac]$~ > brew update
    Checking out files: 100% (245/245), done.
    Updated Homebrew from c2ae6780 to 301d14b9.
    ==> New Formulae
    bash-git-prompt homebrew/versions/libdvdcss12 ndpi stuntman
    git-latexdiff jbake ntopng terraform
    gnu-cobol lua51 omega
    ==> Updated Formulae
    ack fleetctl jpeg-turbo mksh ruby-build
    adobe-air-sdk fontforge juju mkvtoolnix s3-backer
    afflib fswatch juju-quickstart mogenerator sbt
    afuse fuse-zip kakasi mongodb selecta
    android-ndk fuse4x knot monotone selenium-server-standalone
    apache-spark gearman kyoto-tycoon mp3fs shadowsocks-libev
    apt-cacher-ng ghc leiningen mpd smlnj
    arangodb git-tf
    ...
    [mupfel@volkers-imac]$~ >

  • verify an updated version is available

    [mupfel@volkers-imac]$~ > brew info wildfly-as
    wildfly-as: stable 8.1.0.Final
    http://wildfly.org/
    /usr/local/Cellar/wildfly-as/8.0.0.Final (1204 files, 172M) *
    Built from source
    From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/wildfly-as.rb
    ==> Caveats
    The home of WildFly Application Server 8 is:
    /usr/local/opt/wildfly-as/libexec
    You may want to add the following to your .bash_profile:
    export JBOSS_HOME=/usr/local/opt/wildfly-as/libexec
    export PATH=${PATH}:${JBOSS_HOME}/bin
    [mupfel@volkers-imac]$~ >

  • Upgrade wildfly-as:

    [mupfel@volkers-imac]$~ > brew upgrade wildfly-as
    ==> Upgrading 1 outdated package, with result:
    wildfly-as 8.1.0.Final
    ==> Upgrading wildfly-as
    ==> Downloading http://download.jboss.org/wildfly/8.1.0.Final/wildfly-8.1.0.Final.tar.gz
    ######################################################################## 100,0%
    ==> Caveats
    The home of WildFly Application Server 8 is:
    /usr/local/opt/wildfly-as/libexec
    You may want to add the following to your .bash_profile:
    export JBOSS_HOME=/usr/local/opt/wildfly-as/libexec
    export PATH=${PATH}:${JBOSS_HOME}/bin
    ==> Summary
    🍺 /usr/local/Cellar/wildfly-as/8.1.0.Final: 1038 files, 131M, built in 95 seconds
    [mupfel@volkers-imac]$~ >

  • Verify upgrade was ok:

    [mupfel@volkers-imac]$~ > brew list wildfly-as
    /usr/local/Cellar/wildfly-as/8.1.0.Final/libexec/appclient/ (2 files)
    /usr/local/Cellar/wildfly-as/8.1.0.Final/libexec/bin/ (29 files)
    /usr/local/Cellar/wildfly-as/8.1.0.Final/libexec/docs/ (231 files)
    /usr/local/Cellar/wildfly-as/8.1.0.Final/libexec/domain/ (10 files)
    /usr/local/Cellar/wildfly-as/8.1.0.Final/libexec/modules/ (741 files)
    /usr/local/Cellar/wildfly-as/8.1.0.Final/libexec/standalone/ (10 files)
    /usr/local/Cellar/wildfly-as/8.1.0.Final/libexec/welcome-content/ (10 files)
    /usr/local/Cellar/wildfly-as/8.1.0.Final/libexec/ (4 files)
    [mupfel@volkers-imac]$~ >

Advertisements

About javavolker71

when i do not write posts on this blog, don't work on or try to break my code i'm spending a reasonable amount of time
This entry was posted in CLI, IT, OS X, wildfly8 and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s