On Thu, Oct 1, 2015 at 11:46 AM, Aurélien Terrestris <aterrest...@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