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
Go to next page
Next
PDF · Mobi · ePub

4 Configuring the Oracle WebLogic Server for Mobile Clinical Research Associate Server

This chapter includes the following sections:

Note:

For information about installing Oracle WebLogic Server, see http://docs.oracle.com/cd/E23943_01/doc.1111/e14142/toc.htm.

4.1 Configuring Oracle WebLogic Server

You need to define a data source to point the WebLogic Server (WLS) to the database where the Mobile CRA Server database component is installed.

This section contains the following topics:

4.1.1 Configuring Data Source Mobile Server

To configure data source mobile server, perform the following:

  1. Log in to Oracle WebLogic Server (WLS) as admin by entering the URL (for example, http://<server:port number>/console).

  2. Click Lock and Edit in the Change Center panel on the left side.

  3. Click Services in the Domain Structure window.

  4. Select Data Sources.

    The Summary of JDBC data sources is displayed on the right-side window panel.

  5. Click New and select Generic Data Source from the list.

  6. In the JDBC Data Source Properties screen, perform the following:

    1. Enter the name.

      Oracle recommends that the name should match the JNDI name.

    2. Enter jdbc/mobilecra as the name and JNDI name to connect to MCSV_ADMIN schema.

    3. Enter Oracle as the database type.

    4. Click Next.

    5. In the Database Driver field, select the default value, that is, Oracle's Driver (Thin XA) for instance connections (versions: 9.0.1 and above).

    6. Click Next.

  7. Click Next on the Transaction Options screen.

  8. In the Connection Properties screen, perform the following:

    1. Enter the SID in the Database Name field.

    2. Enter the server where mobile server database is hosted.

    3. Enter the port number for the database.

    4. Enter the Mobile CRA server database user name where it is hosted.

    5. Enter password for the database user.

    6. Re-enter the password in the Confirm password field.

    7. Click Next.

      The Properties, System Properties, and Test Table Name fields are displayed on the screen.

    8. Click Test Configuration.

      If the test is successful, the message Connection test succeeded is displayed on the screen.

    9. Click Next.

      The Select Targets screen is displayed with the list of servers.

  9. Select the server where the Mobile CRA Server is installed.

  10. Click Finish.

  11. After creating jdbc/mobilecra, click Activate Changes in the Change Center panel.

4.1.2 Configuring Data Source Alert Engine

To configure data source alert engine, perform the following:

  1. Log in to WLS as admin by entering the URL (for example, http://<server:port number>/console).

  2. Click Lock and Edit in the Change Center panel on the left side.

  3. Click Services in the Domain Structure window.

  4. Select Data Sources.

    The Summary of JDBC Data Sources is displayed on the right-side window panel.

  5. Click New and select Generic Data Source from the list.

  6. In the JDBC Data Source Properties screen, perform the following:

    1. Enter the name.

      Oracle recommends that the name should match the JNDI name.

    2. Enter jdbc/ae as the name and JNDI name to connect to MCRE_ADMIN schema.

    3. Enter Oracle as the database type.

    4. Click Next.

    5. In the Database Driver field, select the default value, that is, Oracle's Driver (Thin XA) for instance connections (versions: 9.0.1 and above).

    6. Click Next.

  7. Click Next on the Transaction Options screen.

  8. In the Connection Properties screen, perform the following:

    1. Enter the SID in the Database Name field.

    2. Enter the server where alert engine database is hosted.

    3. Enter the port number for database.

    4. Enter the alert engine database user name where it is hosted.

    5. Enter password for the database user.

    6. Re-enter the password in the Confirm password field.

    7. Click Next.

      The Properties, System Properties, and Test Table Name fields are displayed on the screen.

    8. Click Test Configuration.

      If the test is successful, the message Connection test succeeded is displayed on the screen.

    9. Click Next.

      The Select Targets screen is displayed with the list of servers.

  9. Select the server where the Mobile CRA Server is installed.

  10. Click Finish.

  11. After creating jdbc/ae, click Activate Changes in the Change Center panel.

  12. Exit the Oracle WebLogic server.

4.1.3 Configuring Data Source Server Advanced Queuing

To configure data source Server AQ, perform the following:

  1. Log in to WLS as admin by entering the URL (for example, http://<server:port number>/console).

  2. Click Lock and Edit in the Change Center panel on the left side.

  3. Click Services in the Domain Structure window.

  4. Select Data Sources.

    The Summary of JDBC Data Sources is displayed on the right-side window panel.

  5. Click New and select Generic Data Source from the list.

  6. In the JDBC Data Source Properties screen, perform the following:

    1. Enter the name.

      Oracle recommends that the name should match the JNDI name.

    2. Enter jdbc/mobileaq as the name and JNDI name to connect to MCAQ_ADMIN schema.

    3. Enter Oracle as the database type.

    4. Click Next.

    5. In the Database Driver field, select the default value, that is, Oracle's Driver (Thin XA) for instance connections (versions: 9.0.1 and above).

    6. Click Next.

  7. Click Next on the Transaction Options screen.

  8. In the Connection Properties screen, perform the following:

    1. Enter the SID in the Database Name field.

    2. Enter the server where AQ database is hosted.

    3. Enter the port number for database.

    4. Enter the AQ database user name where it is hosted.

    5. Enter password for the database user.

    6. Re-enter the password in the Confirm password field.

    7. Click Next.

      The Properties, System Properties, and Test Table Name fields are displayed on the screen.

    8. Click Test Configuration.

      If the test is successful, the message Connection test succeeded is displayed on the screen.

    9. Click Next.

      The Select Targets screen is displayed with the list of servers.

  9. Select the server where the Mobile CRA Server is installed.

  10. Click Finish.

  11. After creating jdbc//mobileaq, click Activate Changes in the Change Center panel.

  12. Exit the Oracle WebLogic server.

4.1.4 Installing the Mobile CRA Server

4.1.4.1 Installing oracle.hs.Mobile CRA.cda.war on Oracle WebLogic Server

To install oracle.hs.Mobile CRA.cda.war on WebLogic server, perform the following:

  1. Download Mobile CRA_Server_CDA_Adapter.zip to a local folder and unzip it to extract the oracle.hs.Mobile CRA.cda.war file.

  2. Log in to the Oracle WebLogic Server Administration Console.

  3. Within Server Administration, select Deployments.

    Figure 4-1 Selecting Deployments

    Description of Figure 4-1 follows
    Description of "Figure 4-1 Selecting Deployments"

    The Summary of Deployments screen is displayed.

  4. Select Install to install the application.

  5. Browse the directory where the install package is located.

    Figure 4-2 Browsing the Directory

    Description of Figure 4-2 follows
    Description of "Figure 4-2 Browsing the Directory"

  6. Select the oracle.hs.Mobile CRA.cda.war file.

  7. Select the Install this deployment as a library option.

    Figure 4-3 Selecting the Targeting Style

    Description of Figure 4-3 follows
    Description of "Figure 4-3 Selecting the Targeting Style"

  8. Select default settings as displayed in Figure 4-4.

    Figure 4-4 Selecting the Default Settings

    Description of Figure 4-4 follows
    Description of "Figure 4-4 Selecting the Default Settings"

  9. Select Finish to complete installation.

  10. Click Activate Changes.

4.1.4.2 Installing oracle.hs.Mobile CRA.ctms.war on Oracle WebLogic Server

To install oracle.hs.Mobile CRA.ctms.war on WLS, follow the similar steps in Section 4.1.4.1, "Installing oracle.hs.Mobile CRA.cda.war on Oracle WebLogic Server".

4.1.4.3 Installing oracle.hs.Mobile CRA.ear on Oracle WebLogic Server

Note:

Before you install oracle.hs.Mobile CRA.ear, you must define notificationService.credential.

For more information about defining notificationService.credential, see the Oracle Health Sciences Mobile Clinical Research Associate Server Security Guide.

To install oracle.hs.Mobile CRA.ear on WLS, perform the following:

  1. Log in to the Oracle WebLogic Server Administration Console.

  2. Within Server Administration, select Deployments.

    The Summary of Deployments screen is displayed.

  3. Select Install to install the application.

  4. Browse the directory where the install package is located.

  5. Select the oracle.hs.Mobile CRA.ear file.

  6. Select the Install this deployment as an application option.

  7. Select default settings as displayed in Figure 4-5.

    Specify the name as oracle.hs.mobilecra.

    Figure 4-5 Selecting the Default Settings

    Description of Figure 4-5 follows
    Description of "Figure 4-5 Selecting the Default Settings"

  8. Select Finish to complete installation.

  9. Click Activate Changes.

4.1.5 Customizing the Configuration File

To customize the configuration file, perform the following:

  1. From the Config folder of the media pack, select Config.xml

    This is a template file where you have to update values for customization.

  2. Create a copy of Config.xml and save it as Plan.xml.

    For examples of Config.xml and Plan.xml files, see Appendix B.

  3. Modify configuration values for your environment.

    The plan.xml file lets you configure your Mobile CRA Server application to point to the right CTMS and OCDA server, push notification schedule, alert engine schedule, and so on.

    Some of the basic configurations such as CTMS server information has to be setup for the application to work but the advanced configuration such as push notification configurations may be modified to suit your schedule and performance needs.

    Following are the basic settings to change in the Plan.xml file:

    • ctmsApdater.hostname - The name of the CTMS host to which the mobile instance should connect for accessing and manipulating data. For example, server.domain.com.

    • ctmsAdpater.port - The CTMS port host. For example, 8080. If the default port is used, enter a value 0 instead of null.

    • useCDA - Use this parameter to select or deselect the OCDA option. The valid values are True and False.

      If the parameter is set to True, the system uses the value for the KPIs for SAAG, subscriptions, and alerts from OCDA configurations.

      If the parameter is set to False, the system uses the value for the KPIs for SAAG, subscriptions, and alerts from ASAAG configurations.

    • pushNotificationEngine.timeUnit - The time-out unit of the notification engine on the push notification server. For example, seconds.

    • notificationEngineScheduler.timeUnit - The time-out unit of scheduler on the push notification server. For example, seconds.

    • cdaAdapter.wsdlLocation - This is the URL of the OBIEE Web service wsdl location. Mobile CRA Server uses the OBIEE server for alerts and notifications. For example, http://<ocdaserver>/analytics/saw.dll?WSDL.

    • pushNotificationService.url - If you are using alerts and notifications, use this to set the URL of the push notification service. This is the URL of the hosted service provided by Oracle. For example, pushNotificationserver.domain.com:port (if port number is given).

    • notificationEngineScheduler.period and notificationEngineScheduler.timeUnit - If you are using alerts and notifications, use this to set the schedule for the notification engine.

      notificationEngineScheduler.period along with notificationEngineScheduler.timeUnit defines the schedule for the notification scheduler. A value of 300 for notificationEngineScheduler.period along with a value of seconds for notificationEngineScheduler.timeUnit specifies a schedule of 300 seconds. Valid values for notificationEngineScheduler.timeUnit are seconds, minutes, and hours.

    Advanced settings:

    • pushNotificationEngine.maximumPoolSize - The maximum number of threads in the pool for the push notification engine. The valid values are integer values.

    • pushNotificationEngine.engineLockTimeout - The duration the service should wait for the push notification engine to respond.

    • notificationEngineScheduler.initialDelay - The initial delay after which the notification starts after each WLS restart.

    • mobilecraLog.Level - Set this parameter to set up log levels. For example, INFO.

      The following are levels in descending order:

      SEVERE (highest value)

      WARNING

      INFO

      CONFIG

      FINE

      FINER

      FINEST (lowest value)

    • tripReport.maxBeanPoolSize - The maximum bean pool size of the trip report.

    • tripReport.initialBeanPoolSize - The initial bean pool size of the trip report.

    Note:

    The same settings are applicable for Alert Engine Scheduler.
  4. Save Plan.xml to the machine where Oracle WebLogic is installed.

  5. Upload Plan.xml file on the server as follows:

    1. In the Deployments table, select oracle.hs.Mobile CRA.

    2. Click Update.

      Figure 4-6 Deployments Table

      Description of Figure 4-6 follows
      Description of "Figure 4-6 Deployments Table"

    3. In the Update Application Assistant wizard, select Update this application in place with new deployment plan changes, and click Change Path.

      Figure 4-7 Changing the Deployment Plan Path

      Description of Figure 4-7 follows
      Description of "Figure 4-7 Changing the Deployment Plan Path"

    4. In the Path field, specify the deployment path of your environment specific Plan.xml file to upload it to the server.

      Figure 4-8 Specifying the Deployment Path

      Description of Figure 4-8 follows
      Description of "Figure 4-8 Specifying the Deployment Path"

    5. Click Finish.

4.1.6 Configuring Data Source Adaptive Site-at-a-Glance Server

To configure data source mobile server, perform the following:

  1. Log in to Oracle WebLogic Server (WLS) as administrator by entering the URL.

    For example, http://<server:port number>/console

  2. Click Lock & Edit in the Change Center panel on the left side.

  3. Click Services in the Domain Structure window

  4. Select Data Sources.

    The Summary of JDBC data sources is displayed on the right side window panel.

  5. Click New and select Generic Data Source from the list.

  6. In the JDBC Data Source Properties screen, perform the following:

    1. Enter the name.

      Oracle recommends that the name should match the JNDI name.

    2. Enter jdbc/ossdb as the name and JNDI name to connect to MCSV_ ADMIN schema.

    3. Enter Oracle as the database type.

    4. Click Next.

    5. In the Database Driver field, select the default value, that is, Oracle's Driver (Thin XA) for instance connections (versions: 9.0.1 and above).

    6. Click Next.

  7. Click Next on the Transaction Options screen.

  8. In the Connection Properties screen, perform the following:

    1. Enter the SID in the Database Name field.

    2. Enter the server where mobile server database is hosted.

    3. Enter the port number for the database.

    4. Enter the Mobile CRA server database user name where it is hosted.

    5. Enter password for the database user.

    6. Re-enter the password in the Confirm password field.

    7. Click Next.

      The Properties, System Properties, and Test Table Name fields are displayed on the screen.

    8. Click Test Configuration.

      If the test is successful, the message Connection test succeeded is displayed on the screen.

    9. Click Next.

      The Select Targets screen is displayed with the list of servers.

  9. Select the server where the ASAAG Server will be installed.

  10. Click Finish.

  11. After creating jdbc/ossdb, click Activate Changes in the Change Center panel.

4.1.7 Installing the Adaptive Site-at-a-Glance Server

4.1.7.1 Installing oracle.hs.oss.ear on Oracle WebLogic Server

To install oracle.hs.oss.ear on WLS, perform the following:

  1. Log in to the Oracle WebLogic Server Administration Console.

  2. Within Server Administration, select Deployments.

    The Summary of Deployments screen is displayed.

  3. Select Install to install the application.

  4. Browse the directory where the install package is located.

  5. Select the oracle.hs.oss.ear file.

  6. Select the Install this deployment as an application option.

  7. Select default settings.

  8. Specify the name as oracle.hs.oss.

    Figure 4-9 Selecting Default Settings

    Surrounding text describes Figure 4-9 .
  9. Select Finish to complete installation.

  10. Click Activate Changes.

    Note:

    Restart Weblogic server once all the installation steps are completed for ASAAG Server.

4.1.7.2 Using Adaptive Site-at-a-Glance Token Jar

To generate and use ASAAG token using the ASAAG jar, use the createToken method of TokenService Class in the jar file.

For example,

TokenService service = TokenServiceFactory.getInstance().withServiceUrl("http://<server_url>").getTokenService();

String tokenString = service.createToken(<Id>, <Key>, <userId>, <Level>)

where,

  • Id: The ID of the source requesting the token.

  • Key: For details on generating the key, see Oracle Health Sciences Mobile Clinical Research Associate Server Application Programming Interface Guide.

  • Level: Used to identify user, source, or client. The valid entries are User, Source, or Client.

  • UserId: UserId of a user registered against the client.

For more information using ASAAG Rest API, see Oracle Health Sciences Mobile Clinical Research Associate Server Application Programming Interface Guide.

4.2 Configuring Security Using Enterprise Manager

For information about configuring security using Enterprise Manager, see Oracle Health Sciences Mobile Clinical Research Associate Server Security Guide.

4.3 Setting Up Oracle Advanced Queuing

The Mobile CRA Server uses Oracle AQ to send and receive asynchronous messages. Complete the following setup to configure Mobile CRA Server to use Oracle AQ.

  1. Navigate to Services, select Messaging, and then select JMS Modules.

    The JMS Module screen is displayed.

    Figure 4-10 JMS Module Screen

    Description of Figure 4-10 follows
    Description of "Figure 4-10 JMS Module Screen"

  2. Click Lock and Edit.

  3. Click New to create a new JMS module.

    The Create JMS System Module screen is displayed.

  4. Enter McraJmsSysMod as the name of your system module.

    Figure 4-11 Creating a New JMS Module

    Description of Figure 4-11 follows
    Description of "Figure 4-11 Creating a New JMS Module"

  5. Enter a descriptor file name (optional).

    If you do not provide the descriptor file name, a default file name is assigned.

  6. Specify the location where you may want to place the descriptor of this system module (optional).

  7. Click Next.

  8. In the Targets section, select the server or cluster on which you want to deploy this JMS system module.

    Figure 4-12 Selecting Target Server

    Description of Figure 4-12 follows
    Description of "Figure 4-12 Selecting Target Server"

  9. Click Next.

  10. Select Would you like to add resources to this JMS system module? if you want to add resources.

    Figure 4-13 Adding Resources to the JMS System Module

    Description of Figure 4-13 follows
    Description of "Figure 4-13 Adding Resources to the JMS System Module"

  11. Click Next.

  12. Click Finish.

    The list of resources type is displayed.

  13. Click New.

  14. Select Foreign Server as the resource.

    Figure 4-14 Selecting Type of Resource

    Description of Figure 4-14 follows
    Description of "Figure 4-14 Selecting Type of Resource"

    The Foreign Server Properties screen is displayed.

  15. Enter OracleAQFS as the foreign server name.

    Figure 4-15 Foreign Server Properties

    Description of Figure 4-15 follows
    Description of "Figure 4-15 Foreign Server Properties"

  16. Click Next.

    The Targets screen is displayed. Accept the default targets where the JMS resource is targeted.

    Figure 4-16 Accepting Default Target

    Description of Figure 4-16 follows
    Description of "Figure 4-16 Accepting Default Target"

    The foreign server is created successfully.

  17. Click Finish.

  18. Click OracleAQFS.

  19. In the Setting for OracleAQFS screen, select the Configuration tab.

  20. Select the General subtab and enter the JNDI initial context factory name as oracle.jms.AQjmsInitialContextFactory.

  21. Remove value from JNDI Connection URL and JNDI Properties Credential.

  22. Enter JNDI Properties as datasource=jdbc/mobileaq.

  23. Click Save to save the settings.

    A message is displayed indicating that the settings are updated.

  24. Select the Destinations subtab, click New, and enter the foreign destination properties in the Create a New Foreign JMS Destination screen.

    Name: /jms/aq/tripReportQueue

    JNDI Name: /jms/aq/tripReportQueue

    Remote JNDI Name: Queues/<schema>, in which mobileaq is installed. See Section 2.2.

    mobileaq.trip_report_queue is the queue that queues the trip report schema.

    mobileaq is the schema in which the MCAQ_ADMIN is installed. See Section 2.2.

    trip_report_queue is the queue in that schema, which the installer creates.

  25. Select Connection Factories subtab, click New, and enter the foreign connection factory properties in the Create a New Foreign JMS Connection Factory screen.

    Name: /jms/aq/mobileQueueCF

    Local JNDI Name: /jms/aq/mobileQueueCF

    Remote JNDI Name: XAQueueConnectionFactory

  26. Click OK.

  27. Click Activate Changes.

  28. Restart the server for changes to take effect.