Update jdbc version in talend

Four Stars

Update jdbc version in talend

Hi, 

Currently, I am using licensed talend version 6.1. When I generate war file using talend it creates ojdbc6.jar in /WEB-INF/lib folder. I want it to be ojdbc7.jar. What are the changes required to achieve it. I tried installing ojdbc7.jar using module option even then generated war file contains ojdbc6.jar. Please find attached the modules snapshot.

 

I need to do this upgrade to suppress the following message in catalina.out in tomcat8:

08-Feb-2018 10:01:43.586 SEVERE [http-nio-49000-exec-2] oracle.jdbc.driver.OracleDriver.registerMBeans Error while registering Oracle JDBC Diagnosability MBean.

javax.management.MalformedObjectNameException: Invalid character '\n' in value part of property

        at javax.management.ObjectName.construct(ObjectName.java:618)

        at javax.management.ObjectName.<init>(ObjectName.java:1382)

        at oracle.jdbc.driver.OracleDriver.registerMBeans(OracleDriver.java:303)

        at oracle.jdbc.driver.OracleDriver$1.run(OracleDriver.java:213)

        at java.security.AccessController.doPrivileged(Native Method)

        at oracle.jdbc.driver.OracleDriver.<clinit>(OracleDriver.java:209)

        at java.lang.Class.forName0(Native Method)

        at java.lang.Class.forName(Class.java:348)

        at java.sql.DriverManager.isDriverAllowed(DriverManager.java:556)

        at java.sql.DriverManager.getConnection(DriverManager.java:661)

        at java.sql.DriverManager.getConnection(DriverManager.java:247)

Moderator

Re: Update jdbc version in talend

Hello,

Could you please follows these steps to update your jar file?
1) Make a backup of your ojdbc6.jar (ojdbc6.jar.orig)

2) Rename you ojdbc7.jar to ojdbc6.jar within Studio

3) Rebuild/Re-run job

Let us know if it works.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

15TH OCTOBER, COUNTY HALL, LONDON

Join us at the Community Lounge.

Register Now

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

Talend Studio Improvements for API Services

Take a look at the Talend Studio improvements for API Services

Watch Now

Data Integration Success Stories

Take a look at some Data Integration success stories

Read