Hi
@Diego Campos,
your question: "
Is there a way to monitor the reports or requests that come to the server through the SDK?"we patched the bi-service.war to contain a servletFilter.jar in order to control the requests coming in:
# Unpack ... patch ... pack
echo "Unpacking bi-service.war to temp directory"
unzip -q ../bi-service.war
echo "Copying SimpleRequestFilter.jar to unpacked directory WEB-INF/lib/"
cp -rp ${SERVLETDIR}/SimpleRequestFilter.jar WEB-INF/lib/.
echo "Copying web.xml to unpacked directory WEB-INF/"
cp -rp ${SERVLETDIR}/web.xml WEB-INF/.
echo "Packing up the new bi-service.war"
jar -cf ../bi-service.war *
cd ..
The web.xml inside bi-service.war needs the entry for the servlet-filter class.
Change web.xml to
<!-- ===================================================== -->
<!-- AMVARA CONSULTING - SimpleRequestFilter web.xml -->
<!-- ===================================================== -->
<filter>
<filter-name>SimpleRequestFilter</filter-name>
<filter-class>de.amvara.servlet.filter.SimpleRequestFilter</filter-class>
<async-supported>true</async-supported>
</filter>
<filter-mapping>
<filter-name>SimpleRequestFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<!-- ===================================================== -->
This will load the servletFilter.
Here is a howto create a servletFilterWe can give you access to our private repo, so you can download our sourcecode to get an idea of monitoring and filtering requests.
We needed this to particular steer the access of parameters entered on reports, as this is controlled by a rights bean with complex user-role rights on application level and could not be transfered into frameworkmanager access model.
Hope this helps.
------------------------------
Ralf Roeber
https://linkedin.com/in/ralf-roeber-470425a/------------------------------
Original Message:
Sent: Wed March 25, 2020 08:53 AM
From: Diego Campos
Subject: Cognos SDK execution monitoring - URGENT
Hi Gurus.
We have an installation of Cognos 10.2.2 and a series of applications developed with the Cognos SDK to execute reports from different intranet portals.
Is there a way to monitor the reports or requests that come to the server through the SDK?
From Cognos Administration \ Current Activity (interactive or background) it does not show report executions from SDK applications.
The Dispatcher is consuming 100% CPU and we cannot detect what the problem is.
Thank you.
------------------------------
Diego Campos
------------------------------
#CognosAnalyticswithWatson