Markus Eisele (Lightbend), Josh Long (Pivotal)
1:30pm–5:00pm Monday, 04/11/2016
Integration architecture
Location: Sutton
O'Reilly Software Architecture Conference NYC 2016 tutorial website
This section describes what, how, and where to install the software needed for this lab.
Operating System: Windows 7 (SP1), Mac OS X (10.8 or later), Fedora (21 or later) Memory: At least 4 GB+, preferred 8 GB
- Java: Oracle JDK 8u45 or later
- Web Browser: Chrome, Firefox,
- WildFly 10.0.0.Final
- Eclipse (or IDE of choice)
- Download Apache Maven from the Internet
- Unzip to a directory of your choice and add it to the
PATH
.
WildFly 10 is the latest release in a series of JBoss open-source application server offerings. WildFly 10 is an exceptionally fast, lightweight and powerful implementation of the Java Enterprise Edition 7 Platform specifications. The state-of-the-art architecture built on the Modular Service Container enables services on-demand when your application requires them.
Simply extract your chosen download to the directory of your choice (we call it +%JBOSS_HOME+). You can install WildFly 10 on any operating system that supports the zip or tar formats. Refer to the Release Notes for additional information related to the release.
Change directory to $JBOSS_HOME/bin.
You're going to need to run it using the full, not web, profile configuration. For the easiest experience, rename $JBOSS_HOME/bin/wildfly/standalone/configuration/standalone-full.xml
to $JBOSS_HOME/bin/wildfly/standalone/configuration/standalone.xml
.
Open the standalone.xml
and find urn:jboss:domain:messaging-activemq:1.0
. There, you'll see a server
element and inside that a security-setting
element. Let's make life easier for ourselves and disable security for this lab. Add the following ABOVE the security-setting
element:
<security enabled="false"/>
<cluster password="${jboss.messaging.cluster.password:guest}"/>
Add two queue
s to work with for our example:
<jms-queue name="spring" entries="java:/jms/queue/spring"/>
<jms-queue name="xa-spring" entries="java:/jms/queue/xa-spring"/>
Save your changes and then, in the $JBOSS_HOME/bin
directory, start Wildfly:
./standalone.sh
Open another console and add a management user:
./add-user.sh
- a) Management user
- User: "admin"
- Password: "admin"
- Answer "yes" (don't do this in production)
- Re-enter Password: "admin"
- hit return (no groups)
- enter "no"
As with previous WildFly releases, you can point your browser to http://localhost:8080 (if using the default configured HTTP port) which brings you to the Welcome Screen.
If you run into problems, refer to the complete getting started guide and verify that you completed all necessary steps.