WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

JDBC connection getting failed on version WAS 8.5.5.18 and JAVA .18

  • 1.  JDBC connection getting failed on version WAS 8.5.5.18 and JAVA .18

    Posted Fri March 26, 2021 11:39 AM

    The test connection operation failed for data source MBDBConnection on server nodeagent at node Node01 with the following exception: java.sql.SQLException: java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=oracle/jdbc/pool/OracleConnectionPoolDataSource, offset=6. View JVM logs for further details.



    #Support
    #SupportMigration
    #WebSphereApplicationServer(WAS)


  • 2.  RE: JDBC connection getting failed on version WAS 8.5.5.18 and JAVA .18

    Posted Fri March 26, 2021 12:26 PM

    Hi,

    Errror message bad major version tell us that you are running a JDBC Driver version compiled to higher java version than the one that you are running with your application server, for example, if your application server is running with Java 7 and you are using ojdbc8.jar that is compiled to run with Java 8 you will find those errors. Be sure to use a JDBC Driver compatible with java version your application server runs.

    Regards,

    Márcio d'Amico.



    #Support
    #SupportMigration
    #WebSphereApplicationServer(WAS)