Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Add info on org.apache.commons.dbcp.BasicDataSourceFactory problem

...

  • The resource configuration is outside of the confluence context - change your application server configuration (server.xml) to ensure the resource is within the confluence context
    No Format
    sql: Unexpected program error: com.atlassian.renderer.v2.macro.MacroException:
    org.apache.tomcat.dbcp.dbcp.SQLNestedException: 
    Cannot create JDBC driver of class '' for connect URL 'null' 
    

Error - class not found

  • After upgrading Confluence or your application server, this error can occur if your datasource configuration is out of date. Look for something like factory="org.apache.commons.dbcp.BasicDataSourceFactory" in your server.xml. Either remove it or rename it to factory="org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory". Reference is SQL-68.
    No Format
    
    java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSourceFactory
    

Other errors

For other errors replated to connectivity, google your symptoms and application server combination

...