IBM Support

DPR-ERR-2002 error when testing a DQM data source

Troubleshooting


Problem

DPR-ERR-2002 error is thrown when a DQM report is executed in Cognos portal. Testing the data source connection in Cognos Administration also throws the same DPR-ERR-2002 error.

Cause

Query service is unable to start properly. Following error message is shown in the logs.
server_ip:port 956 2022-05-31 18:12:22.631 -5 387 XQE 0 1 Audit.RTUsage.qs.XQE.V5DataServer StartService QueryService failed to start with the following command-line arguments: [E:\APPS\cognos\c11_64\ibm-jre\jre\bin\java.exe, -Xms4096m, -Xmx8192m, -Xmnx4096m, -Xmns2048m, -server, -Xscmx100m, -Xshareclasses:cachedir=../javasharedresources,name=cognos10%u,nonfatal, -Xmso512K, -XX:+HeapManagementMXBeanCompatibility, -Xjit:dontInline={gnu/trove/*},{gnu/trove/*}(disableLoopVersioner), -Dcom.ibm.jsse2.overrideDefaultTLS=true, -javaagent:../webapps/p2pd/WEB-INF/lib/log4jSafeAgent2021.jar, -Xcompressedrefs, -verbose:gc, -Xverbosegclog:E:\APPS\cognos\c11_64\logs\XQE\dq_verbosegc_%Y%m%d.%H%M%S.%pid.log,1,1000, -Xgcpolicy:gencon, -Xdump:tool:events=systhrow,filter=java/lang/OutOfMemoryError,exec=cmd.exe /c del /f /s E:\APPS\cognos\c11_64\data\.xqe.%pid > nul, -DCOG_ROOT=E:/APPS/cognos/c11_64, -DParentProcessID=956, -Dorg.xerial.snappy.tempdir=E:\APPS\cognos\c11_64\bin64\..\bin64\../temp, -Dcubingservices_home=E:/APPS/cognos/c11_64/v5dataserver, -Dcubingservices_data=E:\APPS\cognos\c11_64\data, -DParentProcessPort=62665, -Djava.library.path=E:/APPS/cognos/c11_64/bin64;E:/APPS/cognos/c11_64/bin64\..\drivers;, -Djava.rmi.server.hostname=server_name, -DenableTraceServer, -ea, -Dorg.dom4j.QName.singleton.strategy=org.dom4j.util.PerThreadSingleton, -Dorg.dom4j.DocumentFactory.singleton.strategy=org.dom4j.util.PerThreadSingleton, -javaagent:bin/tools/ws-javaagent.jar, -jar, bin/tools/ws-server.jar, dataset-service] with console output: Error opening compressed file or JAR manifests missing: ../webapps/p2pd/WEB-INF/lib/log4jSafeAgent2021.jar JVMJ9TI064E Agent initialization function Agent_OnLoad failed for library instrument, return code -1 JVMJ9VM015W Initialization error for library j9jvmti29(-3): JVMJ9VM009E J9VMDllMain failed

Resolving The Problem

In this particular scenario, custom xqe config file (xqe.diagnosticlogging.xml in the configuration folder) was not removed from the installation after an over-the-top upgrade is done.
Removing the custom xqe config file from the installation directory allowed the query service to start properly and fixed the DPR-ERR-2002 error when testing data source and running DQM reports. 

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSTSF6","label":"IBM Cognos Analytics"},"ARM Category":[{"code":"a8m50000000Cl6nAAC","label":"Data Source"}],"ARM Case Number":"TS009523337","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
27 June 2022

UID

ibm16597649