Issues with closing guest sessions created with Load Balancer URL monitor check

Hi All,

We are using MWS 7.1.3. We have a clustered MWS environment and the load balcner checks the health of the nodes in the cluster using TCP checks. We decided to change this to HTTP URL check as we will get proper HTTP 200 response.

When the load balancer does checks on MWS nodes using this method, it creates “Guest” sessions on the MWS nodes to load the login page. But these sessions are not cleared. When MWS tries to clear the session, we get the following exception:

2013-11-15 12:17:03 EST (Framework : INFO) - Closing session, but no Context is available
2013-11-15 12:17:03 EST (Framework : DEBUG) - Closing session for user: Guest
2013-11-15 12:17:05 EST (Framework : INFO) [RID:43876] - Caught throwable:
java.lang.NullPointerException
2013-11-15 12:17:05 EST (Framework : FATAL) [RID:43876] - [POP.002.0083] Could not acquire context, principal data not found on session
com.webMethods.portal.PortalException: [POP.002.0083] Could not acquire context, principal data not found on session

Any idea on this error? What would be the best way to monitor from Load Balancer? Has anyone configured such monitoring?

Thanks and Regards,
Ninad Patil

First of all, please upgrade to MWS 9! We’ve invested massive time and energy to make the upgrade process MUCH, MUCH better. 7.1.3 is out of maintenance and 8.0 and 8.2 will soon be joining that status as well.

Please have a look at this post as well to discuss Lightweight pings: Lightweight Ping - webMethods - Software AG Tech Community & Forums

BTW: The issue you describe was fixed in 8.2

Thanks a lot Mark,

Understand your concern about upgrade :slight_smile: and we are in fact in the process of upgrading.