123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: mdsrv
- (C) Copyright IBM Corp. 2008, 2014
- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- -->
- <!--
- The service-level settings of the Metadata Service.
- -->
- <service name="metadataService" class="com.cognos.pogo.services.SoapActionHandlerService" loadPriority="200" registerInCM="true" CMdefaultName="MetadataService">
- <prerequisites>
- <prerequisite disabledProperty="mdsIsEnabled"/>
- <prerequisite disabledProperty="dispIsEnabled"/>
- </prerequisites>
- <handlers>
- <handler name="serviceStatus" classname="com.cognos.pogo.handlers.engine.ServiceStatusHandler" dispatcherStateHandler="dispatcher.dispatcherStatusHandler" serviceName="metadataService" skip_on_fault="false"/>
- <handler name="asyncMetadataServiceHandler" classname="com.cognos.pogo.async.impl.AsyncHandler" threadBaseName="asyncMDSRVThread-" expiryCheckIntervalms="10000" connectionProperty="jsConnections" peakConnectionProperty="jsPeakConnections" abandonLimit="12" graceLimit="12" wrappedHandler="metadataService.metadataServiceHandler" onCompletionHandler="metadataService.metadataServiceReporter"/>
- <handler name="metadataServiceHandler" classname="com.cognos.metadataService.bibusHandler.MDSRVHandler" cn_cleanup_list="cleanup" cnRequestInfo="warpRequestInfo" runTimeInfoReporter="metadataService.metadataServiceReporter" requestDuration="40" preventSSL="true" objectFactory="com.cognos.metadataService.bibusHandler.mdprovider.MDProviderComponentFactory">
- <target>
- <child-proc-cmd>idleTimeLimitSec=900</child-proc-cmd>
- <init-param>
- <param-name>exe_name</param-name>
- <param-value>${dispatcher.bin}/BmtMDProviderMain${os.executable.extension}</param-value>
- </init-param>
- <init-param>
- <!-- The host where the BmtMDProviderMain 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 BmtMDProviderMain 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>/mdsrv</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 BmtMDProviderMain 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>
- <!-- 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>
- <bibsrv_config>
- <handlers>
- <handler url_prefix="/mdprovider" library_name="BmtMDProviderPlugin.cpi" plugin_name="BmtMDProviderPlugin" mode="stream">
- <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>
- <handler name="metadataServiceReporter" classname="com.cognos.pogo.monitoring.QueueableRequestReportingHandler" publisherName="pogoPublisher" reporterName="metadataService" serviceType="metadataService" cnRequestInfo="warpRequestInfo" skip_on_fault="false"/>
- <handler name="mdaChainHandler" classname="com.cognos.pogo.handlers.logic.ChainHandler">
- <chain>
- <handler_ref name="pogo.auth_check" skip_on_fault="false"/>
- <handler_ref name="asyncMetadataServiceHandler" skip_on_fault="false"/>
- <handler_ref name="metadataServiceReporter" skip_on_fault="false"/>
- <handler_ref name="bridge.response"/>
- <handler_ref name="pogo.respond" skip_on_fault="false"/>
- </chain>
- </handler>
- <handler name="remoteBalanceHandler" classname="com.cognos.p2plb.clerver.actions.RemoteBalanceHandler">
- <service name="metadataService">
- <forwarding delayBetweenAttempts="0" maxAttempts="1" retryOnNoProcess="false"/>
- <soapAction>mda</soapAction>
- <soapAction>metadataService</soapAction>
- <soapAction>metadataService.server</soapAction>
- <soapAction>http://developer.cognos.com/schemas/metadataService</soapAction>
- <soapAction>http://developer.cognos.com/schemas/metadataService/1</soapAction>
- <soapAction>http://www.ibm.com/xmlns/prod/cognos/metadataService/*/</soapAction>
- <soapAction>http://developer.cognos.com/schemas/metadataService/1.high</soapAction>
- <soapAction>http://www.ibm.com/xmlns/prod/cognos/metadataService/*/.high</soapAction>
- <soapAction>http://developer.cognos.com/schemas/metadataService/1.session</soapAction>
- <soapAction>http://www.ibm.com/xmlns/prod/cognos/metadataService/*/.session</soapAction>
- <soapAction>http://developer.cognos.com/schemas/metadataService/1.absolute</soapAction>
- <soapAction>http://www.ibm.com/xmlns/prod/cognos/metadataService/*/.absolute</soapAction>
- <soapAction>http://developer.cognos.com/schemas/metadataService/1.control</soapAction>
- <soapAction>http://www.ibm.com/xmlns/prod/cognos/metadataService/*/.control</soapAction>
- <soapAction>http://developer.cognos.com/schemas/metadataService/1.server</soapAction>
- <soapAction>http://www.ibm.com/xmlns/prod/cognos/metadataService/*/.server</soapAction>
- <soapAction>lineageUIService</soapAction>
- <soapAction>metadataUIService</soapAction>
- </service>
- </handler>
- <handler name="lineageHandler" classname="com.cognos.metadataService.ui.UIHandler"/>
- <handler name="lineageChainHandler" classname="com.cognos.pogo.handlers.logic.ChainHandler">
- <chain>
- <handler_ref name="pogo.auth_check"/>
- <handler_ref name="lineageHandler"/>
- <handler_ref name="bridge.response"/>
- <handler_ref name="pogo.respond"/>
- </chain>
- </handler>
- </handlers>
- <soapActions>
- <soapAction path="mda" handler="metadataService.mdaChainHandler"/>
- <soapAction path="metadataService" handler="metadataService.mdaChainHandler"/>
- <soapAction path="metadataService.server" handler="metadataService.mdaChainHandler"/>
- <soapAction path="http://developer.cognos.com/schemas/metadataService" handler="metadataService.mdaChainHandler"/>
- <soapAction path="http://developer.cognos.com/schemas/metadataService/1" handler="metadataService.mdaChainHandler"/>
- <soapAction path="http://www.ibm.com/xmlns/prod/cognos/metadataService/*/" handler="metadataService.mdaChainHandler"/>
- <soapAction path="http://developer.cognos.com/schemas/metadataService/1.high" handler="metadataService.mdaChainHandler"/>
- <soapAction path="http://www.ibm.com/xmlns/prod/cognos/metadataService/*/.high" handler="metadataService.mdaChainHandler"/>
- <soapAction path="http://developer.cognos.com/schemas/metadataService/1.session" handler="metadataService.mdaChainHandler"/>
- <soapAction path="http://www.ibm.com/xmlns/prod/cognos/metadataService/*/.session" handler="metadataService.mdaChainHandler"/>
- <soapAction path="http://developer.cognos.com/schemas/metadataService/1.absolute" handler="metadataService.mdaChainHandler"/>
- <soapAction path="http://www.ibm.com/xmlns/prod/cognos/metadataService/*/.absolute" handler="metadataService.mdaChainHandler"/>
- <soapAction path="http://developer.cognos.com/schemas/metadataService/1.control" handler="metadataService.mdaChainHandler"/>
- <soapAction path="http://www.ibm.com/xmlns/prod/cognos/metadataService/*/.control" handler="metadataService.mdaChainHandler"/>
- <soapAction path="http://developer.cognos.com/schemas/metadataService/1.server" handler="metadataService.mdaChainHandler"/>
- <soapAction path="http://www.ibm.com/xmlns/prod/cognos/metadataService/*/.server" handler="metadataService.mdaChainHandler"/>
- <soapAction path="lineageUIService" handler="metadataService.lineageChainHandler"/>
- <soapAction path="metadataUIService" handler="metadataService.lineageChainHandler"/> <!-- an alias to the main JSP handler -->
- </soapActions>
- <attributes>
- <attribute>advancedSettings</attribute>
- <attribute>mdsAffineConnections </attribute>
- <attribute>mdsAuditLevel</attribute>
- <attribute>mdsExecutionTimeLimit</attribute>
- <attribute>mdsNonAffineConnections</attribute>
- <attribute>mdsPeakAffineConnections</attribute>
- <attribute>mdsMaximumProcesses</attribute>
- <attribute>mdsPeakMaximumProcesses</attribute>
- <attribute>mdsQueueLimit</attribute>
- <attribute>runningState</attribute>
- </attributes>
- </service>
|