Re: how to tune cacheMaxSize

2021-08-20 Thread Michael Richardson
Christopher Schultz wrote: >> NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.ba >> se/java.util.concurrent=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.tr

Re: how to tune cacheMaxSize

2021-08-20 Thread Michael Richardson
Christopher Schultz wrote: > That's quite a long time (1643381ms), and the timestamps match-up. > So you tried to get a thread-dump during this 27-minute period and the > process simply wouldn't respond? Correct. > It is during this 27-minute period that the CPU is pegged? Cor

Re: Apache Tomcat 9 | Tomcat starting issue

2021-08-20 Thread Christopher Schultz
Piyush, On 8/20/21 06:36, Piyush Sharma wrote: Hello, I am using Apache Tomcat 9.0.46 version on docker container. There is a problem, where the base path was wrongly set by automation script due to which it starts for few seconds, listen port 8080 and then stop, due to that container exit af

Re: how to tune cacheMaxSize

2021-08-20 Thread Christopher Schultz
Michael, On 8/19/21 21:34, Michael Richardson wrote: Aha. Well, I left it running after the last email and went on to more important things. Then the window just jumped: The previous log line: 20-Aug-2021 01:02:42.315 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL O

Re: how to tune cacheMaxSize

2021-08-20 Thread Christopher Schultz
Michael, On 8/19/21 20:35, Michael Richardson wrote: try #1. Now rebooting VM. Christopher Schultz wrote: > 1. Stop Tomcat, clear all logs, delete your oscar.war file and the exploded > directory in CATALINA_BASE/webapps/oscar (or wherever your appBase points > to). > 2.

Re: how to tune cacheMaxSize

2021-08-20 Thread Christopher Schultz
Michael, On 8/19/21 21:37, Michael Richardson wrote: Let's deploy the oscar.war, what's the worst that can happen? 20-Aug-2021 01:36:10.129 WARNING [Catalina-utility-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/oscar/ocan/testdata/ocan_

Re: Apache Tomcat 9 | Tomcat starting issue

2021-08-20 Thread Piyush Sharma
> > Hello, > > I am using Apache Tomcat 9.0.46 version on docker container. > > There is a problem, where the base path was wrongly set by automation > script due to which it starts for few seconds, listen port 8080 and then > stop, due to that container exit after sometime. > Now how can we debug

ApacheCon@Home, Tomcat-Track, request for input ...

2021-08-20 Thread Rony G. Flatscher (Apache)
Hi there, in a month ApacheCom@Home 2021 [1] starts and has a Tomcat Track [2] in which I will present a talk "Apache Tomcat: Enabling Scripting Languages in JSPs" [3]. About getting ready to prepare the slides and samples I was wondering whether anyone in the Tomcat community would have questi