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 51503187F2 for ; Thu, 1 Oct 2015 20:55:07 +0000 (UTC) Received: (qmail 60362 invoked by uid 500); 1 Oct 2015 20:54:58 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 60305 invoked by uid 500); 1 Oct 2015 20:54:58 -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 60294 invoked by uid 99); 1 Oct 2015 20:54:58 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2015 20:54:58 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 3F907C0041 for ; Thu, 1 Oct 2015 20:54:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.102 X-Spam-Level: X-Spam-Status: No, score=-0.102 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 6Dis8RV8I1rs for ; Thu, 1 Oct 2015 20:54:57 +0000 (UTC) Received: from mail-vk0-f44.google.com (mail-vk0-f44.google.com [209.85.213.44]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 0794142AB6 for ; Thu, 1 Oct 2015 20:54:57 +0000 (UTC) Received: by vkfp126 with SMTP id p126so48414507vkf.3 for ; Thu, 01 Oct 2015 13:54:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=PZAOp1+59eahpdqWWoW80kJfP+pMMsD6sY2FJ/ptEsM=; b=Hh9epI0G/ZJsblNOGFFyiTi5jRhHfvps4M5CkO/IiDSbbLScQR7d5tDhFUbJNfUI60 eXg87Mnk63zfPXCJxMGyGcCYGVjYtMa5vc4DTKkL4ap0MUcQAZYko/WEXM+AOTlJKCPG hpdOvfYX13CLAXWScfPEfXpQC7uwITd/KSSWxt1btxY6J0etncnrwegexJeVzFUE376l M0HFRKTjA+uTRFTEsex7DsFCe/c67ATVCw8MKdRXqSJ6I98ronripGrugPablWkK19Uk 889ygzsdaUMC1gguDQ2vaAbiygqvbWQDS72yskFfqIpKpqbncBrtcT7bM1AylHe6H28d 3+6w== MIME-Version: 1.0 X-Received: by 10.31.172.70 with SMTP id v67mr8047739vke.47.1443732896763; Thu, 01 Oct 2015 13:54:56 -0700 (PDT) Received: by 10.103.76.157 with HTTP; Thu, 1 Oct 2015 13:54:56 -0700 (PDT) In-Reply-To: References: <20151001153159.GB14545@IUPUI.Edu> Date: Thu, 1 Oct 2015 22:54:56 +0200 Message-ID: Subject: Re: Tomcat 8 reliability/performance on Windows 2008 R2 Server vs. RHEL/CentOS From: =?UTF-8?Q?Aur=C3=A9lien_Terrestris?= To: Tomcat Users List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Howard, I didn't say this was not running well on Windows, but that it seems easier (less work) on Linux for the same result. If you're expecting "secured" Tomcats, you'll run your windows service with a service account. This means that you will have to set up properly the rights for this account to TOMCAT_BASE, TOMCAT_HOME, and even (if I remember well) giving write access to the conf folder (EVIL !) because the context deploying creates a temporary file and then needs write access. You need to break rights inheritance, and if you're unsure of your XCACLS script, you're going to break your server security. Setting up these rights take less than 5 minutes on Linux, and I would like know how much time for writing a correct XCACLS script. Every time you will right-clic to check the rights, you will be warned that inheritance was broken and you will have more doubt every day about what was done. Most of Tomcat admins need to search GOOGLE to know how to make a thread-dump. On Linux, kill -3 pid, it takes 5 seconds to learn :) When dealing with uploaded files (particularly Office), I would take no risk to get my server infected by a virus. A Linux running an antivirus sounds better to me. What you're saying sounds good, but I have been deploying Tomcat since version 3 and it has brought me to Linux choice. best regards, A.T. 2015-10-01 19:22 GMT+02:00 Howard W. Smith, Jr. : > On Thu, Oct 1, 2015 at 11:46 AM, Aur=C3=A9lien Terrestris > wrote: > >> I recommend Linux for 2 reasons : >> - easier to install and maintain a secured Tomcat (especially when >> using different TOMCAT_HOME & TOMCAT_BASE, on Windows it's pretty >> difficult to know how to secure all directories correctly) ; if you >> have to deal with file uploading, you don't want a system which could >> launch any exe,.. >> - doesn't need to reboot every 3 days because of the memory >> fragmentation or anything else >> > > Multiple tomcat/tomee instances are running well on Windows 2008 R2 Serve= r > for me. > > - does 'not' reboot every 3 days at all > - only reboots automatically at 3am when there is a Windows update for th= e > Windows 2008 R2 Server > - my apps shut down with no issues and restart (via Windows Service for > each tomcat/tomee instance) with no issues > - the embedded Apache Derby database is/has never corrupted due to loss o= f > power or restart (for Windows update) > - never had to set or maintain TOMCAT_HOME and/or TOMCAT_BASE environment > variables > - i only set/maintain JAVA_HOME and JRE_HOME environment variables > (whenever there is a Java version update) > - my 2 apps (and/or tomee instances) run under 500MB and 1GB of RAM, > respectively, and CPU seem to max out between 4 to 10% (on average) > - Java EE 6 full blown stack (JPA, JSF, JMS) running on main tomee instan= ce > using under 1 GB of RAM > - Java EE 6 RESTful + JMS running on 2nd tomee instance using under 500MB > of RAM > - use tomcat7w.exe and tomee4restw.exe to start, stop, edit the Windows > Services for the tomcat/tomee instances > - Windows =3D piece of cake (for me) > - as Andre' mentioned, use Remote Desktop connection to connect to the > Windows 2008 R2 Server > - i remove default tomcat/tomee web app (ROOT folder, etc...) and deploy = my > WAR to webapps folder > - i'm loving tomcat/tomee on Windows Server > - have 32 GB of RAM available, only using (approximately) 4GB because of = my > java heap settings for both tomcat/tomee settings --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org