During operation, a database may encounter various exceptions, such as application errors, database connection errors, database permission issues, database resource constraints, and network problems. One such exception is an application exception where the error message does not contain an OceanBase error code. This can make it difficult to determine the relevance of the issue to OceanBase Database, leading to unclear troubleshooting directions.
To help you quickly identify the root cause of such issues and efficiently resolve them, this topic summarizes a clear and practical troubleshooting process for application exceptions where the error message does not contain an OceanBase error code. The process provides detailed steps to enhance troubleshooting efficiency and minimize business impact, supporting your routine O&M work.
The following figure shows the troubleshooting process for an application that reports an exception but the error message does not contain an OceanBase error code.

Process
When an application reports an exception and the error message does not contain an OceanBase error code, you can troubleshoot the issue by following the process below.
Analyze the error logic on the application side to determine if it is a disconnection exception:
If yes, search for relevant information in Knowledge Base and refer to the troubleshooting process.
If no, check if the exception can be reproduced:
If yes, use methods such as debugging the program code and network packet capture (for example, using tcpdump) to analyze the program code and determine the cause of the error, thereby clarifying the troubleshooting direction.
If no, use the existing information and the program's logic to speculate on the cause of the error, thereby clarifying the troubleshooting direction.
Case studies
- Application feedback: During large-scale data import, the application logs reported the error
Connection is closed & Connection reset.
- In the test environment, the SQL execution time was observed to be 2 ms on the application side, while in the production environment, the execution time increased to 30-40 ms. However, the SQL execution time within the database did not increase.
- System feedback: After switching from an Oracle database to an Oracle tenant of OceanBase Database, a JDBC application deployed by using JBoss encountered a problem of insufficient connections.