000025142 - Cannot create JDBC driver of class '' for connect URL 'null'

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

Article Content

Article Number000025142
Applies ToRSA Key Manager 2.0 (RKM 2.0)
Apache Tomcat 4.1
Apache Tomcat 5.5
RSA Key Manager Server 2.2
Issue com.rsa.kms.edge.java.sql.EdgeSqlException: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'
            at com.rsa.kms.edge.javax.naming.DefaultEdgeDataSource.getConnection(DashoA10*..:33)
            at com.rsa.kms.database.connection.DefaultJndiDatabaseManager.getConnection(DashoA10*..:28)

Error "Unexpected Error" when running install.jsp
CauseUnable to find KMS configuration file
kms.xml is in lowercase
Docbase and Path from the Context tag in KMS.xml are invalid
ResolutionMake sure that KMS.xml is located at the proper location defined in the Application Server's configuration, and that it's permissions are set accordingly.

Apache Tomcat is also case sensitive, so make sure that the configuration file is KMS.xml, and not kms.xml.
On a standard Tomcat 4.1 deployment, KMS.xml should be found in $TOMCAT_HOME/webapps
On a standard Tomcat 5.5 deployment, KMS.xml should be found in $TOMCAT_HOME/conf/Catalina/localhost

Make sure that the following line in KMS.xml contains valid values for path and docBase. Path is the base URL where KMS will be accessed. DocBase is the relative path from $TOMCAT_HOME/webapps of the root folder where KMS documents are.
   <Context path="/KMS" docBase="KMS" debug="5" reloadable="true" crossContext="true">

Make sure that c3p0-xxx.jar and sqljdbc.jar are in the TOMCAT/common/lib folder instead of the TOMCAT/shared/lib folder.
Legacy Article IDa33061

Attachments

    Outcomes