On May 20, 2013, at 10:51 AM, James Snider wrote: > Please see below the tomcat7-stderr.2013-05-20.log regarding the memory leak.
<snip> > May 20, 2013 9:52:51 AM org.apache.catalina.loader.WebappClassLoader > clearReferencesThreads > SEVERE: The web application [] appears to have started a thread named > [AWT-Windows] but has failed to stop it. This is very likely to create a > memory leak. This indicates that your application started a thread, but did not stop it. Any threads started by your application should be stopped by your application. This includes threads started by a third party library used by your application. This particular thread, "AWT-Windows" has been discussed on the list before. Checkout this thread for a possible solution. http://markmail.org/message/r6p7jp4eclcx5ma3 Dan PS. Start a new email thread for new questions, instead of replying to the same email with multiple questions. > May 20, 2013 9:52:51 AM org.apache.coyote.AbstractProtocol stop > INFO: Stopping ProtocolHandler ["http-apr-80"] May 20, 2013 9:52:51 AM > org.apache.coyote.AbstractProtocol stop > INFO: Stopping ProtocolHandler ["http-apr-443"] May 20, 2013 9:52:51 AM > org.apache.coyote.AbstractProtocol stop > INFO: Stopping ProtocolHandler ["ajp-apr-8009"] > > 2013-05-20 09:52:57 Commons Daemon procrun stderr initialized > > 2013-05-20 09:53:07 Commons Daemon procrun stderr initialized > > 2013-05-20 09:54:13 Commons Daemon procrun stderr initialized > > 2013-05-20 09:55:44 Commons Daemon procrun stderr initialized May 20, 2013 > 9:55:48 AM org.apache.catalina.core.AprLifecycleListener init > INFO: Loaded APR based Apache Tomcat Native library 1.1.27 using APR version > 1.4.6. > May 20, 2013 9:55:48 AM org.apache.catalina.core.AprLifecycleListener init > INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], > random [true]. > May 20, 2013 9:55:48 AM org.apache.catalina.core.AprLifecycleListener > initializeSSL > INFO: OpenSSL successfully initialized (OpenSSL 1.0.1d 5 Feb 2013) May 20, > 2013 9:55:49 AM org.apache.coyote.AbstractProtocol init > INFO: Initializing ProtocolHandler ["http-apr-80"] May 20, 2013 9:55:49 AM > org.apache.coyote.AbstractProtocol init > INFO: Initializing ProtocolHandler ["http-apr-443"] May 20, 2013 9:55:49 AM > org.apache.coyote.AbstractProtocol init > INFO: Initializing ProtocolHandler ["ajp-apr-8009"] May 20, 2013 9:55:49 AM > org.apache.catalina.startup.Catalina load > INFO: Initialization processed in 2130 ms May 20, 2013 9:55:49 AM > org.apache.catalina.core.StandardService startInternal > INFO: Starting service Catalina > May 20, 2013 9:55:49 AM org.apache.catalina.core.StandardEngine startInternal > INFO: Starting Servlet Engine: Apache Tomcat/7.0.40 May 20, 2013 9:55:49 AM > org.apache.catalina.startup.HostConfig deployDirectory > INFO: Deploying web application directory C:\Program Files\Apache Software > Foundation\Tomcat 5.5\webapps\docs May 20, 2013 9:55:50 AM > org.apache.catalina.util.SessionIdGenerator createSecureRandom > INFO: Creation of SecureRandom instance for session ID generation using > [SHA1PRNG] took [109] milliseconds. > May 20, 2013 9:55:50 AM org.apache.catalina.startup.HostConfig deployDirectory > INFO: Deploying web application directory C:\Program Files\Apache Software > Foundation\Tomcat 5.5\webapps\ROOT May 20, 2013 9:55:50 AM > org.apache.catalina.startup.HostConfig deployDirectory > INFO: Deploying web application directory C:\Program Files\Apache Software > Foundation\Tomcat 5.5\webapps\ROOT.initial_install May 20, 2013 9:55:50 AM > org.apache.coyote.AbstractProtocol start > INFO: Starting ProtocolHandler ["http-apr-80"] May 20, 2013 9:55:50 AM > org.apache.coyote.AbstractProtocol start > INFO: Starting ProtocolHandler ["http-apr-443"] May 20, 2013 9:55:50 AM > org.apache.coyote.AbstractProtocol start > INFO: Starting ProtocolHandler ["ajp-apr-8009"] May 20, 2013 9:55:50 AM > org.apache.catalina.startup.Catalina start > INFO: Server startup in 886 ms > May 20, 2013 9:59:00 AM org.apache.catalina.startup.HostConfig deployDirectory > INFO: Deploying web application directory C:\Program Files\Apache Software > Foundation\Tomcat 5.5\webapps\dev > > 2013-05-20 10:13:04 Commons Daemon procrun stderr initialized May 20, 2013 > 10:13:05 AM org.apache.catalina.core.AprLifecycleListener init > INFO: Loaded APR based Apache Tomcat Native library 1.1.27 using APR version > 1.4.6. > May 20, 2013 10:13:05 AM org.apache.catalina.core.AprLifecycleListener init > INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], > random [true]. > May 20, 2013 10:13:05 AM org.apache.catalina.core.AprLifecycleListener > initializeSSL > INFO: OpenSSL successfully initialized (OpenSSL 1.0.1d 5 Feb 2013) May 20, > 2013 10:13:05 AM org.apache.coyote.AbstractProtocol init > INFO: Initializing ProtocolHandler ["http-apr-80"] May 20, 2013 10:13:05 AM > org.apache.coyote.AbstractProtocol init > INFO: Initializing ProtocolHandler ["http-apr-443"] May 20, 2013 10:13:05 AM > org.apache.coyote.AbstractProtocol init > INFO: Initializing ProtocolHandler ["ajp-apr-8009"] May 20, 2013 10:13:05 AM > org.apache.catalina.startup.Catalina load > INFO: Initialization processed in 717 ms May 20, 2013 10:13:05 AM > org.apache.catalina.core.StandardService startInternal > INFO: Starting service Catalina > May 20, 2013 10:13:05 AM org.apache.catalina.core.StandardEngine startInternal > INFO: Starting Servlet Engine: Apache Tomcat/7.0.40 May 20, 2013 10:13:05 AM > org.apache.catalina.startup.HostConfig deployDirectory > INFO: Deploying web application directory C:\Program Files\Apache Software > Foundation\Tomcat 5.5\webapps\dev May 20, 2013 10:13:05 AM > org.apache.catalina.startup.HostConfig deployDirectory > INFO: Deploying web application directory C:\Program Files\Apache Software > Foundation\Tomcat 5.5\webapps\docs May 20, 2013 10:13:05 AM > org.apache.catalina.startup.HostConfig deployDirectory > INFO: Deploying web application directory C:\Program Files\Apache Software > Foundation\Tomcat 5.5\webapps\ROOT May 20, 2013 10:13:05 AM > org.apache.catalina.startup.HostConfig deployDirectory > INFO: Deploying web application directory C:\Program Files\Apache Software > Foundation\Tomcat 5.5\webapps\ROOT.initial_install May 20, 2013 10:13:06 AM > org.apache.coyote.AbstractProtocol start > INFO: Starting ProtocolHandler ["http-apr-80"] May 20, 2013 10:13:06 AM > org.apache.coyote.AbstractProtocol start > INFO: Starting ProtocolHandler ["http-apr-443"] May 20, 2013 10:13:06 AM > org.apache.coyote.AbstractProtocol start > INFO: Starting ProtocolHandler ["ajp-apr-8009"] May 20, 2013 10:13:06 AM > org.apache.catalina.startup.Catalina start > INFO: Server startup in 654 ms > > -----Original Message----- > From: Stephen A. Harman > Sent: Monday, May 20, 2013 10:31 AM > To: James Snider; 'knst.koli...@gmail.com' > Subject: RE: Apache Tomcat service has been shutting down/stopping randomly. > Importance: High > > I am confused. We are not using imageIO in our code and nothing has changed > with our code. Only the TomCat upgrade? Please advise with a more concrete > answer to the issue? > > > > > -----Original Message----- > From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] > Sent: Monday, May 20, 2013 10:42 AM > To: Stephen A. Harman > Cc: James Snider > Subject: Re: Apache Tomcat service has been shutting down/stopping randomly. > > 2013/5/20 Stephen A. Harman <stephen.har...@hbcs.org>: >> I am confused. We are not using imageIO in our code and nothing has changed >> with our code. Only the TomCat upgrade? Please advise with a more concrete >> answer to the issue? >> >> Stephen A. Harman | Solutions Architect HBCS | Energize Your Revenue >> Cycle >> 118 Lukens Drive | New Castle, DE 19720 >> Phone: 302.552.8067 | >> E-mail | stephen.har...@hbcs.org >> www.hbcs.org >> >> >> >> >> >> >> >> -----Original Message----- >> From: James Snider >> Sent: Monday, May 20, 2013 10:18 AM >> To: Stephen A. Harman >> Subject: FW: Apache Tomcat service has been shutting down/stopping randomly. >> >> >> >> James Snider | Project Leader - Business Solutions Programming & >> System Administration HBCS | Energize Your Revenue Cycle >> 118 Lukens Drive | New Castle, DE 19720 >> Ph: 302-552-8065 | Fx: 302.254.3749 >> E-mail | james.sni...@hbcs.org >> www.hbcs.org >> >> >> >> >> >> -----Original Message----- >> From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] >> Sent: Monday, May 20, 2013 10:03 AM >> To: Tomcat Users List >> Subject: Re: Apache Tomcat service has been shutting down/stopping randomly. >> >> 2013/5/20 James Snider <james.sni...@hbcs.org>: >>> HI, >>> >>> We completely uninstalled/removed all previous Tomcat 5.5 versions from the >>> file system and registry, rebooted, then completed a clean re-install >>> without copying back any of the folders that could be causing issues as you >>> have stated below. We are still receiving this error and Apache Tomcat is >>> continuing to stop randomly. I have pasted below the most recent >>> hr_err_pid*.log file from the shut down occurrence. >>> >>> Is this the first time hearing of this occuring? >>> >>> (...) >>> >> >>> (...) >>> j javax.imageio.stream.FileCacheImageOutputStream.close()V+60 >>> j javax.imageio.stream.ImageInputStreamImpl.finalize()V+8 >>> v ~StubRoutines::call_stub >>> j >>> java.lang.ref.Finalizer.invokeFinalizeMethod(Ljava/lang/Object;)V+0 >>> j java.lang.ref.Finalizer.runFinalizer()V+45 >>> j java.lang.ref.Finalizer.access$100(Ljava/lang/ref/Finalizer;)V+1 >>> j java.lang.ref.Finalizer$FinalizerThread.run()V+11 >>> v ~StubRoutines::call_stub >>> >> >> >> This is a known issue in ImageIO because of its misuse of finalizers. >> It is explained in Tomcat's FAQ >> http://wiki.apache.org/tomcat/FAQ/KnownIssues#ImageIOIssues >> > > > 1. Do not top-post > 2. You are using it. It is in your stacktrace. > "javax.imageio.stream.ImageInputStreamImpl" > > 3. Read the FAQ entry that I referenced (and search archives of this mailing > list. You are not the first here bothered by with ImageIO). > > 4. APR connector (Tomcat-Native, tcnative-1.dll) is less forgiving for > programming errors. > I would guess that you did not have it installed in your old system. > ------------------ CONFIDENTIALITY NOTICE --------------- > > This message, including any attachments, is for the sole use of the > intended recipient(s) and may contain privileged confidential information > protected by law. Any unauthorized review, use, disclosure or distribution > of this message is prohibited. If you are not the intended recipient, please > contact the sender by reply e-mail and destroy all copies of this message. > > ------------------ CONFIDENTIALITY NOTICE --------------- > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org