cancel
Showing results for 
Search instead for 
Did you mean: 

No suitable driver found for jdbc:sap://XXXXXXX:31015

Sreejith1
Contributor
0 Kudos

Hi Experts,

I was trying to get HANA data to my web dynpro java application. But I am getting error "No suitable driver found for jdbc:sap://XXXXXXX:31015"

I have deployed the "ngdbc.jar" by following the steps in below link

http://help.sap.com/SAPhelp_nw73/helpdata/en/1c/e05bc0c9ca41a783169ce4e18c1bfe/content.htm?frameset=...

I have given below values for last step.

XMSG_JDBC_DESTINATION_PROPERTY_URL_NAME:  -   jdbc:sap://XXXXXXX:31015

XMSG_JDBC_DESTINATION_PROPERTY_DRIVER_NAME:  - com.sap.db.jdbc.Driver

I am getting error on below code. It is not able to identify the respective driver

Class.forName("com.sap.db.jdbc.Driver")

But when I created a Custom data source (YY),I am able to call it through JNDI name.

ctx.lookup("jdbc/YY");

Can anyone tell where is the issue?

Thanks in Advance,

Ram

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member187565
Active Contributor
0 Kudos

Hi Ram,

Please remove the jar file and then restart java. Now again import the jar  file again (i mean the jdbc configuration) and check the parameters are correct and restart java and check your scenario.

Regards,

Rafikul

Sreejith1
Contributor
0 Kudos

No hope.... its the same

former_member187565
Active Contributor
0 Kudos

Hi Ram,

Please check SAP Note 1879272.

Regards,

Rafikul