WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  WAS response info check

    Posted Thu June 06, 2013 02:29 PM
    Hi,

    As we know when a request from browser comes, the high level workflow of the request process is as:


           request(from user) -> webserver -> WAS -> Backend Server like DB


    Then response sends back:


           response(to user)



  • 2.  WAS response info check

    Posted Thu June 06, 2013 06:21 PM
    HI Eric

    As per my knowledge, the response information will located in the application logs. The log location is configured in the log4j.properties by developers.

    If the developers mentioned SystemOut.log as application log, the response information will be update in the SystemOut.log only.

    Thanks
    Venkata


  • 3.  WAS response info check

    Posted Fri June 07, 2013 01:21 PM
    That is fine Ventaka, of course application can do whatever log as needed.

    Question is, normally, webserver will receive a browser request through a port say 8080, and route the request to WAS by a port say 8443 right a way, after, webserver will be listening at port 8443 for the response from WAS, how can we capture response from WAS at this point of time??

    Eric


  • 4.  WAS response info check

    Posted Fri June 07, 2013 01:50 PM

    hope this will helps....


    com.ibm.ws.webcontainer.SendResponseToClientWhenResponseIsComplete




    This property indicates whether a response is completed on return from a forward request.


    If this property is set to false, a response is not completed on return from a forward request. Instead, it is delayed until the target resource completes. Post data is available for a read after the forward completes.










    NameDefault value
    com.ibm.ws.webcontainer.SendResponseToClientAsPartOfSendRedirecttrue




    see the below url for more webcontainer custom properties

    pic.dhe.ibm.com/infocenter/wasinfo/v8r0/...

    Thanks
    Venkata