Re: Tomcat 9 Session replication

2022-01-31 Thread Christopher Schultz
h other non-members. Just make sure you have your ports unique for each cluster and your membership ids unique for each node in each cluster. -chris -Original Message- From: Christopher Schultz Sent: 31 January 2022 14:46 To: users@tomcat.apache.org Subject: Re: Tomcat 9 Session replica

Re: AW: AW: Redirect with 301 for directory requested without trailing slash

2022-02-04 Thread Christopher Schultz
Benny, On 2/4/22 11:06, Benny Kannengießer wrote: Thanks again Mark for the tip! Like you suggested I wrapped the response, overriding "setStatus()" - but the method didn't get called because the wrapper is not a subclass of the original response, it's just a façade. I think the "setStatus()

Re: How to Upgrade tomcat from 8.5.23 to 8.5.73 | windows r2 2008 server

2022-02-07 Thread Christopher Schultz
Rakesh, On 2/6/22 14:52, rakesh meka wrote: Greetings of the day. Hope you all are doing well. I am actually new to tomcat. I had required from the client that we need to upgrade tomcat from 8.5.23 to 8.5.75 where there is an application is deployed which makes sap 4.6c integration. So I need

Re: How to Upgrade tomcat from 8.5.23 to 8.5.73 | windows r2 2008 server

2022-02-08 Thread Christopher Schultz
Jon, On 2/7/22 18:24, jonmcalexan...@wellsfargo.com.INVALID wrote: -Original Message- From: Christopher Schultz Sent: Monday, February 7, 2022 2:32 PM To: users@tomcat.apache.org Subject: Re: How to Upgrade tomcat from 8.5.23 to 8.5.73 | windows r2 2008 server Rakesh, On 2/6/22 14:52

Re: Tomcat not starting up in secondary ip for 8443 port

2022-02-10 Thread Christopher Schultz
Dabashish, On 2/9/22 11:55, Debashish Dey (HCL) wrote: We have windows 2019 where tomcat is installed with 8443 port and we have one NIC where 4 ips are configured. We want to start tomcat as autometic startup way with a specific ip and we are getting error port-bind suring autometic startup

Re: Tomcat 9.0.56 Windows - Assistance with using cert and key generated using MS AD Cert Server for internal use

2022-02-10 Thread Christopher Schultz
Paul, On 2/9/22 13:41, paul@stgconsulting.com wrote: Could someone point me to a how to SSL configuration using cert and key generated using MS AD Cert server for internal use? Assuming that "MS AD Cert Server" generates normal X.509 certificates, it shouldn't matter that you are using th

Re: Can't stop tomcat - connection refused

2022-02-15 Thread Christopher Schultz
Blake, On 2/15/22 16:58, Blake McBride wrote: # netstat -plunet Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name tcp0 0 127.0.0.53:53 0.0.0.0:* LIS

Re: is too quick to respond

2022-02-17 Thread Christopher Schultz
John, On 2/17/22 10:46, John Barrow wrote: Hi, I am now running Tomcat version 10.0.16 having just upgraded from 9.0.41. As a developer, I make use of the META-INF\context.xml feature to detect changes within the classes folder WEB-INF\classes by However, since moving to Tomcat 10.0.16, the

Re: is too quick to respond

2022-02-18 Thread Christopher Schultz
John, On 2/18/22 10:50, John Barrow wrote: Would you be interested in looking at the existing algorithm to see if it would be updated in this way? WebappLoader.backgroundProcess() would be a good place to start. I am sort of interested in looking at this. Awesome! I have only been playi

Re: is too quick to respond

2022-02-20 Thread Christopher Schultz
John, On 2/20/22 05:50, John Barrow wrote: Neil, Thanks for your useful feedback. I am still feeling my way as you can probably see from my earlier emails trying to setup a development environment. I did actually think of this but didn't put it in scope for a couple of reasons. Firstly, the T

Re: is too quick to respond

2022-02-22 Thread Christopher Schultz
John, On 2/19/22 05:27, John Barrow wrote: I have re-run the Tomcat tests using 4 cores (all my machine has!) and time came down to 35m 33s. Not bad. Definitely better. Ask IT for a better computer ;) I have written my own ‘grep’ to review the output directory and I think that the number of

Re: is too quick to respond

2022-02-22 Thread Christopher Schultz
Jason, On 2/20/22 10:02, Jason Hall wrote: Not sure about Tomcat, but what IBM Liberty does is: It "will" try to redeploy the war when it detects a file change - and it does fail naturally since the war isn't complete. > BUT - it will keep trying since during the upload, the timestamp and file

Re: is too quick to respond

2022-02-22 Thread Christopher Schultz
John, On 2/20/22 13:35, John Barrow wrote: That's my understanding as well, just that they have to have a defined folder structure within the zip but can unzip with any utility program. When you say "consistent content", how would you determine that without actually 'suck and see' which would

Re: is too quick to respond

2022-02-22 Thread Christopher Schultz
? :/ Well, they don't handle MIME properly, so why bother allowing plain text? Christopher: The patch you are currently working on should fix this aspect of the overall problem you are trying to solve. Thanks for the vote of confidence - hopefully now that you can see / run the sampl

Re: is too quick to respond

2022-02-24 Thread Christopher Schultz
John, On 2/23/22 05:49, John Barrow wrote: Christopher, You will just change the implementation to answer the question "have any resources been modified, but not-too-recently?" OK The check must be fast, otherwise it will hang-up other processes on the server. Don'

Re: Configure mulitple installs tomcat 8.5 - catalina_base/catalina_home

2022-02-24 Thread Christopher Schultz
Jason, On 2/23/22 13:50, Jason Countryman wrote: Good afternoon, On a Centos 7 machine, I have multiple full tomcat installs. /var/tomcat_installs/initiatingPROD /var/tomcat_installs/respondingPROD My app uses a spring configuration for cxf, and uses catalina.base to identify the location fo

Re: [OT] Configure Tomcat development using NetBeans IDE

2022-02-24 Thread Christopher Schultz
John, On 2/23/22 05:08, John Barrow wrote: I fall into that historic stereotypical old-school developer type labelled 'lazy' You're in good company. Awww.. the threevirtues dot com website has been hijacked by some stupid advertising company. This is why we can't have nice things. Google fo

Re: Tomcat 9 Class Loader conflicts

2022-02-28 Thread Christopher Schultz
Ricardo, On 2/28/22 15:32, Ricardo Osorio wrote: Hi, I have Tomcat 9.0.53 and i deployed a war file APP.war with 2 differents libs - app/WEB-INF/lib/javax.mail-1.6.0.jar - app/WEB-INF/lib/mail-1.4.jar QA environment hardware properties: Mem: 6809 Architecture:

[ANN] Apache Tomcat 8.5.75 available

2022-02-28 Thread Christopher Schultz
The Apache Tomcat team announces the immediate availability of Apache Tomcat 8.5.76. Apache Tomcat 8 is an open source software implementation of the Java Servlet, JavaServer Pages, Java Unified Expression Language, Java WebSocket and Java Authentication Service Provider Interface for Containers

Re: java.lang.OutOfMemoryError: Metaspace while deploying application

2022-03-01 Thread Christopher Schultz
Nagarajan, On 3/1/22 08:49, Rengaswamy, Nagarajan wrote: Currently we are running 6 applications in Tomcat version 8.5.70 Our Linux Infra - memory size allocated like Entire memory 3GB, In that 1.5 GB as Heap size and 512 is for XX:MaxMetaspaceSize. The numbers above are confusing to me. If y

Re: Need to retain session in server (Tomcat Apache) once user log in to till log off.

2022-03-02 Thread Christopher Schultz
Saicharan, On 3/2/22 07:42, saicharan.bu...@wellsfargo.com.INVALID wrote: Can you assist on how to retain session in server (Tomcat Apache) once user log in to till log off? we have two node instances half part of log is coming in one instance and other logs are coming in another instance for

Re: AW: Tomcat - Error

2022-03-07 Thread Christopher Schultz
Thomas and Priyanka, On 3/7/22 14:23, Thomas Hoffmann (Speed4Trade GmbH) wrote: it looks like your application is using a DB2 database. The file libdb2.so is related to the JDBC-driver. Please check the location of that shared-object and verify that the path is listed in the LD_LIBRARY_PATH env

Re: Tomcat 9.0.59 - TLS 1.3 cipher configuration ignored (TLS 1.2 ok)

2022-03-11 Thread Christopher Schultz
Torsten, On 3/11/22 06:03, Torsten Krah wrote: It seems to me you are listing a cipher that might be correct according to the OpenSSL documentation, but then whether that is available to your JVM may be different. That is for sure not the problem - just use the "ciphers.sh" from the binary dir

Re: correct usage of properties to supply database port

2022-03-12 Thread Christopher Schultz
Rob, On 3/11/22 9:13 AM, Rob Sargent wrote: On Mar 11, 2022, at 6:50 AM, Mark H. Wood wrote: On Thu, Mar 10, 2022 at 09:40:48AM -0700, Rob Sargent wrote: About context/context/value: I have this context.xml. Is the value correctly inside the outer Context?

Re: NullPointerException in Tomcat startup while parsing XML configuration file

2022-03-14 Thread Christopher Schultz
Harri, On 3/14/22 10:23, Harri Pesonen wrote: Hello, I don't know if this is interesting, but while I started Tomcat in IDEA debugger, when I had breakpoint set to NullPointerException (so that it breaks on all of them), then it break here: org\apache\tomcat\tomcat-util\8.5.75\tomcat-util-8.5

Re: Rename version 10.1 to 11

2022-03-14 Thread Christopher Schultz
Jose, On 3/14/22 10:55, Jose Illescas wrote: Thank You for your response and link... But I disagree with their opinion, because the "jakartization" of packages it is a very rupturist change: All libraries, frameworks and applications that run over a j2ee container (tomcat, jetty, jboss...) mus

Re: NullPointerException in Tomcat startup while parsing XML configuration file

2022-03-15 Thread Christopher Schultz
hink? If you are reporting a bug, then consider it reported. -chris -Original Message- From: Christopher Schultz Sent: maanantai 14. maaliskuuta 2022 16.36 To: users@tomcat.apache.org Subject: Re: NullPointerException in Tomcat startup while parsing XML configuration file Harri, On 3/14/

[ANN] Apache Tomcat 8.5.77 available

2022-03-17 Thread Christopher Schultz
The Apache Tomcat team announces the immediate availability of Apache Tomcat 8.5.77. Apache Tomcat 8 is an open source software implementation of the Java Servlet, JavaServer Pages, Java Unified Expression Language, Java WebSocket and Java Authentication Service Provider Interface for Containers

Re: [ANN] Apache Tomcat 8.5.77 available

2022-03-17 Thread Christopher Schultz
Marcus, On 3/17/22 09:21, i...@flyingfischer.ch wrote: Am 17.03.22 um 14:15 schrieb Christopher Schultz: The Apache Tomcat team announces the immediate availability of Apache Tomcat 8.5.77. [...] Downloads: http://tomcat.apache.org/download-80.cgi Migration guides from Apache Tomcat 7.x and

Re: RemoteAddrFilter (org.apache.catalina.filters)

2022-03-21 Thread Christopher Schultz
Tim, On 3/21/22 13:51, Scott,Tim wrote: Hi all, I’ve been trying to get this to work for a bit without any luck. What I’ve arrived at, in my main Tomcat web.xml, is: http://xmlns.jcp.org/xml/ns/javaee   xmlns:xsi=http://www.w3.org/2001/XMLSchema-instan

Re: [External] Re: RemoteAddrFilter (org.apache.catalina.filters)

2022-03-21 Thread Christopher Schultz
lly would allow you to do this kind of thing ;)) (Apologies for not describing all the requirements at the outset - users, eh?) No problem. -chris [1] https://tomcat.apache.org/tomcat-9.0-doc/config/valve.html#Remote_Address_Valve ____ From: Christopher Schultz S

Re: [External] Re: RemoteAddrFilter (org.apache.catalina.filters)

2022-03-22 Thread Christopher Schultz
Tim, On 3/22/22 05:33, Scott,Tim wrote: Hi Chris and Mark, Thank you both for your input. I arrived at an sru.xml file in conf\Catalina\localhost, containing: This means that private IPs (just those stating with 10.) can connect on port 8443; any IP on port 8080. It’s there as a rem

Re: tomcat 9.50 - rewrite rule question

2022-03-22 Thread Christopher Schultz
Ripali, On 3/20/22 14:13, rupali singh wrote: i have tried below but its not working RewriteRule ^/apex/f?p=1001 /apex/myapp [R,L] What is the context-path of your web application? -chris On Sat, 19 Mar 2022 at 10:19, Jason Wee wrote: have you try? RewriteRule ^/apex/f?p=1001 /apex/m

Re: Fwd: tomcat 9.50 - rewrite rule question

2022-03-22 Thread Christopher Schultz
All, On 3/21/22 10:19, Felix Schumacher wrote: Am 21.03.22 um 06:39 schrieb rupali singh: Hi Felix, location of context.xml file is cat context.xml| grep RewriteValve pwd /opt/tomcat/apache-tomcat-9.0.54/instance/conf That context.xml is thought to be a default template for all ins

Re: Maybe a stupid (Windows related) question

2022-03-22 Thread Christopher Schultz
Rony, On 3/22/22 13:21, Rony G. Flatscher (Apache) wrote: For debugging purposes I downloaded the zip-version of Tomcat 10.0.18 and start it up using %CATALINA_HOME%\bin\startup.bat. This will create by default a separate process (terminal, commandline window) in which Tomcat runs and dispatc

Re: Maybe a stupid (Windows related) question

2022-03-22 Thread Christopher Schultz
All, On 3/22/22 15:12, Christopher Schultz wrote: Rony, On 3/22/22 13:21, Rony G. Flatscher (Apache) wrote: For debugging purposes I downloaded the zip-version of Tomcat 10.0.18 and start it up using %CATALINA_HOME%\bin\startup.bat. This will create by default a separate process (terminal

What causes "client errors" with mod_jk

2022-03-23 Thread Christopher Schultz
All, What kinds of things will cause a "client error" in mod_jk's accounting? Does that mean things like unexpected disconnects on the part of the remote client (i.e. web browser), or does it mean failure of the jk module itself to connect (as a client) to the back-end Tomcat? I'm starting t

Re: What causes "client errors" with mod_jk

2022-03-23 Thread Christopher Schultz
All, On 3/23/22 08:08, Christopher Schultz wrote: What kinds of things will cause a "client error" in mod_jk's accounting? Does that mean things like unexpected disconnects on the part of the remote client (i.e. web browser), or does it mean failure of the jk module itself t

Re: Unknown http2 settings is logged with wrong settings key

2022-03-23 Thread Christopher Schultz
Thomas, On 3/23/22 10:13, Thomas Hoffmann (Speed4Trade GmbH) wrote: Hello, I got some warnings logged from http2 protocol and the logged values seem to be wrong. If an unknown http2 settings is received, it logs the key and the value to the logfile: /org/apache/coyote/http2/ConnectionSetting

Re: What causes "client errors" with mod_jk

2022-03-25 Thread Christopher Schultz
sure this was the case. Is that specifically documented anywhere? If not, I'd like to clarify that in the documentation for mod_jk. Thanks, -chris Am 23.03.2022 um 13:08 schrieb Christopher Schultz: All, What kinds of things will cause a "client error" in mod_jk's accoun

Re: Fwd: tomcat 9.50 - rewrite rule question

2022-03-25 Thread Christopher Schultz
.r.si...@gmail.com>: Hi Chris, I already tried with fully qualified name but its not working Can you be more specific, what you tried? Is Chris right and your context name is apex? Felix On Tue, Mar 22, 2022, 7:15 PM Christopher Schultz < ch...@christopherschultz.net> wrot

Re: Apex SSO

2022-03-25 Thread Christopher Schultz
Peter, On 3/24/22 14:54, Peter Chiu wrote: I will email you directly. For the group knowledge, there is nothing special you need to do on Tomcat if it is not behind a proxy. Please post to the mailing list. It's not at all clear to me how you'd get Oracle APEX to deliver authentication inform

Re: AW: Question to possible memory leak by Threadlocal variable

2022-03-25 Thread Christopher Schultz
Thomas, On 3/24/22 05:49, Thomas Hoffmann (Speed4Trade GmbH) wrote: -Ursprüngliche Nachricht- Von: Mark Thomas Gesendet: Donnerstag, 24. März 2022 09:32 An: users@tomcat.apache.org Betreff: Re: Question to possible memory leak by Threadlocal variable On 24/03/2022 07:57, Thomas Hoff

Re: Fwd: tomcat 9.50 - rewrite rule question

2022-03-28 Thread Christopher Schultz
confused. So you are expecting a 302 response from Tomcat but pointing to /apex/myapp ? What component of your system is returning the 302 above? -chris On Fri, 25 Mar 2022 at 16:52, Christopher Schultz < ch...@christopherschultz.net> wrote: Rupali, This has gone around in circles f

Re: Failed to load uri_worker_map file

2022-03-28 Thread Christopher Schultz
Ron, On 3/25/22 14:08, Ron Hinds wrote: Windows Server 2016 Standard, IIS 10, Tomcat 8.5.77, Tomcat Connector 1.2.48 x86-64, Gitbucket 4.37.2 Everything works fine as long as I postfix :8080 to the URL http://www.example.com:8080/gitbucket This is what the user types into the browser, or th

Re: AW: AW: Question to possible memory leak by Threadlocal variable

2022-03-28 Thread Christopher Schultz
Thomas, On 3/25/22 16:59, Thomas Hoffmann (Speed4Trade GmbH) wrote: -Ursprüngliche Nachricht- Von: Christopher Schultz Gesendet: Freitag, 25. März 2022 14:05 An: users@tomcat.apache.org Betreff: Re: AW: Question to possible memory leak by Threadlocal variable Thomas, On 3/24/22 05:49

Re: [OT] Apache : Redirect web requests - Keep the same host in the URL

2022-03-28 Thread Christopher Schultz
Olivier, Marking off-topic because this is about Apache httpd and not Apache Tomcat, but it's fine. See below. On 3/26/22 07:48, olivier giorgi wrote: The goal is that users willcontinue to connect to "https:/server1"but will actually browse to "https://server2";. I have successfullyredire

Re: Question about ssl

2022-03-28 Thread Christopher Schultz
John, On 3/26/22 22:29, John Dale (DB2DOM) wrote: Can you help me understand why Tomcat's SSL handling is so much faster than hand rolling it on a regular socket? I think you'll need to define some terms. For example, what do you mean when you say "faster", and how are you measuring that?

Re: AW: Apache tomcat upgrade from 9.0.52 to 9.0.60

2022-03-28 Thread Christopher Schultz
Thomas, On 3/27/22 13:28, Thomas Hoffmann (Speed4Trade GmbH) wrote: -Ursprüngliche Nachricht- Von: Kaushal Shriyan Gesendet: Sonntag, 27. März 2022 08:54 An: Tomcat Users List Betreff: Apache tomcat upgrade from 9.0.52 to 9.0.60 Hi, I am referring to https://tomcat.apache.org/downl

Re: Possibly Silly Question

2022-03-28 Thread Christopher Schultz
Jon, On 3/25/22 13:18, jonmcalexan...@wellsfargo.com.INVALID wrote: That is what I thought, but I just wanted to make sure. Have some dubious data from Flexera around Tomcat versions. You have to understand that Apache Tomcat wasn't always Apache Tomcat. I don't see this in the Wikipedia histor

Re: Possibly Silly Question

2022-03-28 Thread Christopher Schultz
All, On 3/28/22 13:18, Christopher Schultz wrote: Jon, On 3/25/22 13:18, jonmcalexan...@wellsfargo.com.INVALID wrote: That is what I thought, but I just wanted to make sure. Have some dubious data from Flexera around Tomcat versions. You have to understand that Apache Tomcat wasn't a

Re: AW: AW: AW: Question to possible memory leak by Threadlocal variable

2022-03-28 Thread Christopher Schultz
Thomas, On 3/28/22 17:01, Thomas Hoffmann (Speed4Trade GmbH) wrote: Hello Chris, -Ursprüngliche Nachricht- Von: Christopher Schultz Gesendet: Montag, 28. März 2022 18:48 An: users@tomcat.apache.org Betreff: Re: AW: AW: Question to possible memory leak by Threadlocal variable Thomas

Re: AW: AW: AW: AW: Question to possible memory leak by Threadlocal variable

2022-03-29 Thread Christopher Schultz
3/28/2022 2:01 PM, Thomas Hoffmann (Speed4Trade GmbH) wrote: Hello Chris, -Ursprüngliche Nachricht- Von: Christopher Schultz Gesendet: Montag, 28. März 2022 18:48 An: users@tomcat.apache.org Betreff: Re: AW: AW: Question to possible memory leak by Threadlocal variable Thomas, On 3/25

Re: Question about ssl

2022-03-31 Thread Christopher Schultz
running your code through -- like after JVM startup? Just one? Many? How many? Same questions for Tomcat. It's always hard to set up a fair comparison, and you aren't giving us very much information. -chris On 3/28/22, Christopher Schultz wrote: John, On 3/26/22 22:29, John Da

Re: Two context paths to same application

2022-04-05 Thread Christopher Schultz
Harri, On 4/5/22 13:29, Harri Pesonen wrote: Ok, it is a bit disappointing that Tomcat does not support this in standard webapps folder. But I found an easy workaround: create Windows junction app#latest that points to app#1 folder (both in webapps). You are doing something which is definitel

Re: Tomcat Native on M1 Macs

2022-04-05 Thread Christopher Schultz
Robert, Brian, On 4/5/22 13:59, Robert Turner wrote: I think you need to use an ARM-based JVM -- IIRC, you will need Corretto JDK 18 I think, otherwise it will be running in emulation. +1 M1 macs can run either x86_84 code OR arm64, but not both in the same process. If you want to run tcna

Re: Tomcat ownership changed spontaneously

2022-04-05 Thread Christopher Schultz
Joel, On 4/5/22 10:33, Joel Griffith wrote: I'm running a webapp under Tomcat 9 on Ubuntu 20.04. We run Tomcat as an ad-hoc system user who owns the Tomcat installation files. On Friday, the app stopped working. Over the weekend, I determined that the problem was that something had reset the

Re: Tomcat Native and OpenSSL v3.0.2

2022-04-05 Thread Christopher Schultz
Clay, On 4/5/22 12:47, Clay Lehman wrote: Hello! I am trying to set up Tomcat Native using OpenSSL v3.0.2, and running into an error on startup. I have tried a ton of things, searched, read the docs over and over, and cannot get past this. Has anyone had success with this setup? I created

[ANN] ApacheCon NA 2022 in New Orleans, 3-6 Oct 2022, CFP is OPEN!

2022-04-07 Thread Christopher Schultz
All, [Cross-posting to dev@, please reply to users@] ApacheCon NA 2022 is back *in-person* in New Orleans, Louisiana. It will be held 3 - 6 October 2022 at the Canal Street Sheraton right next to the French Quarter. The call-for-presentations is currently open and we are looking to fill a

Re: Tomcat Native and OpenSSL v3.0.2

2022-04-07 Thread Christopher Schultz
ng. Does it get that far, or does it choke before that? -chris On Tue, Apr 5, 2022 at 5:58 PM Christopher Schultz < ch...@christopherschultz.net> wrote: Clay, On 4/5/22 12:47, Clay Lehman wrote: Hello! I am trying to set up Tomcat Native using OpenSSL v3.0.2, and running into an

Re: Tomcat Native and OpenSSL v3.0.2

2022-04-08 Thread Christopher Schultz
Clay, On 4/7/22 13:50, Clay Lehman wrote: Chris, Thanks for your help so far! I am digging into this some more today. First off, once i started bulding APR from source instead of doing "yum install apr-devel" - my main linking issue went away. so I think we are getting close!! Now I am struggl

Re: [ANN] ApacheCon NA 2022 in New Orleans, 3-6 Oct 2022, CFP is OPEN!

2022-04-08 Thread Christopher Schultz
e was overwhelming for me. Good question. I don't know the answer to that; I'll ask the ACNA planners and reply when I have an answer. -chris On Thu, Apr 7, 2022 at 7:57 PM Christopher Schultz wrote: All, [Cross-posting to dev@, please reply to users@] ApacheCon NA 2022 is back

Re: Tomcat service does not restart on Windows with high value of Xms/Xmx

2022-04-08 Thread Christopher Schultz
Christophe, On 4/8/22 12:57, Morfin, Christophe wrote: Hi Thank you for your answers, Here below is the output of system part of hs_err file. Note though If I execute a manual stop and manual start immediately after, this work, no issue. It is only when I use the Restart option. Both tests

Re: Reconfiguring Tomcat application without restart

2022-04-13 Thread Christopher Schultz
Harri, On 4/13/22 07:32, Harri Pesonen wrote: Hello, is it possible to change the context file in $CATALINA_HOME/conf/Catalina/localhost/app.xml so that application would get the new configuration without restarting? Without restarting... what exactly? And what would you want to change? Usu

Re: [ANN] ApacheCon NA 2022 in New Orleans, 3-6 Oct 2022, CFP is OPEN!

2022-04-13 Thread Christopher Schultz
stream everything. So unless someone is willing to fund it and also organize it, it's probably not going to happen. Any sessions which /are/ recorded will be put up on the ASF's YouTube channel shortly after the conference has concluded. -chris On Thu, Apr 7, 2022 at 7:57 PM Christophe

[OT] Getting TLS handshake details

2022-04-13 Thread Christopher Schultz
All, I asked this question a few years ago on SO and I didn't really get an answer: https://stackoverflow.com/questions/39374024/determine-diffie-hellman-parameters-length-for-a-tls-handshake-in-java Does anyone know if it's possible to get the DHE key-exchange parameters during the TLS hands

Re: [OT] Getting TLS handshake details

2022-04-14 Thread Christopher Schultz
Peter, On 4/14/22 03:45, Peter Kreuser wrote: Chris, Am 13.04.2022 um 21:37 schrieb Christopher Schultz : All, I asked this question a few years ago on SO and I didn't really get an answer: https://stackoverflow.com/questions/39374024/determine-diffie-hellman-parameters-length-for-

Re: AW: [OT] Getting TLS handshake details

2022-04-15 Thread Christopher Schultz
Thomas, On 4/15/22 02:25, Thomas Hoffmann (Speed4Trade GmbH) wrote: Hello Chris, -Ursprüngliche Nachricht- Von: Christopher Schultz Gesendet: Donnerstag, 14. April 2022 23:15 An: users@tomcat.apache.org Betreff: Re: [OT] Getting TLS handshake details Peter, On 4/14/22 03:45, Peter

Re: Tomcat 8.5.73 not coming up on customer box. "Bind failed."

2022-04-15 Thread Christopher Schultz
James, On 4/15/22 12:24, James H. H. Lampert wrote: This morning, I arrived at work to find that a customer was complaining about their Tomcat server (running on an IBM Midrange box). It had locked up last night, while being shut down, and now, if you try to start it, it fails with 15-Apr-202

Re: Tomcat 8.5.73 not coming up on customer box. "Bind failed."

2022-04-15 Thread Christopher Schultz
James, On 4/15/22 14:24, James H. H. Lampert wrote: On 4/15/22 10:37 AM, Christopher Schultz (of the Tomcat Users' List) wrote: . . . Try specifying the "address" attribute of along with the port. Give it a concrete IP address instead of "localhost" and see

Re: AW: AW: [OT] Getting TLS handshake details

2022-04-15 Thread Christopher Schultz
Thomas, On 4/15/22 14:11, Thomas Hoffmann (Speed4Trade GmbH) wrote: -Ursprüngliche Nachricht- Von: Christopher Schultz Gesendet: Freitag, 15. April 2022 19:21 An: users@tomcat.apache.org Betreff: Re: AW: [OT] Getting TLS handshake details Thomas, On 4/15/22 02:25, Thomas Hoffmann

Re: Why org.apache.tomcat.util.threads.TaskQueue#offer doesn't have synchronized modifier?

2022-04-19 Thread Christopher Schultz
To whom it may concern, On 4/18/22 23:55, z...@sina.com wrote: Tomcat version: 9.0.62https://github.com/apache/tomcat/blob/9.0.62/java/org/apache/tomcat/util/threads/TaskQueue.java#L116 //if we have less threads than maximum force creation of a new thread if (parent.getPoolSize

Re: Why org.apache.tomcat.util.threads.TaskQueue#offer doesn't have synchronized modifier?

2022-04-25 Thread Christopher Schultz
To whom it may concern. On 4/21/22 01:50, z...@sina.com wrote: TaskQueue extendsLinkedBlockingQueue and most calls to TaskQueue.offer end up callingsuper.offer which provides the necessary thread-safety. 2. the issue is that TaskQueue.offer return false directly instead of calling supper.offer

Re: Supporting languages

2022-04-25 Thread Christopher Schultz
M. Alghwell, On 4/20/22 15:02, M. Osama Alghwell wrote: I have an Oracle application and database. I am using Tomcat 9 but unfortunately Arabic language couldn't be used. Why not? What are you trying to do (specifically) and what happens when you try doing that? Any help? This probably has

Re: Why org.apache.tomcat.util.threads.TaskQueue#offer doesn't have synchronized modifier?

2022-04-26 Thread Christopher Schultz
To whom it may concern, On 4/25/22 22:01, z...@sina.com wrote: a large number of http requests: 400+ Please post your complete configuration (without any secrets) and explain your testing methodology. Are you using any reverse-proxy between the client and the Tomcat node? -chris

Re: Testing Tomcat pre-releases

2022-04-28 Thread Christopher Schultz
David, (Replying to the Tomcat users@ list) On 4/28/22 08:45, David Cleary wrote: Hi Chris. We have spoken over the years at various Apachecons. In one of your presentations, you talked about smoke testing Tomcat pre-releases. We just got bitten by a regression in 9.0.62, and the team that is

Re: Application specific el-api

2022-04-28 Thread Christopher Schultz
Mark, Vladimir, On 4/28/22 12:10, Mark Thomas wrote: On 28/04/2022 16:54, vladimir dvorak wrote:    Hi, my intention is to use custom el-api with modified BeanELResolver, that uses instead slow reflection API much faster https://github.com/EsotericSoftware/reflectasm You have a couple of opt

Re: Enable HTTP Strict Transport Security (HSTS) in Tomcat 9.0.x

2022-04-28 Thread Christopher Schultz
Kaushal, On 4/28/22 15:37, Kaushal Shriyan wrote: On Fri, Apr 29, 2022 at 12:44 AM Peter Chiu wrote: This is what I am using. Hope this helps. https://orclcs.blogspot.com/2017/04/enable-hsts-in-tomcat.html Thanks Peter. Do I need to run tomcat on port 443 or 8443 to enable HTTP Strict Tran

Re: AW: Enable HTTP Strict Transport Security (HSTS) in Tomcat 9.0.x

2022-04-29 Thread Christopher Schultz
Thomas, On 4/29/22 02:44, Thomas Hoffmann (Speed4Trade GmbH) wrote: -Ursprüngliche Nachricht- Von: Christopher Schultz Gesendet: Freitag, 29. April 2022 01:10 An: users@tomcat.apache.org Betreff: Re: Enable HTTP Strict Transport Security (HSTS) in Tomcat 9.0.x Kaushal, On 4/28/22 15

Re: [ANN] ApacheCon NA 2022 in New Orleans, 3-6 Oct 2022, CFP is OPEN!

2022-04-29 Thread Christopher Schultz
, Christopher Schultz wrote: All, [Cross-posting to dev@, please reply to users@] ApacheCon NA 2022 is back *in-person* in New Orleans, Louisiana. It will be held 3 - 6 October 2022 at the Canal Street Sheraton right next to the French Quarter. The call-for-presentations is currently open

Re: Testing Tomcat pre-releases

2022-04-29 Thread Christopher Schultz
David, On 4/29/22 15:24, David Cleary wrote: -Original Message- From: Christopher Schultz Sent: Thursday, April 28, 2022 12:16 PM To: Tomcat Users List Subject: Re: Testing Tomcat pre-releases David, (Replying to the Tomcat users@ list) On 4/28/22 08:45, David Cleary wrote: Hi

Re: Enable HTTP Strict Transport Security (HSTS) in Tomcat 9.0.x

2022-05-03 Thread Christopher Schultz
Shawn, On 4/29/22 18:18, Shawn Heisey wrote: Based on what I have been able to figure out, I think it's probably your cipher list.  If you are using the standard Java TLS and not the tomcat native library that uses openssl, then your cipher list is unlikely to work -- those look like openssl c

Re: Unable to transfer file above 60mb in Tomcat

2022-05-03 Thread Christopher Schultz
Mark, On 5/3/22 02:26, Mark Thomas wrote: The code uses memory inefficiently and the JVM is not configured with enough memory to handle the load. +1 One of the following should solve this: 1. Re-write the server code to read the file contents from a FileInputStream and write it directly to

Re: Variables in server.xml leads to error when stopping Tomcat

2022-05-05 Thread Christopher Schultz
Torsten, On 5/5/22 04:14, Torsten Krah wrote: Am Donnerstag, dem 05.05.2022 um 06:42 + schrieb Boesch, Henning (G-GPPD): export CATALINA_OPTS="-Dport.shutdown=12345 $CATALINA_OPTS" The docs have this: # CATALINA_OPTS (Optional) Java runtime options used when the "start", #

Re: AW: Variables in server.xml leads to error when stopping Tomcat

2022-05-05 Thread Christopher Schultz
Henning, On 5/5/22 09:27, Boesch, Henning (G-GPPD) wrote: Hello Torsten, hello Chris You need to put "-Dport.shutdown=12345" to the JAVA_OPTS because the stop process needs that port. Thanks for the answer, this worked for me. Henning, the reason you get the error message and Tomcat /still

Re: [EXTERNAL] Re: Connection pool

2022-05-09 Thread Christopher Schultz
Mohamed, On 5/9/22 12:47, Mohamed Eliyas Abdul Kadar wrote: I need manager app to deploy the application, is there a way that can be avoided. Yes. As you mentioned I have an application with 20 connections and with manager app it comes back as 40 connections on the db side. You need to defin

Re: SAML SSO Login issue

2022-05-13 Thread Christopher Schultz
Harish, On 5/11/22 11:36, harish lal wrote: Facing SSO Login issue after upgrade from Tomcat 6.0.33 to Tomcat 7.0.62 We upgraded our application from Tomcat 6.0.33 to Tomcat 7.0.62 due to web socket dependency in Tomcat. After upgrade , while try to do SAML SSO login from application we are fac

Re: [OT] Running out of httpd worker threads (was: WELCOME to users@tomcat.apache.org)

2022-05-13 Thread Christopher Schultz
Sahil, On 5/11/22 13:56, Verma, Sahil wrote: In our production environment, ApacheTomcat services went down. We have checked the logs and found below error - [Thu May 05 10:34:51.441668 2022] [mpm_event:error] [pid 27440:tid 140464737793792] AH00484: server reached MaxRequestWorkers setting, co

Re: Help Needed for Root cause - ApacheTomcat services stopped

2022-05-13 Thread Christopher Schultz
Sahil, On 5/11/22 14:56, Verma, Sahil wrote: Yes, we are using both Apache & Tomcat environment. Apache - 2.4.25 version Tomcat - 8.5.5 version If this version number is correct, you should *seriously* consider upgrading to the latest Tomcat 8.5.x release. That release is more than 5 years

Re: [OT] Catalina.policy for SAP BO

2022-05-13 Thread Christopher Schultz
Zdeněk, On 5/11/22 14:03, Zdeněk Henek wrote: Java Security Manager is deprecated in jdk 17 release https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/SecurityManager.html and may be even removed soon. That didn't stop Apache Solr from proudly declaring that their brand-new

Re: [ANN] Apache Tomcat 9.0.63 available

2022-05-16 Thread Christopher Schultz
uses kernel 5.10 or later. Thanks to Christopher Gual for the research into this issue. - Update the packaged version of the Tomcat Native Library to 1.2.33 to pick up Windows binaries built with OpenSSL 1.1.1o. - Add support for encrypted PKCS#1 formatted private keys when configuring

Re: What causes "client errors" with mod_jk

2022-05-16 Thread Christopher Schultz
ssage */ jk_log(l, JK_LOG_INFO, "(%s) Request to (%s %s) started at %s,%ld", ae->worker->name, r->method, r->req_uri, timestamp, r->r->request_time.tm_usec); Does anyone think this might be generally useful? Thanks, -chris On 3/25/22 08:37, Christop

Re: FIPS Mode is not getting enabled in Tomcat9 using Openssl 3.0.2 post successful FIPS module installation in windows

2022-05-17 Thread Christopher Schultz
Rupesh, Sorry for top-posting, but all of your screenshots were stripped-out of your original post. Can you please provide text-only information for the mailing list? Thanks, -chris On 5/17/22 05:07, Rupesh P wrote: Good Evening, I have a issue while enabling the FIPS mode in Tomcat9 for wi

Re: Per context heap usage

2022-05-17 Thread Christopher Schultz
Mark, On 5/17/22 08:17, Mark Thomas wrote: On 17/05/2022 10:41, Thomas Meyer wrote: Hi, Is it possible to find out the per deployed context heap usage in tomcat? With a profiler you can look at the retained size of the web application class loader instance associated with a web application.

Re: Per context heap usage

2022-05-18 Thread Christopher Schultz
Mark, On 5/17/22 12:50, Mark Thomas wrote: On 17/05/2022 17:34, Christopher Schultz wrote: Mark, On 5/17/22 08:17, Mark Thomas wrote: On 17/05/2022 10:41, Thomas Meyer wrote: Hi, Is it possible to find out the per deployed context heap usage in tomcat? With a profiler you can look at

Re: Per context heap usage

2022-05-19 Thread Christopher Schultz
Robert, On 5/19/22 02:34, Robert Olofsson wrote: On Wed, 2022-05-18 at 17:36 -0400, Christopher Schultz wrote: Is it possible to find out the per deployed context heap usage in tomcat? With a profiler you can look at the retained size of the web application class loader instance associated

Re: Encryption of Tomcat AJP

2022-05-19 Thread Christopher Schultz
Brian, On 5/19/22 10:29, Brian Eller wrote: My vendor supports AJP but, I don't know if they support mod_http_proxy. This is a embedded version of Tomcat 8.5 that is tightly coupled with the vendor's software and is an installed subcomponent from the vendor. Well, have a look a tthe facts: 1

Re: [ANN] ApacheCon NA 2022 in New Orleans, 3-6 Oct 2022, CFP is OPEN!

2022-05-23 Thread Christopher Schultz
Coty, On 5/23/22 15:22, Coty Sutherland wrote: On Fri, Apr 29, 2022 at 2:53 PM Christopher Schultz < ch...@christopherschultz.net> wrote: All, Please remember that the ApacheCon North American conference is still accepting presentations until 23 May 2022. The Tomcat track current

Re: [ANN] ApacheCon NA 2022 in New Orleans, 3-6 Oct 2022, CFP CLOSES TODAY!!

2022-05-23 Thread Christopher Schultz
All, If you were considering submitting a presentation, please do it *RIGHT NOW*. Thank, -chris On 4/7/22 10:26, Christopher Schultz wrote: All, [Cross-posting to dev@, please reply to users@] ApacheCon NA 2022 is back *in-person* in New Orleans, Louisiana. It will be held 3 - 6 October

Re: [ANN] ApacheCon NA 2022 in New Orleans, 3-6 Oct 2022, CFP is OPEN!

2022-05-23 Thread Christopher Schultz
Jon, On 5/23/22 15:53, jonmcalexan...@wellsfargo.com.INVALID wrote: I would really Love to have something, but I just don't have the time to work on anything like this You could just talk about something you are already doing. It doesn't need to be ground-breaking work. Something along the line

<    2   3   4   5   6   7   8   9   10   11   >