Talend as part of another application

One Star

Re: Talend as part of another application

Hi everyone!
Thanks for the post Shong, it was very useful.
I'm just missing a step, even after reading the other related posts you pointed out:
how exactly do I import  my context properties into eclipse? surely non as Jars or as class folder, but then how?
Could anyone clarify this step?
Thanks for reading. Smiley Happy
Paolo
Community Manager

Re: Talend as part of another application

Hi Paolo  
I have written all steps to a KB article, 
https://help.talend.com/display/KB/Calling+a+Talend+Job+from+an+external+Java+application
Best regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: Talend as part of another application

Hi
Shong  I've already done your procedure and its working fine on me. But when I tried running it using a web server its not working anymore. Can you please help me how to run export jobs in java web.
Thanks.
One Star

Re: Talend as part of another application

Exception in component tOracleOutput_5
java.sql.SQLException: The Network Adapter could not establish the connection
 at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
 at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:131)
 at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:197)
 at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:525)
 at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:413)
 at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:508)
 at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:203)
 at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)
 at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:510)
 at java.sql.DriverManager.getConnection(Unknown Source)
 at java.sql.DriverManager.getConnection(Unknown Source)
 at end_to_end.ac_hrealloc_start_0_1.AC_HRealloc_Start.tStatCatcher_1Process(AC_HRealloc_Start.java:20863)
 at end_to_end.ac_hrealloc_start_0_1.AC_HRealloc_Start.runJobInTOS(AC_HRealloc_Start.java:21541)
 at end_to_end.ac_hrealloc_start_0_1.AC_HRealloc_Start.runJob(AC_HRealloc_Start.java:21379)
 at com.acss.common.web.ScheduledRealloc.scheduledRealloc(ScheduledRealloc.java:22)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:64)
 at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:53)
 at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81)
 at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
 at java.util.concurrent.FutureTask.run(Unknown Source)
 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)
Caused by: oracle.net.ns.NetException: The Network Adapter could not establish the connection
 at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:328)
 at oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:421)
 at oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:630)
 at oracle.net.ns.NSProtocol.connect(NSProtocol.java:206)
 at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:966)
 at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:292)
 ... 25 more
Caused by: oracle.net.ns.NetException: NL Exception was generated
 at oracle.net.nt.ConnOption.getNT(ConnOption.java:101)
 at oracle.net.nt.ConnOption.connect(ConnOption.java:125)
 at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:306)
 ... 30 more
Exception in component tOracleOutput_5
java.sql.SQLException: The Network Adapter could not establish the connection
 at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
 at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:131)
 at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:197)
 at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:525)
 at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:413)
 at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:508)
 at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:203)
 at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)
 at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:510)
 at java.sql.DriverManager.getConnection(Unknown Source)
 at java.sql.DriverManager.getConnection(Unknown Source)
 at end_to_end.ac_hrealloc_start_0_1.AC_HRealloc_Start.tStatCatcher_1Process(AC_HRealloc_Start.java:20863)
 at end_to_end.ac_hrealloc_start_0_1.AC_HRealloc_Start.runJobInTOS(AC_HRealloc_Start.java:21503)
 at end_to_end.ac_hrealloc_start_0_1.AC_HRealloc_Start.runJob(AC_HRealloc_Start.java:21379)
 at com.acss.common.web.ScheduledRealloc.scheduledRealloc(ScheduledRealloc.java:22)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:64)
 at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:53)
 at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81)
 at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
 at java.util.concurrent.FutureTask.run(Unknown Source)
 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)
Caused by: oracle.net.ns.NetException: The Network Adapter could not establish the connection
 at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:328)
 at oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:421)
 at oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:630)
 at oracle.net.ns.NSProtocol.connect(NSProtocol.java:206)
 at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:966)
 at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:292)
 ... 25 more
Caused by: oracle.net.ns.NetException: NL Exception was generated
 at oracle.net.nt.ConnOption.getNT(ConnOption.java:101)
 at oracle.net.nt.ConnOption.connect(ConnOption.java:125)
 at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:306)
 ... 30 more
Exception in component tOracleOutput_5
java.sql.SQLException: The Network Adapter could not establish the connection
 at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
 at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:131)
 at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:197)
 at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:525)
 at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:413)
 at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:508)
 at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:203)
 at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)
 at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:510)
 at java.sql.DriverManager.getConnection(Unknown Source)
 at java.sql.DriverManager.getConnection(Unknown Source)
 at end_to_end.ac_hrealloc_start_0_1.AC_HRealloc_Start.tStatCatcher_1Process(AC_HRealloc_Start.java:20863)
 at end_to_end.ac_hrealloc_start_0_1.AC_HRealloc_Start.tOracleSP_1Process(AC_HRealloc_Start.java:21257)
 at end_to_end.ac_hrealloc_start_0_1.AC_HRealloc_Start.runJobInTOS(AC_HRealloc_Start.java:21512)
 at end_to_end.ac_hrealloc_start_0_1.AC_HRealloc_Start.runJob(AC_HRealloc_Start.java:21379)
 at com.acss.common.web.ScheduledRealloc.scheduledRealloc(ScheduledRealloc.java:22)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:64)
 at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:53)
 at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81)
 at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
 at java.util.concurrent.FutureTask.run(Unknown Source)
 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)
Caused by: oracle.net.ns.NetException: The Network Adapter could not establish the connection
 at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:328)
 at oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:421)
 at oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:630)
 at oracle.net.ns.NSProtocol.connect(NSProtocol.java:206)
 at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:966)
 at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:292)
 ... 26 more
Caused by: oracle.net.ns.NetException: NL Exception was generated
 at oracle.net.nt.ConnOption.getNT(ConnOption.java:101)
 at oracle.net.nt.ConnOption.connect(ConnOption.java:125)
 at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:306)
 ... 31 more
Exception in component tOracleOutput_5
java.sql.SQLException: The Network Adapter could not establish the connection
 at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
 at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:131)
 at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:197)
 at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:525)
 at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:413)
 at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:508)
 at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:203)
 at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)
 at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:510)
 at java.sql.DriverManager.getConnection(Unknown Source)
 at java.sql.DriverManager.getConnection(Unknown Source)
 at end_to_end.ac_hrealloc_start_0_1.AC_HRealloc_Start.tStatCatcher_1Process(AC_HRealloc_Start.java:20863)
 at end_to_end.ac_hrealloc_start_0_1.AC_HRealloc_Start.runJobInTOS(AC_HRealloc_Start.java:21541)
 at end_to_end.ac_hrealloc_start_0_1.AC_HRealloc_Start.runJob(AC_HRealloc_Start.java:21379)
 at com.acss.common.web.ScheduledRealloc.scheduledRealloc(ScheduledRealloc.java:22)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:64)
 at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:53)
 at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81)
 at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
 at java.util.concurrent.FutureTask.run(Unknown Source)
 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)
Caused by: oracle.net.ns.NetException: The Network Adapter could not establish the connection
 at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:328)
 at oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:421)
 at oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:630)
 at oracle.net.ns.NSProtocol.connect(NSProtocol.java:206)
 at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:966)
 at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:292)
 ... 25 more
Caused by: oracle.net.ns.NetException: NL Exception was generated
 at oracle.net.nt.ConnOption.getNT(ConnOption.java:101)
 at oracle.net.nt.ConnOption.connect(ConnOption.java:125)
 at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:306)
 ... 30 more
Done......................!!!
12:42:00.007 DEBUG com.acss.common.web.ScheduledTask - Hourly Batch of Reallocation !
Exception in component tOracleOutput_5
java.sql.SQLException: The Network Adapter could not establish the connection
 at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
 at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:131)
 at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:197)
 at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:525)
 at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:413)
 at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:508)
 at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:203)
 at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)
 at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:510)
 at java.sql.DriverManager.getConnection(Unknown Source)
 at java.sql.DriverManager.getConnection(Unknown Source)
 at end_to_end.ac_hrealloc_start_0_1.AC_HRealloc_Start.tStatCatcher_1Process(AC_HRealloc_Start.java:20863)
 at end_to_end.ac_hrealloc_start_0_1.AC_HRealloc_Start.runJobInTOS(AC_HRealloc_Start.java:21503)
 at end_to_end.ac_hrealloc_start_0_1.AC_HRealloc_Start.runJob(AC_HRealloc_Start.java:21379)
 at com.acss.common.web.ScheduledRealloc.scheduledRealloc(ScheduledRealloc.java:22)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:64)
 at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:53)
 at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81)
 at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
 at java.util.concurrent.FutureTask.run(Unknown Source)
 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)
Caused by: oracle.net.ns.NetException: The Network Adapter could not establish the connection
 at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:328)
 at oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:421)
 at oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:630)
 at oracle.net.ns.NSProtocol.connect(NSProtocol.java:206)
 at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:966)
 at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:292)
 ... 25 more
Caused by: oracle.net.ns.NetException: NL Exception was generated
 at oracle.net.nt.ConnOption.getNT(ConnOption.java:101)
 at oracle.net.nt.ConnOption.connect(ConnOption.java:125)
 at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:306)
 ... 30 more
Exception in component tOracleOutput_5
java.sql.SQLException: The Network Adapter could not establish the connection
 at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
 at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:131)
 at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:197)
 at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:525)
 at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:413)
 at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:508)
 at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:203)
 at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)
 at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:510)
 at java.sql.DriverManager.getConnection(Unknown Source)
 at java.sql.DriverManager.getConnection(Unknown Source)
 at end_to_end.ac_hrealloc_start_0_1.AC_HRealloc_Start.tStatCatcher_1Process(AC_HRealloc_Start.java:20863)
 at end_to_end.ac_hrealloc_start_0_1.AC_HRealloc_Start.tOracleSP_1Process(AC_HRealloc_Start.java:21257)
 at end_to_end.ac_hrealloc_start_0_1.AC_HRealloc_Start.runJobInTOS(AC_HRealloc_Start.java:21512)
 at end_to_end.ac_hrealloc_start_0_1.AC_HRealloc_Start.runJob(AC_HRealloc_Start.java:21379)
 at com.acss.common.web.ScheduledRealloc.scheduledRealloc(ScheduledRealloc.java:22)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:64)
 at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:53)
 at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81)
 at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
 at java.util.concurrent.FutureTask.run(Unknown Source)
 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)
Caused by: oracle.net.ns.NetException: The Network Adapter could not establish the connection
 at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:328)
 at oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:421)
 at oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:630)
 at oracle.net.ns.NSProtocol.connect(NSProtocol.java:206)
 at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:966)
 at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:292)
 ... 26 more
Caused by: oracle.net.ns.NetException: NL Exception was generated
 at oracle.net.nt.ConnOption.getNT(ConnOption.java:101)
 at oracle.net.nt.ConnOption.connect(ConnOption.java:125)
 at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:306)
 ... 31 more
Done......................!!!
12:44:00.068 DEBUG com.acss.common.web.ScheduledTask - Hourly Batch of Reallocation !
Exception in component tOracleOutput_5
java.sql.SQLException: The Network Adapter could not establish the connection
 at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
 at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:131)
 at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:197)
 at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:525)
 at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:413)
 at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:508)
 at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:203)
 at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)
 at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:510)
 at java.sql.DriverManager.getConnection(Unknown Source)
 at java.sql.DriverManager.getConnection(Unknown Source)
 at end_to_end.ac_hrealloc_start_0_1.AC_HRealloc_Start.tStatCatcher_1Process(AC_HRealloc_Start.java:20863)
 at end_to_end.ac_hrealloc_start_0_1.AC_HRealloc_Start.runJobInTOS(AC_HRealloc_Start.java:21541)
 at end_to_end.ac_hrealloc_start_0_1.AC_HRealloc_Start.runJob(AC_HRealloc_Start.java:21379)
 at com.acss.common.web.ScheduledRealloc.scheduledRealloc(ScheduledRealloc.java:22)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:64)
 at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:53)
 at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81)
 at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
 at java.util.concurrent.FutureTask.run(Unknown Source)
 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)
Caused by: oracle.net.ns.NetException: The Network Adapter could not establish the connection
 at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:328)
 at oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:421)
 at oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:630)
 at oracle.net.ns.NSProtocol.connect(NSProtocol.java:206)
 at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:966)
 at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:292)
 ... 25 more
Caused by: oracle.net.ns.NetException: NL Exception was generated
 at oracle.net.nt.ConnOption.getNT(ConnOption.java:101)
 at oracle.net.nt.ConnOption.connect(ConnOption.java:125)
 at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:306)
 ... 30 more

2019 GARNER 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

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

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

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog