Installing Wildfly on Mac OS X

Wildfly can be installed very quick using Homebrew:
I’ve written a short article on installing and using Homebrew here

volkers-imac:~ mupfel$ brew update
Checking out files: 100% (706/706), done.
...
volkers-imac:~ mupfel$ brew search wildfly
wildfly-as
volkers-imac:~ volker$> brew install wildfly-as
==> Downloading http://download.jboss.org/wildfly/8.0.0.Final/wildfly-8.0.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.0.0.Final: 1022 files, 154M, built in 73 seconds

That’s it – Wildfly downloadd & installed in roughly about a minute 🙂

After adding the variables to my environment:

volkers-imac:tmp mupfel$> standalone.sh
=========================================================================

JBoss Bootstrap Environment

JBOSS_HOME: /usr/local/opt/wildfly-as/libexec

JAVA: /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/bin/java

JAVA_OPTS: -server -XX:+UseCompressedOops -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true

=========================================================================

11:07:39,588 INFO [org.jboss.modules] (main) JBoss Modules version 1.3.0.Final
11:07:45,363 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.0.Final
11:07:45,925 INFO [org.jboss.as] (MSC service thread 1-6) JBAS015899: WildFly 8.0.0.Final "WildFly" starting
11:07:58,442 INFO [org.jboss.as.server] (Controller Boot Thread) JBAS015888: Creating http management service using socket-binding (management-http)
11:07:58,805 INFO [org.xnio] (MSC service thread 1-4) XNIO version 3.2.0.Final
11:07:58,900 INFO [org.xnio.nio] (MSC service thread 1-4) XNIO NIO Implementation Version 3.2.0.Final
11:07:59,006 INFO [org.jboss.as.security] (ServerService Thread Pool -- 46) JBAS013171: Activating Security Subsystem
11:07:59,047 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 33) JBAS010280: Activating Infinispan subsystem.
11:07:59,076 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 41) JBAS011800: Activating Naming Subsystem
11:07:59,076 INFO [org.jboss.as.jsf] (ServerService Thread Pool -- 39) JBAS012615: Activated the following JSF Implementations: [main]
11:07:59,140 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 50) JBAS015537: Activating WebServices Extension
11:07:59,158 INFO [org.jboss.as.security] (MSC service thread 1-1) JBAS013170: Current PicketBox version=4.0.20.Final
11:07:59,438 INFO [org.jboss.as.connector.logging] (MSC service thread 1-5) JBAS010408: Starting JCA Subsystem (IronJacamar 1.1.3.Final)
11:07:59,818 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 49) JBAS017502: Undertow 1.0.0.Final starting
11:07:59,818 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3) JBAS017502: Undertow 1.0.0.Final starting
11:08:00,017 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 28) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
11:08:00,061 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-7) JBAS010417: Started Driver service with driver-name = h2
11:08:00,343 INFO [org.jboss.remoting] (MSC service thread 1-4) JBoss Remoting version 4.0.0.Final
11:08:00,344 INFO [org.jboss.as.naming] (MSC service thread 1-5) JBAS011802: Starting Naming Service
11:08:00,344 INFO [org.jboss.as.mail.extension] (MSC service thread 1-3) JBAS015400: Bound mail session [java:jboss/mail/Default]
11:08:00,892 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 49) JBAS017527: Creating file handler for path /usr/local/opt/wildfly-as/libexec/welcome-content
11:08:01,316 INFO [org.wildfly.extension.undertow] (MSC service thread 1-6) JBAS017525: Started server default-server.
11:08:01,491 INFO [org.wildfly.extension.undertow] (MSC service thread 1-6) JBAS017531: Host default-host starting
11:08:01,739 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) JBAS017519: Undertow HTTP listener default listening on /127.0.0.1:8080
11:08:04,158 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-2) JBAS015012: Started FileSystemDeploymentService for directory /usr/local/opt/wildfly-as/libexec/standalone/deployments
11:08:04,199 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-6) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
11:08:05,049 INFO [org.jboss.ws.common.management] (MSC service thread 1-1) JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.2.3.Final
11:08:05,158 INFO [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:9990/management
11:08:05,159 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990
11:08:05,159 INFO [org.jboss.as] (Controller Boot Thread) JBAS015874: WildFly 8.0.0.Final "WildFly" started in 30148ms - Started 183 of 232 services (80 services are lazy, passive or on-demand)

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 Java, OS X and tagged , , , , , . Bookmark the permalink.

4 Responses to Installing Wildfly on Mac OS X

  1. Pingback: Automated JDBC-Driver and Datasource deployment with Wildfly 8 | javavolker

  2. Pingback: Updating jboss wildfly to the latest version | javavolker

  3. angel says:

    Good tutorial

    Like

  4. rakesh says:

    excellent guide

    Like

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