000024289 - Error 'java.lang.UnsupportedOperationException: Not supported by BasicDataSource at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection' when installing RSA Key Manager Server

Document created by RSA Customer Support Employee on Jun 16, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000024289
Applies ToRSA Key Manager Server 2.1.x
Apache Tomcat 5.5.x
Issuejava.lang.UnsupportedOperationException: Not supported by BasicDataSource at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:899)
   at com.rsa.keymanager.edge.javax.sql.DefaultDataSource.getConnection(DefaultDataSource.java:32)
   at com.rsa.keymanager.database.connection.core.DefaultCredentialsDataSource.getConnection(DefaultCredentialsDataSource.java:19)
   at com.rsa.keymanager.database.connection.core.DefaultCredentialsDataSource.getConnection(DefaultCredentialsDataSource.java:25)
...
ResolutionYou will see this error if C3P0 jar file is not present in Tomcat's folder.

Get C3P0 from http://sourceforge.net/projects/c3p0, and make sure to copy c3p0-0.9.1-XXX.jar to TOMCAT/common/lib and restart Tomcat.
Legacy Article IDa37356

Attachments

    Outcomes