2017-06-08 6 views
0

Ich versuche meine Webapp auf meinem Tomcat Manager zu starten, aber es geht nicht. Ich lese Protokolldatei der Webapp, und ich habe thise Fehler:Apache Tomcat/6.0.32 - Web App startet nicht

8-giu-2017 9.41.12 org.apache.catalina.core.StandardContext start GRAVE: Error listenerStart 8-giu-2017 9.41.12 org.apache.catalina.core.StandardContext start GRAVE: Context [/ImageProcessor] startup failed due to previous errors 8-giu-2017 9.41.12 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc GRAVE: The web application [/ImageProcessor] registered the JDBC driver [oracle.jdbc.OracleDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 8-giu-2017 9.41.12 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads GRAVE: The web application [/ImageProcessor] appears to have started a thread named [oracle.jdbc.driver.BlockSource.ThreadedCachingBlockSource.BlockReleaser] but has failed to stop it. This is very likely to create a memory leak. 8-giu-2017 9.41.12 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads GRAVE: The web application [/ImageProcessor] appears to have started a thread named [CommunicatorServer] but has failed to stop it. This is very likely to create a memory leak.

+0

Mögliches Duplikat [einen Speicherverlust zu vermeiden, hat der JDBC-Treiber wurde mit Gewalt nicht registriert] (https://stackoverflow.com/questions/3320400/to-prevent-a-memory-leak-the -jdbc-driver-is-forceally-unregistriert worden) – Joe

Antwort

1

Das Problem ist, dass „oracle.jdbc.driver.BlockSource.ThreadedCachingBlockSource.BlockReleaser“ Thread ausgeführt wird, und es ist nicht zu stoppen, so Tomcat wird es als ein Speicherleck anzeigen. Sie müssen die Treiber manuell abmelden. Sehen Sie den Link unten, um Einblick zu bekommen.

https://stackoverflow.com/a/5315467/7083879