Problem to run batch on AIX with a specific version of JRE

One Star

Problem to run batch on AIX with a specific version of JRE

Hello,
I developped some batchs with Talend (Version 5.0.1) and I would like to run them on AIX.
The objective of these batchs is to extract data from a DB2 database (version 9.7.0.0).
Those batchs worked fine with a JRE 1.6.0 in 2007 version:
java version "1.6.0"
Java(TM) SE Runtime Environment (build pap6460-20071123_01)
IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 AIX ppc64-64 jvmap6460-20071121_15015 (JIT enabled)
But I've got an error with a JRE 1.6.0 in 2011 version:
java version "1.6.0"
Java(TM) SE Runtime Environment (build pap6460sr9fp2-20110627_03(SR9 FP2))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 AIX ppc64-64 jvmap6460sr9-20110624_85526 (JIT enabled, AOT enabled)
Th extraction began fine but finished in error with this problem:
Exception in component tDB2Input_1
java.lang.StringIndexOutOfBoundsException
at java.lang.String.<init>(String.java:306)
Before failing in error, I've some correct data in my output file but it seems that at a moment, there is a mix in the fields retrieved and with "NUL" character, and then the batch failed.
Is this version of Talend is compatible with the JRE 1.6.0 jvmap6460sr9-20110624_85526 ?
Thanks for your help,
Regards,
Pascale
Community Manager

Re: Problem to run batch on AIX with a specific version of JRE

Hi Pascale
Not sure now the problem is related to JRE? but have you tried to do more testing, for example, try to remove the rows that has NUL in this field or convert it to other value, and see the problem still exist?

Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business