[resolved] Exception in component tOracleOutputBulkExec_1_tOBE

Not applicable

[resolved] Exception in component tOracleOutputBulkExec_1_tOBE

Hi all,
i have exported the job to my server then i have set the cron entry as generated by talend ,shown below:
30 1 * * * /usr/local/jdk1.6.0_13/jre/bin/java -Xms256M -Xmx1024M -cp /usr/local/talend/Talend-Win32-r46802-V4.1.0M4/lib/java/mail.jar:/usr/local/talend/Talend-Win32-r46802-V4.1.0M4/lib/java/jt400_V5R3.jar:/usr/local/talend/Talend-Win32-r46802-V4.1.0M4/lib/java/jxl.jar:/usr/local/talend/Talend-Win32-r46802-V4.1.0M4/lib/java/ojdbc14-10g.jar:/usr/local/talend/Talend-Win32-r46802-V4.1.0M4/lib/java/ojdbc6-11g.jar:/usr/local/talend/Talend-Win32-r46802-V4.1.0M4/lib/java/activation.jar:/usr/local/talend/.Java/classes::/usr/local/talend/Talend-Win32-r46802-V4.1.0M4/lib/java: a2o.as400tooracle_0_1.AS400ToOracle --context=Default $*
BUT when this CRON entry runs i get a following error in my log file:
Exception in component tOracleOutputBulkExec_1_tOBE
java.io.IOException: Cannot run program "sqlldr": java.io.IOException: error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
at java.lang.Runtime.exec(Runtime.java:593)
at java.lang.Runtime.exec(Runtime.java:431)
at java.lang.Runtime.exec(Runtime.java:369)
at as400_to_oracle.as400tooracle_0_1.AS400ToOracle.tAS400Input_1Process(AS400ToOracle.java:18779)
at as400_to_oracle.as400tooracle_0_1.AS400ToOracle.tOracleRow_1Process(AS400ToOracle.java:950)
at as400_to_oracle.as400tooracle_0_1.AS400ToOracle.tJava_1Process(AS400ToOracle.java:811)
at as400_to_oracle.as400tooracle_0_1.AS400ToOracle.runJobInTOS(AS400ToOracle.java:21588)
at as400_to_oracle.as400tooracle_0_1.AS400ToOracle.main(AS400ToOracle.java:21486)
Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
at java.lang.ProcessImpl.start(ProcessImpl.java:65)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
... 8 more

But when i run the cron entry mentioned above on the command prompt it runs properly without any errors.
the JDK version on my server is : jdk1.6.0_13

Please help Thanks in advance .
Regards,
---Koustubh Avadhani.

Accepted Solutions
Not applicable

Re: [resolved] Exception in component tOracleOutputBulkExec_1_tOBE

hi all,
the solution to this post is at http://www.talendforge.org/forum/viewtopic.php?id=14757
Hope it helps
Thanks and Regards,
--Koustubh Avadhani

View solution in original post


All Replies
Not applicable

Re: [resolved] Exception in component tOracleOutputBulkExec_1_tOBE

hi all,
the solution to this post is at http://www.talendforge.org/forum/viewtopic.php?id=14757
Hope it helps
Thanks and Regards,
--Koustubh Avadhani

View solution in original post

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog