The Application Pattern Type for Java™ provides
some templates for deploying common applications. Use these templates
to quickly deploy the following applications: Apache Derby, Apache
JMeter, and Apache Tomcat.
Before you begin
Download the application that you want to deploy. The templates
are set for specific versions of these applications; you can download
different versions, but you must modify some of the template information:
- Apache Derby 10.8.2.2 is a Java database
application.
- Apache JMeter 2.7 is a load test application. When you deploy
this application to the same cloud as your Java application, you can test your application
with much greater loads than if you used JMeter from outside the cloud.
- Apache Tomcat 7.0.27 is a web server application.
About this task
The templates provide information for you so that you can
deploy the application as quickly as possible. You must specify some
information before you can deploy the application. For example, the
Apache Tomcat template already contains the port that Tomcat listens
on, the log directory that Tomcat uses, and the directory that Tomcat
automatically retrieves web applications from. You must specify the
web application to be hosted by Tomcat, and the Tomcat file that you
downloaded earlier.
Procedure
- Click . If you are on 2.3.3.3,
click .
- Select Application Pattern Type for Java
1.0.
- Click the template that you want to deploy.
- Click Open in the toolbar.
The template is opened in the Pattern Builder.
- Modify the template as required, and then save the template.
Warning icons indicate properties that are currently missing, and require your input. The
following table shows the information that you must add for each template:
Table 1. Information
required by Java application templates
Template application |
Required information |
Apache Derby |
- The Apache Derby application file that you downloaded earlier.
|
Apache JMeter |
- The Apache JMeter application file that you downloaded earlier.
|
Apache Tomcat |
- The Apache Tomcat application file that you downloaded earlier.
- The web application to be hosted by Tomcat.
|
If you chose to download a different version of the Apache application, you must
also modify the following template information because this information contains the version number
of the application:
Table 2. Information that contains a version number
Template application |
Information that contains a version number |
Apache Derby |
- The command that is used to start the application.
|
Apache JMeter |
- The command that is used to start the application.
|
Apache Tomcat |
- The command that is used to start the application.
- The directory that Tomcat retrieves web applications from.
- The full path of the Tomcat log files.
|
- In the Cloud Pak System Software window, click
Deploy to deploy the application template.