no

How to deploy Wildfly on OpenShift

The following tutorial is a rough steps on how you can setup a custom server such as JBoss7.2 on OpenShift. Prerequisite, clone and checko...

The following tutorial is a rough steps on how you can setup a custom server such as JBoss7.2 on OpenShift.

Prerequisite, clone and checkout JBoss7.2 tag
//clone the jboss repo
>git clone https://github.com/jbossas/jboss-as.git

//list the tags
>git tag -l

//checkout the 7.2 release
>git checkout tags/7.2.0.Final

Steps:
1.) Follow this blog first: http://stianst.blogspot.com/2013/06/run-wildfly-on-openshift-using-diy.html

2.) Unfortunately you will encounter a problem starting the server, this is because each openshift's DIY cartridge has there own IP so:
  a.) SSH to your OpenShift server and type env, and look for OPENSHIFT_DIY_IP, so instead of 127.0.0.1 you need to use this IP in step 1.

3.) Commit and push your repo and your good to go :-).

4.) If that doesn't work, you need to manually start the JBoss server within SSH.

Warning:
Beware of windows, the pushed files are not executable by default so standalone.sh will not run. You need to manually chmod this file every push so that means auto server restart will not work. At least on my case.

Related

wildfly 8753742243760661144

Post a Comment Default Comments

1 comment

AndroidApps said...

Many many thanks for share useful post. I was finding for this this. Great post.

item