I assume that you are most interested in errors related to the application server, not the application.
AppServer related errors may be under the following cat
- Memory. These errors, as you indicated, are OutOFMemory, PermGen, etc. You can easily control them using the JMX console or use the JMX API.
- Network. These errors occur due to firewalls or unreliable network or network congestion. Depending on which you may need a different set of tools for diagnosing problems. The results of network problems usually result in unavailability of the service, performance problems, HA failure, cluster breakdown, etc.
- Security. These are not necessarily errors, but what you need to monitor to make sure that there is no violation.
- Performance - Performance is a huge topic, but in general, you need to control resources that are critical to performance, whether it is connection pools or thread pools or memory pools, as they will determine how your application will work.
- Resource limits. Here you need to better understand your application in order to configure enough resources to process the request. Otherwise, you will see erros. For example: if you expect 100 concurrent users, you need to have at least 100 threads to handle all these requests, otherwise you will start dropping the requests.
I was very general in identifying potential errors on your application server. Depending on your application server, there may be more. In addition, depending on your choice, your monitoring tools may vary.
I hope for this help.
Good luck
source share