Symptom
Report Application Server hangs sporadically when user opens a report using opendoc URL.
Environment
- Crystal Reports Embedded Server 2008
- Tomcat 5.x
Cause
- There were numerous sessions maintained by Report Application Server.
- As soon as users clicking the openDocument link they were able to see the document but they were not able to log off the enterprise session.
Resolution
Just make sure while closing the document also logoff the enterprise session in custom application for example:
// Logon and obtain an Enterprise Session
IEnterpriseSession boEnterpriseSession = null;
boEnterpriseSession = CrystalEnterprise.getSessionMgr().logon( boUser, boPassword, boCmsName, boAuthType);
session.setAttribute( "boEnterpriseSession", boEnterpriseSession);
// do here BOE related work here.
boEnterpriseSession.logoff();//here Enterprise session is logged off.
Keywords
opendoc, java RAS , KBA , BI-DEV-JAV , BI Software Development Kits (SDKs) - Java , Problem
Product
Crystal Reports Server 2008 V1, OEM edition