Hello Tomcat users,

I have a big problem with Tomcat after restart. I try to solve this problem
some days and can not find any solution for it:

When I start Tomcat and copy the *.war file of my application to the webapps
folder everything is fine. Tomcat deploys the application as normal.
Everything runs.
But if I stop Tomcat and start it again Tomcat hangs and nothing works
anymore.

It is a GWT application. I also use hibernate and postgresql as database.
I have really no idea where the problem is. None of my servlets starts, no
exceptions, nothing...
The only solution I have by now is to stop Tomcat and delete the application
folder and the *.war from the webapps folder. Start Tomcat and then copy the
*.war
again to the webapps folder. But it is not a solution for a production
system.
I hope someone can help me with my problem. Log file entry is below.

Tomcat version: Apache Tomcat/6.0.29 with default configuration
Windows 7 Professional 64bit
hibernate 3.5.2
postgresql 8.3

kind regards
Artur Osmanov


log entry after tomcat stop

19.10.2010 20:43:17 org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
19.10.2010 20:43:18 org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
19.10.2010 20:43:18 org.apache.catalina.loader.WebappClassLoader
clearReferencesJdbc
SCHWERWIEGEND: The web application [/ThinSweClient2.0_Beta] registered the
JBDC driver [org.postgresql.Driver] but failed to unregister it when the web
application was stopped. To prevent a memory leak, the JDBC Driver has been
forcibly unregistered.
19.10.2010 20:43:18 org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SCHWERWIEGEND: The web application [/ThinSweClient2.0_Beta] appears to have
started a thread named [Timer-0] but has failed to stop it. This is very
likely to create a memory leak.
19.10.2010 20:43:18 org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SCHWERWIEGEND: The web application [/ThinSweClient2.0_Beta] appears to have
started a thread named [Timer-1] but has failed to stop it. This is very
likely to create a memory leak.
19.10.2010 20:43:18 org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SCHWERWIEGEND: The web application [/ThinSweClient2.0_Beta] created a
ThreadLocal with key of type [org.apache.xmlbeans.XmlBeans$1] (value
[org.apache.xmlbeans.xmlbean...@5fcfad77]) and a value of type
[java.lang.ref.SoftReference] (value [java.lang.ref.softrefere...@3b8590c5])
but failed to remove it when the web application was stopped. This is very
likely to create a memory leak.
19.10.2010 20:43:18 org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SCHWERWIEGEND: The web application [/ThinSweClient2.0_Beta] created a
ThreadLocal with key of type
[org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl$1] (value
[org.apache.xmlbeans.impl.schema.schematypeloaderimp...@3de3940a]) and a
value of type [java.util.ArrayList] (value
[[java.lang.ref.softrefere...@280c3c44]]) but failed to remove it when the
web application was stopped. This is very likely to create a memory leak.
19.10.2010 20:43:18 org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SCHWERWIEGEND: The web application [/ThinSweClient2.0_Beta] created a
ThreadLocal with key of type [org.apache.xmlbeans.impl.store.CharUtil$1]
(value [org.apache.xmlbeans.impl.store.charuti...@3b48a8e6]) and a value of
type [java.lang.ref.SoftReference] (value
[java.lang.ref.softrefere...@1f48b272]) but failed to remove it when the web
application was stopped. This is very likely to create a memory leak.
19.10.2010 20:43:18 org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SCHWERWIEGEND: The web application [/SES-2010] appears to have started a
thread named [SES-ScheduledTermination-Worker-Thread] but has failed to stop
it. This is very likely to create a memory leak.
19.10.2010 20:43:18 org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SCHWERWIEGEND: The web application [/SES-2010] created a ThreadLocal with
key of type [org.apache.xmlbeans.XmlBeans$1] (value
[org.apache.xmlbeans.xmlbean...@d38d2fc]) and a value of type
[java.lang.ref.SoftReference] (value [java.lang.ref.softrefere...@da3a52c])
but failed to remove it when the web application was stopped. This is very
likely to create a memory leak.
19.10.2010 20:43:18 org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SCHWERWIEGEND: The web application [/SES-2010] created a ThreadLocal with
key of type [org.apache.xmlbeans.impl.store.Locale$1] (value
[org.apache.xmlbeans.impl.store.local...@72b0f2b2]) and a value of type
[java.lang.ref.SoftReference] (value [java.lang.ref.softrefere...@3f0dbef1])
but failed to remove it when the web application was stopped. This is very
likely to create a memory leak.
19.10.2010 20:43:18 org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SCHWERWIEGEND: The web application [/SES-2010] created a ThreadLocal with
key of type [org.apache.xmlbeans.impl.store.CharUtil$1] (value
[org.apache.xmlbeans.impl.store.charuti...@1f72e08e]) and a value of type
[java.lang.ref.SoftReference] (value [java.lang.ref.softrefere...@2ef49ac3])
but failed to remove it when the web application was stopped. This is very
likely to create a memory leak.
19.10.2010 20:43:18 org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SCHWERWIEGEND: The web application [/SES-2010] created a ThreadLocal with
key of type [org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl$1] (value
[org.apache.xmlbeans.impl.schema.schematypeloaderimp...@3cdc904a]) and a
value of type [java.util.ArrayList] (value
[[java.lang.ref.softrefere...@3485097d]]) but failed to remove it when the
web application was stopped. This is very likely to create a memory leak.
19.10.2010 20:43:18 org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SCHWERWIEGEND: The web application [/SES-2010] created a ThreadLocal with
key of type [org.apache.xmlbeans.impl.store.Locale$1] (value
[org.apache.xmlbeans.impl.store.local...@72b0f2b2]) and a value of type
[java.lang.ref.SoftReference] (value [java.lang.ref.softrefere...@a32087b])
but failed to remove it when the web application was stopped. This is very
likely to create a memory leak.
19.10.2010 20:43:18 org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080


and after restart

19.10.2010 20:44:04 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path: C:\Program Files\Apache Software Foundation\Tomcat
6.0\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program
Files (x86)\MiKTeX
2.8\miktex\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
Files\ThinkPad\Bluetooth Software\;C:\Program Files\ThinkPad\Bluetooth
Software\syswow64;C:\Program Files (x86)\Common Files\Lenovo;C:\Program
Files (x86)\Common Files\Ulead Systems\MPEG;C:\Program Files
(x86)\Lenovo\Access Connections\;C:\Program Files\Common
Files\Lenovo;C:\Program Files (x86)\Lenovo\Client Security
Solution;C:\Program Files\Lenovo\Client Security Solution;c:\Program Files
(x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program
Files\Java\jdk1.6.0_20\bin;C:\Program Files (x86)\Smart
Projects\IsoBuster;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common
Files\Intel\WirelessCommon\
19.10.2010 20:44:04 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
19.10.2010 20:44:04 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 492 ms
19.10.2010 20:44:04 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
19.10.2010 20:44:04 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.29
19.10.2010 20:44:04 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
19.10.2010 20:44:04 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor ThinSweClient2.0_Beta.xml

-- 
Artur Osmanov

52°North GmbH
| Martin-Luther-King-Weg 24
| D - 48155 Muenster
| phone +49 (0)251.396371-0
| http://52north.org/

Reply via email to