Hi,
We have an in-house JAVA application that renders BO Reports and schedules.
This JAVA application uses Enterprise Logon/logoff feature to establish connection to BO 4.1 SP6.
However off late ,we are seeing issues when the JAVA application tries to release the BO Sessions that are no longer needed.
The JAVA Applications uses SessionContextManager.releaseSessionContext to do the following:
- call SessionContext.logoff to free resources of DataAccess, UserInfo, UserSession and of course destroy CoreContext.
- remove a session context from static Map in the SessionContextManager
From past 1 month,we are seeing that this BO SDK code locks the executing code. RWLock waits response for one of CORBA request to the BO server. Since RWLock has not timeout and no response comes from the BO server in result we have the infinity loop.
As a result the JAVA Application’s Tomcat runs out of Memory and we have to restart the JAVA Server.
Can someone let us know the best way to release BO sessions from any outside Application (like my scenario.) ?
Thankyou !
peacock123 (BOB member since 2011-10-11)