Hi All,
I have done the following to resolve the issue but didn't help so far: 1. Installed tomcat versions 5.5.17 and 5.5.28 on another machine. These versions of tomcat got installed properly and I was able to stop the service using windows server 2003 service. 2. I compared the registry on both the machines (the one that works and the one that doesn't). There is no difference in regisrty. Compared in the Software and ControlSet sections 3. Tried copying tomcat.exe and tomcat5w.exe from working installation but didn't work 4. Deleted the service that was not working and recreated by running the apache tomcat installer (just created the service) everything else is same from previous installation. It still didn't fix the issue. In the event log I get error message as follows Timeout (30000 milliseconds) waiting for the Apache Tomcat service to connect. I don't know why it gets timed out while stopping the service. Start service just fine. Tomcat executable is bundled with our product and when we install our product it installs tomcat first and then our product. The issue happens only when we install both together. It looks like the service doesn't get created correctly so I did all of above to resolve the issue. Any other ideas? Your help is highly appreciated. Thanks & Regards, Deepti > From: geor...@mhsoftware.com > To: users@tomcat.apache.org > Subject: RE: Tomcat 5.5.17 stop service fails resulting error 1053 on win > server 2003 > Date: Fri, 25 Sep 2009 12:40:19 -0600 > > One option would be to replace the tomcat.exe/tomcatw.exe with the current > version from 5.5.28. This wouldn't affect your application since it would > only replace the service interface, not the actual tomcat java class files. > > George Sexton > MH Software, Inc. > http://www.mhsoftware.com/ > Voice: 303 438 9585 > > > > -----Original Message----- > > From: Deepti Nigudkar [mailto:deepti_...@hotmail.com] > > Sent: Friday, September 25, 2009 12:32 PM > > To: Apache Tomcat Users > > Subject: RE: Tomcat 5.5.17 stop service fails resulting error 1053 on > > win server 2003 > > > > > > 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 > > > > > > > _________________________________________________________________ > > BingT 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 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > _________________________________________________________________ Hotmail® has ever-growing storage! Don’t worry about storage limits. http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage_062009