Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 69211 invoked from network); 3 Mar 2010 16:00:29 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Mar 2010 16:00:29 -0000 Received: (qmail 67448 invoked by uid 500); 3 Mar 2010 16:00:18 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 67334 invoked by uid 500); 3 Mar 2010 16:00:18 -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 67325 invoked by uid 99); 3 Mar 2010 16:00:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Mar 2010 16:00:18 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [192.61.61.103] (HELO usea-naimss1.unisys.com) (192.61.61.103) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Mar 2010 16:00:09 +0000 Received: from usea-nagw1.na.uis.unisys.com ([129.224.72.16]) by usea-naimss1 with InterScan Message Security Suite; Wed, 03 Mar 2010 09:59:47 -0600 Received: from usea-nagw1.na.uis.unisys.com ([129.224.72.51]) by usea-nagw1.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 3 Mar 2010 09:59:47 -0600 Received: from usea-nahubcas2.na.uis.unisys.com ([129.224.76.115]) by usea-nagw1.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 3 Mar 2010 09:59:47 -0600 Received: from USEA-EXCH8.na.uis.unisys.com ([129.224.76.42]) by usea-nahubcas2.na.uis.unisys.com ([129.224.76.115]) with mapi; Wed, 3 Mar 2010 09:59:46 -0600 From: "Caldarale, Charles R" To: Tomcat Users List Date: Wed, 3 Mar 2010 09:59:43 -0600 Subject: RE: Tomcat generate empty 0 kb logs Thread-Topic: Tomcat generate empty 0 kb logs Thread-Index: Acq66IdKvf2qjvAaTbSNxP7X3GEAzwAANW+w Message-ID: <99C8B2929B39C24493377AC7A121E21F96CB87550C@USEA-EXCH8.na.uis.unisys.com> References: <55ccf7dd1003030351g5a154f10gf2bc8f1146d460fa@mail.gmail.com> <1C6F1A87DD804C479CF4C0B0CAE88D5403673E55@be19.exg4.exghost.com> <55ccf7dd1003030519l6ed70354k97753fa0bac4a0a0@mail.gmail.com> <1C6F1A87DD804C479CF4C0B0CAE88D5403673E66@be19.exg4.exghost.com> <55ccf7dd1003030638y1a0a7785n5097637a7e2e9906@mail.gmail.com> <99C8B2929B39C24493377AC7A121E21F96CB8752CA@USEA-EXCH8.na.uis.unisys.com> <55ccf7dd1003030717j75acfd65v980fa7fce404d545@mail.gmail.com> <99C8B2929B39C24493377AC7A121E21F96CB875413@USEA-EXCH8.na.uis.unisys.com> <55ccf7dd1003030744o23382bcch38cc43eeff8c73da@mail.gmail.com> In-Reply-To: <55ccf7dd1003030744o23382bcch38cc43eeff8c73da@mail.gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 03 Mar 2010 15:59:47.0489 (UTC) FILETIME=[8C723910:01CABAEA] > From: Miriam esteve [mailto:miesvesakai@gmail.com] > Subject: Re: Tomcat generate empty 0 kb logs >=20 > How can the tomcat start with: start tomcat5, and I can access to my > web application and with startup.sh don't start??? The Windows start command initiates a service; the .bat scripts run Tomcat = as a regular process. As you've discovered, your heap settings were very d= ifferent for the two environments. > I'm on Windows Vista=20 32- or 64-bit? > one in the enviorement variables: > -server -XX:+UseParallelGC -Xmx876m -XX:MaxPermSize=3D2160m As you determined, the above MaxPermSize is outrageous. Also, the -Xmx set= ting doesn't match what you have set for the service execution. > and the other ones in the GUI of tomcat5w: > -Djava.util.logging.config.file=3DE:\opt\tomcat\conf\logging.properties Please post the above file to the list. > (One question about that,are these the same JAVA_OPTS??) JAVA_OPTS is used when running Tomcat via the scripts, the tomcat5w.exe set= tings when running as a service. They do not have to match, but it's usual= ly better to keep them in sync to eliminate confusion when switching betwee= n the two execution mechanisms. > And I don't have CATALINA_OPTS CATALINA_OPTS applies only to Tomcat itself when run from the scripts, wher= eas JAVA_OPTS applies to both Tomcat and the shutdown program; the latter c= an run quite happily with the default heap and other settings. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MA= TERIAL 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 atta= chments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org