IBM Support

10.2.2 FP4 Query Service fails to spawn when JAVA_HOME points to an Oracle 1.8 JRE

Troubleshooting


Problem

On restarting Cognos BI, the Dispatcher Java launched correctly, but no Query Service was started.

Symptom

Error in cogserver.log
 
QueryService failed to start with the following command-line arguments: [D:\Java\jdk1.8.0_92\jre\bin\java.exe, -Xms1024m, -Xmx8096m, -XX:MaxNewSize=4048m, -XX:NewSize=512m, -server, -XX:MaxPermSize=256m, -XX:+DoEscapeAnalysis, -XX:+UseCompressedOops, -verbose:gc, -Xloggc:D:/cognos/c10_64/logs\XQE\dq_verbosegc.log, -XX:+UseConcMarkSweepGC, -XX:+UseParNewGC, -XX:SurvivorRatio=8, -XX:TargetSurvivorRatio=90, -XX:MaxTenuringThreshold=31, -XX:OnOutOfMemoryError=cmd.exe /c del /f /s D:\cognos\c10_64\data\.xqe.%p > nul, -DParentProcessID=4112, -Dcubingservices_home=D:/cognos/c10_64/v5dataserver, -Dcubingservices_data=D:\cognos\c10_64\data, -DParentProcessPort=56435, -Djava.library.path=D:/cognos/c10_64/bin64;, -classpath, D:/cognos/c10_64/webapps/p2pd/WEB-INF/classes;D:\cognos\c10_64\v5dataserver\lib\*;D:\cognos\c10_64\v5dataserver\lib\ext\*;D:\cognos\c10_64\webapps\p2pd\WEB-INF\lib\*;D:\cognos\c10_64\tomcat\lib\*;, -DenableTraceServer, -ea, -Dorg.dom4j.QName.singleton.strategy=org.dom4j.util.PerThreadSingleton, -Dorg.dom4j.DocumentFactory.singleton.strategy=org.dom4j.util.PerThreadSingleton, com.cognos.xqebifw.cubingservices.DQServer] with console output: Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 MaxTenuringThreshold of 31 is invalid; must be between 0 and 15 


Change of JavaTM Runtime evident in cbs_init_WebsphereLiberty.log:

Working:
-isrunning

-name="IBM Cognos"

-serviceClass="WebSphereLiberty"

-java_home="D:\cognos\c10_64\bin64\jre\7.0"

Wed Apr 12 10:16:49 2017 DEBUG t[890] CBSPropertyInserter Added property install_path with value "D:\cognos\c10_64\.\bin64\.."

Wed Apr 12 10:16:49 2017 DEBUG t[890] CBSPropertyInserter Added property bin_path with value "D:\cognos\c10_64\.\bin64\."

Wed Apr 12 10:16:49 2017 DEBUG t[890] CBSPropertyInserter Added property serviceClass with value "WebSphereLiberty"

Mon May 22 12:27:09 2017 DEBUG t[2918] CBSCmdLine Command line as parsed:

Error:
-isrunning

-name="IBM Cognos"

-serviceClass="WebSphereLiberty"

-java_home="D:\Java\jdk1.8.0_92"

Mon May 22 12:27:09 2017 DEBUG t[2918] CBSPropertyInserter Added property install_path with value "D:\cognos\c10_64\.\bin64\.."

Mon May 22 12:27:09 2017 DEBUG t[2918] CBSPropertyInserter Added property bin_path with value "D:\cognos\c10_64\.\bin64\."

Mon May 22 12:27:09 2017 DEBUG t[2918] CBSPropertyInserter Added property serviceClass with value "WebSphereLiberty"

Mon May 22 12:27:09 2017 DEBUG t[23f8] CBSCmdLine Command line as parsed:

[{"Product":{"code":"SSEP7J","label":"Cognos Business Intelligence"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Cognos Administration","Platform":[{"code":"PF033","label":"Windows"}],"Version":"10.2.2","Edition":"All Editions","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SSEP7J","label":"Cognos Business Intelligence"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SS6G84","label":"IBM Cognos Analytics on Cloud"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
08 May 2025

UID

swg22006403