Originally posted by Jeanne Boyarsky:
Nagesh,
There is no platform independent way of doing this. You would have to be able to direct the JSP request to a specific server, which is not possible.
I imagine there is some WebSphere specific API that you could use to have one clone call the other clone, but this would be messy. What are you trying to accomplish with this variable? Maybe there is another way.
Our application logs metrics into the database and acts as a middleware component. When the database is hung or not responding (recently happened -- due to a infinite
thread process caused by other shared database app), I need to stop logging transactions metrics into the database. We are trying to achieve this in two ways:
1. Programetically (defined a global app level variable; checking the connection timeout occurances etc., to set the variable; finally based on this global flag, turning the database entries on & off.)
2. (Otherway - for immediate effect - based on other monitor messages) Through web, with the help of a secured JSP, admins(managers/team leads) should be able to turn this flag on/off.
My question above to accomplish the second step.
Thanks for your reply. Any thoughts/suggestions are highly appreciated.
[ April 12, 2005: Message edited by: Nagesh Rachakonda ]