dcsimg
To trace response for a particular request in weblogic 9.2
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Nagaraju_Jella
Posted On:   Wednesday, April 11, 2007 02:21 AM

Hi all,
I am using weblogic 9.2 and I want to view the request/response and its processing time. Actually my application is a mobile application in which request comes from various mobile phones and/or emulators. Anyway, request comes to server as HTTP only.
Is there any tool to track the request and response with time.
Your valuable suggestions are highly appreciated.

Re: To trace response for a particular request in weblogic 9.2

Posted By:   Anonymous  
Posted On:   Wednesday, April 11, 2007 06:30 AM

Hi Nagaraju,
I am not aware of any tool to calculat the processing time of the request but there is another way of calculating it.

Write a Class which implements the javax.servlet.ServletRequestListener and implement the methods requestInitialized() and requestDestroyed().So when ever a request comes in requestInitialized will be called and when ever it's done the requestDestroyed will be called so you can write the logic in these to methods to calculate the request processing time.

Don't forget to register this listener in the web.xml of the Application.
Regards,
Krishna Rajendra A.
About | Sitemap | Contact