queryService.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. <!--
  2. Licensed Materials - Property of IBM
  3. IBM Cognos Products: XQE
  4. (C) Copyright IBM Corp. 2008, 2020
  5. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  6. -->
  7. <service xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="queryService" class="com.cognos.pogo.services.SoapActionHandlerService" registerInCM="true" CMdefaultName="QueryService">
  8. <prerequisites>
  9. <prerequisite disabledProperty="qsIsEnabled"/>
  10. </prerequisites>
  11. <handlers>
  12. <handler name="queryAsyncHandler" classname="com.cognos.pogo.async.impl.AsyncHandler" threadBaseName="QueryService-Thread-" wrappedHandler="queryService.queryServiceHandler" expiryCheckIntervalms="10000" abandonLimit="4" graceLimit="8"/>
  13. <handler name="queryServiceHandler" classname="com.cognos.xqebifw.cubingservices.CubingServicesHandler" cn_cleanup_list="cleanup" cnRequestInfo="warpRequestInfo" requestDuration="40" preventSSL="false" connectionFactory="com.cognos.xqebifw.cubingservices.CubingServicesConnectionFactory" servicePrefix="query" objectFactory="com.cognos.xqebifw.cubingservices.CubingServicesComponentFactory">
  14. <target>
  15. <!-- These VM arguments are generated later... with the right values populated
  16. <child-proc-cmd>-Duser.dir=</child-proc-cmd>
  17. <child-proc-cmd>-Dcubingservices_home=</child-proc-cmd>
  18. <child-proc-cmd>-DParentProcessPort=</child-proc-cmd>
  19. <child-proc-cmd>-Djava.library.path=</child-proc-cmd>
  20. <child-proc-cmd>-classpath</child-proc-cmd>
  21. -->
  22. <!-- DO NOT EDIT -->
  23. <child-proc-cmd>-DenableTraceServer</child-proc-cmd>
  24. <child-proc-cmd>-ea</child-proc-cmd>
  25. <child-proc-cmd>-Dorg.dom4j.QName.singleton.strategy=org.dom4j.util.PerThreadSingleton</child-proc-cmd>
  26. <child-proc-cmd>-Dorg.dom4j.DocumentFactory.singleton.strategy=org.dom4j.util.PerThreadSingleton</child-proc-cmd>
  27. <!-- END OF DO NOT EDIT -->
  28. <!--
  29. Uncomment to enable remote debugging (change port as required).
  30. <child-proc-cmd>-Xdebug</child-proc-cmd>
  31. <child-proc-cmd>-Xnoagent</child-proc-cmd>
  32. <child-proc-cmd>-Xrunjdwp:transport=dt_socket,address=9092,server=y,suspend=n</child-proc-cmd>
  33. -->
  34. <!-- Note: The JIT compiler rarely causes the compiled code to be misaligned with the source. If it happens,
  35. uncomment the following line and set the resource names accordingly.
  36. <child-proc-cmd>-Xjit:exclude={com/ibm/cognos/<package>*|com/ibm/cognos/<package>/<class>.<method>}</child-proc-cmd>-->
  37. <!-- Uncomment to enable JMX remote access. This is unsecure, do not enable in a production environment without setting up jmx security
  38. <child-proc-cmd>-Dcom.sun.management.jmxremote.port=9093</child-proc-cmd>
  39. <child-proc-cmd>-Dcom.sun.management.jmxremote.authenticate=false</child-proc-cmd>
  40. <child-proc-cmd>-Dcom.sun.management.jmxremote.ssl=false</child-proc-cmd>
  41. -->
  42. <!-- Uncomment to enable YourKit profiling (change path as necessary)
  43. <child-proc-cmd>-agentpath:C:\Program Files\YourKit Java Profiler 8.0.20\bin\win32\yjpagent.dll=disablestacktelemetry,disableexceptiontelemetry,delay=10000,sessionname=QueryService</child-proc-cmd>
  44. <child-proc-cmd>-Xnojit</child-proc-cmd>
  45. -->
  46. <!-- DO NOT REMOVE THE FOLLOWING LINE. IT IS REQUIRED FOR AUTOMATION TO INJECT CUSTOM ARGUMENTS. -->
  47. <!--JVM_OPTS_PLACEHOLDER-->
  48. <child-proc-cmd>-javaagent:bin/tools/ws-javaagent.jar</child-proc-cmd>
  49. <child-proc-cmd>-jar</child-proc-cmd>
  50. <child-proc-cmd>bin/tools/ws-server.jar</child-proc-cmd>
  51. <child-proc-cmd>dataset-service</child-proc-cmd>
  52. <init-param>
  53. <!-- This sets where the CS home directory is -->
  54. <param-name>CS_HOME</param-name>
  55. <param-value>../v5dataserver</param-value>
  56. </init-param>
  57. <init-param>
  58. <!-- The jar files to be loaded -->
  59. <param-name>JARS</param-name>
  60. <param-value>../bin/javax.servlet-api-3.0.1.jar</param-value>
  61. </init-param>
  62. <init-param>
  63. <!-- The directories where JAR files are to be loaded.
  64. The classpath generated will contain each .jar file in these directories -->
  65. <param-name>JAR_DIRS</param-name>
  66. <param-value>../v5dataserver/lib;../v5dataserver/lib/ext;../webapps/p2pd/WEB-INF/lib;../drivers</param-value>
  67. </init-param>
  68. <init-param>
  69. <!-- The directories where classes and resource files are to be loaded -->
  70. <param-name>CLASSES_DIRS</param-name>
  71. <param-value>../webapps/p2pd/WEB-INF/classes</param-value>
  72. </init-param>
  73. <init-param>
  74. <param-name>exe_name</param-name>
  75. <param-value>java${os.executable.extension}</param-value>
  76. </init-param>
  77. <init-param>
  78. <!-- The host where the BIBusTKServerMain is running on. This is only used if report_server_port is NOT ZERO -->
  79. <param-name>report_server_host</param-name>
  80. <param-value>localhost</param-value>
  81. </init-param>
  82. <init-param>
  83. <!-- The port the CS process is listening to. 0 (zero) should be used if the -->
  84. <!-- dispatcher spawns the process and uses a dynamically assigned port -->
  85. <param-name>report_server_port</param-name>
  86. <param-value>0</param-value>
  87. </init-param>
  88. <init-param>
  89. <param-name>worker_request_path</param-name>
  90. <param-value>/dataset-service/v1/datasets/soap</param-value>
  91. </init-param>
  92. <init-param>
  93. <!-- The maximum number of processes that can be running at one time -->
  94. <!-- IGNORED, but must be present -->
  95. <param-name>max_process</param-name>
  96. <param-value>1</param-value>
  97. </init-param>
  98. <init-param>
  99. <!-- The minimum number of processes to keep in memory once they're started -->
  100. <param-name>linger_process</param-name>
  101. <param-value>1</param-value>
  102. </init-param>
  103. <init-param>
  104. <!-- Time period between checks for idle or expired processes (in ms) .
  105. Everytime we check an idle process we bump its tick count. Every time we use
  106. a process the count is reset to 0. If the count ever reaches the value
  107. of idle_process_max_idle_ticks (below) the process is destroyed.
  108. -->
  109. <param-name>idle_process_check_interval_ms</param-name>
  110. <param-value>30000</param-value>
  111. </init-param>
  112. <init-param>
  113. <!-- number of idle check ticks before an idle process is killed. -->
  114. <param-name>idle_process_max_idle_ticks</param-name>
  115. <param-value>10</param-value>
  116. </init-param>
  117. <init-param>
  118. <!-- Should ppserver be started at initialization time rather than on-demand? -->
  119. <param-name>prestart_process</param-name>
  120. <param-value>true</param-value>
  121. </init-param>
  122. <init-param>
  123. <!-- The maximum time a request is queued before it gives up (in ms) -->
  124. <param-name>queue_time_limit_ms</param-name>
  125. <param-value>30000</param-value>
  126. </init-param>
  127. <init-param>
  128. <!-- The amount of time the dispatcher will wait for a async request before it cancels it (in ms) -->
  129. <param-name>async_wait_timeout_ms</param-name>
  130. <param-value>30000</param-value>
  131. </init-param>
  132. <init-param>
  133. <param-name>publish_stats_interval_ms</param-name>
  134. <param-value>60000</param-value>
  135. <!-- 0 for never -->
  136. </init-param>
  137. <init-param>
  138. <!-- The default number of requests that can be made to a process before it is expired -->
  139. <param-name>default_process_use_limit</param-name>
  140. <param-value>0</param-value>
  141. <!-- 0 for unlimited -->
  142. </init-param>
  143. <init-param>
  144. <!-- The amount of time the dispatcher will wait for the process to shutdown before killing it -->
  145. <param-name>process_shutdown_timeout_ms</param-name>
  146. <param-value>300000</param-value>
  147. </init-param>
  148. <init-param>
  149. <!-- The time interval (ms) the dispatcher will schedule a timer task to run to check for non existent processes;
  150. a value of 0 means no check is performed -->
  151. <param-name>process_cleaner_interval</param-name>
  152. <param-value>10000</param-value>
  153. </init-param>
  154. </target>
  155. </handler>
  156. <handler name="queryChainHandler" classname="com.cognos.pogo.handlers.logic.ChainHandler">
  157. <chain>
  158. <handler_ref name="pogo.auth_check"/>
  159. <handler_ref name="ExecuteLocallyHandler"/>
  160. <handler_ref name="prepareConversationContext"/>
  161. <handler_ref name="queryAsyncHandler"/>
  162. <handler_ref name="bridge.response"/>
  163. <handler_ref name="pogo.respond"/>
  164. </chain>
  165. </handler>
  166. <handler name="ExecuteLocallyHandler" classname="com.cognos.pogo.handlers.util.ExecuteLocallyHandler" sourceAffinity="absolute" targetAffinity="server"/>
  167. <handler name="serviceStatus" classname="com.cognos.pogo.handlers.engine.ServiceStatusHandler" dispatcherStateHandler="dispatcher.dispatcherStatusHandler" serviceName="queryService" skip_on_fault="false"/>
  168. <handler name="prepareConversationContext" classname="com.cognos.pogo.handlers.tracking.PrepareConversationContextHandler"/>
  169. <handler name="remoteBalanceHandler" classname="com.cognos.p2plb.clerver.actions.RemoteBalanceHandler">
  170. <service name="queryService">
  171. <forwarding delayBetweenAttempts="0" maxAttempts="1" retryOnNoProcess="false"/>
  172. <soapAction>http://developer.cognos.com/schemas/queryService</soapAction>
  173. <soapAction>http://developer.cognos.com/schemas/queryService/1</soapAction>
  174. <soapAction>http://developer.cognos.com/schemas/queryService/1.high</soapAction>
  175. <soapAction>http://developer.cognos.com/schemas/queryService/1.session</soapAction>
  176. <soapAction>http://developer.cognos.com/schemas/queryService/1.control</soapAction>
  177. <soapAction>http://developer.cognos.com/schemas/queryService/1.server</soapAction>
  178. <soapAction>http://www.ibm.com/xmlns/prod/cognos/queryService/*/</soapAction>
  179. <soapAction>http://www.ibm.com/xmlns/prod/cognos/queryService/*/.high</soapAction>
  180. <soapAction>http://www.ibm.com/xmlns/prod/cognos/queryService/*/.session</soapAction>
  181. <soapAction>http://www.ibm.com/xmlns/prod/cognos/queryService/*/.control</soapAction>
  182. <soapAction>http://www.ibm.com/xmlns/prod/cognos/queryService/*/.server</soapAction>
  183. </service>
  184. </handler>
  185. </handlers>
  186. <soapActions>
  187. <soapAction path="http://developer.cognos.com/schemas/queryService" handler="queryService.queryChainHandler"/>
  188. <soapAction path="http://developer.cognos.com/schemas/queryService/1" handler="queryService.queryChainHandler"/>
  189. <soapAction path="http://developer.cognos.com/schemas/queryService/1.high" handler="queryService.queryChainHandler"/>
  190. <soapAction path="http://developer.cognos.com/schemas/queryService/1.session" handler="queryService.queryChainHandler"/>
  191. <soapAction path="http://developer.cognos.com/schemas/queryService/1.absolute" handler="queryService.queryChainHandler"/>
  192. <soapAction path="http://developer.cognos.com/schemas/queryService/1.control" handler="queryService.queryChainHandler"/>
  193. <soapAction path="http://developer.cognos.com/schemas/queryService/1.server" handler="queryService.queryChainHandler"/>
  194. <soapAction path="http://www.ibm.com/xmlns/prod/cognos/queryService/*/" handler="queryService.queryChainHandler"/>
  195. <soapAction path="http://www.ibm.com/xmlns/prod/cognos/queryService/*/.high" handler="queryService.queryChainHandler"/>
  196. <soapAction path="http://www.ibm.com/xmlns/prod/cognos/queryService/*/.session" handler="queryService.queryChainHandler"/>
  197. <soapAction path="http://www.ibm.com/xmlns/prod/cognos/queryService/*/.absolute" handler="queryService.queryChainHandler"/>
  198. <soapAction path="http://www.ibm.com/xmlns/prod/cognos/queryService/*/.control" handler="queryService.queryChainHandler"/>
  199. <soapAction path="http://www.ibm.com/xmlns/prod/cognos/queryService/*/.server" handler="queryService.queryChainHandler"/>
  200. <soapAction path="http://www.ibm.com/xmlns/prod/cognos/queryService/*/.local" handler="queryService.queryChainHandler"/>
  201. </soapActions>
  202. <!-- Query Service settings that's configuration from Cognos Administration. See \\sottdocs1f\all_devdocs\_Projects\Colorado\Colorado-BI\Specs\Design\Application_Object_Model\_Current\ObjectModel\PrivateOutput\Out_DX\N589A4.html for details. -->
  203. <attributes>
  204. <attribute>qsAuditLevel</attribute>
  205. <attribute>qsDisableQueryPlanCache</attribute>
  206. <attribute>qsDumpModelToFile</attribute>
  207. <attribute>qsIdleConnectionTimeout</attribute>
  208. <attribute>qsQueryExecutionTrace</attribute>
  209. <attribute>qsQueryPlanningTrace</attribute>
  210. <attribute>qsInitialJVMHeapSize</attribute>
  211. <attribute>qsJVMHeapSizeLimit</attribute>
  212. <attribute>qsAdditionalJVMArguments</attribute>
  213. <attribute>qsManualCubeStart</attribute>
  214. <attribute>qsROLAPCubeAdministrationCommandTimeout</attribute>
  215. <attribute>qsROLAPCubeConfigurations</attribute>
  216. <attribute>qsMultiDimensionalQuerySizeLimit</attribute>
  217. <attribute>qsROLAPMemberCacheAliasRoot</attribute>
  218. <attribute>qsDisableVerboseGCLogging</attribute>
  219. <attribute>qsVerboseGCLogLimit</attribute>
  220. <attribute>qsGCPolicy</attribute>
  221. <attribute>qsInitialJVMNurserySize</attribute>
  222. <attribute>qsJVMNurserySizeLimit</attribute>
  223. <attribute>qsGenerateCommentsInNativeSQL</attribute>
  224. </attributes>
  225. </service>