Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Create new App

On your Windows command prompt, run this command to create a new OpenShift App.

...

Code Block
titleExecution output
linenumberstrue
collapsetrue
Using jbossews-2.0 (Tomcat 7 (JBoss EWS 2.0)) for 'tomcat7'
Using phpmyadmin-4 (phpMyAdmin 4.0) for 'phpmyadmin'
Application Options
-------------------
Domain:     yourAccount
Cartridges: jbossews-2.0, mysql-5.5, phpmyadmin-4
Gear Size:  default
Scaling:    no
Creating application 'jogetv5' ... done
  MySQL 5.5 database added.  Please make note of these credentials:
       Root User: adminAIwjpBBadmin
   Root Password: w8S4F3sT_82l1234
   Database Name: jogetv5
Connection URL: mysql://$OPENSHIFT_MYSQL_DB_HOST:$OPENSHIFT_MYSQL_DB_PORT/
You can manage your new MySQL database by also embedding phpmyadmin.
The phpmyadmin username and password will be the same as the MySQL credentials above.
Please make note of these MySQL credentials again:
  Root User: adminAIwjpBBadmin
  Root Password: w8S4F3sT_82l1234
URL: https://jogetv5-yourAccount.rhcloud.com/phpmyadmin/
Waiting for your DNS name to be available ... done
Cloning into 'jogetv5'...
Warning: Permanently added the RSA host key for IP address '54.175.209.46' to the list of known hosts.
remote: Counting objects: 41, done.
remote: Compressing objects: 100% (32/32), done.
remote: Total 41 (delta 1), reused 41 (delta 1)
Receiving objects: 100% (41/41), 51.34 KiB | 0 bytes/s, done.
Resolving deltas: 100% (1/1), done.
Checking connectivity... done.
Your application 'jogetv5' is now available.
  URL:        http://jogetv5-yourAccount.rhcloud.com/
Run 'rhc show-app jogetv5' for more details about your app.

...

Code Block
titleSet environment variable value
rhc env set JAVA_OPTS_EXT="-Djava.awt.headless=true -Dwflow.home=/var/lib/openshift/115e25277628e1c35b000238/app-root/data/wflow/" -a jogetv5
Code Block
titleExecution output
collapsetrue
Setting environment variable(s) ... done

Obtaining Joget Workflow

In your PuTTY SSH session, Execute the following commands.

...

Once we executed the last command earlier "mv apache-tomcat-8.0.20/webapps/jw* ~/jbossews/webapps/", Joget Workflow webapp is being initialized right away.

However, it is highly recommended that we restart the server first to make sure that everything would works persistently.

Issue the following command in your Windows command prompt.

Code Block
titleRestart App
rhc app-restart jogetv5

You can monitor its deployment of the web server by tailing the server log.

...