Search This Blog

Friday, January 28, 2011

BPEL Checklists and Tracing the issues

Common Issues with BPEL:

A]Files not picked up
Reasons could be:
Same file name - Rename file
Process is turned OFF - Turn it ON
FTP Adapter shut down - Reset Polling timer
Server Error - Reboot server/ Redeploy process

B]Data not loaded
Check the DB Connection settings
ODIADM user id should be present and should have rights to loading tables

In case of Issues, the following trouble shooting methods can be followed:

Look into the details like:
- the email error notifictaion,
- if there was anything different from usual, was it larger size file etc
- Was the input file re-tried and loaded successfully or not? etc
- Input Data file that caused the error
- Log file (OPMN.log) detail

Configuration checklist:

JDBC configuration:
JNDI and DB Adapter
Connection pool, datasource
JNDI and DB Adapter

Logon to the console Applications  View drop down  Standalone Resource Adapters DB Adapters  Connection Factories
(The JNDI Location property would need to match the JNDI Location property in the datasource settings of JDBC configuration )

Connection pool, datasource:
Logon to the console Administration  Services  JDBC Resources
(The connection pool and datasource name could be tested by clicking the Test_Connection icon)

FTP configuration:
FTP Adapter
Logon to the console  Applications  View drop down  Standalone Resource Adapters FTP Adapters  Connection Factories
(Click the JNDI used in the code. Properties like Userid and Password need to be checked.Also the SFTP hostname, port-number could be checked)

Build.properties file:
Verify all the parameters in the build.properties file

CommonHandler Service:
The CommonHandler service used for sending error notifications need to be deployed in the respective domain where the other BPEL objects are deployed.

Email File:
The ns_email.xml file in the BPEL domain need to be configured to include the email properties of the domain viz. From, alias name

Control File:
The control file for each of the BPEL transactions need to be present in the FTP directory

Saturday, January 15, 2011

%InsertSelect

%InsertSelect(AE_SECTION_TBL, AE_STEP_TBL S, AE_SECTION_TYPE = ' ')
FROM PS_AE_STEP_TBL S, PS_AS_STMT_TBL T
WHERE. . .

The example code resolves into the following:

INSERT INTO PS_AE_SECTION_TBL (AE_APPLID, AE_SECTION,. . ., AE_SECTION_TYPE)
SELECT S.AE_APPL_ID, S.AE_SECTION, . . . ' '
FROM PS_AE_STEP_TBL S, PS_AS_STMT_TBL T
WHERE. . .

In the following example, you have a temporary table, PS_MY_TEMP, which is based on a join between two other tables, PS_MY_TABLE1 and PS_MY_TABLE2:

%InsertSelect(MY_TEMP, MY_TABLE1, MY_TABLE2 T2)
FROM PS_MY_TABLE1 T1, PS_MY_TABLE2 T2
WHERE %Join(COMMON_KEYS, MY_TABLE1 T1, MY_TABLE2 T2) . . .

This code resolves into:

INSERT INTO PS_MY_TEMP (FIELD1, FIELD2 . . .)
SELECT T2.FIELD1, T2.FIELD2, . . .
FROM PS_MY_TABLE1 T1, PS_MYTABLE2 T2
WHERE T1.FIELD1 = T2.FIELD1
AND T1.FIELD2 = T2.FIELD2 . . .

The following example creates a distinct Select statement.

%InsertSelect(DISTINCT, MY_TABLE, TABLE1, TABLE2 T2)
FROM PS_TABLE1 T1, PS_TABLE2 T2
WHERE %Join(COMMON_KEYS, TABLE1 T1, TABLE2 T2) . . .

This code resolves into:

INSERT INTO PS_MYTABLE (FIELD1, FIELD2 . . .)
SELECT DISTINCT T2.FIELD1, T2.FIELD2, . . .
FROM PS_TABLE1 T1, PS_TABLE2 T2
WHERE T1.FIELD1 = T2.FIELD1
AND T1.FIELD2 = T2.FIELD2 . . .

Wednesday, January 12, 2011

BPEL deploy.chunk.size Error

Error thrown by the process:


com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}bindingFault}
messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
parts: {{code=<code>null</code>
,summary=<summary>file:/usr/local/cny/cu7/bp1013/product/10.1.3.1
/OracleAS/bpel/domains/default/tmp
/.bpel_process_name/Re
adChunk.wsdl [ SynchChunkRead_ptt::SynchChunkRead(Empty,container) ] - WSIF JCA Execute of operation 'SynchChunkRead' failed due to: Error while translating.
Error occured while translating content from file ftpxfr/140001/SA1_10008 [Caused by: For input string: "[undef:deploy.chunk.size]"]
; nested exception is:
ORABPEL-11008
Error while translating.
Error occured while translating content from file ftpxfr/140001/SA1_10008 [Caused by: For input string: "[undef:deploy.chunk.size]"]
Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.
</summary>
,detail=<detail>null</detail>
}}
Possible Empty File


Solution:

The chunk size in the build.properties file was undefined/missing. Deploy the BPEL process with chunk size with some number.

The error message tells that there is a possible empty file scenario. While debugging is done, the reason was the chunk size set as zero, which marked the file as empty/corrupted.

Monday, January 10, 2011

PeopleSoft HCM 9.1 Feature Pack

As you’re all aware of, in December, the first PeopleSoft HCM Feature Pack became generally available, providing the following functionality.

- Company Directory
- Talent Management Integration: ePerformance 9.1 to HR 9.0
- Talent Management Integration: Career & Succession Planning 9.1 to HR 9.0
- Talent Management Integration: eCompensation Manager 9.1 to HR 9.0
- Talent Management Integration: Recruiting 9.1 to HR 9.0
- Talent Management Integration: Career and Succession Planning 9.1 to HR 8.9
- Talent Management Integration: eCompensation 9.1 to HR 8.9
- Talent Management Integration: ePerformance 9.1 to HR 8.9
- Clairvia (previously AtStaff) Healthcare Scheduling to HCM
- Effective Dated Configurable Sections for Family Leave
- AWE for Federal
- High priority reports converted from Crystal to XMLP
- IBM Cobol Delivery - Certification of Windows and AIX Platform

While many of these are new capabilities are delivered via off-cycle bundles or maintenance packs, they are now rolled up into the PeopleSoft HRMS 9.1 Feature Pack - December 2010