Those who bring sunshine to the lives of others cannot keep it from themselves. J. M. Barrie
Idea Transcript
Deploying the application to Websphere Application Server 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. 1. Check the box next to the Web application you want to deploy to Tomcat and hit the 'Export' button. 2. In the File Download dialog that appears, click the Save button. 3. In the 'Save as type:' section, choose All Files. 4. 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: C:\temp\myapp.war) 5. 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. 6. Expand the 'Applications' node in the console and click the 'Install New Application' link. 7. 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. 8. 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'. 9. 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'. 10. 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'. 11. 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'. 12. Review the summary of settings and click 'Finish'. 13. When the preparation process is complete, click the 'Save' link at the bottom of the page to save the application to the master configuration. 14. 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/. The context root is what you specified in step 8. For example: http://localhost:9080/myapp.