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: 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: how to tune cacheMaxSize

2021-08-19 Thread Michael Richardson
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_v1.0.1.xml] to the cache for web application [/oscar] b

Re: how to tune cacheMaxSize

2021-08-19 Thread Michael Richardson
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 OpenSSL successfully initialized [OpenSSL 1.1.1 11 Sep

Re: how to tune cacheMaxSize

2021-08-19 Thread Michael Richardson
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. Copy your oscar.war file into appBase, making sure that ope

Re: how to tune cacheMaxSize

2021-08-18 Thread Christopher Schultz
Michael, On 8/17/21 12:31, Michael Richardson wrote: Christopher Schultz wrote: > Not at all. EC2 is entirely reasonable for such purposes. Amazon will > even grant you a signed BAA if you ask for one. Canada is not the US, and OHIP has rules differently than others. True, but sev

Re: how to tune cacheMaxSize

2021-08-17 Thread Michael Richardson
Christopher Schultz wrote: > Not at all. EC2 is entirely reasonable for such purposes. Amazon will > even grant you a signed BAA if you ask for one. Canada is not the US, and OHIP has rules differently than others. And the clinic would like to survive having our third-world telco go down

Re: how to tune cacheMaxSize

2021-08-17 Thread Christopher Schultz
Michael, On 8/16/21 16:14, Michael Richardson wrote: Christopher Schultz wrote: > Okay, all that looks fine to me, except the "9.0.16" part. That version > is *very/8 old. I see you are running Ubuntu: are you running the > latest release? That 9.0.16 number if rinning a bell ab

Re: trying to deploy oscar (was Re: how to tune cacheMaxSize )

2021-08-16 Thread Michael Richardson
I grabbed apache-tomcat-9.0.52.tar.gz from https://downloads.apache.org/tomcat/tomcat-9/v9.0.52/bin/apache-tomcat-9.0.52.tar.gz I unpacked it to /opt/apache-tomcat-9.0.52.tar.gz. I uninstalled tomcat9 (purged, and rm -rf /var/lib/tomcat/webapps) I tweaked CATALINA_HOME and JRE_HOME appropriately.

Re: how to tune cacheMaxSize

2021-08-16 Thread Michael Richardson
Christopher Schultz wrote: > Okay, all that looks fine to me, except the "9.0.16" part. That version > is *very/8 old. I see you are running Ubuntu: are you running the > latest release? That 9.0.16 number if rinning a bell about an older > release which was capped at 9.0.16. YOu

Re: trying to deploy oscar (was Re: how to tune cacheMaxSize )

2021-08-16 Thread Christopher Schultz
Michael, On 8/14/21 16:05, Michael Richardson wrote: <#secure method=pgpmime mode=sign> Extracts of log, full log at URL below. 18k. 14-Aug-2021 17:16:43.821 INFO [Catalina-utility-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/var/lib/tomcat9/webapp

Re: how to tune cacheMaxSize

2021-08-16 Thread Christopher Schultz
Michael, On 8/14/21 11:56, Michael Richardson wrote: > > Thank you for the reply. > > Christopher Schultz wrote: > > On 8/12/21 11:05, Michael Richardson wrote: > >> I am trying to deploy OSCAR-EMR > Wow, that still exists? I remember more than a decade ago being asked to integrate a

trying to deploy oscar (was Re: how to tune cacheMaxSize )

2021-08-14 Thread Michael Richardson
<#secure method=pgpmime mode=sign> Extracts of log, full log at URL below. 18k. 14-Aug-2021 17:16:43.821 INFO [Catalina-utility-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/var/lib/tomcat9/webapps/oscar.war] 14-Aug-2021 17:16:44.005 SEVERE [Catalina-

Re: how to tune cacheMaxSize

2021-08-14 Thread Michael Richardson
This time, after apt-get purge tomcat9 and re-install, I seem to be in 100% CPU before I've deployed oscar or even updated the tomcat-users.xml to enable the manager login. HTOP view attached at bottom. (4 virtual CPUs, 4G of ram. KVM VM running ubuntu 18.04, on a server running ubuntu core 20) o

Re: how to tune cacheMaxSize

2021-08-14 Thread Michael Richardson
Thank you for the reply. Christopher Schultz wrote: > On 8/12/21 11:05, Michael Richardson wrote: >> I am trying to deploy OSCAR-EMR > Wow, that still exists? I remember more than a decade ago being asked > to integrate a product at $work with that thing as a demo. We never

Re: how to tune cacheMaxSize

2021-08-13 Thread Christopher Schultz
Michael, On 8/12/21 11:05, Michael Richardson wrote: I am trying to deploy OSCAR-EMR Wow, that still exists? I remember more than a decade ago being asked to integrate a product at $work with that thing as a demo. We never did, because the market seemed not to really exist. I see you are in

Re: how to tune cacheMaxSize

2021-08-12 Thread Michael Richardson
Michael Richardson wrote: > Then, port 8080 stops responding. And also I see new connections just > stall. to be clear, this is what I mean: oscar-serv03-[~] root 213 #netstat -tan Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign

how to tune cacheMaxSize

2021-08-12 Thread Michael Richardson
I am trying to deploy OSCAR-EMR in a new location (for my wife's office), with better encryption and database replication. We have an existing bare-metal instance running that her boss assembled. It's fragile, but it runs. In both ubuntu 18.04 and devuan beowulf VMs, I can start up tomcat9 and o