Chris, All,
Thanks for your message. Yes, we have been using Tomcat for years now but this version of tomcat always gives error when we stop it. The process actually stops tomcat but the error message pops-up. If we start/stop service from tomcat5w.exe it works fine. Its only when the service is stopped from windows service, it always ends up in error message. Even if we run it from DOS-prompt, it works fine. The client wants it to be stopped from services only and didn't accept any other solution. My guess is something in registry that needs to be fixed. This happens on all/several installations that use tomcat 5.5.17. I think, probably, I should install another version of tomcat and then compare registry to fix the issue. Please let me know if you have any other ideas. Thanks again. Regards, Deepti > Date: Thu, 24 Sep 2009 12:59:35 -0400 > From: ch...@christopherschultz.net > To: users@tomcat.apache.org > Subject: Re: Tomcat 5.5.17 stop service fails resulting error 1053 on win > server 2003 > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Deepti, > > On 9/24/2009 12:03 PM, Deepti Nigudkar wrote: > > We are using Tomcat 5.5.17 and everytime we try to stop the service > > from windows server 2003 we get error 1053 (It seems Microsoft uses > > this code if the service start/stop timeout) > > That error code is unlikely to be useful... as you suggest, it may just > mean "service failed to start". > > Have you used Tomcat in the past and now it suddenly does not work? Or, > is this the first time you are attempting to deploy it as a Microsoft > Windows service? > > > I have tried to look for the solution to this as our software use > > Apache tomcat 5.5.17. I have even tried editing catalina.bat to have > > conditional statement to exclude JAVA_OPTS while stopping but it > > didn't help. This was one of the solution I found when I was > > searching on google. > > If you have any log files in \path\to\tomcat\logs, delete them (or move > them somewhere else if you want to keep them) and try to start the > service again. Any log files in that directory should be examined. IF > you see anything out of the ordinary, investigate. If you need help, > post the relevant sections of the log files (or the whole thing if > you're not sure) to the list and we'll try to help. > > What happens if you try to start Tomcat from the command-line, like this: > > C:\> cd \path\to\tomcat > > C:\path\to\tomcat> bin\catalina.bat run > > [output goes here] > > Does anything happen? If you get any output at all, please post that > back to the list and we can maybe help figure out what's going wrong. > > > > We cannot upgrade to other tomcat versions as our software was > > developed on this version. > > Tomcat 5.5.x versions are all very compatible with a few exceptions. IF > you read the changelog, you can see any changes that might break your > application. Some significant bugs and security problems have been fixed > between 5.5.17 and 5.5.28 (the current version of 5.5.x). You should > seriously consider upgrading no matter what else you do. > > > I am sure there is fix for this but I was unable to find it. > > The "fix" depends on the problem. get back to us after you've tried my > suggestions above and we'll see what's going on. > > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkq7pXcACgkQ9CaO5/Lv0PBG2wCgnXUP4IlbQFyInr3JTizShreO > /XcAn2xURKdrju3laS4jWavXQQhdDd+a > =GWj3 > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > _________________________________________________________________ Bing™ brings you maps, menus, and reviews organized in one place. Try it now. http://www.bing.com/search?q=restaurants&form=MLOGEN&publ=WLHMTAG&crea=TEXT_MLOGEN_Core_tagline_local_1x1