Skip Headers
Oracle® Health Sciences Mobile Clinical Research Associate Server Installation and Configuration Guide
Release 1.3

E38578-04
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
PDF · Mobi · ePub

B Sample XML Files

This appendix provides the following sample XML files, which you may use to customizing the configuration file:

B.1 Config.xml

<?xml version='1.0' encoding='UTF-8'?>
<deployment-plan xmlns="http://xmlns.oracle.com/weblogic/deployment-plan"
                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                 xsi:schemaLocation="http://xmlns.oracle.com/weblogic/deployment-plan http://xmlns.oracle.com/weblogic/deployment-plan/1.0/deployment-plan.xsd"
                 global-variables="false">
    <application-name>oracle.hs.mobilecra.ear</application-name>
    <variable-definition>
        <variable>
            <name>ctmsAdapter.hostname</name>
            <value></value>
        </variable>
        <!-- If port is not defined then default it to 0 -->
        <variable>
            <name>ctmsAdapter.port</name>
            <value></value>
        </variable>
        <variable>
            <name>useCDA</name>
            <value></value>
        </variable>
        <variable>
            <name>adaptiveSaag.version</name>
            <value></value>
        </variable>
        <variable>
            <name>adaptiveSaag.url</name>
            <value></value>
        </variable>
        <variable>
            <name>adaptiveSaag.usekpi</name>
            <value></value>
        </variable>
        <variable>
            <name>pushNotificationEngine.maximumPoolSize</name>
            <value></value>
        </variable>
        <variable>
            <name>pushNotificationEngine.timeUnit</name>
            <value></value>
        </variable>
        <variable>
            <name>pushNotificationEngine.engineLockTimeout</name>
            <value></value>
        </variable>
        <variable>
            <name>notificationEngineScheduler.initialDelay</name>
            <value></value>
        </variable>
        <variable>
            <name>notificationEngineScheduler.period</name>
            <value></value>
        </variable>
        <variable>
            <name>notificationEngineScheduler.timeUnit</name>
            <value></value>
        </variable>
        <variable>
            <name>cdaAdapter.wsdlLocation</name>
            <value></value>
        </variable>
        <variable>
            <name>pushNotificationService.url</name>
            <value></value>
        </variable>
        <variable>
            <name>mobilecraLog.Level</name>
            <value>INFO</value>
        </variable>
        <variable>
            <name>tripReport.maxBeanPoolSize</name>
            <value></value>
        </variable>
        <variable>
            <name>tripReport.initialBeanPoolSize</name>
            <value></value>
        </variable>
    </variable-definition>
    <module-override>
        <module-name>oracle.hs.mobilecra.war</module-name>
        <module-type>war</module-type>
        <module-descriptor external="false">
            <root-element>web-app</root-element>
            <uri>WEB-INF/web.xml</uri>
            <variable-assignment>
                <name>ctmsAdapter.hostname</name>
                <xpath>/web-app/context-param/[param-name="ctmsAdapter.hostname"]/param-value</xpath>
                <operation>replace</operation>
            </variable-assignment>
            <variable-assignment>
                <name>ctmsAdapter.port</name>
                <xpath>/web-app/context-param/[param-name="ctmsAdapter.port"]/param-value</xpath>
                <operation>replace</operation>
            </variable-assignment>
            <variable-assignment>
                <name>useCDA</name>
                <xpath>/web-app/context-param/[param-name="useCDA"]/param-value</xpath>
                <operation>replace</operation>
            </variable-assignment>
            <variable-assignment>
<name>adaptiveSaag.version</name>
                <xpath>/web-app/context-param/[param-name="adaptiveSaag.version"]/param-value</xpath>
                <operation>replace</operation>
            </variable-assignment>
            <variable-assignment>
                <name>adaptiveSaag.url</name>
                <xpath>/web-app/context-param/[param-name="adaptiveSaag.url"]/param-value</xpath>
                <operation>replace</operation>
            </variable-assignment>
            <variable-assignment>
                <name>adaptiveSaag.usekpi</name>
                <xpath>/web-app/context-param/[param-name="adaptiveSaag.usekpi"]/param-value</xpath>
                <operation>replace</operation>
            </variable-assignment>
            <variable-assignment>
                <name>pushNotificationEngine.maximumPoolSize</name>
                <xpath>/web-app/context-param/[param-name="pushNotificationEngine.maximumPoolSize"]/param-value</xpath>
                <operation>replace</operation>
            </variable-assignment>
            <variable-assignment>
                <name>pushNotificationEngine.timeUnit</name>
                <xpath>/web-app/context-param/[param-name="pushNotificationEngine.timeUnit"]/param-value</xpath>
                <operation>replace</operation>
            </variable-assignment>
            <variable-assignment>
                <name>pushNotificationEngine.engineLockTimeout</name>
                <xpath>/web-app/context-param/[param-name="pushNotificationEngine.engineLockTimeout"]/param-value</xpath>
                <operation>replace</operation>
            </variable-assignment>
            <variable-assignment>
                <name>notificationEngineScheduler.initialDelay</name>
                <xpath>/web-app/context-param/[param-name="notificationEngineScheduler.initialDelay"]/param-value</xpath>
                <operation>replace</operation>
            </variable-assignment>
            <variable-assignment>
                <name>notificationEngineScheduler.period</name>
                <xpath>/web-app/context-param/[param-name="notificationEngineScheduler.period"]/param-value</xpath>
                <operation>replace</operation>
            </variable-assignment>
            <variable-assignment>
                <name>notificationEngineScheduler.timeUnit</name>
                <xpath>/web-app/context-param/[param-name="notificationEngineScheduler.timeUnit"]/param-value</xpath>
                <operation>replace</operation>
            </variable-assignment>
            <variable-assignment>
                <name>cdaAdapter.wsdlLocation</name>
                <xpath>/web-app/context-param/[param-name="cdaAdapter.wsdlLocation"]/param-value</xpath>
                <operation>replace</operation>
            </variable-assignment>
            <variable-assignment>
                <name>pushNotificationService.url</name>
                <xpath>/web-app/context-param/[param-name="pushNotificationService.url"]/param-value</xpath>
                <operation>replace</operation>
            </variable-assignment>
            <variable-assignment>
                <name>mobilecraLog.Level</name>
                <xpath>/web-app/context-param/[param-name="mobilecraLog.Level"]/param-value</xpath>
                <operation>replace</operation>
            </variable-assignment>
        </module-descriptor>
    </module-override>
    <module-override>
        <module-name>tripreport_messaging.jar</module-name>
        <module-type>ejb</module-type>
        <module-descriptor external="false">
            <root-element>weblogic-ejb-jar</root-element>
            <uri>META-INF/weblogic-ejb-jar.xml</uri>
            <variable-assignment>
                <name>tripReport.maxBeanPoolSize</name>
                <xpath>/weblogic-ejb-jar/weblogic-enterprise-bean/[ejb-name="TripReportAQMDBBeanBean"]/message-driven-descriptor/pool/max-beans-in-free-pool</xpath>
                <operation>replace</operation>
            </variable-assignment>
            <variable-assignment>
                <name>tripReport.initialBeanPoolSize</name>
                <xpath>/weblogic-ejb-jar/weblogic-enterprise-bean/[ejb-name="TripReportAQMDBBeanBean"]/message-driven-descriptor/pool/initial-beans-in-free-pool</xpath>
                <operation>replace</operation>
            </variable-assignment>
        </module-descriptor>
    </module-override>
    <config-root></config-root>
</deployment-plan>

B.2 Plan.xml

<?xml version='1.0' encoding='UTF-8'?>
<deployment-plan xmlns="http://xmlns.oracle.com/weblogic/deployment-plan"
                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                 xsi:schemaLocation="http://xmlns.oracle.com/weblogic/deployment-plan http://xmlns.oracle.com/weblogic/deployment-plan/1.0/deployment-plan.xsd"
                 global-variables="false">
    <application-name>oracle.hs.mobilecra.ear</application-name>
    <variable-definition>
        <variable>
            <name>ctmsAdapter.hostname</name>
            <value>servername.domain.com</value>
        </variable>
        <!-- If port is not defined then default it to 0 -->
        <variable>
            <name>ctmsAdapter.port</name>
            <value><0></value>
        </variable>
        <variable>
            <name>useCDA</name>
            <value>true</value>
        </variable>
        <variable>
            <name>pushNotificationEngine.maximumPoolSize</name>
            <value>5</value>
        </variable>
        <variable>
            <name>pushNotificationEngine.timeUnit</name>
            <value>seconds</value>
        </variable>
        <variable>
            <name>pushNotificationEngine.engineLockTimeout</name>
            <value>10</value>
        </variable>
        <variable>
            <name>notificationEngineScheduler.initialDelay</name>
            <value>40</value>
        </variable>
        <variable>
            <name>notificationEngineScheduler.period</name>
            <value>300</value>
        </variable>
        <variable>
            <name>notificationEngineScheduler.timeUnit</name>
            <value>seconds</value>
        </variable>
        <variable>
            <name>cdaAdapter.wsdlLocation</name>
            <value>http://<servername>/analytics/saw.dll?WSDL</value>
        </variable>
        <variable>
            <name>pushNotificationService.url</name>
            <value><notificationservername.domain.com></value>
        </variable>
        <variable>
            <name>mobilecraLog.Level</name>
            <value></value>
        </variable>
        <variable>
            <name>tripReport.maxBeanPoolSize</name>
            <value>10</value>
        </variable>
        <variable>
            <name>tripReport.initialBeanPoolSize</name>
            <value>10</value>
        </variable>
    </variable-definition>
    <module-override>
        <module-name>oracle.hs.mobilecra.war</module-name>
        <module-type>war</module-type>
        <module-descriptor external="false">
            <root-element>web-app</root-element>
            <uri>WEB-INF/web.xml</uri>
            <variable-assignment>
                <name>ctmsAdapter.hostname</name>
                <xpath>/web-app/context-param/[param-name="ctmsAdapter.hostname"]/param-value</xpath>
                <operation>replace</operation>
            </variable-assignment>
            <variable-assignment>
                <name>ctmsAdapter.port</name>
                <xpath>/web-app/context-param/[param-name="ctmsAdapter.port"]/param-value</xpath>
                <operation>replace</operation>
            </variable-assignment>
            <variable-assignment>
                <name>useCDA</name>
                <xpath>/web-app/context-param/[param-name="useCDA"]/param-value</xpath>
                <operation>replace</operation>
            </variable-assignment>
                    <variable-assignment>
               <name>pushNotificationEngine.maximumPoolSize</name>
 
<xpath>/web-app/context-param/[param-name="pushNotificationEngine.maximumPoolSize"
]/param-value</xpath>
                 <operation>replace</operation>
            </variable-assignment>
            <variable-assignment>
                <name>pushNotificationEngine.timeUnit</name>
                <xpath>/web-app/context-param/[param-name="pushNotificationEngine.timeUnit"]/param-value</xpath>
                <operation>replace</operation>
            </variable-assignment>
            <variable-assignment>
                <name>pushNotificationEngine.engineLockTimeout</name>
                <xpath>/web-app/context-param/[param-name="pushNotificationEngine.engineLockTimeout"]/param-value</xpath>
                <operation>replace</operation>
            </variable-assignment>
            <variable-assignment>
                <name>SimpleScheduler.initialDelay</name>
                <xpath>/web-app/context-param/[param-name="notificationEngineScheduler.initialDelay"]/param-value</xpath>
                <operation>replace</operation>
            </variable-assignment>
            <variable-assignment>
                <name>SimpleScheduler.period</name>
                <xpath>/web-app/context-param/[param-name="notificationEngineScheduler.period"]/param-value</xpath>
                <operation>replace</operation>
            </variable-assignment>
            <variable-assignment>
                <name>notificationEngineScheduler.timeUnit</name>
                <xpath>/web-app/context-param/[param-name="notificationEngineScheduler.timeUnit"]/param-value</xpath>
                <operation>replace</operation>
            </variable-assignment>
            <variable-assignment>
                <name>cdaAdapter.wsdlLocation</name>
                <xpath>/web-app/context-param/[param-name="cdaAdapter.wsdlLocation"]/param-value</xpath>
                <operation>replace</operation>
            </variable-assignment>
            <variable-assignment>
                <name>pushNotificationService.url</name>
                <xpath>/web-app/context-param/[param-name="pushNotificationService.url"]/param-value</xpath>
                <operation>replace</operation>
            </variable-assignment>
            <variable-assignment>
                <name>mobilecraLog.Level</name>
                <xpath>/web-app/context-param/[param-name=" mobilecraLog.Level"]/param-value</xpath>
                <operation>replace</operation>
            </variable-assignment>
        </module-descriptor>
    </module-override>
    <module-override>
        <module-name>tripreport_messaging.jar</module-name>
        <module-type>ejb</module-type>
        <module-descriptor external="false">
            <root-element>weblogic-ejb-jar</root-element>
            <uri>META-INF/weblogic-ejb-jar.xml</uri>
            <variable-assignment>
                <name>tripReport.maxBeanPoolSize</name>
                <xpath>/weblogic-ejb-jar/weblogic-enterprise-bean/[ejb-name="TripReportAQMDBBeanBean"]/message-driven-descriptor/pool/max-beans-in-free-pool</xpath>
                <operation>replace</operation>
            </variable-assignment>
            <variable-assignment>
                <name>tripReport.initialBeanPoolSize</name>
                <xpath>/weblogic-ejb-jar/weblogic-enterprise-bean/[ejb-name="TripReportAQMDBBeanBean"]/message-driven-descriptor/pool/initial-beans-in-free-pool</xpath>
                <operation>replace</operation>
            </variable-assignment>
        </module-descriptor>
    </module-override>
    <config-root></config-root>
</deployment-plan>