Using the Message Resubmission Utility 17-5
For Linux, source AIA_INSTANCEbinaiaenv.sh.
5.
Navigate to AIA_HOMEutilAIAMessageResubmissionUtil and execute the following:
ant -f MessageResubmit.xml -logfile AIA_ HOMEutilAIAResubmissionUtilityMessageResubmit.log
The MessageResubmit.xml script references the edited ResubmissionParams.properties file. Once run, the script resets the message status
back to a ready state so that the transaction can resume its flow.
17.2.3 Resequencer Based Resubmission
1.
Faultsrejected messages which are marked as Recovery Needed in the EM Console can only be resubmitted using AIAResubmissionUtility. To get the list of
faultedrejected messages in the EM Console, navigate to SOA, click on corresponding domain and navigate to Faults and Rejected messages tab in the
middle pane.
2.
Make a list of all faulted instances which are marked as Recovery Needed.
3.
Get the composite name and messageIDGroupId xpath of the messageID is defined at the design time of the resequencer of the faulted instances.
4.
AIAResubmissionUtility is available under AIA_HOMEutil. Navigate to AIA_ HOMEutilAIAResubmissionUtility and set all the required values in
ResubmissionParams.properties file.
Example 17–3 Sample ResubmissionParams.properties for Resequencer based
Resubmission
jms.app.hostName=serverhostname.domain.com jms.app.admin.port=adminport
jms.app.soa.port=soaport jms.app.userName=weblogic
jms.app.password=password jms.aq=false
jms.moduleName=AIAJMSModule jms.resourceCFJndi=
jms.errorResourceCFJndi= QUEUETOPICRESEQUENCER - 123
resourceType=3 queueNametopicNameroutingServiceName
resourceName=defaultJMSConsumer1.0 messageIDgroupID
messageID=7109EDC5FFD9BA25E0 queueTableNametopicTableName
aq.resourceTableName=AIASamples aq.db.driverName=oracle.jdbc.driver.OracleDriver
aq.db.jdbcURL=jdbc:oracle:thin:localhost:1521:XE aq.db.userName=aia
aq.db.password=aia
Note: The resourceName should be in the format
defaultcompositeNameversion. Multiple messageIDs of a particular composite can be set for messageID property with comma
“,” as a delimiter. 7109EDC5FFD9BA25E0401, 9EDC5FFD9BA25E04014908F.
17-6 Infrastructure Components and Utilities Users Guide
5.
For Windows, execute AIA_INSTANCE\bin\aiaenv.bat. For Linux, source AIA_INSTANCEbinaiaenv.sh.
6.
Navigate to AIA_HOMEutilAIAMessageResubmissionUtil and execute the following:
ant –f MessageResubmit.xml -logfile AIA_ HOMEutilAIAResubmissionUtilityMessageResubmit.log
The MessageResubmit.xml script references the edited ResubmissionParams.properties file. Once run, the script resets the message status
back to a ready state so that the message can resume its execution flow.
18
Using Trace and Error Logs 18-1
18
Using Trace and Error Logs
The Oracle Application Integration Architecture AIA enables you to generate trace and error log files that provide a detailed view of services running in your AIA
ecosystem.
This chapter includes the following sections:
■
Section 18.1, Introduction to Trace and Error Logging