« August 2009 | Main | October 2009 »

September 2009 Archives

September 11, 2009

AIA Implementation Resources on Oracle Wiki

While the number of implementation resources available for AIA - Metalink notes, white papers, best practice documents, tips and tricks, tools, templates etc. - are all extremely helpful in implementations, the challenge has been in actually finding this information. Based on popular request, we have put together all these resources on a single page, now available on the Oracle Wiki. Please visit this page for all your implementation needs, and leave a feedback if you find it useful, as well as if you find any information missing that would be helpful if linked to that page.

Link to AIA Implementation Resources on Oracle Wiki

September 17, 2009

The Power of XMAN

Unlike X-Men, XMAN is not a fictitious super hero but its powers are amazing. As part of AIA Developer Tools, it allows you to introspect the mapping structure in complex XSL transformation and presents a user friendly report in HTML and CSV format. This empowers the functional and technical analysis of the code to resolve technical governance issues of consistency in attribute mappings and XREF/DVM usage.

Some of the Benefits are:

  • Functional interoperability between PIPs.
  • Jumpstart projects and encourages reuse by using existing mapping information.
  • Enhances productivity by helping populate design time EBO mapping spreadsheets.
  • Assist with PIP upgrades by identifying custom extensions.

Viewing the HTML report is useful for viewing one service at a time; however there are times when we need to see the attribute mappings across connectors to ensure semantic consistency or to ensure all related connectors are using same XREF and DVM. For this purpose, AIA allows to download the consolidated report in CSV format and you can follow the below steps to import it in MS Excel,

  • Open a new Excel spreadsheet file.
  • In the menu bar, select Data -> Get External Data -> From Text. (Text - to - columns in Excel 2003 and prior versions)
  • 'Import text file' dialog box appears. Choose the csv file which you want to import.
  • 'Text import Wizard' dialog box appears. Choose 'Delimited' option in the 'Original Data Type' selection. Click 'Next'.
  • Select 'Other' check box and enter '~' in the text box. Click 'Next' and Click 'Finish'.
  • Put appropriate column headers as following,
    Custom, ServiceType, FileName, EBO, Application, Service, Operation, Source Xpath, DVM, XREF, Target Xpath, EBM, ABM

Now you may go about creating pivot tables and analyze DVM and XREF usage. One example to show the number of a particular XREF table usage in any service for a given application would be to create a pivot table and; select Service & Operation as "Report Filter", select Application as "Column Labels", select XREF as "Row Labels" and select ABM as "Values".

Similarly, you may analyze a specific attribute usage or DVM usage.

Look for XMAN at AIA Implementation Resources wiki

September 24, 2009

AIA Error Notifications

In a typical SOA deployment, there are a number of services deployed and thousands of messages exchanged on any given day. Howsoever we design our services and optimize the service deployment infrastructure, exceptions do happen. These exceptions can be broadly categorized as System Faults and Business Faults.

AIA Error Handling Framework captures all the exceptions in a consistent manner and provides notification capability out of the box to notify appropriate people about the exception. This enables them to analyze the exception and take appropriate corrective action.

AIA Email notifications can be configured in as little as 15 minutes following these 4 steps;

1. Define appropriate Users and Roles

For a given exception, the service SLA may require you to notify different users. You may need to notify different people for system errors, network issues etc. and different people for business errors such as data validation or CreditCheckFailed etc. AIA provides an XML based user repository (JAZN), but you could also configure your existing user store such as LDAP to define various roles of system users, integration admin, participating application admin etc.

If you are using JAZN,

  • Update “$SOA_HOME/j2ee/oc4j_soa/config/system-jazn-data.xml” file to define roles and users. AIA defines default AIAIntegrationAdmin role and AIAIntegrationAdminUser out of the box.
  • Update “$SOA_HOME/bpel/system/services/config/user-properties.xml” file to populate various attributes for these roles and users. Ensure to provide a valid email address for your domain.

2. Associate Roles to a specific Exceptions

AIA provides ability to notify different roles based on process name, service name, system id and error code. You can setup these notifications on AIA Console -> Setup -> Error Notification screen. For more information, see Oracle Application Integration Architecture Core Infrastructure Components Guide, "Setting Up Error Notifications for Oracle AIA Processes". It also explains the logic used to determine notification roles for an error.

If no appropriate role is defined for a certain error, AIA notify the default role (AIAIntegrationAdmin) defined in AIAConfigurationProperties.xml file.

3. Configure Email channel

Update “$SOA_HOME/bpel/system/services/config/ns_emails.xml” file;

  • In the <EmailAccounts> element, set the “NotificationMode” attribute to “EMAIL”, instead of “NONE”.
  • In the <GeneralSettings> section, set the <FromAddress> to a valid email address for your domain.
  • In the <OutgoingServerSettings> section, set the correct <STMPHost> and <STMPPort> for your domain.
  • Comment out <IncomingServerSettings> section if you do not have a need for it.

4. Restart BPEL Process Manager

Now you should see email notifications triggered for every error in the AIA system.

Oracle SOA Suite 10g supports five channels of notifications, Email, Pager, Fax, SMS and Voice. AIA provides an implementation for Email notifications, but it is easy to configure any other channel and provide custom notifications if needed.

AIA 2.0.1 and MLR # 18

The 10.1.3.3.1 SOA Bundle Patchset (MLR) are cumulative patches on SOA Suite and are released every 2-3 months. The latest is MLR#18 (Patch 8372118) and all AIA 2.0.1 implementations should upgrade to this for better system stability. This has more than 300 fixes on the base platform.

Recently after upgrading the system to MLR 18, we observed an issue where CustomerPartyEBS is timing Out after invoking CreateCustomerPartyPortalProvABCS. This is not easy to debug as you can not find the instance of CreateCustomerPartyPortalProvABCS process in BPEL console and there is not much information in log files as well. The fix for this issue is mentioned in Metalink Note 880473.1.

This is also liked from AIA Implementation Resources on Oracle Wiki

September 25, 2009

Oracle OpenWorld 2009 - Focus on AIA

It's that time of the year again. Be sure to visit Oracle OpenWorld 2009 at San Francisco October 11-15, 2009. There is going to be a lot of focus on AIA (see this pdf containing a list of all AIA focused sessions), so do schedule this during your visit.

Shameless plug: I will be covering the AIA implementation best practices in a session entitled "Jedi Masters Reveal: Foundation Pack Best Practices--Building Process Integrations" at Moscone West (L3) Room 3008 on Tuesday, Oct 13 @5:30pm. Search for it on the site using the Session IDS311197 to pre-register.

See you there!

September 27, 2009

Welcome to AIA on Twitter

AIA is now on Twitter. Follow us @OracleAIA for News, views and implementation best practices from the Oracle Application Integration Architecture team.

About September 2009

This page contains all entries posted to The Official AIA Blog in September 2009. They are listed from oldest to newest.

August 2009 is the previous archive.

October 2009 is the next archive.

Many more can be found on the main index page or by looking through the archives.

Creative Commons License
This weblog is licensed under a Creative Commons License.
Powered by
Movable Type and Oracle