WildFly 8 CR1 on OpenShift (Tech Tip #7)


OpenShift is Red Hat’s PaaS platform and comes in three flavors:

  • Origin is the Community PaaS offering. You can explore the community-driven open source upstream of OpenShift. Join the community.
  • Online is the Public PaaS offering. Host your applications in the public cloud with automated provisioning, management, and scaling of applications. Sign up for free.
  • Enterprise is the Private PaaS offering. Leverage PaaS in your own data centers and private cloud. Request evaluation.

With 1.5m+ total apps created, 2400 apps created each day, 2100 new users each week, OpenShift provides the best PaaS experience for Java with JBoss EAP, Tomcat, Jenkins, Maven, Eclipse, MongoDB, MySQL, and a whole variety of pluggable cartridges. OpenShift provides great velocity by providing support for devops, Node.js, Ruby, Mobile, NoSQL. In addition it also offers stability by offering multi-tenancy, security, auto-scaling, no lock-in, and Red Hat Enterprise Linux.

OpenShift was the first PaaS to offer support for WildFly, naturally! As WildFly CR1 was released recently with 100% Java EE 7 TCK passing, the developer cartridge has been updated as well.

Lets take a look at how to get started with WildFly CR1 using the CLI tools. Alternatively, Web Console or IDE can be used as explained in Getting Started Guide.

  1. Install the client: sudo gem install rhc
  2. Setup your environment: rhc setup
  3. Create your application as shown

    And now you have your first application running on OpenShift and deployed on WildFly. Console should show the following output:


The application is now accessible at:

http://mywildfly-milestogo.rhcloud.com and looks like:


Port forwarding can be enabled by issuing the following command:

Now WildFly’s wonderful admin console is accessible at http://localhost:9090 and is automatically redirected to your instance running on OpenShift.

You can also get some more details about the service at:


Do you want to try deploying one of the Java EE 7 samples on this application now ? May be a WebSocket one 😉

Be Sociable, Share!

4 thoughts on “WildFly 8 CR1 on OpenShift (Tech Tip #7)

Leave a Reply

Your email address will not be published. Required fields are marked *