123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: cgs
- (C) Copyright IBM Corp. 2005, 2014
- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- -->
- <!--COPYRIGHT_DATA {'COMPONENT':'cgs', 'VISIBLE':'YES', 'RELEASE':['2005', '2010']} -->
- <service name="graphicsService" class="com.cognos.pogo.services.SoapActionHandlerService" registerInCM="true" CMdefaultName="GraphicsService">
- <prerequisites>
- <prerequisite disabledProperty="gsIsEnabled"/>
- </prerequisites>
- <handlers>
- <handler name="remoteBalanceHandler" classname="com.cognos.p2plb.clerver.actions.RemoteBalanceHandler">
- <service name="graphicsService">
- <forwarding delayBetweenAttempts="0" maxAttempts="1" retryOnNoProcess="false"/>
- <soapAction>http://developer.cognos.com/schemas/graphicsService/2</soapAction>
- <soapAction>http://www.ibm.com/xmlns/prod/cognos/graphicsService/*/</soapAction>
- <soapAction>http://www.ibm.com/xmlns/prod/cognos/graphicsService/*/.session</soapAction>
- <soapAction>http://www.ibm.com/xmlns/prod/cognos/graphicsService/*/.absolute</soapAction>
- <soapAction>http://www.ibm.com/xmlns/prod/cognos/graphicsService/*/.control</soapAction>
- <soapAction>http://www.ibm.com/xmlns/prod/cognos/graphicsService/*/.server</soapAction>
- </service>
- </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="CGSServiceAsync" classname="com.cognos.pogo.async.impl.AsyncHandler" threadBaseName="asyncgraphicsServiceThread-" expiryCheckIntervalms="10000" abandonLimit="12" graceLimit="12" wrappedHandler="graphicsService.CGSServiceHandler" onCompletionHandler="graphicsService.CGSServiceReporter"/>
- <handler name="serviceStatus" classname="com.cognos.pogo.handlers.engine.ServiceStatusHandler" dispatcherStateHandler="dispatcher.dispatcherStatusHandler" serviceName="graphicsService" skip_on_fault="false"/>
- <handler name="CGSServiceReporter" classname="com.cognos.pogo.monitoring.QueueableRequestReportingHandler" publisherName="pogoPublisher" reporterName="graphicsService" serviceType="graphicsService" cnRequestInfo="warpRequestInfo" skip_on_fault="false"/>
- <handler name="CGSServiceHandler" classname="com.cognos.pogo.async.service.bibustkserver.BIBusTKServerRequestHandler" cnRequestInfo="warpRequestInfo" runTimeInfoReporter="graphicsService.CGSServiceReporter" cn_cleanup_list="cleanup" requestDuration="40" preventSSL="true" connectionFactory="com.ibm.cgsBus.CGSServiceConnectionFactory" servicePrefix="gs" objectFactory="com.cognos.pogo.async.service.connection.bibustkserver.BIBusTKServerComponentFactory">
- <target>
- <!-- JVM arguments -->
- <child-proc-cmd>-option</child-proc-cmd>
- <child-proc-cmd>COG_ROOT=</child-proc-cmd>
- <child-proc-cmd>idleTimeLimitSec=900</child-proc-cmd>
- <child-proc-cmd>-vmargs</child-proc-cmd>
- <child-proc-cmd>Xmx1g</child-proc-cmd>
- <child-proc-cmd>Xscmx100m</child-proc-cmd>
- <child-proc-cmd>Xshareclasses:cachedir=../javasharedresources,name=cgs1%u,nonfatal</child-proc-cmd>
- <init-param>
- <param-name>exe_name</param-name>
- <param-value>cgsLauncher${os.executable.extension}</param-value>
- </init-param>
- <init-param>
- <!-- The host where the CGSServer 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 CGSServer 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>/cgs</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>1</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>
- <!-- The maximum number of non-affine connections per process -->
- <param-name>max_non_affine_connections_per_process</param-name>
- <param-value>4</param-value>
- </init-param>
- <init-param>
- <!-- Time period between checks for idle or expired processes (in ms) .
- Everytime we check an idle process we bump its tick count. Every time we use
- a process the count is reset to 0. If the count ever reaches 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 CGSServer 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>
- <param-value>30000</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>
- <param-value>30000</param-value>
- </init-param>
- <init-param>
- <param-name>publish_stats_interval_ms</param-name>
- <param-value>60000</param-value>
- <!-- 0 for never -->
- </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>
- </target>
- </handler>
- <handler name="CGSServiceChainHandler" classname="com.cognos.pogo.handlers.logic.ChainHandler">
- <chain>
- <handler_ref name="pogo.auth_check"/>
- <handler_ref name="prepareConversationContext"/>
- <handler_ref name="validateRequestConversationContext"/>
- <handler_ref name="bridge.request"/>
- <handler_ref name="CGSServiceAsync" skip_on_fault="false"/>
- <handler_ref name="CGSServiceReporter" skip_on_fault="false"/>
- <handler_ref name="diagnostics.LogConvStatusHandler"/>
- <handler_ref name="pogo.logResponseConversationContext"/>
- <handler_ref name="validateResponseConversationContext"/>
- <handler_ref name="bridge.response"/>
- <handler_ref name="pogo.respond" skip_on_fault="false"/>
- </chain>
- </handler>
- <!--
- This is the handler chain for the "new" CGS service
- -->
- <handler name="graphicsServiceHandler" classname="com.ibm.cgsBus.service.GraphicsServiceHandler" servicePrefix="gs"
- connectionFactory="com.ibm.cgsBus.service.GraphicsServiceConnectionFactory"
- objectFactory="com.ibm.cgsBus.service.GraphicsServiceComponentFactory"
- cn_cleanup_list="cleanup"
- cnRequestInfo="warpRequestInfo"
- runTimeInfoReporter="graphicsService.CGSServiceReporter"
- preventSSL="false">
- <externalProcess>
- <!-- JVM arguments -->
- <child-proc-cmd>-option</child-proc-cmd>
- <child-proc-cmd>COG_ROOT=</child-proc-cmd>
- <child-proc-cmd>idleTimeLimitSec=900</child-proc-cmd>
- <child-proc-cmd>-vmargs</child-proc-cmd>
- <child-proc-cmd>Xmx1g</child-proc-cmd>
- <child-proc-cmd>DuseNonAsync</child-proc-cmd>
- <child-proc-cmd>Xscmx100m</child-proc-cmd>
- <child-proc-cmd>Xshareclasses:cachedir=../javasharedresources,name=cgs1%u,nonfatal</child-proc-cmd>
- <!-- External process configuration -->
- <init-param>
- <param-name>exe_name</param-name>
- <param-value>cgsLauncher${os.executable.extension}</param-value>
- </init-param>
- <init-param>
- <!-- The host where the CGSServer is running on. This is only used if report_server_port is NOT ZERO -->
- <param-name>server_host</param-name>
- <param-value>localhost</param-value>
- </init-param>
- <init-param>
- <!-- The port the CGSServer is listening to. 0 (zero) should be used if the -->
- <!-- dispatcher spawns the process and uses a dynamically assigned port -->
- <param-name>server_port</param-name>
- <param-value>0</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>1</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>
- <!-- The maximum number of non-affine connections per process -->
- <param-name>max_non_affine_connections_per_process</param-name>
- <param-value>4</param-value>
- </init-param>
- <init-param>
- <!-- Time period between checks for idle or expired processes (in ms) .
- Everytime we check an idle process we bump its tick count. Every time we use
- a process the count is reset to 0. If the count ever reaches 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 CGSServer be started at initialization time rather than on-demand? -->
- <param-name>prestart_process</param-name>
- <param-value>true</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>
- <param-value>30000</param-value>
- </init-param>
- <init-param>
- <param-name>publish_stats_interval_ms</param-name>
- <param-value>60000</param-value>
- <!-- 0 for never -->
- </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>
- </externalProcess>
- </handler>
- <handler name="graphicsServiceChainHandler" classname="com.cognos.pogo.handlers.logic.ChainHandler">
- <chain>
- <handler_ref name="prepareConversationContext"/>
- <handler_ref name="bridge.request"/>
- <handler_ref name="graphicsServiceHandler"/>
- <handler_ref name="CGSServiceReporter" skip_on_fault="false"/>
- <handler_ref name="bridge.response"/>
- <handler_ref name="pogo.respond"/>
- </chain>
- </handler>
- </handlers>
- <soapActions>
- <soapAction path="http://developer.cognos.com/schemas/graphicsService/2" handler="graphicsService.graphicsServiceChainHandler"/>
- <soapAction path="http://www.ibm.com/xmlns/prod/cognos/graphicsService/*/" handler="graphicsService.graphicsServiceChainHandler"/>
- <soapAction path="http://www.ibm.com/xmlns/prod/cognos/graphicsService/*/.session" handler="graphicsService.graphicsServiceChainHandler"/>
- <soapAction path="http://www.ibm.com/xmlns/prod/cognos/graphicsService/*/.absolute" handler="graphicsService.graphicsServiceChainHandler"/>
- <soapAction path="http://www.ibm.com/xmlns/prod/cognos/graphicsService/*/.control" handler="graphicsService.graphicsServiceChainHandler"/>
- <soapAction path="http://www.ibm.com/xmlns/prod/cognos/graphicsService/*/.server" handler="graphicsService.graphicsServiceChainHandler"/>
- </soapActions>
- <attributes>
- <attribute>gsAffineConnections</attribute>
- <attribute>gsNonAffineConnections</attribute>
- <attribute>gsMaximumProcesses</attribute>
- <attribute>gsPeakAffineConnections</attribute>
- <attribute>gsPeakNonAffineConnections</attribute>
- <attribute>gsPeakMaximumProcesses</attribute>
- <attribute>gsQueueLimit</attribute>
- <attribute>gsExecutionTimeLimit</attribute>
- <attribute>gsAuditLevel</attribute>
- <attribute>advancedSettings</attribute>
- </attributes>
- </service>
|