123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: disp
- (C) Copyright IBM Corp. 2005 2016
- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- -->
- <service name="batchReportService" class="com.cognos.pogo.services.SoapActionHandlerService" registerInCM="true" CMdefaultName="BatchReportService">
- <prerequisites>
- <prerequisite fileExists="RSBIBusPlugin.cpi"/>
- <!--<prerequisite fileExists="../bibustkserver/rsvp/lib/rsvp.jar"/>-->
- <prerequisite disabledProperty="brsIsEnabled"/>
- <prerequisite disabledProperty="dispIsEnabled"/>
- </prerequisites>
- <handlers>
- <handler name="batchreportservicechain" classname="com.cognos.pogo.handlers.logic.ChainHandler">
- <chain>
- <handler_ref name="warptask_with_authenticate"/>
- <handler_ref name="brsReporter"/>
- </chain>
- </handler>
- <handler name="warptask_with_authenticate" classname="com.cognos.pogo.handlers.logic.ChainHandler">
- <chain>
- <handler_ref name="pogo.test_do_html_errors"/> test if need HTML error page
- <handler_ref name="pogo.auth_check"/>
- <handler_ref name="do_batch_warp"/>
- <handler_ref name="bridge.response"/>
- <handler_ref name="pogo.respond"/>
- </chain>
- </handler>
- <handler name="brsReporter" classname="com.cognos.pogo.monitoring.QueueableRequestReportingHandler" publisherName="pogoPublisher" reporterName="BatchReportService" serviceType="batchReportService" cnRequestInfo="warpTaskRequestInfo" skip_on_fault="false"/>
- <handler name="serviceStatus" classname="com.cognos.pogo.handlers.engine.ServiceStatusHandler" dispatcherStateHandler="dispatcher.dispatcherStatusHandler" serviceName="batchReportService" skip_on_fault="false" propagation="local"/>
- <handler name="do_batch_warp" classname="com.cognos.pogo.handlers.logic.ChainHandler">
- <chain>
- <handler_ref name="pogo.jmeter_pid_fixup"/>
- <handler_ref name="warptaskmtaChain"/>
- <handler_ref name="pogo.jmeter_pid_fixup"/>
- <handler_ref name="pogo.test_warp_response_for_fault"/>
- </chain>
- </handler>
- <handler name="warptaskmtaChain" classname="com.cognos.pogo.handlers.logic.ChainHandler">
- <chain>
- <handler_ref name="test_warptask_stopped"/>
- <handler_ref name="prepareConversationContext"/>
- <handler_ref name="validateRequestConversationContext"/>
- <handler_ref name="warptaskmta"/>
- <handler_ref name="diagnostics.LogConvStatusHandler"/>
- <handler_ref name="validateResponseConversationContext"/>
- </chain>
- </handler>
- <handler name="prepareConversationContext" classname="com.cognos.pogo.handlers.tracking.PrepareConversationContextHandler"/>
- <handler name="validateRequestConversationContext" classname="com.cognos.pogo.handlers.tracking.ValidateRequestConversationContextHandler" validateProcessID="true" validateAffinityStrength="true" faultOnValidationError="false"/>
- <handler name="validateResponseConversationContext" classname="com.cognos.pogo.handlers.tracking.ValidateResponseConversationContextHandler" validateProcessID="true" validateAffinityStrength="true"/>
- <handler name="test_warptask_stopped" classname="com.cognos.pogo.handlers.engine.AbortIfSuspendedHandler"/>
- <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">
- <target>
- <child-proc-cmd>-../bibustkserver/BIBusTKServerMain4j.xml</child-proc-cmd>
- <child-proc-cmd>idleTimeLimitSec=900</child-proc-cmd>
- <child-proc-cmd>lightThreadStackSize=327680</child-proc-cmd>
- <env-var>
- <env-name>${tcmalloc.os.env.library.preload}</env-name>
- <env-value>${tcmalloc.library.name}</env-value>
- <env-separator>${tcmalloc.library.separator}</env-separator>
- <env-mode>prepend</env-mode>
- </env-var>
- <env-var>
- <env-name>${tcmalloc.os.env.library.preload64}</env-name>
- <env-value>${tcmalloc.library.name64}</env-value>
- <env-separator>${tcmalloc.library.separator}</env-separator>
- <env-mode>prepend</env-mode>
- </env-var>
- <env-var>
- <env-name>${tcmalloc.os.env.malloctype}</env-name>
- <env-value>${tcmalloc.os.env.malloctype.value}</env-value>
- </env-var>
- <init-param>
- <param-name>warmup</param-name>
- <param-value>1</param-value>
- </init-param>
- <init-param>
- <param-name>light_threads</param-name>
- <param-value>2</param-value>
- </init-param>
- <init-param>
- <param-name>startup_config_parameter</param-name>
- <param-value>rsvpExecutionMode</param-value>
- </init-param>
- <init-param>
- <param-name>startup_config_default</param-name>
- <param-value>32-bit</param-value>
- </init-param>
- <init-param>
- <param-name>32-bit_path</param-name>
- <param-value>${dispatcher.bin}</param-value>
- </init-param>
- <init-param>
- <param-name>32-bit_exe</param-name>
- <param-value>/BIBusTKServerMain${os.executable.extension}</param-value>
- </init-param>
- <init-param>
- <param-name>32-bit_environment_replacement</param-name>
- <param-value>bin64%bin</param-value>
- </init-param>
- <init-param>
- <param-name>64-bit_path</param-name>
- <param-value>${dispatcher.bin64}</param-value>
- </init-param>
- <init-param>
- <param-name>64-bit_exe</param-name>
- <param-value>/BIBusTKServerMain${os.executable.extension}</param-value>
- </init-param>
- <init-param>
- <param-name>64-bit_environment_replacement</param-name>
- <param-value>none</param-value>
- </init-param>
- <init-param>
- <param-name>java_path</param-name>
- <param-value>${dispatcher.bin64}</param-value>
- </init-param>
- <init-param>
- <param-name>java_exe</param-name>
- <param-value>/cogJavaLauncher${os.executable.extension}</param-value>
- </init-param>
- <init-param>
- <param-name>java_environment_replacement</param-name>
- <param-value>none</param-value>
- </init-param>
- <init-param>
- <!-- The host where the BIBusTKServerMain is running on. This is only used if report_server_port is NOT ZERO -->
- <param-name>report_server_host</param-name>
- <param-value>localhost</param-value>
- </init-param>
- <init-param>
- <!-- The port the report server is listening to. 0 (zero) should be used if the -->
- <!-- dispatcher spawns the process and uses a dynamically assigned port -->
- <param-name>report_server_port</param-name>
- <param-value>0</param-value>
- </init-param>
- <init-param>
- <param-name>worker_request_path</param-name>
- <param-value>/warp</param-value>
- </init-param>
- <init-param>
- <!-- The maximum number of processes that can be running at one time -->
- <param-name>max_process</param-name>
- <param-value>2</param-value>
- </init-param>
- <init-param>
- <!-- The minimum number of processes to keep in memory once they're started -->
- <param-name>linger_process</param-name>
- <param-value>1</param-value>
- </init-param>
- <init-param>
- <!-- Time period between checks for idle or expired processes (in ms) .
- Everytime we check a process we bump a tick count. Every time we use
- a process the count is reset to 0. If the count ever reeaches the value
- of idle_process_max_idle_ticks (below) the process is destroyed.
- -->
- <param-name>idle_process_check_interval_ms</param-name>
- <param-value>30000</param-value>
- </init-param>
- <init-param>
- <!-- number of idle check ticks before an idle process is killed. -->
- <param-name>idle_process_max_idle_ticks</param-name>
- <param-value>10</param-value>
- </init-param>
- <init-param>
- <!-- Should the BIBusTKServer be started at initialization time rather than on-demand? -->
- <param-name>prestart_process</param-name>
- <param-value>false</param-value>
- </init-param>
- <init-param>
- <!-- The maximum time a request is queued before it gives up (in ms) -->
- <param-name>queue_time_limit_ms</param-name>
- <!-- 4 hours in msec. 0 (block forever) is very dangerous -->
- <param-value>14400000</param-value>
- </init-param>
- <init-param>
- <!-- The amount of time the dispatcher will wait for a async request before it cancels it (in ms) -->
- <param-name>async_wait_timeout_ms</param-name>
- <!-- 4 hours in msec. 0 (block forever) is very dangerous -->
- <param-value>14400000</param-value>
- </init-param>
- <init-param>
- <!-- The default number of requests that can be made to a process before it is expired -->
- <param-name>default_process_use_limit</param-name>
- <param-value>0</param-value>
- <!-- 0 for unlimited -->
- </init-param>
- <init-param>
- <!-- The amount of time the dispatcher will wait for the process to shutdown before killing it -->
- <param-name>process_shutdown_timeout_ms</param-name>
- <param-value>300000</param-value>
- </init-param>
- <init-param>
- <!-- The amount of time the dispatcher will wait after a "stop immediately"
- for the process to shutdown before killing it -->
- <param-name>process_shutdown_immediate_timeout_ms</param-name>
- <param-value>10000</param-value>
- </init-param>
- <init-param>
- <!-- Time amount of time a request can sit on a connection before it is considered a delinquent -->
- <!-- DON'T SET THIS TO NON ZERO UNLESS YOU KNOW WHAT YOU'RE DOING -->
- <param-name>delinquent_timeout_seconds</param-name>
- <param-value>0</param-value>
- </init-param>
- <init-param>
- <!-- The time interval the dispatcher will schedule a timer task to run to check for idle connections (see WO2873);
- a value of 0 means no check is performed -->
- <param-name>bibusTKServerConnectionAgeLimit_ms</param-name>
- <param-value>0</param-value>
- </init-param>
- <init-param>
- <!-- The number of threads the BIBusTK process should create (see WO 2873);
- a value of -1 means let BIBusTK decide the number of threads to be created; otherwise use number of affine and
- nonAffine conections when creating threads ( pre bluesea ib26 behavior ) -->
- <param-name>threads</param-name>
- <param-value>10</param-value>
- </init-param>
- <bibsrv_config>
- <handlers>
- <handler url_prefix="/warp" library_name="RSBIBusPlugin.cpi" plugin_name="RSBIBusPlugin" mode="stream" location="../bibustkserver/rsvp" class_name="com.ibm.cognos.rsvp.rsbibusplugin.RSBIBusPlugin">
- <ContentManager>
- <Host>${cm.host}</Host>
- <Port>${cm.port}</Port>
- <URI>${cm.url}</URI>
- </ContentManager>
- <RequestCache>
- <Size>${wp_cache_size}</Size>
- <IdleRequestLifespan>${wp_idle_request_lifespan}</IdleRequestLifespan>
- </RequestCache>
- </handler>
- </handlers>
- </bibsrv_config>
- </target>
- </handler>
- </handlers>
- <soapActions>
- <!-- warp specific task service AKA batch -->
- <soapAction path="batchReportService" handler="batchReportService.batchreportservicechain"/>
- <soapAction path="batchReportService.absolute" handler="batchReportService.batchreportservicechain"/>
- <soapAction path="batchReportService.high" handler="batchReportService.batchreportservicechain"/>
- <soapAction path="batchReportService.control" handler="batchReportService.batchreportservicechain"/>
- <soapAction path="batchReportService.server" handler="batchReportService.batchreportservicechain"/>
- <soapAction path="batchReportService.session" handler="batchReportService.batchreportservicechain"/>
- <!-- new actions per WO800 -->
- <soapAction path="http://developer.cognos.com/schemas/batchReportService/1" handler="batchReportService.batchreportservicechain"/>
- <soapAction path="http://developer.cognos.com/schemas/batchReportService/1.high" handler="batchReportService.batchreportservicechain"/>
- <soapAction path="http://developer.cognos.com/schemas/batchReportService/1.control" handler="batchReportService.batchreportservicechain"/>
- <soapAction path="http://developer.cognos.com/schemas/batchReportService/1.absolute" handler="batchReportService.batchreportservicechain"/>
- <soapAction path="http://developer.cognos.com/schemas/batchReportService/1.session" handler="batchReportService.batchreportservicechain"/>
- <soapAction path="http://developer.cognos.com/schemas/batchReportService/1.server" handler="batchReportService.batchreportservicechain"/>
- <soapAction path="http://www.ibm.com/xmlns/prod/cognos/batchReportService/*/" handler="batchReportService.batchreportservicechain"/>
- <soapAction path="http://www.ibm.com/xmlns/prod/cognos/batchReportService/*/.high" handler="batchReportService.batchreportservicechain"/>
- <soapAction path="http://www.ibm.com/xmlns/prod/cognos/batchReportService/*/.control" handler="batchReportService.batchreportservicechain"/>
- <soapAction path="http://www.ibm.com/xmlns/prod/cognos/batchReportService/*/.absolute" handler="batchReportService.batchreportservicechain"/>
- <soapAction path="http://www.ibm.com/xmlns/prod/cognos/batchReportService/*/.session" handler="batchReportService.batchreportservicechain"/>
- <soapAction path="http://www.ibm.com/xmlns/prod/cognos/batchReportService/*/.server" handler="batchReportService.batchreportservicechain"/>
- </soapActions>
- <attributes>
- <attribute>brsAffineConnections</attribute>
- <attribute>brsNonAffineConnections</attribute>
- <attribute>brsMaximumProcesses</attribute>
- <attribute>brsPeakAffineConnections</attribute>
- <attribute>brsPeakNonAffineConnections</attribute>
- <attribute>brsPeakMaximumProcesses</attribute>
- <attribute>brsDataSourceChange</attribute>
- <attribute>brsExecutionTimeLimit</attribute>
- <attribute>brsChartHotspotLimit</attribute>
- <attribute>defaultFont</attribute>
- <attribute>supportedFonts</attribute>
- <attribute>brsPDFCompressionLevel</attribute>
- <attribute>brsPDFCompressionType</attribute>
- <attribute>brsPDFEmbedFonts</attribute>
- <attribute>brsPDFCharacterEncoding</attribute>
- <attribute>advancedSettings</attribute>
- <attribute>dispatcherID</attribute>
- <attribute>brsMaximumEMailAttachmentSize</attribute>
- <attribute type="global">serviceDefaultOptions</attribute>
- <attribute type="global">overrideOptions</attribute>
- </attributes>
- </service>
|