Knowledgebase article 18

Oracle logs keep building up in tomcat


Sometimes when running HelpDesk with an Oracle database, the tomcat logs build up quickly, and end up taking up all of your memory. This problem is only known to happen with some Oracle installations.


What usually happens is the Oracle listener comes offline or something breaks the IP state or communication to Oracle from the Tomcat server.  Tomcat tries over and over to connect, generating a log entry each time, usually about 5 a second.
Find out if you are stopping the Oracle server for any reason.  Sometimes if you run backups, it may take the listener down with the database.  If this isn't happening, you need to find out when the communication stops.  Find out if there is anytime that the database goes down.
You will have to monitor this, and each time, you will have to clear their log folders (stop tomcat, and delete everything inside the /logs/ folder located in the tomcat root) and restart Tomcat until you find out when the communications break.  Once you figure it out, the log issue will stop.
Group eHD Standard Support Last modified Nov 13, 2019 Type Public Viewed 2717