on 02-26-2014 4:34 AM
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
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.