[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tomcat-user
Subject:    Re: tomcat7.exe windows service crash
From:       Christopher Schultz <chris () christopherschultz ! net>
Date:       2014-07-30 16:02:46
Message-ID: 53D91726.7000408 () christopherschultz ! net
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Jan,

On 7/29/14, 7:30 AM, Jan Vávra wrote:
> Hello, I'm facing a problem of tomcat7.exe crash (from win64 Tomcat
> 7.0.54 distribution)  installed as a Windows service on Windows
> 2012 x64, x64 jdk 1.7.0.65. In the Widows event log is message
> (translated from Czech) :"Windows service Apache Tomcat 7 was
> unexpectedly ended." Interresting is that in my webapp in
> registered context listener the contextDestroyed method was called
> and my log command in contextDestroyed (.) was succesfully written.
> So it seems that my app is gracefully going to shutdown. But why? 
> In the tomcat log I do not see any error messages that leads tomcat
> to stop. The tomcat7.exe process exited.
> 
> In my app we transfer through a windows pipe a 300 MB big file to
> newly created subprocess written in c for an analysis. jvm opts
> changed: Xmx=6116MB.
> 
> Eg. in one case was the server started at 10:34:55  and crashed at 
> 10:43:13 (according the Windows event log) --- tomcat7-stderr.log: 
> --- VII 29, 2014 10:34:55 DOP. org.apache.catalina.startup.Catalina
> start INFO: Server startup in 6323 ms VII 29, 2014 10:43:07 DOP.
> org.apache.coyote.AbstractProtocol pause INFO: Pausing
> ProtocolHandler ["http-apr-8080"]

Interesting: the server runs for 10 minutes and then stops, evidently
gracefully.

Is there anything in any other log file around that time?

> VII 29, 2014 10:43:07 DOP. org.apache.coyote.AbstractProtocol
> pause INFO: Pausing ProtocolHandler ["ajp-apr-8009"] VII 29, 2014
> 10:43:07 DOP. org.apache.catalina.core.StandardService 
> stopInternal INFO: Stopping service Catalina VII 29, 2014 10:43:11
> DOP. org.apache.catalina.loader.WebappClassLoader 
> clearReferencesThreads SEVERE: The web application [/jasw] is still
> processing a request that has yet to finish. This is very likely to
> create a memory leak. You can control the time allowed for requests
> to finish by using the unloadDelay attribute of the standard
> Context implementation. VII 29, 2014 10:43:11 DOP.
> org.apache.catalina.loader.WebappClassLoader 
> clearReferencesThreads SEVERE: The web application [/jasw] is still
> processing a request that has yet to finish. This is very likely to
> create a memory leak. You can control the time allowed for requests
> to finish by using the unloadDelay attribute of the standard
> Context implementation. VII 29, 2014 10:43:11 DOP.
> org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks SEVERE: The web application [/jasw]
> created a ThreadLocal with key of type
> [com.sun.xml.bind.v2.ClassFactory$1] (value 
> [com.sun.xml.bind.v2.ClassFactory$1@6be8e70]) and a value of type 
> [java.util.WeakHashMap] (value [{class 
> cz.software602.sdar.tsl.CertTypeResponseItem=java.lang.ref.WeakReference@48795e85,
>
> 
class
> cz.software602.sdar.tsl.GetCertPathResponse=java.lang.ref.WeakReference@182c92ef,
>
> 
class
> cz.software602.sdar.tsl.CertPathResponse=java.lang.ref.WeakReference@1662954f,
>
> 
class cz.software602.sdar.tsl.Cert=java.lang.ref.WeakReference@22388104,
> class 
> javax.xml.bind.annotation.W3CDomHandler=java.lang.ref.WeakReference@2b9e3f29,
>
> 
class
> cz.software602.sdar.pdf.TRevocations=java.lang.ref.WeakReference@2244b31e,
>
> 
class
> cz.software602.sdar.tsl.CertPath=java.lang.ref.WeakReference@4c4b8825,
>
> 
class
> cz.software602.sdar.pdf.TCmsInfo=java.lang.ref.WeakReference@72d75c44,
>
> 
class cz.software602.sdar.tsl.Crl=java.lang.ref.WeakReference@18eaaf43,
> class 
> cz.software602.sdar.pdf.TPdfInfo=java.lang.ref.WeakReference@5798647c,
>
> 
class java.util.ArrayList=java.lang.ref.WeakReference@55ed35d1, class
> cz.software602.sdar.tsl.CertRevocation=java.lang.ref.WeakReference@48685869,
>
> 
class
> cz.software602.sdar.tsl.Status=java.lang.ref.WeakReference@3a847aa2,
>
> 
class
> cz.software602.sdar.pdf.TCertificates=java.lang.ref.WeakReference@4f8f3fb1,
>
> 
class
> cz.software602.sdar.tsl.GetCertTypeResponse=java.lang.ref.WeakReference@459ea645,
>
> 
class
> cz.software602.sdar.tsl.CertTypeResponseList=java.lang.ref.WeakReference@32b61fb8,
>
> 
class
> cz.software602.sdar.tsl.CertTypeResponse=java.lang.ref.WeakReference@52dc830a}])
>
> 
but failed to remove it when the web application was stopped. Threads
> are going to be renewed over time to try and avoid a probable
> memory leak. VII 29, 2014 10:43:11 DOP.
> org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks SEVERE: The web application [/jasw]
> created a ThreadLocal with key of type
> [com.sun.xml.ws.api.client.ServiceInterceptorFactory$1] (value 
> [com.sun.xml.ws.api.client.ServiceInterceptorFactory$1@b1f3006])
> and a value of type [java.util.HashSet] (value [[]]) but failed to
> remove it when the web application was stopped. Threads are going
> to be renewed over time to try and avoid a probable memory leak. 
> VII 29, 2014 10:43:11 DOP.
> org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks SEVERE: The web application [/jasw]
> created a ThreadLocal with key of type
> [com.sun.xml.bind.v2.ClassFactory$1] (value 
> [com.sun.xml.bind.v2.ClassFactory$1@6be8e70]) and a value of type 
> [java.util.WeakHashMap] (value [{class 
> cz.software602.sdar.tsl.CertTypeResponseItem=java.lang.ref.WeakReference@2c89df9e,
>
> 
class java.util.ArrayList=java.lang.ref.WeakReference@fb814ea, class
> cz.software602.sdar.tsl.Status=java.lang.ref.WeakReference@7e6516b5,
>
> 
class
> cz.software602.sdar.pdf.TRevocations=java.lang.ref.WeakReference@1eb605e7,
>
> 
class
> cz.software602.sdar.pdf.TCertificates=java.lang.ref.WeakReference@403d9071,
>
> 
class
> cz.software602.sdar.tsl.GetCertTypeResponse=java.lang.ref.WeakReference@9d60baa,
>
> 
class
> cz.software602.sdar.pdf.TCmsInfo=java.lang.ref.WeakReference@4397caf1,
>
> 
class
> cz.software602.sdar.tsl.CertTypeResponseList=java.lang.ref.WeakReference@228cb6e2,
>
> 
class
> cz.software602.sdar.tsl.CertTypeResponse=java.lang.ref.WeakReference@443ac126,
>
> 
class
> cz.software602.sdar.pdf.TPdfInfo=java.lang.ref.WeakReference@6d5ec8c8}])
>
> 
but failed to remove it when the web application was stopped. Threads
> are going to be renewed over time to try and avoid a probable
> memory leak. VII 29, 2014 10:43:11 DOP.
> org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks SEVERE: The web application [/jasw]
> created a ThreadLocal with key of type
> [com.sun.xml.ws.api.client.ServiceInterceptorFactory$1] (value 
> [com.sun.xml.ws.api.client.ServiceInterceptorFactory$1@b1f3006])
> and a value of type [java.util.HashSet] (value [[]]) but failed to
> remove it when the web application was stopped. Threads are going
> to be renewed over time to try and avoid a probable memory leak. 
> VII 29, 2014 10:43:11 DOP.
> org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks SEVERE: The web application [/jasw]
> created a ThreadLocal with key of type
> [com.sun.xml.bind.v2.ClassFactory$1] (value 
> [com.sun.xml.bind.v2.ClassFactory$1@6be8e70]) and a value of type 
> [java.util.WeakHashMap] (value [{class 
> cz.software602.sdar.tsl.CertTypeResponseItem=java.lang.ref.WeakReference@69cffa90,
>
> 
class java.util.ArrayList=java.lang.ref.WeakReference@554b3a35, class
> cz.software602.sdar.tsl.Status=java.lang.ref.WeakReference@3dda9952,
>
> 
class
> cz.software602.sdar.pdf.TRevocations=java.lang.ref.WeakReference@5a87f637,
>
> 
class
> cz.software602.sdar.pdf.TCertificates=java.lang.ref.WeakReference@1435c350,
>
> 
class
> cz.software602.sdar.tsl.GetCertTypeResponse=java.lang.ref.WeakReference@55a9c38d,
>
> 
class
> cz.software602.sdar.pdf.TCmsInfo=java.lang.ref.WeakReference@7c6589ea,
>
> 
class
> cz.software602.sdar.tsl.CertTypeResponseList=java.lang.ref.WeakReference@6e41a173,
>
> 
class
> cz.software602.sdar.tsl.CertTypeResponse=java.lang.ref.WeakReference@16cebd92,
>
> 
class
> cz.software602.sdar.pdf.TPdfInfo=java.lang.ref.WeakReference@5effc7f0}])
>
> 
but failed to remove it when the web application was stopped. Threads
> are going to be renewed over time to try and avoid a probable
> memory leak. VII 29, 2014 10:43:11 DOP.
> org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks SEVERE: The web application [/jasw]
> created a ThreadLocal with key of type
> [com.sun.xml.ws.api.client.ServiceInterceptorFactory$1] (value 
> [com.sun.xml.ws.api.client.ServiceInterceptorFactory$1@b1f3006])
> and a value of type [java.util.HashSet] (value [[]]) but failed to
> remove it when the web application was stopped. Threads are going
> to be renewed over time to try and avoid a probable memory leak. 
> VII 29, 2014 10:43:11 DOP.
> org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks SEVERE: The web application [/jasw]
> created a ThreadLocal with key of type
> [com.sun.xml.bind.v2.runtime.Coordinator$1] (value 
> [com.sun.xml.bind.v2.runtime.Coordinator$1@6a9f8e49]) and a value
> of type [java.lang.Object[]] (value [[Ljava.lang.Object;@1136914f])
> but failed to remove it when the web application was stopped.
> Threads are going to be renewed over time to try and avoid a
> probable memory leak. VII 29, 2014 10:43:11 DOP.
> org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks SEVERE: The web application [/jasw]
> created a ThreadLocal with key of type
> [com.sun.xml.ws.api.client.ServiceInterceptorFactory$1] (value 
> [com.sun.xml.ws.api.client.ServiceInterceptorFactory$1@b1f3006])
> and a value of type [java.util.HashSet] (value [[]]) but failed to
> remove it when the web application was stopped. Threads are going
> to be renewed over time to try and avoid a probable memory leak. 
> VII 29, 2014 10:43:11 DOP.
> org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks SEVERE: The web application [/jasw]
> created a ThreadLocal with key of type
> [com.sun.xml.bind.v2.ClassFactory$1] (value 
> [com.sun.xml.bind.v2.ClassFactory$1@6be8e70]) and a value of type 
> [java.util.WeakHashMap] (value [{class 
> cz.software602.sdar.evid.TStatus=java.lang.ref.WeakReference@157de25d,
>
> 
class
> cz.software602.sdar.evid.TGetForUpdateResponse=java.lang.ref.WeakReference@7b9852b0}])
>
> 
but failed to remove it when the web application was stopped. Threads
> are going to be renewed over time to try and avoid a probable
> memory leak. VII 29, 2014 10:43:11 DOP.
> org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks SEVERE: The web application [/jasw]
> created a ThreadLocal with key of type
> [com.sun.xml.ws.api.client.ServiceInterceptorFactory$1] (value 
> [com.sun.xml.ws.api.client.ServiceInterceptorFactory$1@b1f3006])
> and a value of type [java.util.HashSet] (value [[]]) but failed to
> remove it when the web application was stopped. Threads are going
> to be renewed over time to try and avoid a probable memory leak. 
> VII 29, 2014 10:43:11 DOP. org.apache.coyote.AbstractProtocol stop 
> INFO: Stopping ProtocolHandler ["http-apr-8080"]
> 
> --- catalina.log: ---
> 
> VII 29, 2014 10:34:55 DOP. org.apache.catalina.startup.Catalina
> start INFO: Server startup in 6323 ms VII 29, 2014 10:43:07 DOP.
> org.apache.coyote.AbstractProtocol pause INFO: Pausing
> ProtocolHandler ["http-apr-8080"] VII 29, 2014 10:43:07 DOP.
> org.apache.coyote.AbstractProtocol pause INFO: Pausing
> ProtocolHandler ["ajp-apr-8009"] VII 29, 2014 10:43:07 DOP.
> org.apache.catalina.core.StandardService stopInternal INFO:
> Stopping service Catalina VII 29, 2014 10:43:11 DOP.
> org.apache.catalina.loader.WebappClassLoader 
> clearReferencesThreads SEVERE: The web application [/jasw] is still
> processing a request that has yet to finish. This is very likely to
> create a memory leak. You can control the time allowed for requests
> to finish by using the unloadDelay attribute of the standard
> Context implementation. VII 29, 2014 10:43:11 DOP.
> org.apache.catalina.loader.WebappClassLoader 
> clearReferencesThreads SEVERE: The web application [/jasw] is still
> processing a request that has yet to finish. This is very likely to
> create a memory leak. You can control the time allowed for requests
> to finish by using the unloadDelay attribute of the standard
> Context implementation. VII 29, 2014 10:43:11 DOP.
> org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks SEVERE: The web application [/jasw]
> created a ThreadLocal with key of type
> [com.sun.xml.bind.v2.ClassFactory$1] (value 
> [com.sun.xml.bind.v2.ClassFactory$1@6be8e70]) and a value of type 
> [java.util.WeakHashMap] (value [{class 
> cz.software602.sdar.tsl.CertTypeResponseItem=java.lang.ref.WeakReference@48795e85,
>
> 
class
> cz.software602.sdar.tsl.GetCertPathResponse=java.lang.ref.WeakReference@182c92ef,
>
> 
class
> cz.software602.sdar.tsl.CertPathResponse=java.lang.ref.WeakReference@1662954f,
>
> 
class cz.software602.sdar.tsl.Cert=java.lang.ref.WeakReference@22388104,
> class 
> javax.xml.bind.annotation.W3CDomHandler=java.lang.ref.WeakReference@2b9e3f29,
>
> 
class
> cz.software602.sdar.pdf.TRevocations=java.lang.ref.WeakReference@2244b31e,
>
> 
class
> cz.software602.sdar.tsl.CertPath=java.lang.ref.WeakReference@4c4b8825,
>
> 
class
> cz.software602.sdar.pdf.TCmsInfo=java.lang.ref.WeakReference@72d75c44,
>
> 
class cz.software602.sdar.tsl.Crl=java.lang.ref.WeakReference@18eaaf43,
> class 
> cz.software602.sdar.pdf.TPdfInfo=java.lang.ref.WeakReference@5798647c,
>
> 
class java.util.ArrayList=java.lang.ref.WeakReference@55ed35d1, class
> cz.software602.sdar.tsl.CertRevocation=java.lang.ref.WeakReference@48685869,
>
> 
class
> cz.software602.sdar.tsl.Status=java.lang.ref.WeakReference@3a847aa2,
>
> 
class
> cz.software602.sdar.pdf.TCertificates=java.lang.ref.WeakReference@4f8f3fb1,
>
> 
class
> cz.software602.sdar.tsl.GetCertTypeResponse=java.lang.ref.WeakReference@459ea645,
>
> 
class
> cz.software602.sdar.tsl.CertTypeResponseList=java.lang.ref.WeakReference@32b61fb8,
>
> 
class
> cz.software602.sdar.tsl.CertTypeResponse=java.lang.ref.WeakReference@52dc830a}])
>
> 
but failed to remove it when the web application was stopped. Threads
> are going to be renewed over time to try and avoid a probable
> memory leak. VII 29, 2014 10:43:11 DOP.
> org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks SEVERE: The web application [/jasw]
> created a ThreadLocal with key of type
> [com.sun.xml.ws.api.client.ServiceInterceptorFactory$1] (value 
> [com.sun.xml.ws.api.client.ServiceInterceptorFactory$1@b1f3006])
> and a value of type [java.util.HashSet] (value [[]]) but failed to
> remove it when the web application was stopped. Threads are going
> to be renewed over time to try and avoid a probable memory leak. 
> VII 29, 2014 10:43:11 DOP.
> org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks SEVERE: The web application [/jasw]
> created a ThreadLocal with key of type
> [com.sun.xml.bind.v2.ClassFactory$1] (value 
> [com.sun.xml.bind.v2.ClassFactory$1@6be8e70]) and a value of type 
> [java.util.WeakHashMap] (value [{class 
> cz.software602.sdar.tsl.CertTypeResponseItem=java.lang.ref.WeakReference@2c89df9e,
>
> 
class java.util.ArrayList=java.lang.ref.WeakReference@fb814ea, class
> cz.software602.sdar.tsl.Status=java.lang.ref.WeakReference@7e6516b5,
>
> 
class
> cz.software602.sdar.pdf.TRevocations=java.lang.ref.WeakReference@1eb605e7,
>
> 
class
> cz.software602.sdar.pdf.TCertificates=java.lang.ref.WeakReference@403d9071,
>
> 
class
> cz.software602.sdar.tsl.GetCertTypeResponse=java.lang.ref.WeakReference@9d60baa,
>
> 
class
> cz.software602.sdar.pdf.TCmsInfo=java.lang.ref.WeakReference@4397caf1,
>
> 
class
> cz.software602.sdar.tsl.CertTypeResponseList=java.lang.ref.WeakReference@228cb6e2,
>
> 
class
> cz.software602.sdar.tsl.CertTypeResponse=java.lang.ref.WeakReference@443ac126,
>
> 
class
> cz.software602.sdar.pdf.TPdfInfo=java.lang.ref.WeakReference@6d5ec8c8}])
>
> 
but failed to remove it when the web application was stopped. Threads
> are going to be renewed over time to try and avoid a probable
> memory leak. VII 29, 2014 10:43:11 DOP.
> org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks SEVERE: The web application [/jasw]
> created a ThreadLocal with key of type
> [com.sun.xml.ws.api.client.ServiceInterceptorFactory$1] (value 
> [com.sun.xml.ws.api.client.ServiceInterceptorFactory$1@b1f3006])
> and a value of type [java.util.HashSet] (value [[]]) but failed to
> remove it when the web application was stopped. Threads are going
> to be renewed over time to try and avoid a probable memory leak. 
> VII 29, 2014 10:43:11 DOP.
> org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks SEVERE: The web application [/jasw]
> created a ThreadLocal with key of type
> [com.sun.xml.bind.v2.ClassFactory$1] (value 
> [com.sun.xml.bind.v2.ClassFactory$1@6be8e70]) and a value of type 
> [java.util.WeakHashMap] (value [{class 
> cz.software602.sdar.tsl.CertTypeResponseItem=java.lang.ref.WeakReference@69cffa90,
>
> 
class java.util.ArrayList=java.lang.ref.WeakReference@554b3a35, class
> cz.software602.sdar.tsl.Status=java.lang.ref.WeakReference@3dda9952,
>
> 
class
> cz.software602.sdar.pdf.TRevocations=java.lang.ref.WeakReference@5a87f637,
>
> 
class
> cz.software602.sdar.pdf.TCertificates=java.lang.ref.WeakReference@1435c350,
>
> 
class
> cz.software602.sdar.tsl.GetCertTypeResponse=java.lang.ref.WeakReference@55a9c38d,
>
> 
class
> cz.software602.sdar.pdf.TCmsInfo=java.lang.ref.WeakReference@7c6589ea,
>
> 
class
> cz.software602.sdar.tsl.CertTypeResponseList=java.lang.ref.WeakReference@6e41a173,
>
> 
class
> cz.software602.sdar.tsl.CertTypeResponse=java.lang.ref.WeakReference@16cebd92,
>
> 
class
> cz.software602.sdar.pdf.TPdfInfo=java.lang.ref.WeakReference@5effc7f0}])
>
> 
but failed to remove it when the web application was stopped. Threads
> are going to be renewed over time to try and avoid a probable
> memory leak. VII 29, 2014 10:43:11 DOP.
> org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks SEVERE: The web application [/jasw]
> created a ThreadLocal with key of type
> [com.sun.xml.ws.api.client.ServiceInterceptorFactory$1] (value 
> [com.sun.xml.ws.api.client.ServiceInterceptorFactory$1@b1f3006])
> and a value of type [java.util.HashSet] (value [[]]) but failed to
> remove it when the web application was stopped. Threads are going
> to be renewed over time to try and avoid a probable memory leak. 
> VII 29, 2014 10:43:11 DOP.
> org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks SEVERE: The web application [/jasw]
> created a ThreadLocal with key of type
> [com.sun.xml.bind.v2.runtime.Coordinator$1] (value 
> [com.sun.xml.bind.v2.runtime.Coordinator$1@6a9f8e49]) and a value
> of type [java.lang.Object[]] (value [[Ljava.lang.Object;@1136914f])
> but failed to remove it when the web application was stopped.
> Threads are going to be renewed over time to try and avoid a
> probable memory leak. VII 29, 2014 10:43:11 DOP.
> org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks SEVERE: The web application [/jasw]
> created a ThreadLocal with key of type
> [com.sun.xml.ws.api.client.ServiceInterceptorFactory$1] (value 
> [com.sun.xml.ws.api.client.ServiceInterceptorFactory$1@b1f3006])
> and a value of type [java.util.HashSet] (value [[]]) but failed to
> remove it when the web application was stopped. Threads are going
> to be renewed over time to try and avoid a probable memory leak. 
> VII 29, 2014 10:43:11 DOP.
> org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks SEVERE: The web application [/jasw]
> created a ThreadLocal with key of type
> [com.sun.xml.bind.v2.ClassFactory$1] (value 
> [com.sun.xml.bind.v2.ClassFactory$1@6be8e70]) and a value of type 
> [java.util.WeakHashMap] (value [{class 
> cz.software602.sdar.evid.TStatus=java.lang.ref.WeakReference@157de25d,
>
> 
class
> cz.software602.sdar.evid.TGetForUpdateResponse=java.lang.ref.WeakReference@7b9852b0}])
>
> 
but failed to remove it when the web application was stopped. Threads
> are going to be renewed over time to try and avoid a probable
> memory leak. VII 29, 2014 10:43:11 DOP.
> org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks SEVERE: The web application [/jasw]
> created a ThreadLocal with key of type
> [com.sun.xml.ws.api.client.ServiceInterceptorFactory$1] (value 
> [com.sun.xml.ws.api.client.ServiceInterceptorFactory$1@b1f3006])
> and a value of type [java.util.HashSet] (value [[]]) but failed to
> remove it when the web application was stopped. Threads are going
> to be renewed over time to try and avoid a probable memory leak. 
> VII 29, 2014 10:43:11 DOP. org.apache.coyote.AbstractProtocol stop 
> INFO: Stopping ProtocolHandler ["http-apr-8080"]
> 
> 
> ----- commons-daemon.log -----
> 
> [2014-07-29 10:34:47] [info]  [ 1004] Commons Daemon procrun
> (1.0.15.0 64-bit) started [2014-07-29 10:34:47] [info]  [ 1004]
> Running 'Tomcat7' Service... [2014-07-29 10:34:47] [info]  [ 2796]
> Starting service... [2014-07-29 10:34:48] [info]  [ 2796] Service
> started in 1218 ms.
> 
> 
> ---- I also attached Microsoft Visual Studio 2008 C++ to the
> tomcat7.exe process with this output: ----
> 
> 
> 'tomcat7.exe': Loaded 'C:\Program 
> Files\apache-tomcat-7.0.54\bin\tomcat7.exe', Binary was not built
> with debug information. 'tomcat7.exe': Loaded
> 'C:\Windows\System32\ntdll.dll' 'tomcat7.exe': Loaded
> 'C:\Windows\System32\kernel32.dll' 'tomcat7.exe': Loaded
> 'C:\Windows\System32\KernelBase.dll' 'tomcat7.exe': Loaded
> 'C:\Windows\System32\advapi32.dll' 'tomcat7.exe': Loaded
> 'C:\Windows\System32\shell32.dll' 'tomcat7.exe': Loaded
> 'C:\Windows\System32\user32.dll' 'tomcat7.exe': Loaded
> 'C:\Windows\System32\msvcrt.dll' 'tomcat7.exe': Loaded
> 'C:\Windows\System32\sechost.dll' 'tomcat7.exe': Loaded
> 'C:\Windows\System32\rpcrt4.dll' 'tomcat7.exe': Loaded
> 'C:\Windows\System32\combase.dll' 'tomcat7.exe': Loaded
> 'C:\Windows\System32\shlwapi.dll' 'tomcat7.exe': Loaded
> 'C:\Windows\System32\gdi32.dll' 'tomcat7.exe': Loaded
> 'C:\Windows\System32\SHCore.dll' 'tomcat7.exe': Loaded 'C:\Program 
> Files\Java\jdk1.7.0_65\jre\bin\server\jvm.dll' 'tomcat7.exe':
> Loaded 'C:\Windows\System32\wsock32.dll' 'tomcat7.exe': Loaded
> 'C:\Windows\System32\winmm.dll' 'tomcat7.exe': Loaded
> 'C:\Windows\System32\psapi.dll' 'tomcat7.exe': Loaded
> 'C:\Windows\System32\msvcr100.dll' 'tomcat7.exe': Loaded
> 'C:\Windows\System32\ws2_32.dll' 'tomcat7.exe': Loaded
> 'C:\Windows\System32\winmmbase.dll' 'tomcat7.exe': Loaded
> 'C:\Windows\System32\nsi.dll' 'tomcat7.exe': Loaded
> 'C:\Windows\System32\cfgmgr32.dll' 'tomcat7.exe': Loaded
> 'C:\Windows\System32\devobj.dll' 'tomcat7.exe': Loaded 'C:\Program 
> Files\Java\jdk1.7.0_65\jre\bin\verify.dll' 'tomcat7.exe': Loaded
> 'C:\Program Files\Java\jdk1.7.0_65\jre\bin\java.dll' 'tomcat7.exe':
> Loaded 'C:\Program Files\Java\jdk1.7.0_65\jre\bin\zip.dll' 
> 'tomcat7.exe': Loaded 'C:\Program
> Files\Java\jdk1.7.0_65\jre\bin\net.dll' 'tomcat7.exe': Loaded
> 'C:\Windows\System32\mswsock.dll' 'tomcat7.exe': Loaded 'C:\Program
> Files\Java\jdk1.7.0_65\jre\bin\nio.dll' 'tomcat7.exe': Loaded
> 'C:\Program Files\Java\jdk1.7.0_65\jre\bin\management.dll' 
> 'tomcat7.exe': Loaded 'C:\Program 
> Files\apache-tomcat-7.0.54\bin\tcnative-1.dll', Binary was not
> built with debug information. 'tomcat7.exe': Loaded
> 'C:\Windows\System32\cryptsp.dll' 'tomcat7.exe': Loaded
> 'C:\Windows\System32\rsaenh.dll' 'tomcat7.exe': Loaded
> 'C:\Windows\System32\bcrypt.dll' 'tomcat7.exe': Loaded
> 'C:\Windows\System32\cryptbase.dll' 'tomcat7.exe': Loaded
> 'C:\Windows\System32\bcryptprimitives.dll' 'tomcat7.exe': Loaded
> 'C:\Program Files\Java\jdk1.7.0_65\jre\bin\sunec.dll' 
> 'tomcat7.exe': Loaded 'C:\Program 
> Files\Java\jdk1.7.0_65\jre\bin\sunmscapi.dll' 'tomcat7.exe': Loaded
> 'C:\Windows\System32\crypt32.dll' 'tomcat7.exe': Loaded
> 'C:\Windows\System32\msasn1.dll' 'tomcat7.exe': Loaded
> 'C:\Windows\System32\NapiNSP.dll' 'tomcat7.exe': Loaded
> 'C:\Windows\System32\nlaapi.dll' 'tomcat7.exe': Loaded
> 'C:\Windows\System32\dnsapi.dll' 'tomcat7.exe': Loaded
> 'C:\Windows\System32\winrnr.dll' 'tomcat7.exe': Loaded
> 'C:\Windows\System32\rasadhlp.dll' 'tomcat7.exe': Loaded
> 'C:\Windows\System32\IPHLPAPI.DLL' 'tomcat7.exe': Loaded
> 'C:\Windows\System32\winnsi.dll' 'tomcat7.exe': Loaded
> 'C:\Windows\System32\FWPUCLNT.DLL' 'tomcat7.exe': Loaded
> 'C:\Windows\System32\profapi.dll' 'tomcat7.exe': Loaded
> 'C:\Windows\System32\dhcpcsvc6.dll' 'tomcat7.exe': Loaded
> 'C:\Windows\System32\dhcpcsvc.dll' The thread 'Win64 Thread'
> (0xec0) has exited with code 0 (0x0). The thread 'Win64 Thread'
> (0x364) has exited with code 0 (0x0). First-chance exception at
> 0x0120596e in tomcat7.exe: 0xC0000005: Access violation reading
> location 0x000000000000000c. First-chance exception at 0x011f7a9d
> in tomcat7.exe: 0xC0000005: Access violation reading location
> 0x0000000000000008. First-chance exception at 0x5ebc1318 in
> tomcat7.exe: 0xC0000005: Access violation writing location
> 0x0000000000480600. First-chance exception at 0x5ebc1318 in
> tomcat7.exe: 0xC0000005: Access violation writing location
> 0x0000000000480f00. First-chance exception at 0x01144bd7 in
> tomcat7.exe: 0xC0000005: Access violation reading location
> 0x0000000000440000. First-chance exception at 0x5ec5a20a in
> tomcat7.exe: 0xC0000005: Access violation writing location
> 0x0000000000480600. First-chance exception at 0x5ebc1318 in
> tomcat7.exe: 0xC0000005: Access violation writing location
> 0x0000000000480600. First-chance exception at 0x01144bd7 in
> tomcat7.exe: 0xC0000005: Access violation reading location
> 0x0000000000440000.

That looks bad. Usually such access violations (usually a null-pointer
de-reference) causes the application to crash. This would bring-down
the JVM entirely. Is the JVM encountering these problems, or is it
tomcat7.exe that is crashing?

tomcat7.exe is not the JVM, but if it dies, it might take-down the JVM
with it. Can you get a debug build from commons-daemon, or build it
yourself? You might be able to get a decent back-trace to send to them.

Another possibility is that you have bad hardware, which can cause
weird stuff like this. Can you take-down the machine and run
memtest86+ on it? Let it run overnight and make sure your hardware is
good before you go chasing software problems which could take weeks.

> I also tried another combinations tomcat7.exe from Tomcat
> 7.0.{33,47,55} with jdk 1.0.65, tomcat7.exe from Tomcat 7.0.33 with
> jdk 1.0.21 and in all casess the tomcat7.exe crashed.
> 
> Should I compile tomcat7.exe (commons-daemon) with debug info or
> tomcat7 with debug symbols is somewhere available? Unfortunately I
> do not have Visual Studio 6 as written in 
> commons-daemon\...\src\native\windows\README

It would be helpful if you could do this. You can get "Microsoft
Visual Studio Express" for free if you Google for it. I'm not sure how
easy (or not) it is to compile using MSVS Express but you can give it
a try.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJT2RcmAAoJEBzwKT+lPKRYqRQQAKcfhnk5sBK9hBIVR2wFjkBH
A9SIk4KplRtD09IeNou6Vg5oJLZcIeOXxsqaEDRDZWOLX+JUeQ6CZ9SEMn+7Yqxu
m5FCOSIeTMX2kp3/KV12PPos5yiNSW/HLxVaM2ktwb5Dt/tc7S0s1/tD81HAdjPS
Vqtxn1sblSYQZqWXeaSO+SLVeEzK8qNCM2dg3wnKsX7SS/6zycLhXtYhO8inURoo
uY5Vzz+GXYBsxllt694+Meatja/WYWux09eanzsyjrJuJY5wtoM5QlmbuOo7Vw6Z
xMfq7sB3ZZ4myh3LPUhRJ1ExTO9X97snQ8tgVNAvi9lj3xJ7uktKc6iNxGYnHkCl
Na2zpakEdeOo2/52GyaAtncJGk48kv22vOsSQf0+IOAzgYfTK0uvBv3D4esOtZrt
8SXiDsXPIo3RxpMY0iMHa9iiao/atsH6fizq1KnD7icY+nC9NtZdFWYitPcPw7ke
kg7Pk85HSAdDGK9/6gWDt3602G0IpwiGj7r56FZnpZhlodh9kU4Qva1iML79otj+
Yr3G061W6sRuvJDn57xUFvi7qtzaDEab2oRC9lVIx3yGmh+jDv0QKuBXh8keg5jW
Diptye5LpSrUZ4EDqwsIhgVxF9WPJz20DryXgS35ezkNYbdyE2xJSGOMyyeOzp3i
ys4yLZ65L5eBZcpf1Qi2
=D0Bb
-----END PGP SIGNATURE-----

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic