cancel
Showing results for 
Search instead for 
Did you mean: 

JDBC error : UnsupportedClassVersionError:Bad version number in .class file

Former Member
0 Kudos

Hi All,

I am currently working with PI 7.1 on an Idoc ->XI->JDBC scenario. The DB being used in our case is SQL 2008. We have successfully installed the JDBC driver provided by MS. When the message reached the JDBC the following error is listed in RWB.

JDBC Message processing failed, due to Error when attempting to get processing resources: com.sap.aii.af.lib.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Can not establish connection:: UnsupportedClassVersionError: Bad version number in .class file

We tried reinstalling the JDBC drivers as well , but to no avail.. .

Any idea on why this could happen ?

Regards,

Sandeep

Accepted Solutions (0)

Answers (3)

Answers (3)

naveen_chichili
Active Contributor
0 Kudos

Hi Mallikarjun,

Are you getting this error for only specific channel or all channels?

If you are getting this for all channels check your drivers of they are installed correctly....

if it is for specific channel then try increasing JDBC thread count and in restart the channel...

Regards,

Naveen

Former Member
0 Kudos

Hi,

Have you set CLASSPATH variable. If not then please set it and try.

Regards,

Sachin Rane

Former Member
0 Kudos

>> UnsupportedClassVersionError: Bad version number in .class file

>>Any idea on why this could happen ?

Only possible reason the JDBC driver you have installed does not support you DB version. Get the proper version of the JDBC driver and install it and ensure the connection string is as per the Manufacturer's guide lines. It could be different for different version of the db.

Regards

Jai