The deployment procedures below are for using Websphere 6. The
procedures for using different versions may vary.
In Manager, locate the existing Web application on the
Applications page.
- Check the box next to the Web application you want to deploy to
Tomcat and hit the 'Export' button.
- In the File Download dialog that appears, click the Save
button.
- In the 'Save as type:' section, choose All
Files.
- The default file name extension will be .zip. Change this
to .war and save it to the file system. Click the
'Close' button when Save is complete. (For example:
/usr/home/temp/myapp.war)
- Start Websphere Application Server. In a browser, go to https://localhost:9043/ibm/console/logon.jsp to
open the Administrative Console. Enter your administrative
credentials to log into the system.
- Expand the 'Applications' node in the console and click the
'Install New Application' link.
- Here, you will prepare the war file for deployment. Chose the
'Local file system' radio button and click the Browse button to
locate the war file.
- Give the context root for your application in the Context root
input textbox. For example: "/myapp". You can accept all of the
remaining default parameters for this page and click 'Next'.
- In this section (Step 1), you can enter the installation
options for your application. For the purposes of this guide, you
can accept the default settings here and click 'Next'.
- In this section (Step 2), you can specify target servers for
clustering. For the purposes of this guide, you can accept the
default settings here and click 'Next'.
- In this section (Step 3), you can specify the virtual hosts
where you application will be installed to. Accept the default host
and click 'Next'.
- Review the summary of settings and click 'Finish'.
- When the preparation process is complete, click the 'Save' link
at the bottom of the page to save the application to the master
configuration.
- In the Enterprise Application page, your application will
appear in the list with a
symbol next to it, since
has not yet been started. Check the box next to the application
name and click the 'Start' button.
Testing your
deployment
You can verify your
deployment by browsing to
http://localhost:9080/<context_root_of_your_application>. The
context root is what you specified in step 8.
For example: http://localhost:9080/myapp.