Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Teams
, (opens new window)

SQL for Confluence
Results will update as you type.
  • Get started
  • Data Center 11.x
    • Help and support - 11.x
      • Troubleshoot Data Source Profiles - 11.x
      • Troubleshoot Application Server Based Data Sources - 11.x
        • Access denied - 11.x
        • Data source name not found - 11.x
        • Class not found - 11.x
        • Validation query throwing exception - 11.x
        • Could not connect to database server - 11.x
        • Authentication failed - 11.x
        • Broken connections - 11.x
        • Invalid database port - 11.x
        • Listener refused connection - 11.x
        • No JDBC driver - 11.x
        • Database server not found - 11.x
        • isValid exceptions - 11.x
        • Generic SQL exception - 11.x
        • Validation query throwing Oracle exception - 11.x
        • User authority - 11.x
      • Sample queries - Confluence labels
      • SQL for Confluence Announcement and FAQ
    • Use cases - 11.x
    • Macro Reference - 11.x
    • Key Concepts - 11.x
    • Overview - Data Center 11.x
    • Installation and configuration - Data Center
  • Cloud
  • Release notes
  • Help and support
    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    Troubleshoot Application Server Based Data Sources - 11.x
    Updated Aug 06

    Troubleshoot Application Server Based Data Sources - 11.x

    Description

    This page lists the most common errors and examples. The resolution steps for data source profiles or application server based data sources (application server) might differ. In most cases, you will see common error messages like Error rendering macro 'sql' or Error rendering macro 'sql-query'

    • Access denied - 11.x
    • Data source name not found - 11.x
    • Class not found - 11.x
    • Validation query throwing exception - 11.x
    • Could not connect to database server - 11.x
    • Authentication failed - 11.x
    • Broken connections - 11.x
    • Invalid database port - 11.x
    • Listener refused connection - 11.x
    • No JDBC driver - 11.x
    • Database server not found - 11.x
    • isValid exceptions - 11.x
    • Generic SQL exception - 11.x
    • Validation query throwing Oracle exception - 11.x
    • User authority - 11.x
    • Double check the configuration values and verify if your JDBC driver is installed in the correct location.

    • Make sure you restart Confluence after you make configuration changes to server.xml or an equivalent application server (if you are using a different application server).

    • Make sure your database is configured using remote access to the Confluence server with a user name and password (Need to check this). If you face any problems, connect using an independent SQL client from the server to verify the access. Consult your database documentation to know how to configure remote access and database permissions.

    Need support? Create a request with our support team.

    Copyright © 2005 - 2025 Appfire | All rights reserved.

    {"serverDuration": 56, "requestCorrelationId": "09e07521474f4ae89f1b5a6b1251e6e0"}