How to setup JDBC connection to BW using tSAPBWInput

One Star

How to setup JDBC connection to BW using tSAPBWInput

Hi,  We are trying to use Talend to connect to our SAP BW system, but I am confused about:
"copy the jar file under the class path". Do we setup anything on the Class Variable side?
Can anyone share some lights on how exactly we can complete this step. Many thanks in advance.
William
Moderator

Re: How to setup JDBC connection to BW using tSAPBWInput

Hi,
Could you please take a look at document about:TalendHelpCenter:Install external modules?
Have you tried to install your -activation.jar, -commons-codec.jar, -jdbc4olap.jar, -saaj-api.jar and -saaj-impl.jar files into studio from modules view manually to see if it works?
Best regardsSabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: How to setup JDBC connection to BW using tSAPBWInput

Hi Sabrina,
Thank you for your response. However, I installed these jar files in modules view, but I would still get the same error. Please assist.
Database connection is failed. 
  java.lang.RuntimeException: java.lang.NullPointerException
      at org.talend.core.model.metadata.builder.database.JDBCDriverLoader.getConnection(JDBCDriverLoader.java:195)
      at org.talend.core.model.metadata.builder.database.ExtractMetaDataUtils.connect(ExtractMetaDataUtils.java:1041)
      at org.talend.core.model.metadata.builder.database.ExtractMetaDataFromDataBase.testConnection(ExtractMetaDataFromDataBase.java:314)
      at org.talend.core.model.metadata.builder.database.ExtractMetaDataFromDataBase.testConnection(ExtractMetaDataFromDataBase.java:300)
      at org.talend.designer.core.ui.editor.properties.controllers.DbTableController.checkConnection(DbTableController.java:765)
      at org.talend.designer.core.ui.editor.properties.controllers.DbTableController$6.run(DbTableController.java:554)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
  Caused by: java.lang.NullPointerException
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Unknown Source)
      at org.talend.core.model.metadata.builder.database.JDBCDriverLoader.getDriver(JDBCDriverLoader.java:121)
      at org.talend.core.model.metadata.builder.database.JDBCDriverLoader.getConnection(JDBCDriverLoader.java:146)
      ... 6 more
Moderator

Re: How to setup JDBC connection to BW using tSAPBWInput

Hi,
On which build version you got this issue? 6.1? Have you ever successfully execute any job in your studio before? Could you please show us your current job design screenshot?
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.

Calling Talend Open Studio Users

The first 100 community members completing the Open Studio survey win a $10 gift voucher.

Start the survey

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 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog