How to manually deploy an EAR WAR JAR or SAR application in WebSphere

Home > Search > How-to
  by

  1. In the left panel of WebSphere, expand Applications and select New Application.
  2. Select New Enterprise Application.

 

  1. Click Browse, select your EAR (enterprise application) or WAR (web archive) file, and select Next.

Note: Click here to download a sample war file. Or, follow the instructions in the article on how to create a war file on Linux.

+

 

  1. You can select Fast Path for your first application. Select Next.

 

  1. At Step 1, if you want to version control the application using editions, give the application an edition, such as 1.0. Select Next.

 

  1. 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.

 

  1. At Step 3, select the virtual hosts you want to use and select Next.

 

  1. At Step 4, enter a context root not currently in use, and select Next.

 

  1. At Step 5, select Finish.

 

  1. Ensure Application sample_war installed successfully is displayed, and then select Save.

 

  1. 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. 

  1. In the left panel of the web console, expand Applications and select All Applications.
  2. Select the EAR.
  3. 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.

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter in the box below so that we can be sure you are a human.




Comments