Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • The resource configuration is outside 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' 
    

...

  • 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
    

Error - Cannot create PoolableConnectionFactory (Could not create connection to database server. Attempted reconnect 3 times. Giving up.)

  • Make sure your database server is accepting connections from the Confluence server TCP address and user is authorized to connect.

Error - MyDS not found

  • The datasource names are case sensitive, make sure you use exactly the same name as what you have configured!

Non-standard JDBC drivers

...