Provides the AeroGear UnifiedPush Server running on top of JBoss Application Server on OpenShift.
The AeroGear UnifiedPush Server defaults to using MySQL. When creating your application, you'll also want to add the MySQL cartridge:
rhc app create <APP> aerogear-push mysql-5.1
.openshift/ Location for OpenShift specific files
action_hooks/ See the Action Hooks documentation [1]
markers/ See the Markers section [2]
[1] Action Hooks documentation [2] Markers
The aerogear-push
cartridge provides several environment variables to reference for ease
of use:
OPENSHIFT_AEROGEAR_PUSH_IP The IP address used to bind JBossAS
OPENSHIFT_AEROGEAR_PUSH_HTTP_PORT The JBossAS listening port
OPENSHIFT_AEROGEAR_PUSH_CLUSTER_PORT
OPENSHIFT_AEROGEAR_PUSH_MESSAGING_PORT
OPENSHIFT_AEROGEAR_PUSH_MESSAGING_THROUGHPUT_PORT
OPENSHIFT_AEROGEAR_PUSH_REMOTING_PORT
For more information about environment variables, consult the OpenShift Application Author Guide.
Adding marker files to .openshift/markers
will have the following effects:
enable_jpda Will enable the JPDA socket based transport on the java virtual
machine running the JBoss AS 7 application server. This enables
you to remotely debug code running inside the JBoss AS 7
application server.
java7 Will run JBossAS with Java7 if present. If no marker is present
then the baseline Java version will be used (currently Java6)