tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Britton <jbritto...@gmail.com>
Subject Re: Tomcat 8 reliability/performance on Windows 2008 R2 Server vs. RHEL/CentOS
Date Thu, 01 Oct 2015 22:39:32 GMT
OP here.

I really appreciate the objective well thought out responses, this
community has never disappointed me.  A more qualified list of respondents
I will not find elsewhere.  George I should have said Windows Server 2012
R2.  A lot of our Windows servers are still 2008 R2 but any new ones that
are spun up are 2012 R2.  Our server environment is entirely virtualized
(VMware) so the hardware​ either OS would be sitting on would be
equivalent.  André I really appreciate the detail, holy war indeed :)  I
have sheathed my sword at work and am at least considering the possibility
of migration to Windows 2012 R2, it'll be more work short term but easier
maintenance, enforcement of security and compliance for our sys admins in
the long run considering their skill set. And if Mark says there shouldn't
be problems, I think that is some implicit guarantee of free support from
him ;)

I have a lot of convenience shell scripts here and there but nothing I
couldn't replicate in powershell I imagine.  I would miss grep and find and
all the other super useful Linux command line operations.  I'm not sure
I've ever been able to successfully search for text in files on a windows
machine server or otherwise (except when using notepad++).  We do have
Apache HTTPD proxying to our six different Tomcat instances but I'm fairly
certain this would be able to be replicated in Windows as well without too
much trouble.

My biggest reluctance at this point would be the loss of the possibility of
containerization (Docker).  I love the ability to build a war and create a
container running Tomcat around it, with the configuration of the server
entirely scripted and versioned.  Passing that built image between dev, qa
and production environments is so appealing.  We are a ways away from that
promise and workflow but I hate to remove the possibility.  Boot2Docker on
Windows is not a production option, would work adequately well enough for
development/qa perhaps.

@Christopher Schultz - Love the enthusiasm, who wouldn't love that welcome,
you must think I'm someone else, I know it's been 5/6/7 years since I
posted here last, my few posts must have had an effect :)  Money isn't an
issue, even though I work for a non-profit.  The change is entirely
motivated what's best for the organization as a whole from support,
maintenance, policy compliance, etc, a lot of the big picture items André
mentioned.  Our sys admins are quite a bit more comfortable in Windows.

Very much appreciate the dialog.

On Thu, Oct 1, 2015 at 1:54 PM, Aurélien Terrestris <aterrestris@gmail.com>
wrote:

> 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. <smithh032772@gmail.com>:
> > On Thu, Oct 1, 2015 at 11:46 AM, Aurélien Terrestris <
> aterrestris@gmail.com>
> > 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
> Server
> > for me.
> >
> > - does 'not' reboot every 3 days at all
> > - only reboots automatically at 3am when there is a Windows update for
> the
> > 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
> of
> > 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
> instance
> > 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 = 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
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message