Replies inline:

> From: Frederick Ouimet
> Hi,
> 
> Sorry for the delay in responding.  I think I managed to find the culprit.
> 
> To answer your questions Konstantin:
> 1- Windows 7, JDK and Tomcat are 32-bit
> 2- from command prompt, chcp return code page 850
> 3- I change the shutdown string to "FRED" and the last character was 
> trimmed: invalid command "FRE" received ...


I have a slightly different system than you do for Windows:

Windows XP/Professional
Avast! 6.0.1203

JRE 1.6.0_26
JDK 1.6.0_23
Tomcat 6.0.29
  One installation from the .exe
  One installation from the zip file
NetBeans 6.9.1


I need to do some updating.

> The fact that the last character is chewed up somehow made me go back to an 
> initial theory that something is intercepting the shutdown command before 
> Tomcat 
> receives it.  So I went back to Avast resident shields.  I turned off the 
> Avast 
> shields once again.  It seems to improve shutting down Tomcat a bit, Tomcat 
> responds on the 1st, 2nd, 3rd+ shutdown command instead of 14+.  But it's 
> just not consistent, Tomcat almost never responds on the 1st shutdown.  
> That's why I first concluded that Avast wasn't the problem.  Add the 
> fact that the windows XP PC where Tomcat shuts down fine also runs Avast.
> 
> As a last resort, I decided to completely uninstall Avast.  Guess what, 
> Tomcat 
> now shuts down properly on the 1st try!

I started and stopped Tomcat cleanly while Avast! was running:
  Tomcat as a service
  Tomcat from the DOS command line
  Tomcat from the Cygwin bash command line (complains about PATH syntax, but 
otherwise fine)
  Tomcat from NetBeans 6.9.1

> 
> Must be something with Avast and Windows 7 or corrupted installation.  Maybe 
> it's something else but I started and shut down Tomcat about 10 times so far 
> from command prompt and Eclipse and everything is OK.


I wonder if there is anything in the Avast! reports that would be useful. I'm 
not sure where they would be on Windows 7, but on XP they are in:

All Users\Application Data\Alwil Software\Avast5\report


Change the 5 to 6 if you've not upgraded from 5 to 6 (like I have). If you find 
something, you might post it to the Avast! forums to get a work around or get 
them to fix the bug. It would certainly be useful for those of us who are 
staying on Avast!.

Glad you have it working.

just my two cents . . . .

/mde/

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

Reply via email to