- In the left panel of WebSphere, expand Applications and select New Application.
- Select New Enterprise Application.
- Click Browse, select your EAR (enterprise application) or WAR (web archive) file, and select Next.
- You can select Fast Path for your first application. Select Next.
- At Step 1, if you want to version control the application using editions, give the application an edition, such as 1.0. Select Next.
- At Step 2, select the servers that will produce your application, select Apply, and then select Next. In this example, the application will be produced by both a web server and application server.
- At Step 3, select the virtual hosts you want to use and select Next.
- At Step 4, enter a context root not currently in use, and select Next.
- At Step 5, select Finish.
- Ensure Application sample_war installed successfully is displayed, and then select Save.
- Your newly created application should now be listed, and you can Start your application. After selecting start, a message should appear stating the application was started successfully.
If you deployed an EAR, ensure the context root for each application is correct.
- In the left panel of the web console, expand Applications and select All Applications.
- Select the EAR.
- Select Context Root for Web Modules.
In this example, the context root of the Beta application is set to /beta.
You should now be able to get to your new application. In this example, the application is running on a server named was1.software.eng.us, on port 9080. The context root was set to /beta. Putting this together, http://was1.software.eng.us/beta will produce the war application.