Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CF4DC9893 for ; Thu, 8 Mar 2012 19:54:43 +0000 (UTC) Received: (qmail 27086 invoked by uid 500); 8 Mar 2012 19:54:40 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 26902 invoked by uid 500); 8 Mar 2012 19:54:40 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 26891 invoked by uid 99); 8 Mar 2012 19:54:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2012 19:54:40 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [76.96.62.16] (HELO qmta01.westchester.pa.mail.comcast.net) (76.96.62.16) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2012 19:54:32 +0000 Received: from omta22.westchester.pa.mail.comcast.net ([76.96.62.73]) by qmta01.westchester.pa.mail.comcast.net with comcast id j7hB1i0091ap0As517uCPh; Thu, 08 Mar 2012 19:54:12 +0000 Received: from Christophers-MacBook-Pro.local ([69.143.109.145]) by omta22.westchester.pa.mail.comcast.net with comcast id j7uB1i00j38FjT13i7uC5i; Thu, 08 Mar 2012 19:54:12 +0000 Message-ID: <4F590E62.3040805@christopherschultz.net> Date: Thu, 08 Mar 2012 14:54:10 -0500 From: Christopher Schultz User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Web service not starting up as expected References: <30E219DE264470478E86828191E9B7510553D46166@csmail> In-Reply-To: <30E219DE264470478E86828191E9B7510553D46166@csmail> X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Debbie, On 3/8/12 2:46 PM, Debbie Shapiro wrote: > I recently upgraded my Tomcat to version 7.0.26. I'm using a third > party application within Tomcat (InetSoft). All I do is place their > web application folder within the Tomcat webapps directory. Most > recently, I had 7.0.23 installed and it would start up as expected. > I have a process each night that automatically restarts the > services. In my web.xml, I have code that is supposed to > automatically start it up (the automated process restarts it at > 11:30PM) using the load-on-startup tag. > > replets > inetsoft.sree.web.ServletRepository > 1 So, your load-on-startup servlet somehow restarts your services? When you say "services", do you mean it restarts Tomcat? How does it do that? > Since the upgrade to 7.0.26, when we try to access the web app the > next morning, it is not accessible. However, the same process I use > to (automatically) restart it each evening, when I kick it off > manually, I am then able to access the web app. There is nothing > different in how I am manually kicking it off versus the automated > process. I'm using the same .bat file (on Win2003 server) and the > automated process is a simple Scheduled Task. My immediate guess would be that when you run it manually, you are logged-in as yourself, while the scheduled task runs as some other user. Any file permission issues that might be in play? > The only difference I am seeing is that in the Catalina log, the > automated process ends with: > > Mar 7, 2012 11:30:06 PM org.apache.coyote.AbstractProtocol stop > INFO: Stopping ProtocolHandler ["http-bio-8080"] Mar 7, 2012 > 11:30:06 PM org.apache.coyote.AbstractProtocol stop INFO: Stopping > ProtocolHandler ["ajp-bio-8009"] That's Tomcat stopping. Is there more above that line? Perhaps some kind of exception and/or stack trace? > When I start it up manually, I see this: Mar 8, 2012 9:48:42 AM > org.apache.coyote.AbstractProtocol start INFO: Starting > ProtocolHandler ["http-bio-8080"] Mar 8, 2012 9:48:42 AM > org.apache.coyote.AbstractProtocol start INFO: Starting > ProtocolHandler ["ajp-bio-8009"] Mar 8, 2012 9:48:42 AM > org.apache.catalina.startup.Catalina start INFO: Server startup in > 20377 ms That's Tomcat starting. > So, for some reason, the load-on-startup doesn't seem to be > working properly. Any ideas why? Is this a bug in 7.0.26? I think load-on-startup isn't your problem, because Tomcat itself does not appear to even be attempting to start (or fails to start, and shuts down). Try this: 1. Shut down Tomcat and remove all log files form wherever they are. 2. Start Tomcat manually. 3. Schedule a restart 2 minutes into the future. 4. Wait 2 minutes. 5. Confirm that Tomcat is *not* running (that's your complaint, right?) 6. Post back with full (sanitized if necessary) log files - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk9ZDmIACgkQ9CaO5/Lv0PBXBwCcCZp/tKQic9+42LeGq8VXeXxr hVYAn03Eh18eOavUQfdHoxzgRnHdQYj2 =ceNx -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org