Creating a JBoss 7.1 service offering

This topic describes the tasks that you must perform in BMC Cloud Lifecycle Management to create the service offering that the end user can then use to provision the application infrastructure (for example, an OS and an application package).


Although services and service offerings are bundled with the zipkits, you might want to use the procedures to create a service and service offering to create or edit these artifacts.

It includes the following topics:

To create the service and the service offering

In the BMC Cloud Lifecycle Management Administrator console, you must add a service and a service offering.

For JBoss service blueprint, create a service and service offering based on the available deployment model. The JBoss service blueprint supports the following service deployment models:

Deployment model

In the single-tier deployment model, JBoss, JDK and MySQL are installed on a single instance of a server.


In the multi-tier deployment model, JBoss and JDK are installed on one instance of a server and MySQL is installed on a separate instance of a server. 

Standalone modelIn the standalone deployment model, only JBoss and JDK are installed on a single instance of a server. MySQL is not installed.

To create a service

  1. From the BMC Cloud Lifecycle Management Administration Console, click the vertical Workspaces menu on the left side of the window, and click Service Catalog.
  2. In the Service Catalog, click Create a New Service.
  3. Enter the service name.
  4. For Type, select a service type.
    • Business service — Services that customers use and that show the customer view of services, such as email or an online store.
    • Technical service — Supporting IT and infrastructure resources required to support business services that are not visible to customers, such as servers, applications, and network CIs.


      After you select the type and save the service, you cannot change the type.

  5. Enter a description of the service.
  6. Do one of the following actions:
    • To create the service offering, click Apply.
    • To create the service offering later, click Save to save your selections and close the window.

To create a service offering

  1. From the BMC Cloud Lifecycle Management Administration Console, click the vertical Workspaces menu on the left side of the window, and click Service Catalog.
  2. From the Service Catalog, edit or create a service.
    In the Service Offering tab, a default service offering is available, which you can edit.
  3. Click Create a New Service Offering.
  4. In the General Information tab, define the options described in the following table. 



    Default Service Offering

    Enable this option to make the selected service offering the default for the service. Unless users select a different service offering, the default service offering is used.


    A short, descriptive name for the service offering.


    A more detailed description of the service offering.

    Service Blueprint

    Specify the software and hardware to associate with the service offering by selecting one of the available blueprints.

    Reference Definition

    Specify which version of the blueprint to use for this offering. Choose one of the following:
    Latest version—Use the latest version of the specified service blueprint.
    Specific Version—Use the version of the service blueprint that you select.
    Identified by Tag—Select the tag that is used to identify a version of a service blueprint. Because no two versions of a service blueprint can have the same tag, if the association of the tag to a version changes, your blueprint will use whichever version makes use of that tag.

    DefinitionSpecify how to deploy the selected service blueprint. From the list, select a definition that is available for the chosen service blueprint.
  5. Add a Base Customer Price to define the amount charged to the customer for the service offering.
  6. Add a Base Deployment Cost to define the amount that it costs to provide the service offering.
  7. Click Apply.
    This action activates the Options tab. You now also can create a requestable offering (for example, a request definition or a post-deploy action). For additional information, see Creating a requestable offering in the BMC Cloud Lifecycle Management online technical documentation.

To make the provisioning request

  1. Access Workspaces > Service Instances to display the Service Instances workspace, and click New Service Request.

  2. In the New Service Request dialog box, click the server provisioning service you want to display in the Submit Request dialog box.
  3. Enter the data in the required fields to complete the request for an instance of the service request. You can click Next to review the details.
  4. Click Submit. The request is added to the Pending Activity list in the Service Instances window.

The request status is displayed in the Pending Activity list of the Service Instances window. You can double-click on the service request to see its detailed information.

For more detailed procedures, see Requesting cloud services and Requesting cloud services in the legacy console.

To validate the provisioned components

After provisioning the blueprint, you can validate the JBoss along with MySQL components setup in your environment.

Component nameHow to verifyResults
OpenJDK or JDK installation

To check if OpenJDK or JDK is installed, run the following command:

java --version

It displays the JDK version.

JBoss directory verification

To verify JBoss directory under /opt, run the following command:

ls -ld /opt/jboss-as-7.1.1.Final
The JBoss directory is present.
JBoss port number verification

To verify JBoss listening ports (default port is 8080, 9990 and ajp port is 8009), run the following command: 

netstat -atpn | grep java | grep -v grep
The command output contains a list of port numbers.
JBoss server URL

To verify JBoss server, run the following command.

It displays the JBoss server page.
IPtables rules

To create IPtables rules for accessing 8080, 9990 and 8009 ports, run the following command:

iptables -A INPUT -p tcp --dport 8080 -j ACCEPT
iptables -A INPUT -p tcp --dport 9990 -j ACCEPT
iptables -A INPUT -p tcp --dport 8009 -j ACCEPT
service iptables save

IPtables rules are create at the following location:



Start JBoss service

To start JBoss service, run the following command:

/etc/init.d/ start

chkconfig on

Starts the JBoss service.

MySQL Installation

To check if MySQL has been installed, run the following command:

rpm -qa | grep -i mysql-server
It displays the MySQL installation details.

Start MySQL service

To start the MySQL service, run the following command:

service mysqld start

Note: You can use this command when MySQL service is not running.

Starts the MySQL service.
Restart MySQL service

To restart the MySQL service, run the following command:

service mysqld restart

Note: You can use this command when MySQL service is not responding.

Restarts the MySQL service.

Where to go next

Once you have created the service offering, the cloud end user can request a service offering from the My Cloud Services Console. To view a list of tasks the cloud end user can perform to manage your cloud services, see Managing cloud resources in the BMC Cloud Lifecycle Management online technical documentation.

Was this page helpful? Yes No Submitting... Thank you