How to front a WebSphere application server with a web server

Home > Search > How-to
  by

One way to serve a WebShere application is to have clients request the application directly from the WebSphere application server.

 

In this example, the client requests www.example.com:9080/beta/ direct from WebSphere, and then WebSphere sends the application to the client.

 

A web server can be configured to server applications running on the application server. 

 

To accomplish this, you typically first want to setup the application server.

 

Then, you can setup the web server.

Lastly, you will need to map the application to both the web server and the JVM. This can be done during the deploy of the application, or after the application has already been deployed.

Once this is setup, the web server will be able to produce the application.

 

This type of configuration does add a layer of complexity, as you now may need to check both the web server and application server logs when debugging an issue. When requesting the application from the web server, the request and response should be logged in the web server access_log. In this example, there was a request from 10.44.251.54 for the beta application, and the response was 200 OK.

10.44.251.54 - - [30/March/2018:23:13:33 -0500] "GET /beta/ HTTP/1.1" 200 556 197728 +

 

 



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