Article ID: 113261, created on Feb 3, 2012, last review on May 11, 2014

  • Applies to:
  • Plesk 10.4 for Linux/Unix


Applications installed by Plesk on Tomcat 6 unable to connect to database.
Steps to reproduce:
1. Install Plesk with Tomcat 6. 
2. Install war application on domain. 
3. Try to login in application with any credentials. 
You will see following error in browser:
Description: An unhandled exception occurred during the execution of the web application. Please review the following stack trace for more information regarding the error.
Exception Details: java.sql.SQLException  
JdbcRowSetXImpl (connect): (JNDI) Unable to connect: Cannot create JDBC driver of class '' for connect URL 'null' 
Possible Source of Error:  
Class Name: com.sun.sql.rowset.CachedRowSetXImpl5  
File Name:  
Method Name: getConnection  
Line Number: 4125 


Plesk or Tomcat 6 doesn't create conf/PSA/<domain>/context.xml for installed war application.


You can fix it with following workaround:

1. Create /var/lib/tomcat6/conf/PSA/ directory (where is name of your domain).
2. Copy psa-webapps/APP_NAME/META-INF/context.xml to created directory.
3. Restart tomcat.

e8756e9388aeca36710ac39e739b2b37 a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 dd0611b6086474193d9bf78e2b293040 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF