Skip to Content
0

SAP BI 4.2 - OpenDocument Serialized Sessions - Web Intelligence Processing Server Threads?

Dec 19, 2017 at 01:28 PM

134

avatar image

Hello,

I'm facing a strange issue. We are serving up WEBI reports through OpenDocument using a serialized session. For some reason the Web Intelligence Processing Servers are not letting go of threads. Eventually they climb until alerting warns me about threads being used. Am I doing something wrong here? Is this normal behavior?

I've created a tomcat application with a JSP file that accesses the SAP SDK to serve up a serialized session. This is the code (servers names omitted):

<%@ page contentType="text/html; charset=UTF-8" %>

<%@ page import="com.crystaldecisions.sdk.framework.ISessionMgr" %>

<%@ page import="com.crystaldecisions.sdk.framework.IEnterpriseSession" %>

<%@ page import="com.crystaldecisions.sdk.framework.CrystalEnterprise" %>

<%@ page import="com.crystaldecisions.sdk.occa.security.ILogonTokenMgr" %>

<%@ page import="com.crystaldecisions.sdk.exception.SDKException" %>

<%@ page import="java.net.URLEncoder" %>

<%@ page import="java.io.*" %>

<%

{

IEnterpriseSession sess = CrystalEnterprise.getSessionMgr().logon ( "internal", "XXXXXXX", "XXXXXXX:6400", "secEnterprise");

String serSession = sess.getSerializedSession();

String serSesEncode = URLEncoder.encode(serSession, "UTF-8");

response.sendRedirect("http://XXXXXXXXXXX/BOE/OpenDocument/opendoc/openDocument.jsp?iDocID=" + request.getParameter("cuid") + "&sIDType=CUID&serSes=" + serSesEncode);

}

%>

Any input would be helpful.

Thanks,

Stu

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Stu Leasure Feb 01 at 12:50 PM
1

For anyone experiencing this problem, the solution was not the code but instead a bug with the system. This bug was addressed in FP2 of BI 4.2 SP4.

https://apps.support.sap.com/sap/support/knowledge/preview/en/2527760

Share
10 |10000 characters needed characters left characters exceeded