Hi Chuck -

 
 
Please create a HelpStar ticket for any requests for assistance. This will help 
us better track your request.
http://helpstar
 
 
Debbie Shapiro 
Data Warehouse Manager
Cardiac Science
Office: 425.402.2233
 
Visit us at www.cardiacscience.com
Suppliers of Cardiac Science, Criticare, Unetixs, Powerheart, Burdick, and 
Quinton products Part of the Opto Circuits Family
 

-----Original Message-----
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] 
Sent: Friday, March 09, 2012 10:55 AM
To: Tomcat Users List
Subject: RE: Web service not starting up as expected


> From: Debbie Shapiro [mailto:dshap...@cardiacscience.com] 
> Subject: RE: Web service not starting up as expected

> 3. Schedule a restart 2 minutes into the future.

Exactly what does your restart procedure consist of?  From the symptoms, it 
could be that the restart mechanism is simply not waiting for Tomcat to 
terminate before kicking off a new one.

I use a bat file that contains the following. I'm going to see about adding in 
a wait.


sc \\bidev2 stop Tomcat7

taskkill /F /FI "IMAGENAME eq java.exe" /FI "USERNAME eq NT AUTHORITY\SYSTEM" 

REM delay batch job to wait for services to stop

for /F "tokens=1-4 delims=/- " %%A in ('date/T') do set DATE=%%B%%C%%D
for /F "tokens=1-4 delims=:., " %%a in ('time/T') do set TIME=%%a%%b%%c

cd c:\"Program Files"\"Apache Software Foundation"\"Tomcat 
7.0"\webapps\sree\WEB-INF\classes
rename sree.log %DATE%_%TIME%_sree.log
rename schedule.log %DATE%_%TIME%_schedule.log

cd c:\"Program Files"\"Apache Software Foundation"\"Tomcat 
7.0"\webapps\sree\WEB-INF\classes
compact %DATE%_%TIME%_sree.log /c 
compact %DATE%_%TIME%_schedule.log /c


sc \\bidev2 start Tomcat7

cd c:\"Scheduled Jobs"

> Mar 8, 2012 4:37:04 PM org.apache.catalina.loader.WebappClassLoader 
> clearReferencesThreads
> SEVERE: The web application [/sree] appears to have started a thread
> named [AWT-Windows] but has failed to stop it. This is very likely to
> create a memory leak.
> Mar 8, 2012 4:37:04 PM org.apache.catalina.loader.WebappClassLoader
> clearReferencesThreads
> SEVERE: The web application [/sree] appears to have started a thread
> named [Thread-3] but has failed to stop it. This is very likely to
> create a memory leak.
> Mar 8, 2012 4:37:04 PM org.apache.catalina.loader.WebappClassLoader
> clearReferencesThreads
> SEVERE: The web application [/sree] appears to have started a thread
> named [Thread-5] but has failed to stop it. This is very likely to
> create a memory leak.
> Mar 8, 2012 4:37:04 PM org.apache.catalina.loader.WebappClassLoader
> clearReferencesThreads
> SEVERE: The web application [/sree] appears to have started a thread
> named [Thread-7] but has failed to stop it. This is very likely to
> create a memory leak.
> Mar 8, 2012 4:37:04 PM org.apache.catalina.loader.WebappClassLoader
> checkThreadLocalMapForLeaks
> SEVERE: The web application [/sree] created a ThreadLocal with key of
> type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1809b1ac])
> and a value of type [inetsoft.util.CurrentException.Infomation] (value
> [inetsoft.util.CurrentException$Infomation@246f9f88]) 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.

Obviously, your webapp indulges in some rather anti-social behavior; that will 
slow down Tomcat termination, but not prevent it.

Well, technically it's not MY webapp. It's a third party vendor. They ship with 
a different web server bundled with their app, but you can easily swap that out 
for tomcat, which has better performance. So, I don't really have any control 
for how they developed this.

 - 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

Reply via email to