6 Oracle AIA Post-Installation Tasks

This chapter describes tasks to perform after installing, configuring, and deploying Oracle Application Integration Architecture (Oracle AIA) pre-built integrations.

Overview of Oracle AIA Post-Installation Tasks

After installing Oracle AIA and configuring and deploying the pre-built integrations, you must perform different post-installation tasks depending on the pre-built integrations that you deployed.

Some tasks are required for more than one pre-built integration. Table 6-1 lists the tasks required for each pre-built integration.

The tasks described in "Development Post-Installation Tasks" are not required immediately after installation, but you may need to perform them while customizing your deployment and environment.

Post-Installation Tasks for All Pre-Built Integrations

The post-installation tasks described in this section are required for all pre-built integrations.

Importing Oracle AIA Libraries into Oracle JDeveloper

Before you can use JDeveloper to customize Oracle AIA content, you must import the Oracle AIA XPath functions into the JDeveloper library.

To import the Oracle AIA XPath functions:

  1. Open JDeveloper.

  2. From the Tools menu, select Preferences.

    The Preferences screen appears.

  3. Select the SOA node.

    The SOA Expression Builder appears.

  4. Click Add.

  5. Select the MW_home/soa/aiafp/lib/aia.jar file and click Open.

    The Oracle AIA library, including the Oracle AIA XPath functions, are added.

  6. Save and close the file.

To customize Oracle AIA processes:

  1. Copy the Oracle AIA composites and .jpr project files from Comms_home to the JDeveloper workspace.

  2. Modify the composites as required for your environment.

  3. Review your changes and copy the contents back to the Oracle AIA home directory in the same folder where you copied it from.

    This ensures that the modified code is made available to subsequent deployments in other environments.

  4. Deploy the composites using the AIA PIP deployment scripts.

For information about developing and deploying applications using JDeveloper, see Oracle Fusion Middleware Developing Applications with Oracle JDeveloper.

Note:

If you are maintaining source control for Comms_home contents, you must check the composites in to version control after copying them over to the Comms_home directory.

Setting Up Oracle AIA Users and Groups in Oracle WebLogic Server

To set up Oracle AIA users and groups in Oracle WebLogic Server:

  1. Log in to the WebLogic Server Administration Console.

  2. Create an AIAApplicationUser group.

    Users in this group can access the Composite Application Validation System (CAVS). This group corresponds to a role in JDeveloper.

  3. Add the AIAApplicationUser group to the Administrators.

  4. Create and add users as needed to the newly-created group.

  5. Create an AIAIntegrationAdmin user.

    This user is for configuring email notification for Oracle AIA errors.

See the WebLogic Server Administration Console help for information about creating groups, adding groups to other groups, creating users, and adding users to groups.

Suppressing Auto-Retry and Preventing Multiple Error Notifications and Trouble Tickets

To suppress auto-retry and prevent multiple error notifications and trouble tickets:

  1. Log in to the Oracle Enterprise Manager Fusion Middleware Control.

  2. In the Target Navigation pane, expand the SOA folder.

  3. Right-click soa_infra.

  4. Select SOA Administration, then select Common Properties.

  5. Click More SOA Infra Advanced Configuration Properties.

  6. Search for the GlobalTxMaxRetry property and set the value to 0 (zero).

  7. Click Apply.

  8. In the Target Navigation pane, right-click soa_infra.

  9. Select Administration, then select System Mbean Browser.

  10. Expand oracle.as.soainfra.config, then expand the SOA managed server, then expand AdapterConfig.

  11. Select Adapter.

  12. Search for the GlobalInboundJcaRetryCount property and set the value to 0 (zero).

  13. Click Apply.

  14. In the Target Navigation pane, right-click soa_infra.

  15. Select SOA Administration, then select Common Properties.

  16. From the Audit Level list, select Production.

  17. Click Apply.

  18. Stop and Start the SOA server and the administration server as described in the discussion of controlling server state in Oracle Fusion Middleware Administering Oracle WebLogic Server with Fusion Middleware Control.

Configuring Email Error Notification

Configuring email notification for Oracle AIA involves the following tasks:

  1. Updating SOA Workflow Properties and Messaging Driver

  2. Creating the SOA User Messaging Preferences Oracle AIA User and Email Channel

  3. Updating Oracle AIA Configuration Properties

Updating SOA Workflow Properties and Messaging Driver

To updated the SOA workflow properties and messaging driver:

  1. Log in to the Oracle Enterprise Manager Fusion Middleware Control.

  2. In the Target Navigation pane, expand the SOA folder.

  3. Right-click soa_infra.

  4. Select SOA Administration, then select Workflow Properties.

  5. From the Notification Mode menu, select Email.

  6. In the Email: FromAddress field, do one of the following:

    • To use the default Oracle AIA sender address, enter AiaAdmin@server.com.

    • Enter a custom address.

      Note:

      If you enter a custom address, you must use the same custom address for the messaging driver as described below and update the value of the FROM.EMAIL.ID property in the AIAConfigurationProperties.xml file to the same custom address as described in "Updating Oracle AIA Configuration Properties".

  7. Click Apply.

  8. Click the Go to the Messaging Driver page link.

  9. In the Associated Drivers region, in the row for the User Messaging Email Driver driver type, click the pencil icon in the Configure Driver column.

    The Email Driver Properties page appears.

  10. Click Create.

  11. Do one of the following:

    • To use the default sender address (AiaAdmin@server.com), select the Use Sender Address option and leave the Sender Address field blank.

    • To use a custom sender address, select the Use Sender Address option and enter the same sender address as you entered in the Workflow Properties Email: FromAddress field.

    Note:

    If you use a custom address, you must also update the value of the FROM.EMAIL.ID property in the AIAConfigurationProperties.xml file to the custom address as described in "Updating Oracle AIA Configuration Properties".

  12. Enter the required information for your environment, including outgoing mail server, port, and user credentials.

    See the Enterprise Manager Fusion Middleware Control Help or the discussion of configuring Oracle User Messaging Service in Oracle Fusion Middleware Administrator's Guide for Oracle SOA Suite and Oracle Business Process Management Suite for more information about the fields on this page.

  13. In the Target Navigation pane, expand the User Messaging Service folder.

  14. Restart the usermessagingdriver-email and usermessagingserver elements as follows:

    1. Right click the element and select Control, then select Shut Down.

      A confirmation window appears.

    2. Click Shutdown.

    3. Right click the element and select Control, then select Start Up.

  15. Create the SOA User Messaging Preferences user and email channel as described in "Creating the SOA User Messaging Preferences Oracle AIA User and Email Channel".

Creating the SOA User Messaging Preferences Oracle AIA User and Email Channel

To create the SOA User Messaging Preferences user and email channel:

  1. As the AIAIntegrationAdmin user, log in to the SOA User Messaging Preferences console at the following location:

    http://SOA_host:SOA_port/sdpmessaging/userprefs-ui

  2. Create an email channel for the user who will receive Oracle AIA email notifications and make it the default. Use AIAIntegrationAdmin as the name.

    See Oracle Fusion Middleware Developer's Guide for Oracle SOA Suite for more information about creating a channel.

  3. Update the Oracle AIA configuration properties as described in "Updating Oracle AIA Configuration Properties".

Updating Oracle AIA Configuration Properties

To update the Oracle AIA configuration properties for error notifications:

  1. Download the AIAConfigurationProperties.xml file from the Oracle Metadata Services (MDS) repository, as described in "Downloading Files from the MDS Repository".

  2. In the module configuration element for the ErrorHandler module, search for the following:

    <Property name="EH.INVOKE.NOTIFY">
    
  3. Set the value of the property to true. For example:

    <Property name="EH.INVOKE.NOTIFY">true</Property>
    
  4. If you used a custom sender address, do the following:

    1. In the module configuration element for the ErrorHandler module, search for the following:

      <Property name="FROM.EMAIL.ID">
      
    2. Change the value of the property from Email:AiaAdmin@server.com to the custom sender address you used in Fusion Middleware Control, prefixed by Email:. For example:

      <Property name="FROM.EMAIL.ID">Email:youremail@yoursite.com</Property>
      
  5. Save and close the file.

  6. Upload the changed AIAConfigurationProperties.xml file to the MDS repository as described in "Uploading Changed Files to the MDS Repository".

Reapplying Backed Up Customizations

If you are reinstalling Oracle AIA, applying patches, or adding new pre-built integration options to an existing Oracle AIA deployment, you must reapply any backed up customizations with the new ready-to-use Oracle AIA objects.

Reapply any of the following customizations that you have backed up:

  • Extensible style sheet language transformations (XSLTs): Reapply any XSLTs that you have developed for custom integrations.

  • Enterprise Business Services (EBS) Web Service Definition Language (WSDL): Merge any EBS WSDL changes with the new ready-to-use EBS WSDLs.

  • Routing rules: Merge any EBS to which you added new routing rules with the new ready-to-use EBS.

  • The AIAConfigurationProperties.xml file: Add any custom additions and change any properties in the new ready-to-use file to match the backed up file and upload it to the MDS repository.

    AIAConfigurationProperties.xml is located in the following directory:

    Comms_home/source/soainfra/apps/config

Post-Installation Tasks for Multiple Pre-Built Integrations

The post-installation tasks described in this section are required for some pre-built integrations. See Table 6-1 for information about which tasks are required for which pre-built integrations.

Configuring Siebel CRM

You must configure Siebel CRM for the following pre-built integrations:

  • Order to Cash for Siebel CRM

  • Agent Assisted Billing Care

Configure Siebel CRM as described in the topic about configuring communications, Order to Cash, and Master Data Management integration in Siebel Communications Guide.

This includes:

  • Setting system preferences

  • Setting up integration users

  • Enabling component groups

  • Activating workflows

  • Configuring Oracle Advanced Queuing

  • Configuring Oracle Fusion Middleware URLs

  • Configuring Session Pool Manager

  • Specific tasks for Order to Cash

Enabling UTC Date Format in Siebel CRM

You must enable UTC date format in Siebel CRM for the following pre-built integrations:

  • Order to Cash for Siebel CRM

  • Agent Assisted Billing Care

You enable UTC date format by changing the value of the UTCCanonical process property to Y for workflows related to Oracle AIA. See the discussion of activating workflows for order to cash in Siebel Communications Guide for more information about changing this property, including the list of workflows for which it must be changed.

Configuring Session Pool Manager

You must configure the Session Pool Manager utility for all pre-built integrations that involve Siebel CRM.

For information about configuring Session Pool Manager, see Oracle Communications Application Integration Architecture Utilities Guide.

Configuring Routing Rules for Co-Deployed Pre-Built Integrations

Each pre-built integration is installed with its own set of routing rules for its enterprise business services.

The enterprise business services and their default routing rules are deployed when you deploy a single option or the Agent-Assisted Billing Care option with any of the Order to Cash options.

When you deploy multiple other options, such as any of the Order to Cash options, the enterprise business services and routing rules used by only one option are deployed, but the enterprise business services and routing rules used by more than one option are not deployed. You must manually configure the routing rules as appropriate for your combination of options.

The installation log provides information about any enterprise business services for which you must manually configure routing rules. For example, the log includes:

EBM_name is already deployed. The routing rules for PIP option_name have not been added. COMMS_HOME/pips/option_name/EBS contains Oracle Delivered EBS with routing rules for this PIP.

In the example, EBM_name is the name of the enterprise business message, option_name is the name of the pre-built integration option, and PIP is a pre-built integration option.

For more information about using routing rules, see Oracle Fusion Middleware Developer's Guide for Oracle SOA Core Extension and Oracle Fusion Middleware Developer's Guide for Oracle SOA Suite.

Agent Assisted Billing Care Post-Installation Tasks

If you enabled multiple or split cross-reference tables when configuring the Agent Assisted Billing Care pre-built integration, you must create a view for the collections integration flow.

To create the view:

  1. Navigate to the following directory:

    Install_home/comms_home/bin

  2. Run one of the following commands:

    • On UNIX:

      source commsenv.sh
      
    • On Windows:

      source commsenv.bat
      

    This command sources the aiaenv script and sets the COMMS_HOME environment variable to Install_home/comms_home.

  3. Navigate to the following directory:

    Install_home/comms_home/pips/Communications/AABC/DeploymentPlans
    
  4. Run one of the following commands:

    • On UNIX:

      createMultiTableXREFViewForCollections.sh
      
    • On Windows:

      ant -f %COMMS_HOME%\pips\Communications\AABC\DeploymentPlans\AABCDeploy.xml MultiTableXREFViewForCollections
      
  5. Verify that the view was created in the log file. The following is the default log file:

    domain_home/soa/aia/logs/AABC-MultiTableXREFViewForCollections_Deployments_timestamp.log
    

    where timestamp is the date and time that the log was created.

Order to Cash Post-Installation Tasks

This section describes the post-installation tasks for the Order to Cash pre-built integration.

Disabling Product Attribute Validation in OSM Order to Activate Cartridges

If you are using the Order to Cash for Siebel CRM pre-built integration option, you must disabled the ENABLE_PRODUCT_ATTRIBUTE_VALIDATION model variable in the OSM Order to Activate cartridges.

See the discussion of enabling or disabling product attribute validation in Oracle Communications Order and Service Management Cartridge Guide for Oracle Application Integration Architecture for information about disabling this model variable.

Adding the Singleton Property

For the Order to Cash for Siebel CRM, OSM, and BRM pre-built integration options, you must add the singleton property to the ProcessFulfillmentOrderBillingAccountListOSMCFSCommsJMSConsumer service.

To add the singleton property:

  1. Log in to Oracle Enterprise Manager Fusion Middleware Control.

  2. In the Target Navigation pane, expand the SOA folder, then soa-infra, then default.

  3. Select the ProcessFulfillmentOrderBillingAccountListOSMCFSCommsJMSConsumer link.

  4. From the SOA Composite menu, select Services/Reference Properties, then select the Consume_PFOBAL service.

  5. Select the Properties tab.

  6. Click Add.

  7. Click Search.

    The Property Names dialog appears.

  8. Select singleton.

  9. In the Value column, enter true.

  10. Click Apply.

Supporting Message Priority

For all Order to Cash pre-built integration options, you must configure the Oracle AIA queues to support prioritizing messages based on JMS Priority.

To configure the Oracle AIA queues to support JMS Priority:

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

  2. In the domain structure panel, expand Services, then Messaging, then JMS Modules.

  3. Select AIAJMSModule.

  4. In the Summary of Resources table, click New.

    The Create New JMS System Module Resource page appears.

  5. From the list of JMS resources, select Destination Sort Key.

  6. Click Next.

    The Destination Key Properties page appears.

  7. In the Name field, enter AIA_SALESORDERJMSPRIORITY_KEY.

  8. Click OK.

  9. Click AIA_SALESORDERJMSPRIORITY_KEY link.

  10. From the Sort Key list, select JMSPriority.

  11. From the Key Type list, select Int.

  12. From the Direction list, select Descending.

  13. Click Save.

  14. In the domain structure panel, click AIAJMSModule.

  15. For each of the following queues:

    • AIA_CRTBO_OUT_JMSQ

    • AIA_CRTCUST_OUT_JMSQ

    • AIA_CRTFO_OUT_JMSQ

    • AIA_FOPROV_OUT_JMSQ

    Do the following:

    1. Click the queue name.

    2. From Destination Keys section, select AIA_SALESORDERJMSPRIORITY_KEY.

    3. Click Save.

Updating the BRM Internal ID in the Oracle AIA Application Registry

For the Order to Cash for BRM pre-built integration option, update the BRM internal ID in the Oracle AIA Application Registry.

To update the BRM internal ID:

  1. On the system where BRM is installed, navigate to the following folder:

    ./portal/7.4/sys/eai_js
    
  2. Open the payloadconfig_crm_sync.xml file in a text editor.

  3. Under the ProductInfoChange element, search for the following text:

    Attribute Tag="InstanceId" Value=
    
  4. Make note of the InstanceID value. For example:

    Attribute Tag="InstanceId" Value="Portal"
    
  5. In a web browser, navigate to the following page:

    http://host:port/sce/faces/sceHomeLogin.jpsx
    

    where host and port are the WebLogic Server host and port on which you deployed Oracle AIA.

  6. In the Setup area, click Go.

  7. Select the Systems tab.

  8. In the Internal Id field, enter BRM_01.

  9. Click Search.

  10. In the table, change the value in the Internal Id column from BRM_01 to the value that you noted for InstanceId in the payloadconfig_crm_sync.xml file.

  11. Click Save.

Adding the No Authentication Security Policy to the Product Class Service

For the Order to Cash for OSM pre-built integration option, add the No Authentication security policy to either the QueryProductClassAndAttributesSCECommsReqABCSImpl or QueryProductClassAndAttributesSCECommsReqABCSImplV2 service, depending on your version of OSM.

To add the security policy:

  1. Log in to the Oracle Enterprise Manager Fusion Middleware Control.

  2. In the Target Navigation pane, expand the SOA folder, then soa-infra, then default.

  3. Do one of the following:

    • If you are using OSM 7.3 or later, select the QueryProductClassAndAttributesSCECommsReqABCSImplV2 link.

    • If you are using an earlier version of OSM than 7.3, select the QueryProductClassAndAttributesSCECommsReqABCSImpl link.

  4. In the Services and References region, do one of the following:

    • If you are using OSM 7.3 or later, select the QueryProductClassAndAttributesSCECommsReqABCSImplV2 link.

    • If you are using an earlier version of OSM than 7.3, select the QueryProductClassAndAttributesSCECommsReqABCSImpl link.

  5. Click the Policies tab.

  6. In the Directly Attached Policies region, click Attach/Detach.

  7. In the Available Policies table, select oracle/no_authentication_service_policy.

  8. Click Attach.

  9. Click OK.

    The oracle/no_authentication_service_policy appears in the Directly Attached Policies table.

  10. Restart the administration server and all managed servers.

Replacing the Test Orchestration Process with Your Order Management System

The Order to Cash pre-built integration includes a test orchestration process. You can run a sample order using the test orchestration process to test the integration between Siebel CRM and BRM if you are not using the Order to Cash for OSM pre-built integration option.

The test orchestration process cannot support a production system. After testing the integration, you must replace the test orchestration process with your order management system.

To replace the test orchestration process with your order management system:

  1. Log on to Oracle Enterprise Manager Fusion Middleware Control.

  2. In the Target Navigation pane, expand the SOA folder, then soa-infra, and then default.

  3. For each of the following services: or the BillingResponseConsumer, CustomerResponseConsumer, OrderOrchestrationConsumer, and TestOrderOrchestrationEBF services:

    • BillingResponseConsumer

    • CustomerResponseConsumer

    • OrderOrchestrationConsumer

    • TestOrderOrchestrationEBF

    Do the following:

    1. Right click the service name.

    2. Select SOA Deployment and then select Undeploy.

      The Undeploy SOA Composite: Confirmation page appears.

    3. Review the information on the page and click Undeploy.

      Processing messages are displayed. When undeployment is complete, the SOA Infrastructure Deployed Composites page appears with a message at the top confirming that the composite has been undeployed.

  4. Configure your order management system to interact with Oracle AIA through the JMS queues described in Table 6-2. You can see these queues in the WebLogic Server Administration Console under the AIAJMSModule in JMS Modules.

Table 6-2 Oracle AIA JMS Queues for Interactions with Custom Order Management Systems

JMS Queues Description

jms/aia/AIA_CRTFO_IN_JMSQ

This is the inbound queue from which your order management system picks up incoming sales orders from Siebel CRM.

The sales order message is of type ProcessSalesOrderFulfillmentEBM and is wrapped into the SOAP envelope as follows:

<tns:Envelope xmlns:tns="http://schemas.xmlsoap.org/soap/envelope/"><tns:Body><crtfo:CreateOrder xmlns:crtfo="http://xmlns.oracle.com/communications/ordermanagement"><sord:ProcessSalesOrderFulfillmentEBM xmlns:sord="http://xmlns.oracle.com/EnterpriseObjects/Core/Custom/EBO/SalesOrder/V2">...</sord:ProcessSalesOrderFulfillmentEBM> </crtfo:CreateOrder></tns:Body></tns:Envelope>

jms/aia/AIA_CRTCUST_OUT_JMSQ

This is the outbound queue from your order management system for creating customers in BRM.

The message must confirm to the ProcessFulfillmentOrderBillingAccountListEBM schema. Your order management system must wait for a response before continuing communication with BRM for the current order.

jms/aia/AIA_UPDCUST_IN_JMSQ

This is the response queue that corresponds to the jms/aia/AIA_CRTCUST_OUT_JMSQ queue. It contains the success response message from Oracle AIA in the ProcessFulfillmentOrderBillingAccountListResponseEBM schema.

jms/aia/AIA_CRTBO_OUT_JMSQ

This is the outbound queue from your order management system for creating billing orders in BRM.

The message must confirm to the ProcessFulfillmentOrderBillingEBM schema. Your order management system must wait for a response before continuing communication with BRM for the current order.

jms/aia/AIA_UPDBO_IN_JMSQ

This is the response queue that corresponds to the jms/aia/AIA_CRTBO_OUT_JMSQ queue. It contains the success response message from Oracle AIA in the ProcessFulfillmentOrderBillingResponseEBM schema.

jms/aia/AIA_UPDSO_OUT_JMSQ

This is the outbound queue from your order management system for updating order information in Siebel CRM.

The message must confirm to the UpdateSalesOrderEBM schema. This is an asynchronous flow, so no response is sent back to your order management system.

Specifying Valid Phone Number Format in BRM

By default, Siebel CRM allows unformatted phone numbers. To allow unformatted phone numbers in BRM, add the following phone number validation format by using the Field Validation Editor application in BRM Configuration Center:

###-###-####

See Oracle Communications Billing and Revenue Management Managing Customers and the Field Validation Editor Help for more information about validating phone number formats.

Development Post-Installation Tasks

The tasks described in this section are not required immediately after installation, but you may need to perform them while customizing your deployment and environment.

Changing Oracle AIA Deployment Passwords

You can optionally change the passwords that you specified in the Installer after completing installation using the UpdateStore utility.

This utility assumes that the AIAInstallProperties.xml file exists in the domain_home/soa/aia/bin directory and that the password being changed exists in the file.

Note:

This utility only changes encrypted passwords in the Oracle AIA installation. It does not change passwords of the SOA server or the database schemas.

To change passwords:

  1. Navigate to the following directory:

    Comms_home/bin

  2. Run the following command:

    source commsenv.sh
    
  3. Navigate to the following directory:

    MW_home/soa/aiafp/util

  4. Run the following command:

    ant -f updateStore.xml updateStore -DAdminUsername=weblogicadminuser -DAdminPassword=weblogicadminpassword
    

    where weblogicadminuser and weblogicadminpassword are the user name and password for the WebLogic Server administration user.

    The Update AIA Keystore screen appears.

  5. Enter information in the following fields:

    • Existing Username: The user name for which you want to change credentials.

    • Existing Password: The password corresponding to the user name entered in the Existing Username field.

    • New Username: The new user name that you want to use. Use the same value as in Existing Username if you want to change the password only.

    • New Password: The new password that you want to use. Use the same value as in Existing Password if you want to change the user name only.

    • XPath: The XPath from the AIAInstallProperties.xml file to the password you want to change.

      For example:

      /properties/pips/o2c/password
      
  6. Click OK.

    A success message is displayed.

  7. Upload the changed file to the MDS repository as described in "Uploading Changed Files to the MDS Repository".

Adding Oracle AIA to a New Node of an Existing SOA Cluster

To add Oracle AIA to a new node of an existing SOA cluster:

  1. Add a new node to the SOA cluster as described in Oracle Fusion Middleware Enterprise Deployment Guide for Oracle SOA Suite.

  2. Download the AIAConfigurationProperties.xml file from the MDS repository as described in "Downloading Files from the MDS Repository" and open it in an XML editor.

  3. Search for the following text:

    <Property name="EH.JNDIURL">t3://
    
  4. After the existing list of SOA server details, add a comma and the host and port of the new node. In the following example, newnode.example.com:7003 has been added:

    <Property name="EH.JNDIURL">t3://node1.example.com:7001,node2.example.com:7002,newnode.example.com:7003</Property>
    
  5. Save and close the file.

  6. Upload the changed file to the MDS repository as described in "Uploading Changed Files to the MDS Repository".

  7. Open the Install_home/comms_home/config/AIAInstallProperties.xml file.

  8. Search for the following element:

    <properties>
      <fp>
        <server>
          <jndiurl>
    
  9. After the existing list of SOA server details, add a comma and the host and port of the new node. In the following example, newnode.example.com:7003 has been added:

    <jndiurl>t3://node1.example.com:7001,node2.example.com:7002,newnode.example.com:7003</jndiurl>
    
  10. Save and close the file.

  11. Start the new Node.

    Ignore any errors in the server log shows errors related to Foundation Pack.

  12. Navigate to the following directory:

    Install_home/comms_home/bin

  13. Run the following command:

    source commsenv.sh
    
  14. Navigate to the following directory:

    MW_home/soa/aiafp/Install/AID

  15. Run the following command:

    ant -f AIAInstallDriver.xml -DDeploymentPlan=MW_home/soa/aiafp/Install/config/FPAddNodeToClusterDP.xml -DPropertiesFile=domain_home/soa/aia/bin/AIAInstallProperties.xml
    

Making Upgrade-Safe Composite Customizations

This section is for developers who customize installed composites. This is not a required post-installation task, but the you perform the procedure while customizing Oracle AIA composite services.

As part of your pre-built integrations implementation you may need to customize installed composites. For example, you may need to call different BRM opcodes than those specified in ready-to-use composites.

Customizations you make within customizable scopes in JDeveloper can be retained when upgrading Oracle AIA. The upgrade process overwrites any customizations you make outside of customizable scopes.

After upgrading, you can merge your customizations with the newly upgraded composites as described in "Migrating Custom Data".

To make upgrade-safe customizations to a deployed composite:

  1. Open JDeveloper.

    The Select Role dialog box appears.

  2. Select Default Role and click OK.

  3. From the Application menu, select New.

  4. From the Application Template list, select SOA Application.

  5. In the Application Name field, enter a name for the customized application.

  6. Click Next.

  7. In the Project Name field, enter the name of the BRM provider ABCS that you want to customize. For example, QueryInvoiceListBRMCommsProvABCSImpl.

  8. On the Project Technologies tab, ensure that SOA appears in the Selected list.

  9. Click Next.

  10. From the Composite Template list, select Empty Composite.

  11. Select the Customizable option.

  12. Click Finish.

    The project appears in the Projects section.

  13. Expand the Application Resources section, then expand the Descriptors folder, and then the ADF META-INF folder.

  14. Double-click the adf-config.xml element.

  15. Click the MDS Configuration tab.

  16. Next to Customization Configuration: Match Path = "/", click the plus sign.

    The Edit Customization Class dialog box appears.

  17. In the Match Class or Package Name field, enter the beginning of the name of the customization class that you want to use.

    A list of matching customization classes appears.

  18. Select the customization class that you want to use and click OK.

  19. Select the newly-added class and click the Configure Design Time Customization Layer Values link.

    The CustomizationLayerValues.xml file opens.

  20. Add layer values for this customization layer. For example:

    <cust-layer name="industry">  <cust-layer-value value="communications" display-name="Communications"/></cust-layer>
    
  21. Click the Save All icon.

  22. In the Projects section, select the top-level element. For example, QueryInvoiceListBRMCommsProvABCSImpl.

  23. From the File menu, select Import.

  24. Select SOA Archive Into SOA Project and click OK.

  25. Click Browse.

  26. Browse to the deploy directory under the directory where the BRM provider ABCS is copied from the Oracle AIA server. For example:

    C:\DeployedFromServer\QueryInvoiceListBRMCommsProvABCSImpl\deploy

  27. Select the JAR file associated with the provider ABCS and click Open.

  28. Select the Import for Customization option and click Finish.

  29. Click the Save All icon.

  30. From the Tools menu, select Preferences.

  31. In the navigation tree, select Roles.

  32. Under Roles, select Customization Developer.

    JDeveloper reopens in the new role.

  33. In the Customization Context section, select the customization context that matches the layer values for the customization class you added earlier.

  34. In the Project section, expand the top-level element.

  35. Double-click the BPEL file for your composite.

    The composite opens in Design mode.

  36. Locate and expand the customizable scope where you want to make a customization.

  37. Perform the customizations you require inside the customizable scope.

    For example, to invoke a custom opcode, do the following:

    1. Open the AIAConfigurationProperties.xml file, located in the Comms_home/source/soainfra/apps/config directory.

    2. Under the entry for the service that you have customized, add a new property for invoking the custom opcode and set it to true. For example:

      <Property name="Routing.BRMARServices.RouteToCustOp">true</Property>
      
    3. In JDeveloper, in the BPEL file for the composite that you are customizing, create a partner link to represent the custom opcode.

    4. In the switch that invokes the default BRM opcode or CAVS, add a new case with an expression linking it to the property for invoking the custom opcode.

      For example, if you stored the property from AIAConfigurationProperties.xml in a variable in the composite's BPEL file, the expression might be as follows:

      bpws:getVariableData('BRMARRouteToCustOp')
      
    5. Within the new case, add a transform activity to transform the incoming message to the input field list (flist) of the custom opcode.

    6. After the transform activity, add an invoke activity to invoke the partner link representing the custom opcode.

    7. After the invoke activity, add a transform activity to transform the output flist of the custom opcode into the expected EBM that would be generated by the default opcode.

    8. If the custom opcode output flist includes any attributes that are not present in the default opcode, extend the default EBM to include the attributes, and customize the PostXformEBMtoABM extension point with a transform or an assign activity to map the attribute values.

  38. Click the Save All icon.

  39. Redeploy the custom composite using JDeveloper or a deployment plan.

For more information about customizing and developing Oracle AIA composites, see the following documents:

  • For information about customizing BPEL processes, including customization classes, layer values, transform and invoke activities, scopes, switches, and partner links, see Oracle Fusion Middleware Developer's Guide for Oracle SOA Suite.

  • For information about designing and constructing Oracle AIA artifacts, see Oracle Fusion Middleware Developer's Guide for Oracle SOA Core Extension.

  • For information about deploying applications using JDeveloper, see Oracle Fusion Middleware User's Guide for Oracle JDeveloper.

Managing Oracle AIA Files in the MDS Repository

When you modify a file stored in the MDS repository, you must upload the new version to the MDS repository for the modifications to take effect.

Additionally, before you modify the AIAConfigurationProperties.xml file, you must download the latest version from the MDS repository.

Downloading Files from the MDS Repository

To download a file from the MDS repository:

  1. Navigate to the following directory:

    Install_home/comms_home/bin

  2. Run the following command:

    source commsenv.sh
    
  3. Navigate to the following directory:

    domain_home/soa/aia/MDSUtils

  4. Open the DownloadMetaDataFileDP.xml file.

  5. In the DownloadMetadataFile element, specify the following:

    • downloadLocation: The directory on your system where you want to temporarily store the file.

    • fileToDownload: The the path in the MDS repository to the file you want to download.

    • wlserver: The name of the WebLogic server where Oracle AIA is deployed.

    For example:

    <DownloadMetadataFile downloadLocation="/private/myhome" fileToDownload ="/soa/configuration/default/AIAConfigurationProperties.xml" wlserver="fp" />
    
  6. Save and close the file.

  7. Run the following command:

    ant -f MW_home/soa/aiafp/Install/AID/UpdateMetaData.xml -DdeploymentPlan=domain_home/soa/aia/MDSUtils/DownloadMetadataFileDP.xml -DPropertiesFile=domain_home/soa/aia/bin/AIAInstallProperties.xml
    

    The file is downloaded to the local directory.

Uploading Changed Files to the MDS Repository

To upload changed files to the MDS repository:

  1. Navigate to the following directory:

    Install_home/comms_home/bin

  2. Run the following command:

    source commsenv.sh
    
  3. Navigate to the following directory:

    domain_home/soa/aia/MDSUtils

  4. Do one of the following:

    • To upload a file from a local directory, open the UpdateMetaDataFileDP.xml file and, in the UpdateMetaDataFile element, specify the following:

      • wlserver: The name of the WebLogic server where Oracle AIA is deployed.

      • mdslocation: The location in MDS where the file should be uploaded.

      • fileset dir: The directory on your system where the changed file is stored.

      • include name: The name of the file to include, relative to the value of fileset dir. To upload all files in a directory, finish the file path with /**.

    • To upload a file from an MDS-related path, open the UpdateMetaDataDP.xml file and, in the UpdateMetaData element, specify the following:

      • wlserver: The name of the WebLogic server where Oracle AIA is deployed.

      • fileset dir: The MDS-related directory where the changed file is stored.

      • include name: The name of the file to include, relative to the value of fileset dir. To upload all files in a directory, finish the file path with /**.

    • To upload an archive file, open the UploadMarDP.xml file and, in the UploadMAR element, specify the following:

      • marlocation: The directory where the archive file is stored.

      • wlserver: The name of the WebLogic server where Oracle AIA is deployed.

    For example, to include the AIAConfigurationProperties.xml file stored in a local directory:

    <UpdateMetadata wlserver="fp" mdslocation="soa/configuration/default/">
      <fileset dir="/private/myhome">
        <include name="AIAConfigurationProperties.xml" />
      </fileset>
    </UpdateMetadata>
    

    Or to upload all files in the /private/myhome directory:

    <UpdateMetadata wlserver="fp">
      <fileset dir="/private/myhome">
        <include name="/**" />
      </fileset>
    </UpdateMetadata>
    
  5. Save and close the file.

  6. Run the following command:

    ant -f MW_home/soa/aiafp/Install/AID/UpdateMetaData.xml -DdeploymentPlan=domain_home/soa/aia/MDSUtils/deployment_plan.xml -DPropertiesFile=domain_home/soa/aia/bin/AIAInstallProperties.xml
    

    where deployment_plan is UpdateMetaDataFileDP, UpdateMetaDataDP, or UpdateMarDP, depending on the location and type of file you are uploading.

    The changed files are uploaded to the MDS repository.

Splitting Cross Reference Tables

If you did not select the Enable XREF split utility option while configuring Oracle AIA, you can split your cross reference tables after installation.

To maintain performance levels when looking up values in large cross reference tables, Oracle recommends splitting cross reference tables into multiple tables, with one table for each cross-reference object.

For details about how to split cross reference tables, see the information about the XREF Migration Utility on the following Oracle Technology Network web site:

http://www.oracle.com/technetwork/middleware/foundation-pack/learnmore/aiaxref-524690.html