123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230 |
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: XQE
- (C) Copyright IBM Corp. 2008, 2020
- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- -->
- <service xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="queryService" class="com.cognos.pogo.services.SoapActionHandlerService" registerInCM="true" CMdefaultName="QueryService">
- <prerequisites>
- <prerequisite disabledProperty="qsIsEnabled"/>
- </prerequisites>
- <handlers>
- <handler name="queryAsyncHandler" classname="com.cognos.pogo.async.impl.AsyncHandler" threadBaseName="QueryService-Thread-" wrappedHandler="queryService.queryServiceHandler" expiryCheckIntervalms="10000" abandonLimit="4" graceLimit="8"/>
- <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">
- <target>
- <!-- These VM arguments are generated later... with the right values populated
- <child-proc-cmd>-Duser.dir=</child-proc-cmd>
- <child-proc-cmd>-Dcubingservices_home=</child-proc-cmd>
- <child-proc-cmd>-DParentProcessPort=</child-proc-cmd>
- <child-proc-cmd>-Djava.library.path=</child-proc-cmd>
- <child-proc-cmd>-classpath</child-proc-cmd>
- -->
- <!-- DO NOT EDIT -->
- <child-proc-cmd>-DenableTraceServer</child-proc-cmd>
- <child-proc-cmd>-ea</child-proc-cmd>
- <child-proc-cmd>-Dorg.dom4j.QName.singleton.strategy=org.dom4j.util.PerThreadSingleton</child-proc-cmd>
- <child-proc-cmd>-Dorg.dom4j.DocumentFactory.singleton.strategy=org.dom4j.util.PerThreadSingleton</child-proc-cmd>
- <!-- END OF DO NOT EDIT -->
-
- <!--
- Uncomment to enable remote debugging (change port as required).
- <child-proc-cmd>-Xdebug</child-proc-cmd>
- <child-proc-cmd>-Xnoagent</child-proc-cmd>
- <child-proc-cmd>-Xrunjdwp:transport=dt_socket,address=9092,server=y,suspend=n</child-proc-cmd>
- -->
- <!-- Note: The JIT compiler rarely causes the compiled code to be misaligned with the source. If it happens,
- uncomment the following line and set the resource names accordingly.
- <child-proc-cmd>-Xjit:exclude={com/ibm/cognos/<package>*|com/ibm/cognos/<package>/<class>.<method>}</child-proc-cmd>-->
-
- <!-- Uncomment to enable JMX remote access. This is unsecure, do not enable in a production environment without setting up jmx security
- <child-proc-cmd>-Dcom.sun.management.jmxremote.port=9093</child-proc-cmd>
- <child-proc-cmd>-Dcom.sun.management.jmxremote.authenticate=false</child-proc-cmd>
- <child-proc-cmd>-Dcom.sun.management.jmxremote.ssl=false</child-proc-cmd>
- -->
- <!-- Uncomment to enable YourKit profiling (change path as necessary)
- <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>
- <child-proc-cmd>-Xnojit</child-proc-cmd>
- -->
-
- <!-- DO NOT REMOVE THE FOLLOWING LINE. IT IS REQUIRED FOR AUTOMATION TO INJECT CUSTOM ARGUMENTS. -->
- <!--JVM_OPTS_PLACEHOLDER-->
- <child-proc-cmd>-javaagent:bin/tools/ws-javaagent.jar</child-proc-cmd>
- <child-proc-cmd>-jar</child-proc-cmd>
- <child-proc-cmd>bin/tools/ws-server.jar</child-proc-cmd>
- <child-proc-cmd>dataset-service</child-proc-cmd>
- <init-param>
- <!-- This sets where the CS home directory is -->
- <param-name>CS_HOME</param-name>
- <param-value>../v5dataserver</param-value>
- </init-param>
- <init-param>
- <!-- The jar files to be loaded -->
- <param-name>JARS</param-name>
- <param-value>../bin/javax.servlet-api-3.0.1.jar</param-value>
- </init-param>
- <init-param>
- <!-- The directories where JAR files are to be loaded.
- The classpath generated will contain each .jar file in these directories -->
- <param-name>JAR_DIRS</param-name>
- <param-value>../v5dataserver/lib;../v5dataserver/lib/ext;../webapps/p2pd/WEB-INF/lib;../drivers</param-value>
- </init-param>
- <init-param>
- <!-- The directories where classes and resource files are to be loaded -->
- <param-name>CLASSES_DIRS</param-name>
- <param-value>../webapps/p2pd/WEB-INF/classes</param-value>
- </init-param>
- <init-param>
- <param-name>exe_name</param-name>
- <param-value>java${os.executable.extension}</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 CS process 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>/dataset-service/v1/datasets/soap</param-value>
- </init-param>
- <init-param>
- <!-- The maximum number of processes that can be running at one time -->
- <!-- IGNORED, but must be present -->
- <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>
- <!-- 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 ppserver 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>
- <init-param>
- <!-- The time interval (ms) the dispatcher will schedule a timer task to run to check for non existent processes;
- a value of 0 means no check is performed -->
- <param-name>process_cleaner_interval</param-name>
- <param-value>10000</param-value>
- </init-param>
- </target>
- </handler>
- <handler name="queryChainHandler" classname="com.cognos.pogo.handlers.logic.ChainHandler">
- <chain>
- <handler_ref name="pogo.auth_check"/>
- <handler_ref name="ExecuteLocallyHandler"/>
- <handler_ref name="prepareConversationContext"/>
- <handler_ref name="queryAsyncHandler"/>
- <handler_ref name="bridge.response"/>
- <handler_ref name="pogo.respond"/>
- </chain>
- </handler>
- <handler name="ExecuteLocallyHandler" classname="com.cognos.pogo.handlers.util.ExecuteLocallyHandler" sourceAffinity="absolute" targetAffinity="server"/>
- <handler name="serviceStatus" classname="com.cognos.pogo.handlers.engine.ServiceStatusHandler" dispatcherStateHandler="dispatcher.dispatcherStatusHandler" serviceName="queryService" skip_on_fault="false"/>
- <handler name="prepareConversationContext" classname="com.cognos.pogo.handlers.tracking.PrepareConversationContextHandler"/>
- <handler name="remoteBalanceHandler" classname="com.cognos.p2plb.clerver.actions.RemoteBalanceHandler">
- <service name="queryService">
- <forwarding delayBetweenAttempts="0" maxAttempts="1" retryOnNoProcess="false"/>
- <soapAction>http://developer.cognos.com/schemas/queryService</soapAction>
- <soapAction>http://developer.cognos.com/schemas/queryService/1</soapAction>
- <soapAction>http://developer.cognos.com/schemas/queryService/1.high</soapAction>
- <soapAction>http://developer.cognos.com/schemas/queryService/1.session</soapAction>
- <soapAction>http://developer.cognos.com/schemas/queryService/1.control</soapAction>
- <soapAction>http://developer.cognos.com/schemas/queryService/1.server</soapAction>
- <soapAction>http://www.ibm.com/xmlns/prod/cognos/queryService/*/</soapAction>
- <soapAction>http://www.ibm.com/xmlns/prod/cognos/queryService/*/.high</soapAction>
- <soapAction>http://www.ibm.com/xmlns/prod/cognos/queryService/*/.session</soapAction>
- <soapAction>http://www.ibm.com/xmlns/prod/cognos/queryService/*/.control</soapAction>
- <soapAction>http://www.ibm.com/xmlns/prod/cognos/queryService/*/.server</soapAction>
- </service>
- </handler>
- </handlers>
- <soapActions>
- <soapAction path="http://developer.cognos.com/schemas/queryService" handler="queryService.queryChainHandler"/>
- <soapAction path="http://developer.cognos.com/schemas/queryService/1" handler="queryService.queryChainHandler"/>
- <soapAction path="http://developer.cognos.com/schemas/queryService/1.high" handler="queryService.queryChainHandler"/>
- <soapAction path="http://developer.cognos.com/schemas/queryService/1.session" handler="queryService.queryChainHandler"/>
- <soapAction path="http://developer.cognos.com/schemas/queryService/1.absolute" handler="queryService.queryChainHandler"/>
- <soapAction path="http://developer.cognos.com/schemas/queryService/1.control" handler="queryService.queryChainHandler"/>
- <soapAction path="http://developer.cognos.com/schemas/queryService/1.server" handler="queryService.queryChainHandler"/>
- <soapAction path="http://www.ibm.com/xmlns/prod/cognos/queryService/*/" handler="queryService.queryChainHandler"/>
- <soapAction path="http://www.ibm.com/xmlns/prod/cognos/queryService/*/.high" handler="queryService.queryChainHandler"/>
- <soapAction path="http://www.ibm.com/xmlns/prod/cognos/queryService/*/.session" handler="queryService.queryChainHandler"/>
- <soapAction path="http://www.ibm.com/xmlns/prod/cognos/queryService/*/.absolute" handler="queryService.queryChainHandler"/>
- <soapAction path="http://www.ibm.com/xmlns/prod/cognos/queryService/*/.control" handler="queryService.queryChainHandler"/>
- <soapAction path="http://www.ibm.com/xmlns/prod/cognos/queryService/*/.server" handler="queryService.queryChainHandler"/>
- <soapAction path="http://www.ibm.com/xmlns/prod/cognos/queryService/*/.local" handler="queryService.queryChainHandler"/>
- </soapActions>
- <!-- 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. -->
- <attributes>
- <attribute>qsAuditLevel</attribute>
- <attribute>qsDisableQueryPlanCache</attribute>
- <attribute>qsDumpModelToFile</attribute>
- <attribute>qsIdleConnectionTimeout</attribute>
- <attribute>qsQueryExecutionTrace</attribute>
- <attribute>qsQueryPlanningTrace</attribute>
- <attribute>qsInitialJVMHeapSize</attribute>
- <attribute>qsJVMHeapSizeLimit</attribute>
- <attribute>qsAdditionalJVMArguments</attribute>
- <attribute>qsManualCubeStart</attribute>
- <attribute>qsROLAPCubeAdministrationCommandTimeout</attribute>
- <attribute>qsROLAPCubeConfigurations</attribute>
- <attribute>qsMultiDimensionalQuerySizeLimit</attribute>
- <attribute>qsROLAPMemberCacheAliasRoot</attribute>
- <attribute>qsDisableVerboseGCLogging</attribute>
- <attribute>qsVerboseGCLogLimit</attribute>
- <attribute>qsGCPolicy</attribute>
- <attribute>qsInitialJVMNurserySize</attribute>
- <attribute>qsJVMNurserySizeLimit</attribute>
- <attribute>qsGenerateCommentsInNativeSQL</attribute>
- </attributes>
- </service>
|