MultiCloud Marketplace

RightScale Open Source

JBoss 7.1 App Server (RSB)

Open in Dashboard

Published by RightScale Open Source on Aug 29, 2014Revision: 15


MultiCloud RSB (RightScript-based) ServerTemplate to deploy a JBoss 7 App Server. Currently only the standalone mode is supported.

Java and JBoss are downloaded, installed, and configured at boot time by the following boot scripts: * SYS Install Java * WEB JBoss 7.1 install

A JBoss application package is downloaded and deployed at boot/operational time using this script: * WEB JBoss Download and Deploy Apps

The above scripts are designed to retrieve the install packages from a Cloud Object Storage location (e.g. S3 Bucket, CloudFiles container, Google Bucket, etc.). Simply upload the files into your own bucket/container and use the following inputs to specify the required information: STORAGE_ACCOUNT_PROVIDER, STORAGE_ACCOUNT_ID, STORAGE_ACCOUNT_SECRET

Other Inputs:

Use an input's tooltip description as a helpful resource for defining appropriate values for each of the inputs below.

Defines the location (bucket) and Java package to install: * JAVA_BIN_BUCKET, for example: myinstalls-bucket * JAVA_BIN_FILE, for example: jdk-7u51-linux-x64.gz

Defines the location (bucket) and JBoss package to install: * JBOSS_BIN_BUCKET, for example: myinstalls-bucket * JBOSS_BIN_FILE, for example:

Defines the location (bucket) and application package to install: * APPLICATION_BUCKET, for example: stage-bucket * APPLICATION_PACKAGE, for example:

Defines the management user to be used by the web console and jboss-cli: * JBOSS_CONSOLE_USERNAME, JBOSS_CONSOLE_PASSWORD

Defines the database connection details to create a MySQL data-source: * JBOSS_DB_CONNECTION_URL, JBOSS_DB_USERNAME, JBOSS_DB_PASSWORD

Optional input to override the default JAVA_OPTS. Use this input to change parameters like Xms, Xmx,, etc * JAVA_OPTS

Optional input that can be used to inject attributes that are different between environments(prod, dev, test), without having to create different application builds: * JBOSS_PROPERTIES

There are also a number of predefined inputs that might also be of interest:

Tested packages:

If you want to use the same versions of Java, JBoss, and application packages with which this ServerTemplate was tested, use the following links.

Listening ports:

A server launched from this template will listen on TCP port 8080 for the applications and 9990 (localhost only set by input JAVA_OPTS) for the Web Console. As per the JBoss install guide recommendations, the service is running under a non-root user(jboss), which means ports below 1024 cannot be used. The ServerTemplate contains an operational script (WEB TCP port NAT) that sets up a port translation between TCP/80 and 8080. Clone the ServerTemplate and move this script into the boot section if you want the JBoss applications to be served on ports 80 and 8080.

Load Balancing support:

The template is compatible with the RightScale published "Load Balancer with HAProxy v13" ServerTemplate. Additional boot and decommissioning scripts can be used to register/deregister with other Load Balancers.

Key Features: * Support for multiple public and private clouds * Basic set of scripts for a RightLink-based server with logging, monitoring, alerts, etc. * MultiCloud Images that reference the latest supported images with a frozen software repository date that has been tested. * Basic set of alerts for most server type monitoring. * Examples of system-required input variables.


Distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either expressed or implied.


Community Support:



  • MultiCloudImage: RightImage_CentOS_6.5_x64_v14.0.0 [rev 14]

  • MultiCloudImage: RightImage_CentOS_6.5_x64_v14.0.0_vSphere [rev 5]

  • MultiCloudImage: RightImage_CentOS_6.5_x64_v14.0.0_KVM [rev 5]

  • MultiCloudImage: RightImage_CentOS_6.5_x64_v14.0.0_EBS [rev 4]

  • RightScript: SYS Run makewhatis cron job [rev 4]

  • RightScript: LB Untag and Send Detach Request [rev 2]

  • RightScript: SYS Create and initialise swap file [rev 4]

  • RightScript: SYS Install Bats(Bash Automated Testing System) [rev 3]

  • RightScript: SYS Install Java - v14.0.0 [rev 1]

  • RightScript: SYS Install RightImage Extras package - v13.5.3-LTS [rev 3]

  • RightScript: SYS Install RightScale Tools v1.7.42 - v14.0.0 [rev 1]

  • RightScript: SYS Logrotate configure - v13.5.3-LTS [rev 3]

  • RightScript: SYS Monitoring available updates - v13.5.3-LTS [rev 3]

  • RightScript: SYS Monitoring install - v13.5.3-LTS [rev 3]

  • RightScript: LB Tag and Send Attach Request [rev 2]

  • RightScript: SYS Timezone set - v13.5.3-LTS [rev 3]

  • RightScript: SYS Update hostname, window title and prompt color [rev 9]

  • RightScript: SYS install security updates - v13.5.3-LTS [rev 3]

  • RightScript: SYS setup security updates - v13.5.3-LTS [rev 3]

  • RightScript: TEST Bats - JBoss [rev 1]

  • RightScript: WEB JBoss 7.1 install - v14.0.0 [rev 1]

  • RightScript: WEB JBoss Download and Deploy Apps - v14.0.0 [rev 1]

  • RightScript: WEB JBoss Download and Deploy Apps [rev 3]

  • RightScript: WEB JBoss Install MySQL connector and data-source [rev 3]

  • RightScript: WEB JBoss add/update console user [rev 6]

  • RightScript: WEB JBoss add/update properties [rev 2]

  • RightScript: WEB JBoss service (re)start [rev 2]

  • RightScript: WEB TCP port NAT [rev 2]

  • See More


Revision 15 | Aug 29, 2014

updated ServerTemplate description

Revision 13 | May 02, 2014

using latest v13.5.5 MCIs and updated repos

Revision 10 | Feb 24, 2014

updated input description

Revision 9 | Feb 18, 2014

updated input descriptions



3 Ratings

Supported Clouds


All Users

Sign-up for RightScale

Support Information

Support is limited to the RightScale Community.

Please post bugs and enhancement requests on the RightScale OSS forums. Feel free to join us on #rightscale IRC.