Skip to Content
0
Dec 19, 2017 at 01:28 PM

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

573 Views

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