on 06-26-2012 8:14 AM
Dear All,
MS SQL 2008 R2 Express Edition is sender JDBC and receiver is IDOC.
we have configured Sqljdbc4.jar in PI server, when i try to connect ot JDBC its throwing below error message.
SAPClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver
Configuration is : JDBC Driver : com.microsoft.sqlserver.jdbc.SQLServerDriver
connection is : jdbc:sqlserver://<IP address>;instanceName=SAPINSTANCE
Processing parameters are :
Query SQL statement : SQL EXECUTE <stored procedure name>
Document name is : MT_CarDax
update SQL statement is : <TEST> (no update or modify )
PI and Sender applications are in local network ,
In Configuration i am able to see only JDBC 2.0 after the hot fix , does it show JDBC 4.0? or JDBC 2.0 is enough?
Please let me know is above my configuration parameters are correct.
thanks and regards
Sukumar
The message shows that JDBC drivers are not deployed properly. So runtime you get class not found exception. What is your PI version? and jvm version? You need to see only one drivers version. Remove the old version drivers and keep only the latest version.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hopefully your jdk version is 1.5 or above. First delete the old version drivers and deploy the latest drivers. If your drivers are not installed succesfully you will get this error. Take help from Basis.
the link shows the compatibility details for jdbc version vs jdk version and sql server
http://www.microsoft.com/en-us/download/details.aspx?id=11774
Hi,
>>>>SAPClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver
that means that the driver was not installed properly and runtime cannot find class:
com.microsoft.sqlserver.jdbc.SQLServerDriver
Please check the JDBC driver installation on PI procedure once more and install it properly
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi sukumar,
once you have to check ur JDBC drivers installtion on pi what was posted by earler poster and
2 & 3 parameters are correct but
Query SQL statement : EXECUTE <stored procedure name> only no need to write SQL before execute ........</p></body>
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.