Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Talend Job Runs fine in Open Studio - but fails when trying to run from .bat

The error I get when trying to run it from .bat is:

 

java.lang.ClassNotFoundException: com.ibm.db2.jcc.DB2Driver
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 timeintegration.sf_to_mx_projects_0_1.SF_to_MX_Projects.tDB2Connection_1Process(SF_to_MX_Projects.java:1037)
at timeintegration.sf_to_mx_projects_0_1.SF_to_MX_Projects.tSalesforceConnection_1Process(SF_to_MX_Projects.java:956)
at timeintegration.sf_to_mx_projects_0_1.SF_to_MX_Projects.runJobInTOS(SF_to_MX_Projects.java:7198)
at timeintegration.sf_to_mx_projects_0_1.SF_to_MX_Projects.main(SF_to_MX_Projects.java:7004)

 

I do have the db2cc jars installed in Talend, and the job runs with ZERO errors within Open Studio itself. Any ideas?

 

UPDATE: I figured out it was trying to use a jar file called "db2cc4.jar", which was not the one included when I built the job. I'm not sure why that happened, but easy to fix. So, I don't need an answer anymore, but hope this helps someone!

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Great Info.  Thanks.

View solution in original post

2 Replies
Anonymous
Not applicable
Author

Great Info.  Thanks.

Anonymous
Not applicable
Author

Hello,

Could you maybe set this thread as resolved to help other find it easily?

Best regards

Sabrina