How to create an war 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 .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, keep all of the default options, and select Next.

 

  1. At Step 2, select one or more application servers that will produce your application, and select Next.

 

  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.

 

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 /sample, and the .war application contains an index.html file. Putting this together, http://was1.software.eng.us/sample/index.html 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