Latest Best Practices for Tomcat Tuning

2019-05-22 Thread Louis Zipes
Hi Experts, I know that if you Google 'Tomcat Tuning' you will get some hits (ex. https://www.mulesoft.com/tcat/tomcat-performance) but I would like to see if we can have a discussion of best practices for Tomcat tuning from the group of experts here. Is there an updated top 10 list or someth

RE: Massive Startup Time after Server Reboot

2019-05-20 Thread Louis Zipes
Can you refresh me on how to capture the stack dumps you suggested? It's been a while >In Task Manager find the Tomcat process, right click on it and there is an >option to create a dump file. >Also, if you have access to jconsole or other JMX tool you can connect to it >and see what is go

RE: maxActive and maxWaitMillis set to "-1" in Tomcat 8.5

2019-04-11 Thread Louis Zipes
*maxTotal replaces maxActive in Tomcat 8.5 -Original Message- From: Louis Zipes [mailto:louis.zi...@kdrp.com] Sent: Thursday, April 11, 2019 4:43 PM To: Tomcat Users List Subject: maxActive and maxWaitMillis set to "-1" in Tomcat 8.5 Hi all, I'm upgrading from 7.0.54 to

maxActive and maxWaitMillis set to "-1" in Tomcat 8.5

2019-04-11 Thread Louis Zipes
Hi all, I'm upgrading from 7.0.54 to 8.5 and I know that MaxActive and maxWaitMillis replace MaxActive and MaxWait respectively but my third party vendor provided the old parameters as set to '-1' when they packaged the application with 7.0.54. My questions is what does '-1' mean for MaxActive

RE: Tomcat doesn't restart

2019-03-19 Thread Louis Zipes
33 AM To: Tomcat Users List Subject: Re: Tomcat doesn't restart - - - external message, proceed with caution - - - How big had your log files gotten in that period? On 3/14/19, Louis Zipes wrote: > Hi Experts, > Running Tomcat 7.0.54 on Windows 2012 > > Our morning process is

RE: Tomcat doesn't restart

2019-03-19 Thread Louis Zipes
ernal message, proceed with caution - - - On 14/03/2019 20:23, Louis Zipes wrote: > Hi Experts, > Running Tomcat 7.0.54 on Windows 2012 > > Our morning process is to fire a stop of the Tomcat Windows Service and then > an immediate restart. This is more due to the 3rd party

Tomcat doesn't restart

2019-03-14 Thread Louis Zipes
Hi Experts, Running Tomcat 7.0.54 on Windows 2012 Our morning process is to fire a stop of the Tomcat Windows Service and then an immediate restart. This is more due to the 3rd party application that is running with Tomcat than a problem with Tomcat. A few weeks ago it started to not cleanly

RE: Windows Service not stopping Tomcat 8.5.35 but only if it has been active for more than a day

2018-12-19 Thread Louis Zipes
...@apache.org] Sent: Wednesday, December 19, 2018 2:55 PM To: users@tomcat.apache.org Subject: Re: Windows Service not stopping Tomcat 8.5.35 but only if it has been active for more than a day - - - external message, proceed with caution - - - On 19/12/2018 19:44, Louis Zipes wrote: > > First

Windows Service not stopping Tomcat 8.5.35 but only if it has been active for more than a day

2018-12-19 Thread Louis Zipes
First of all, congratulations to Woonsan on his achievement! My issue is that I'm running Tomcat 8.5.35/JDK 1.7 on Windows 2012 and I'm stopping and starting it using Windows Service. I have no problems starting the Tomcat service and I also have no problems stopping the Tomcat service IF I s

[OT] Are we allowed to joke and ask when users@tomcat.apache.org will be bought for billions of dollars like GitHub or RedHat?

2018-10-29 Thread Louis Zipes
: ) --- CONFIDENTIALITY NOTICE: This message is for intended addressee(s) only and may contain information that is confidential, proprietary or exempt from disclosure. If you are not the intended recipient, please contact the sender immediately. Unauthorized

RE: 2 Factor Authentication Tomcat 7

2018-10-24 Thread Louis Zipes
Hello, To clarify, are you trying to get to a point where the password to the Oracle schema looks something like this in server.xml? password="2d9377fee736w1115ca984a1dfb99c943" instead of unencrypted like password= so that someone wandering around your server can't get the password to your O

RE: Apache failed to initialize connector

2018-10-08 Thread Louis Zipes
Maybe I missed it but what do the Tomcat logs show when you stop and start it? Also, to further diagnose or get more of the error message you could create a batch file with this in it and put in a PAUSE to see the error message net stop "" && net start "" PAUSE -Original Message- From:

RE: Application hanging on Tomcat 7.0.54

2018-10-01 Thread Louis Zipes
g on Tomcat 7.0.54 - - - external message, proceed with caution - - - -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Louis, On 9/27/18 09:19, Louis Zipes wrote: > Even though these hangs are critical to find, any plugin or > additional code that I wish to put on our PRD server have to go

RE: Application hanging on Tomcat 7.0.54

2018-09-27 Thread Louis Zipes
Hi Guido, Even though these hangs are critical to find, any plugin or additional code that I wish to put on our PRD server have to go through our SOX process so it can be cumbersome. Are any of the monitoring techniques that you mention 'out of the box' with Tomcat 7.0.54 or JDK 1.7. I can cer

RE: Application hanging on Tomcat 7.0.54

2018-09-27 Thread Louis Zipes
opherschultz.net] Sent: Wednesday, September 26, 2018 7:30 PM To: users@tomcat.apache.org Subject: Re: Application hanging on Tomcat 7.0.54 - - - external message, proceed with caution - - - -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Louis, On 9/26/18 15:56, Louis Zipes wrote: > Probl

RE: Application hanging on Tomcat 7.0.54

2018-09-26 Thread Louis Zipes
g on Tomcat 7.0.54 - - - external message, proceed with caution - - - -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Louis, On 9/26/18 14:42, Louis Zipes wrote: > Hi all, Tomcat 7.0.54 running on Windows 2012 > > We are running a third party application on Tomcat and today we > have inte

Application hanging on Tomcat 7.0.54

2018-09-26 Thread Louis Zipes
/51498291/tomcat-lockup-on-shutdown) but we have taken the break fix patch and the daily restarts seem to be fine since then. Any comments/suggestions are appreciated! Thanks, Louis LOUIS ZIPES SOFTWARE DEVELOPER ANALYST IV O: 781-418-3257 louis.zi...@keurig.com<mailto:louis.zi...@ke

Re: tomcat manager gui hangs on web-app reload for one web-app not others

2018-09-13 Thread Louis Zipes
Also any Microsoft patch differences between the working and non working environments and beware of the issue with a patch that was released recently and how it affects ports. > On Sep 13, 2018, at 6:36 PM, Mark Thomas wrote: > > - - - external message, proceed with caution - - - > > >> On 13/0

RE: tomcat manager gui hangs on web-app reload for one web-app not others

2018-09-13 Thread Louis Zipes
What Operating System is Tomcat running on? -Original Message- From: Bill Harrelson [mailto:bill.harrel...@accordare.com] Sent: Thursday, September 13, 2018 4:14 PM To: users@tomcat.apache.org Subject: tomcat manager gui hangs on web-app reload for one web-app not others - - - external me

RE: Tomcat Manager weirdness on a Google Compute instance

2018-09-06 Thread Louis Zipes
I discovered that somehow, the "max-file-size" and > "max-request-size" in manager/WEB-INF/web.xml had reverted from our > standard setting of 500M, to the factory setting of 50M. Does the file show a modified date/time that could point to at least a timing for the action? -Original Message-

RE: websocket endpoints not released

2018-09-05 Thread Louis Zipes
Same behavior with Internet Explorer? I know that in general, Chrome tabs act as the same session if you open more than one (at least with my application running on Tomcat) -Original Message- From: Johan Compagner [mailto:jcompag...@servoy.com] Sent: Wednesday, September 05, 2018 3:42 A

RE: Tomcat service gets stuck

2018-08-22 Thread Louis Zipes
Hi Bab, I assume you mean it is getting stuck with a Windows service or not true? Can you please share logs with the specific error you are seeing. Thanks, Louis From: Bab Alemzadeh [mailto:b...@eyequestion.nl] Sent: Wednesday, August 22, 2018 9:16 AM To: users@tomcat.apache.org Subject: Tomcat

RE: how to prevent user access to JSP pages?

2018-08-16 Thread Louis Zipes
Maybe I'm not fully understanding the request but can't you create a Security Folder and list out only the JSPs that you want to allow the users access to? My application is a third party application so I didn't develop it but they use a folder that has a list of .jsps that I can access so I as

RE: Question about setting CATALINA_OPTS when starting Tomcat using a Windows Service in Tomcat 7.0.54

2018-08-15 Thread Louis Zipes
at.apache.org Subject: Re: Question about setting CATALINA_OPTS when starting Tomcat using a Windows Service in Tomcat 7.0.54 - - - external message, proceed with caution - - - -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Louis, On 8/14/18 3:28 PM, Louis Zipes wrote: > Hi all, Just wanted to circ

RE: Question about setting CATALINA_OPTS when starting Tomcat using a Windows Service in Tomcat 7.0.54

2018-08-14 Thread Louis Zipes
ed (or not) from within Tomcat (assuming that's even possible). Of course, one could also wonder if you really need JMX when you run tomcat in production mode. If this is only for testing, you could run tomcat in a console, where you would not have the same issue (because you would n

RE: Question about setting CATALINA_OPTS when starting Tomcat using a Windows Service in Tomcat 7.0.54

2018-08-10 Thread Louis Zipes
Of course, one could also wonder if you really need JMX when you run tomcat in production mode. If this is only for testing, you could run tomcat in a console, where you would not have the same issue (because you would not have the wrapper with its single-minded preset JVM options). (Or you co

RE: [OT] Question about setting CATALINA_OPTS when starting Tomcat using a Windows Service in Tomcat 7.0.54

2018-08-09 Thread Louis Zipes
Linux ;-)) A wise choice IMHO, if you have the expertise to manage it. I wouldn't recommend that a Windows shop just switch to Linux any time soon. But if you have people very familiar with *NIX deployments, I would recommend keeping Windows on desktops and leave the servers running some kind o

RE: Question about setting CATALINA_OPTS when starting Tomcat using a Windows Service in Tomcat 7.0.54

2018-08-09 Thread Louis Zipes
Hi Mark, You wrote: 1. You see the error you are see because you are using Java mode. Switch to jvm mode and all should be well. >> I'm already using 'C:\Program Files\Java\jdk1.7.0_80\jre\bin\server\jvm.dll' >> in my Java Virtual Machine tab. I assume that means I'm already in JVM >> Mode.

RE: Question about setting CATALINA_OPTS when starting Tomcat using a Windows Service in Tomcat 7.0.54

2018-08-08 Thread Louis Zipes
re" c) go to Java tab d) add the properties in the "Java Options" text area e) select OK and restart Tomcat Service On Wednesday, August 8, 2018, Louis Zipes wrote: > Thanks for the assistance! See my comments below: > > >You put this to setenv.bat in your bin di

RE: Question about setting CATALINA_OPTS when starting Tomcat using a Windows Service in Tomcat 7.0.54

2018-08-08 Thread Louis Zipes
lete the line above in setenv.bat and paste in: set CATALINA_OPTS="-Dproperty1=value1 -Dproperty2=value2" etc. When you start Tomcat, it should read all the properties in CATALINA_OPTS and show you the properties at the beginning of the log. Hope this helps. On 08/08/2018 03:10 PM, Louis Zip

RE: Question about setting CATALINA_OPTS when starting Tomcat using a Windows Service in Tomcat 7.0.54

2018-08-08 Thread Louis Zipes
TALINA_OPTS when starting Tomcat using a Windows Service in Tomcat 7.0.54 - - - external message, proceed with caution - - - Le ven. 3 août 2018 à 12:03, Louis Zipes a écrit : > Good catch!! I still had 'd' in front of my lines so once I removed those > JMX starts up using Mana

RE: IIS Connector Not Working

2018-08-06 Thread Louis Zipes
Hi, The fact that it is working on one machine and not the other then have you rules out all of the NON IIS Connector differences (ex. Machine Operating Systems, Privileges, etc..)? - Louis -Original Message- From: George S. [mailto:geor...@mhsoftware.com] Sent: Monday, August 06, 2018

RE: Tomcat 8.x-9.x + Struts 1.3.x - Applications will get into a state where they won't serve random bunch of static resources, 500 errors

2018-08-06 Thread Louis Zipes
Hi, Not an answer but just letting you my thinking on where I would look for additional error messages that might help tell more of the story. 1) Any additional information in the individual Java Plugin Logs that tell more of the story? 2) Can you increase the logging on the Tomcat side to try

RE: Question about setting CATALINA_OPTS when starting Tomcat using a Windows Service in Tomcat 7.0.54

2018-08-03 Thread Louis Zipes
--- Hash: SHA256 Louis, On 8/3/18 11:32 AM, Louis Zipes wrote: > Hi Daniel, I tried your suggestion and while I think it is now > acknowledging the existence of the management.properties file > (Windows Service wouldn't start if I purposely misspelled > 'managemenX.properties

RE: Question about setting CATALINA_OPTS when starting Tomcat using a Windows Service in Tomcat 7.0.54

2018-08-03 Thread Louis Zipes
age will disappear since this configuration will be handled properly. Regards, Le 2 août 2018 3:58 PM, "Louis Zipes" a écrit : Hi All, I'm trying to enable JMX monitoring using Tomcat 7.0.54. Turning on the JMX monitoring is not the problem. To do this I added the following to the

RE: Question about setting CATALINA_OPTS when starting Tomcat using a Windows Service in Tomcat 7.0.54

2018-08-02 Thread Louis Zipes
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Louis, On 8/2/18 3:58 PM, Louis Zipes wrote: > Hi All, I'm trying to enable JMX monitoring using Tomcat 7.0.54. > Turning on the JMX monitoring is not the problem. To do this I > added the following to the Apache Tomcat 7.0 Proper

RE: Question about setting CATALINA_OPTS when starting Tomcat using a Windows Service in Tomcat 7.0.54

2018-08-02 Thread Louis Zipes
. Regards, Le 2 août 2018 3:58 PM, "Louis Zipes" a écrit : Hi All, I'm trying to enable JMX monitoring using Tomcat 7.0.54. Turning on the JMX monitoring is not the problem. To do this I added the following to the Apache Tomcat 7.0 Properties 'JAVA' tab GUI Window, wh

Question about setting CATALINA_OPTS when starting Tomcat using a Windows Service in Tomcat 7.0.54

2018-08-02 Thread Louis Zipes
Hi All, I'm trying to enable JMX monitoring using Tomcat 7.0.54. Turning on the JMX monitoring is not the problem. To do this I added the following to the Apache Tomcat 7.0 Properties 'JAVA' tab GUI Window, which opens up when you run 'TOMCAT7w.exe //ES/', and it works in that JMX can monitor