Re: Restart problem

2010-10-21 Thread Artur Osmanov
Hi Charles,

thank you for your tip. I solved now my problem. My application waited for a
service wich was not initialized before the application. A classical
deadlock which of course do not appear when I start Tomcat first (with the
needed service) and then deploy my application ;-)

kind regards
Artur Osmanov

2010/10/20 Caldarale, Charles R chuck.caldar...@unisys.com

  From: Artur Osmanov [mailto:a.osma...@52north.org]
  Subject: Restart problem

  But if I stop Tomcat and start it again Tomcat hangs
  and nothing works anymore.

 Have you tried taking a thread dump?

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

 JVM version?

 Running Tomcat from scripts or as a service?

  - Chuck


 THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
 MATERIAL and is thus for use only by the intended recipient. If you received
 this in error, please contact the sender and delete the e-mail and its
 attachments from all computers.


 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org





-- 
Artur Osmanov

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


Restart problem

2010-10-19 Thread Artur Osmanov
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 

RE: Restart problem

2010-10-19 Thread Caldarale, Charles R
 From: Artur Osmanov [mailto:a.osma...@52north.org] 
 Subject: Restart problem

 But if I stop Tomcat and start it again Tomcat hangs 
 and nothing works anymore.

Have you tried taking a thread dump?

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

JVM version?

Running Tomcat from scripts or as a service?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org