• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » IP Address - C:\Windows\System32\drivers\etc\hosts

#1 2011-10-20 23:27:13

talendtester
Member
Registered: 2009-07-15
Posts: 99

IP Address - C:\Windows\System32\drivers\etc\hosts

On a Windows 2008 server, in the file:
C:\Windows\System32\drivers\etc\hosts

I have the IP address of my Teradata database server and the alias "teradataDBServer" for the IP address.

My Teradata database connection looks like this:
jdbc:teradata://teradataDBServer/

When I run the job in Talend it works fine, but when I export the job and try to run it from the .bat file, I get the following error:

Exception in component tTeradataInput_1
java.lang.ClassNotFoundException: com.teradata.jdbc.TeraDriver
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at talenddemosjava.myJob_0_1.myJob_
FULL.tTeradataInput_1Process(myJob.java:303)
        at talenddemosjava.myJob_0_1.myJob_
FULL.runJobInTOS(myJob.java:8958)
        at talenddemosjava.myJob_0_1.myJob_
FULL.main(myJob.java:8856)


Any suggestions other than putting the full IP address in the Teradata database connection?

Offline

#2 2011-10-21 08:37:15

mpa
Member
Company: Thinking Solutions
Registered: 2010-12-17
Posts: 257
Website

Re: IP Address - C:\Windows\System32\drivers\etc\hosts

talendtester,

It's just a thought, I have no idea if it is the case.

But did you enable enough when doing the export in talend? Seems to me like he is missing something from your job that wasn't included in the export.

Could you try exporting the job with every setting enabled to test?

Regards

Offline

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » IP Address - C:\Windows\System32\drivers\etc\hosts

Board footer

Powered by FluxBB