batchreportservice.xml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. IBM Cognos Products: disp
  5. (C) Copyright IBM Corp. 2005 2016
  6. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. -->
  8. <service name="batchReportService" class="com.cognos.pogo.services.SoapActionHandlerService" registerInCM="true" CMdefaultName="BatchReportService">
  9. <prerequisites>
  10. <prerequisite fileExists="RSBIBusPlugin.cpi"/>
  11. <!--<prerequisite fileExists="../bibustkserver/rsvp/lib/rsvp.jar"/>-->
  12. <prerequisite disabledProperty="brsIsEnabled"/>
  13. <prerequisite disabledProperty="dispIsEnabled"/>
  14. </prerequisites>
  15. <handlers>
  16. <handler name="batchreportservicechain" classname="com.cognos.pogo.handlers.logic.ChainHandler">
  17. <chain>
  18. <handler_ref name="warptask_with_authenticate"/>
  19. <handler_ref name="brsReporter"/>
  20. </chain>
  21. </handler>
  22. <handler name="warptask_with_authenticate" classname="com.cognos.pogo.handlers.logic.ChainHandler">
  23. <chain>
  24. <handler_ref name="pogo.test_do_html_errors"/> test if need HTML error page
  25. <handler_ref name="pogo.auth_check"/>
  26. <handler_ref name="do_batch_warp"/>
  27. <handler_ref name="bridge.response"/>
  28. <handler_ref name="pogo.respond"/>
  29. </chain>
  30. </handler>
  31. <handler name="brsReporter" classname="com.cognos.pogo.monitoring.QueueableRequestReportingHandler" publisherName="pogoPublisher" reporterName="BatchReportService" serviceType="batchReportService" cnRequestInfo="warpTaskRequestInfo" skip_on_fault="false"/>
  32. <handler name="serviceStatus" classname="com.cognos.pogo.handlers.engine.ServiceStatusHandler" dispatcherStateHandler="dispatcher.dispatcherStatusHandler" serviceName="batchReportService" skip_on_fault="false" propagation="local"/>
  33. <handler name="do_batch_warp" classname="com.cognos.pogo.handlers.logic.ChainHandler">
  34. <chain>
  35. <handler_ref name="pogo.jmeter_pid_fixup"/>
  36. <handler_ref name="warptaskmtaChain"/>
  37. <handler_ref name="pogo.jmeter_pid_fixup"/>
  38. <handler_ref name="pogo.test_warp_response_for_fault"/>
  39. </chain>
  40. </handler>
  41. <handler name="warptaskmtaChain" classname="com.cognos.pogo.handlers.logic.ChainHandler">
  42. <chain>
  43. <handler_ref name="test_warptask_stopped"/>
  44. <handler_ref name="prepareConversationContext"/>
  45. <handler_ref name="validateRequestConversationContext"/>
  46. <handler_ref name="warptaskmta"/>
  47. <handler_ref name="diagnostics.LogConvStatusHandler"/>
  48. <handler_ref name="validateResponseConversationContext"/>
  49. </chain>
  50. </handler>
  51. <handler name="prepareConversationContext" classname="com.cognos.pogo.handlers.tracking.PrepareConversationContextHandler"/>
  52. <handler name="validateRequestConversationContext" classname="com.cognos.pogo.handlers.tracking.ValidateRequestConversationContextHandler" validateProcessID="true" validateAffinityStrength="true" faultOnValidationError="false"/>
  53. <handler name="validateResponseConversationContext" classname="com.cognos.pogo.handlers.tracking.ValidateResponseConversationContextHandler" validateProcessID="true" validateAffinityStrength="true"/>
  54. <handler name="test_warptask_stopped" classname="com.cognos.pogo.handlers.engine.AbortIfSuspendedHandler"/>
  55. <handler name="warptaskmta" classname="com.cognos.pogo.reportservice.BatchReportServerHandler" cn_cleanup_list="cleanup" cnRequestInfo="warpTaskRequestInfo" runTimeInfoReporter="batchReportService.brsReporter" preventSSL="true" errorMessageCodePrefix="ReportServerHandler." objectFactory="com.cognos.pogo.reportservice.RS64ComponentFactory">
  56. <target>
  57. <child-proc-cmd>-../bibustkserver/BIBusTKServerMain4j.xml</child-proc-cmd>
  58. <child-proc-cmd>idleTimeLimitSec=900</child-proc-cmd>
  59. <child-proc-cmd>lightThreadStackSize=327680</child-proc-cmd>
  60. <env-var>
  61. <env-name>${tcmalloc.os.env.library.preload}</env-name>
  62. <env-value>${tcmalloc.library.name}</env-value>
  63. <env-separator>${tcmalloc.library.separator}</env-separator>
  64. <env-mode>prepend</env-mode>
  65. </env-var>
  66. <env-var>
  67. <env-name>${tcmalloc.os.env.library.preload64}</env-name>
  68. <env-value>${tcmalloc.library.name64}</env-value>
  69. <env-separator>${tcmalloc.library.separator}</env-separator>
  70. <env-mode>prepend</env-mode>
  71. </env-var>
  72. <env-var>
  73. <env-name>${tcmalloc.os.env.malloctype}</env-name>
  74. <env-value>${tcmalloc.os.env.malloctype.value}</env-value>
  75. </env-var>
  76. <init-param>
  77. <param-name>warmup</param-name>
  78. <param-value>1</param-value>
  79. </init-param>
  80. <init-param>
  81. <param-name>light_threads</param-name>
  82. <param-value>2</param-value>
  83. </init-param>
  84. <init-param>
  85. <param-name>startup_config_parameter</param-name>
  86. <param-value>rsvpExecutionMode</param-value>
  87. </init-param>
  88. <init-param>
  89. <param-name>startup_config_default</param-name>
  90. <param-value>32-bit</param-value>
  91. </init-param>
  92. <init-param>
  93. <param-name>32-bit_path</param-name>
  94. <param-value>${dispatcher.bin}</param-value>
  95. </init-param>
  96. <init-param>
  97. <param-name>32-bit_exe</param-name>
  98. <param-value>/BIBusTKServerMain${os.executable.extension}</param-value>
  99. </init-param>
  100. <init-param>
  101. <param-name>32-bit_environment_replacement</param-name>
  102. <param-value>bin64%bin</param-value>
  103. </init-param>
  104. <init-param>
  105. <param-name>64-bit_path</param-name>
  106. <param-value>${dispatcher.bin64}</param-value>
  107. </init-param>
  108. <init-param>
  109. <param-name>64-bit_exe</param-name>
  110. <param-value>/BIBusTKServerMain${os.executable.extension}</param-value>
  111. </init-param>
  112. <init-param>
  113. <param-name>64-bit_environment_replacement</param-name>
  114. <param-value>none</param-value>
  115. </init-param>
  116. <init-param>
  117. <param-name>java_path</param-name>
  118. <param-value>${dispatcher.bin64}</param-value>
  119. </init-param>
  120. <init-param>
  121. <param-name>java_exe</param-name>
  122. <param-value>/cogJavaLauncher${os.executable.extension}</param-value>
  123. </init-param>
  124. <init-param>
  125. <param-name>java_environment_replacement</param-name>
  126. <param-value>none</param-value>
  127. </init-param>
  128. <init-param>
  129. <!-- The host where the BIBusTKServerMain is running on. This is only used if report_server_port is NOT ZERO -->
  130. <param-name>report_server_host</param-name>
  131. <param-value>localhost</param-value>
  132. </init-param>
  133. <init-param>
  134. <!-- The port the report server is listening to. 0 (zero) should be used if the -->
  135. <!-- dispatcher spawns the process and uses a dynamically assigned port -->
  136. <param-name>report_server_port</param-name>
  137. <param-value>0</param-value>
  138. </init-param>
  139. <init-param>
  140. <param-name>worker_request_path</param-name>
  141. <param-value>/warp</param-value>
  142. </init-param>
  143. <init-param>
  144. <!-- The maximum number of processes that can be running at one time -->
  145. <param-name>max_process</param-name>
  146. <param-value>2</param-value>
  147. </init-param>
  148. <init-param>
  149. <!-- The minimum number of processes to keep in memory once they're started -->
  150. <param-name>linger_process</param-name>
  151. <param-value>1</param-value>
  152. </init-param>
  153. <init-param>
  154. <!-- Time period between checks for idle or expired processes (in ms) .
  155. Everytime we check a process we bump a tick count. Every time we use
  156. a process the count is reset to 0. If the count ever reeaches the value
  157. of idle_process_max_idle_ticks (below) the process is destroyed.
  158. -->
  159. <param-name>idle_process_check_interval_ms</param-name>
  160. <param-value>30000</param-value>
  161. </init-param>
  162. <init-param>
  163. <!-- number of idle check ticks before an idle process is killed. -->
  164. <param-name>idle_process_max_idle_ticks</param-name>
  165. <param-value>10</param-value>
  166. </init-param>
  167. <init-param>
  168. <!-- Should the BIBusTKServer be started at initialization time rather than on-demand? -->
  169. <param-name>prestart_process</param-name>
  170. <param-value>false</param-value>
  171. </init-param>
  172. <init-param>
  173. <!-- The maximum time a request is queued before it gives up (in ms) -->
  174. <param-name>queue_time_limit_ms</param-name>
  175. <!-- 4 hours in msec. 0 (block forever) is very dangerous -->
  176. <param-value>14400000</param-value>
  177. </init-param>
  178. <init-param>
  179. <!-- The amount of time the dispatcher will wait for a async request before it cancels it (in ms) -->
  180. <param-name>async_wait_timeout_ms</param-name>
  181. <!-- 4 hours in msec. 0 (block forever) is very dangerous -->
  182. <param-value>14400000</param-value>
  183. </init-param>
  184. <init-param>
  185. <!-- The default number of requests that can be made to a process before it is expired -->
  186. <param-name>default_process_use_limit</param-name>
  187. <param-value>0</param-value>
  188. <!-- 0 for unlimited -->
  189. </init-param>
  190. <init-param>
  191. <!-- The amount of time the dispatcher will wait for the process to shutdown before killing it -->
  192. <param-name>process_shutdown_timeout_ms</param-name>
  193. <param-value>300000</param-value>
  194. </init-param>
  195. <init-param>
  196. <!-- The amount of time the dispatcher will wait after a "stop immediately"
  197. for the process to shutdown before killing it -->
  198. <param-name>process_shutdown_immediate_timeout_ms</param-name>
  199. <param-value>10000</param-value>
  200. </init-param>
  201. <init-param>
  202. <!-- Time amount of time a request can sit on a connection before it is considered a delinquent -->
  203. <!-- DON'T SET THIS TO NON ZERO UNLESS YOU KNOW WHAT YOU'RE DOING -->
  204. <param-name>delinquent_timeout_seconds</param-name>
  205. <param-value>0</param-value>
  206. </init-param>
  207. <init-param>
  208. <!-- The time interval the dispatcher will schedule a timer task to run to check for idle connections (see WO2873);
  209. a value of 0 means no check is performed -->
  210. <param-name>bibusTKServerConnectionAgeLimit_ms</param-name>
  211. <param-value>0</param-value>
  212. </init-param>
  213. <init-param>
  214. <!-- The number of threads the BIBusTK process should create (see WO 2873);
  215. a value of -1 means let BIBusTK decide the number of threads to be created; otherwise use number of affine and
  216. nonAffine conections when creating threads ( pre bluesea ib26 behavior ) -->
  217. <param-name>threads</param-name>
  218. <param-value>10</param-value>
  219. </init-param>
  220. <bibsrv_config>
  221. <handlers>
  222. <handler url_prefix="/warp" library_name="RSBIBusPlugin.cpi" plugin_name="RSBIBusPlugin" mode="stream" location="../bibustkserver/rsvp" class_name="com.ibm.cognos.rsvp.rsbibusplugin.RSBIBusPlugin">
  223. <ContentManager>
  224. <Host>${cm.host}</Host>
  225. <Port>${cm.port}</Port>
  226. <URI>${cm.url}</URI>
  227. </ContentManager>
  228. <RequestCache>
  229. <Size>${wp_cache_size}</Size>
  230. <IdleRequestLifespan>${wp_idle_request_lifespan}</IdleRequestLifespan>
  231. </RequestCache>
  232. </handler>
  233. </handlers>
  234. </bibsrv_config>
  235. </target>
  236. </handler>
  237. </handlers>
  238. <soapActions>
  239. <!-- warp specific task service AKA batch -->
  240. <soapAction path="batchReportService" handler="batchReportService.batchreportservicechain"/>
  241. <soapAction path="batchReportService.absolute" handler="batchReportService.batchreportservicechain"/>
  242. <soapAction path="batchReportService.high" handler="batchReportService.batchreportservicechain"/>
  243. <soapAction path="batchReportService.control" handler="batchReportService.batchreportservicechain"/>
  244. <soapAction path="batchReportService.server" handler="batchReportService.batchreportservicechain"/>
  245. <soapAction path="batchReportService.session" handler="batchReportService.batchreportservicechain"/>
  246. <!-- new actions per WO800 -->
  247. <soapAction path="http://developer.cognos.com/schemas/batchReportService/1" handler="batchReportService.batchreportservicechain"/>
  248. <soapAction path="http://developer.cognos.com/schemas/batchReportService/1.high" handler="batchReportService.batchreportservicechain"/>
  249. <soapAction path="http://developer.cognos.com/schemas/batchReportService/1.control" handler="batchReportService.batchreportservicechain"/>
  250. <soapAction path="http://developer.cognos.com/schemas/batchReportService/1.absolute" handler="batchReportService.batchreportservicechain"/>
  251. <soapAction path="http://developer.cognos.com/schemas/batchReportService/1.session" handler="batchReportService.batchreportservicechain"/>
  252. <soapAction path="http://developer.cognos.com/schemas/batchReportService/1.server" handler="batchReportService.batchreportservicechain"/>
  253. <soapAction path="http://www.ibm.com/xmlns/prod/cognos/batchReportService/*/" handler="batchReportService.batchreportservicechain"/>
  254. <soapAction path="http://www.ibm.com/xmlns/prod/cognos/batchReportService/*/.high" handler="batchReportService.batchreportservicechain"/>
  255. <soapAction path="http://www.ibm.com/xmlns/prod/cognos/batchReportService/*/.control" handler="batchReportService.batchreportservicechain"/>
  256. <soapAction path="http://www.ibm.com/xmlns/prod/cognos/batchReportService/*/.absolute" handler="batchReportService.batchreportservicechain"/>
  257. <soapAction path="http://www.ibm.com/xmlns/prod/cognos/batchReportService/*/.session" handler="batchReportService.batchreportservicechain"/>
  258. <soapAction path="http://www.ibm.com/xmlns/prod/cognos/batchReportService/*/.server" handler="batchReportService.batchreportservicechain"/>
  259. </soapActions>
  260. <attributes>
  261. <attribute>brsAffineConnections</attribute>
  262. <attribute>brsNonAffineConnections</attribute>
  263. <attribute>brsMaximumProcesses</attribute>
  264. <attribute>brsPeakAffineConnections</attribute>
  265. <attribute>brsPeakNonAffineConnections</attribute>
  266. <attribute>brsPeakMaximumProcesses</attribute>
  267. <attribute>brsDataSourceChange</attribute>
  268. <attribute>brsExecutionTimeLimit</attribute>
  269. <attribute>brsChartHotspotLimit</attribute>
  270. <attribute>defaultFont</attribute>
  271. <attribute>supportedFonts</attribute>
  272. <attribute>brsPDFCompressionLevel</attribute>
  273. <attribute>brsPDFCompressionType</attribute>
  274. <attribute>brsPDFEmbedFonts</attribute>
  275. <attribute>brsPDFCharacterEncoding</attribute>
  276. <attribute>advancedSettings</attribute>
  277. <attribute>dispatcherID</attribute>
  278. <attribute>brsMaximumEMailAttachmentSize</attribute>
  279. <attribute type="global">serviceDefaultOptions</attribute>
  280. <attribute type="global">overrideOptions</attribute>
  281. </attributes>
  282. </service>