Re: CSRF not working with 10.1.42 but it works with 10.1.39

2025-06-24 Thread Mark Thomas
! Hope it's the right place to ask for help or/and advice. Few days ago I switched to latest Tomcat 10.1.42. After deyploy POST is not working due to missing CSRF token. When I inspect HTTP request, CSRF token is in a payload as "_csrf" and the value is correct. But at the backend s

Re: CSRF not working with 10.1.42 but it works with 10.1.39

2025-06-24 Thread Hrvoje Lončar
m one minor release to another shouldn't break > existing > >>>> setup, it should only fix bugs. > >>>> > >>>> BR, > >>>> Hrvoje Lončar > >>>> > >>>> On Fri, Jun 20, 2025 at 1:02 PM Mark Thomas wrote:

Re: CSRF not working with 10.1.42 but it works with 10.1.39

2025-06-23 Thread Mark Thomas
06/2025 02:07, Hrvoje Lončar wrote: Hi! Hope it's the right place to ask for help or/and advice. Few days ago I switched to latest Tomcat 10.1.42. After deyploy POST is not working due to missing CSRF token. When I inspect HTTP request, CSRF token is in a payload as "_csrf&quo

Re: CSRF not working with 10.1.42 but it works with 10.1.39

2025-06-22 Thread Hrvoje Lončar
e: >> > > > Thank you very much >> > > > Mark ThomasThat was the case :( >> > > > Absolutely weird to make such a major change in a minor release from >> > > > NN.MM.39 to NN.MM.42 >> > > >> > > It was a response to a DoS

Re: CSRF not working with 10.1.42 but it works with 10.1.39

2025-06-21 Thread Hrvoje Lončar
> > > > NN.MM.39 to NN.MM.42 > > > > > > It was a response to a DoS security vulnerability. > > > > > > Feel free to add your views on what the defaults should be to the BZ > > > discussion. > > > > > > Mark > &

Re: CSRF not working with 10.1.42 but it works with 10.1.39

2025-06-20 Thread Maxim Solodovnik
gt; > discussion. > > > > Mark > > > > > > > > > > > > > > > > On Fri, Jun 20, 2025 at 10:01 AM Mark Thomas wrote: > > > > > >> On 20/06/2025 02:07, Hrvoje Lončar wrote: > > >>> Hi! > > >>> &g

Re: CSRF not working with 10.1.42 but it works with 10.1.39

2025-06-20 Thread Hrvoje Lončar
On Fri, Jun 20, 2025 at 10:01 AM Mark Thomas wrote: > > > >> On 20/06/2025 02:07, Hrvoje Lončar wrote: > >>> Hi! > >>> > >>> Hope it's the right place to ask for help or/and advice. > >>> Few days ago I switched to latest Tomcat 10

Re: CSRF not working with 10.1.42 but it works with 10.1.39

2025-06-20 Thread Mark Thomas
to the BZ discussion. Mark On Fri, Jun 20, 2025 at 10:01 AM Mark Thomas wrote: On 20/06/2025 02:07, Hrvoje Lončar wrote: Hi! Hope it's the right place to ask for help or/and advice. Few days ago I switched to latest Tomcat 10.1.42. After deyploy POST is not working due to missing

Re: CSRF not working with 10.1.42 but it works with 10.1.39

2025-06-20 Thread Hrvoje Lončar
the right place to ask for help or/and advice. > > Few days ago I switched to latest Tomcat 10.1.42. > > After deyploy POST is not working due to missing CSRF token. > > When I inspect HTTP request, CSRF token is in a payload as "_csrf" and > th

Re: CSRF not working with 10.1.42 but it works with 10.1.39

2025-06-20 Thread Mark Thomas
On 20/06/2025 02:07, Hrvoje Lončar wrote: Hi! Hope it's the right place to ask for help or/and advice. Few days ago I switched to latest Tomcat 10.1.42. After deyploy POST is not working due to missing CSRF token. When I inspect HTTP request, CSRF token is in a payload as "_csrf"

CSRF not working with 10.1.42 but it works with 10.1.39

2025-06-19 Thread Hrvoje Lončar
Hi! Hope it's the right place to ask for help or/and advice. Few days ago I switched to latest Tomcat 10.1.42. After deyploy POST is not working due to missing CSRF token. When I inspect HTTP request, CSRF token is in a payload as "_csrf" and the value is correct. But at the bac

Re: Regression in Apache Tomcat 9.0.96? Escape XML not working using taglib

2024-11-03 Thread Konstantin Kolinko
вс, 3 нояб. 2024 г. в 03:46, Frankowski, Adam : > > Hi, > > > > We have noticed an issue that occurred when we attempted to upgrade to Apache > Tomcat 9.0.96. We found that the standard taglib did not properly > escape XML strings anymore. This can lead to cross-site scripting (XSS) > attacks

Regression in Apache Tomcat 9.0.96? Escape XML not working using taglib

2024-11-02 Thread Frankowski, Adam
Hi, We have noticed an issue that occurred when we attempted to upgrade to Apache Tomcat 9.0.96. We found that the standard taglib did not properly escape XML strings anymore. This can lead to cross-site scripting (XSS) attacks if user input is not properly escaped. Has anybody else noticed

Re: FileUpload class not working with Tomcat 10.1

2024-05-09 Thread Christopher Schultz
Mark and Chuck, On 5/9/24 09:35, Chuck Caldarale wrote: You need the web.xml entries because you have extra configuration items (the settings) that aren’t part of the default JSP servlet definition. +1 If you didn't need to upload files to your JSP, you wouldn't have needed any of this in yo

Re: FileUpload class not working with Tomcat 10.1

2024-05-09 Thread Chuck Caldarale
> On May 9, 2024, at 01:25, Mark Foley wrote: > >> Does the JSP need to reference the "program" (servlet?) at all? > The program, as shown above didn'twork at all until I put that servlet > definition on WEB-INF/web.xml, so I suppose the answer is "yes". As to why, I > have not a clue. A re

Re: FileUpload class not working with Tomcat 10.1

2024-05-08 Thread Mark Foley
On 5/7/2024 4:52 PM, Christopher Schultz wrote: Mark, On 5/3/24 12:16, Mark Foley wrote: On 4/23/24 18:44, Chuck Caldarale wrote:    uploadfile    uploadfile /schDistImportResults.jsp The first servlet is named “uploadfile”. On Apr 23, 2024, at 12:42, Mark Foley  wrote: Now I nee

Re: FileUpload class not working with Tomcat 10.1

2024-05-07 Thread Christopher Schultz
Mark, On 5/3/24 12:16, Mark Foley wrote: On 4/23/24 18:44, Chuck Caldarale wrote:    uploadfile    uploadfile    /schDistImportResults.jsp The first servlet is named “uploadfile”. On Apr 23, 2024, at 12:42, Mark Foley  wrote: Now I need to add another program to the system that doe

Re: FileUpload class not working with Tomcat 10.1

2024-05-03 Thread Mark Foley
On 4/23/24 18:44, Chuck Caldarale wrote: uploadfile uploadfile /schDistImportResults.jsp The first servlet is named “uploadfile”. On Apr 23, 2024, at 12:42, Mark Foley wrote: Now I need to add another program to the system that does file uploads. I created another definiti

Re: FileUpload class not working with Tomcat 10.1

2024-04-23 Thread Chuck Caldarale
>>> >>> uploadfile >>> >>> >>> uploadfile >>> /schDistImportResults.jsp >>> The first servlet is named “uploadfile”. > On Apr 23, 2024, at 12:42, Mark Foley wrote: > > Now I need to add another program to the system that does file uploads. I > created another definition in WEB-

Re: AW: FileUpload class not working with Tomcat 10.1

2024-04-23 Thread Christopher Schultz
Mark, On 4/23/24 13:42, Mark Foley wrote: I'm back with a related issue. I was able to get the java class jakarta.servlet.annotation.MultipartConfig working back last November by adding the definition shown in the included message below to my WEB-INF/web.xml file. Now I need to add another pr

Re: AW: FileUpload class not working with Tomcat 10.1

2024-04-23 Thread Mark Foley
I'm back with a related issue. I was able to get the java class jakarta.servlet.annotation.MultipartConfig working back last November by adding the definition shown in the included message below to my WEB-INF/web.xml file. Now I need to add another program to the system that does file uploads.

Re: Tomcat is not working

2024-03-12 Thread Arbol One
Never mind. 😳 Human error. 😛 On 2024-03-12 6:27 a.m., Arbol One wrote: Hello. This morning I woke up to find that Tomcat is not working, I tried restarting the server, but to no avail. Then, manually, I shutdown and started Tomcat, again, to no avail. systemctl status tomcat says

Tomcat is not working

2024-03-12 Thread Arbol One
Hello. This morning I woke up to find that Tomcat is not working, I tried restarting the server, but to no avail. Then, manually, I shutdown and started Tomcat, again, to no avail. systemctl status tomcat says: × tomcat.service - Tomcat Loaded: loaded (/etc/systemd/system

Re: [EXTERNAL EMAIL] Re: JSP include not working

2023-12-05 Thread Niranjan Rao
h I don't get the include error, contents of the include file are not getting included. Trying to figure out why. At least now status code has changed from 500 to 200. Not working yet but progress never the less. Regards, Niranjan On 12/5/23 11:09, Rob Sargent wrote: On 12/5

Re: [EXTERNAL EMAIL] Re: JSP include not working

2023-12-05 Thread Niranjan Rao
Thank you Rob, but doubtful. We're a Ubuntu shop and always mindful of case sensitivity. On 12/5/23 11:09, Rob Sargent wrote: On 12/5/23 12: 01, Niranjan Rao wrote: > Greetings, > > I'm missing something obvious and hoping that someone can point my > nose in right direction. > > > We have a a

Re: JSP include not working

2023-12-05 Thread Rob Sargent
On 12/5/23 12:01, Niranjan Rao wrote: Greetings, I'm missing something obvious and hoping that someone can point my nose in right direction. We have a application WAR file that works fine on tomcat 7.0.78. We're trying to migrate this application to 9.0.82. When trying to hit the pages,

JSP include not working

2023-12-05 Thread Niranjan Rao
Greetings, I'm missing something obvious and hoping that someone can point my nose in right direction. We have a application WAR file that works fine on tomcat 7.0.78. We're trying to migrate this application to 9.0.82. When trying to hit the pages, I'm getting error JSP file not found at W

Re: CredentialHandler not working for MD5

2023-11-20 Thread Christopher Schultz
Mark, On 11/18/23 07:52, Mark Thomas wrote: On 17/11/2023 19:36, Christopher Schultz wrote: Is there any reason why SHA-256 is the default? MD5 is the historical default / only implementation for HTTP DIGEST. RFC 7616 (2015) Chrome will choose SHA-256 if presented with a choice of SHA-256 a

Re: CredentialHandler not working for MD5

2023-11-18 Thread Mark Thomas
On 17/11/2023 19:36, Christopher Schultz wrote: Is there any reason why SHA-256 is the default? MD5 is the historical default / only implementation for HTTP DIGEST. RFC 7616 (2015) Chrome will choose SHA-256 if presented with a choice of SHA-256 and MD5. Mark ---

Re: CredentialHandler not working for MD5

2023-11-17 Thread Christopher Schultz
Mark, On 11/17/23 03:55, Mark Thomas wrote: On 16/11/2023 18:06, Peter Otto wrote:    1.  Configure BASIC auth with clear-text passwords in the Realm and get that working.    2.  Switch to DIGEST auth with clear-text passwords in the Realm and get that working.    3.  Then configure DIGEST a

Re: CredentialHandler not working for MD5

2023-11-17 Thread Peter Otto
Ok thanks. Got it is now working. This step was missing. We didn’t have to do this before. No mention of having to edit Digest inside context.xml here https://tomcat.apache.org/tomcat-9.0-doc/realm-howto.html Tried SHA-256, couldn’t get it to work. But MD5 does. Thanks again. This e-mail a

Re: CredentialHandler not working for MD5

2023-11-17 Thread Christopher Schultz
Mark, On 11/17/23 03:55, Mark Thomas wrote: On 16/11/2023 18:06, Peter Otto wrote:    1.  Configure BASIC auth with clear-text passwords in the Realm and get that working.    2.  Switch to DIGEST auth with clear-text passwords in the Realm and get that working.    3.  Then configure DIGEST a

Re: CredentialHandler not working for MD5

2023-11-17 Thread Mark Thomas
On 16/11/2023 18:06, Peter Otto wrote: 1. Configure BASIC auth with clear-text passwords in the Realm and get that working. 2. Switch to DIGEST auth with clear-text passwords in the Realm and get that working. 3. Then configure DIGEST auth and digested passwords in the Realm. Hi Chris

Re: CredentialHandler not working for MD5

2023-11-16 Thread Christopher Schultz
Peter, On 11/16/23 13:06, Peter Otto wrote: 1. Configure BASIC auth with clear-text passwords in the Realm and get that working. 2. Switch to DIGEST auth with clear-text passwords in the Realm and get that working. 3. Then configure DIGEST auth and digested passwords in the Realm. Hi

Re: AW: FileUpload class not working with Tomcat 10.1

2023-11-16 Thread Christopher Schultz
Mark, Apologies for not replying earlier; looks like you have made good progress. See below. On 11/14/23 12:19, Mark Foley wrote: Anyway, enough griping! I have gotten it partially working thanks to your suggested link, and particulary you suggestion to put the servlet info in web.xml. I've

Re: CredentialHandler not working for MD5

2023-11-16 Thread Peter Otto
1. Configure BASIC auth with clear-text passwords in the Realm and get that working. 2. Switch to DIGEST auth with clear-text passwords in the Realm and get that working. 3. Then configure DIGEST auth and digested passwords in the Realm. Hi Chris, Step 1 & 2 work Step 3 will not work with

Re: AW: AW: FileUpload class not working with Tomcat 10.1

2023-11-15 Thread Mark Foley
n: users@tomcat.apache.org > > Betreff: Re: AW: FileUpload class not working with Tomcat 10.1 > > > > On Tue Nov 14 01:46:09 2023 "Thomas Hoffmann (Speed4Trade GmbH)" > > wrote: > > > > > > Hello Mark, > > > > > > > -Ur

AW: AW: FileUpload class not working with Tomcat 10.1

2023-11-14 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hi Mark! > -Ursprüngliche Nachricht- > Von: Mark Foley > Gesendet: Dienstag, 14. November 2023 18:20 > An: users@tomcat.apache.org > Betreff: Re: AW: FileUpload class not working with Tomcat 10.1 > > On Tue Nov 14 01:46:09 2023 "Thomas Hoffmann (S

Re: CredentialHandler not working for MD5

2023-11-14 Thread Mark Thomas
on the popup box. From: Peter Otto Date: Monday, November 13, 2023 at 11:05 AM To: Tomcat Users List Subject: Re: CredentialHandler not working for MD5 Chris, Running the debugger, I found out the DigestAuthenticator wants to use SHA-256. 8 months ago there was a change for RFC 7616. https://u

Re: AW: FileUpload class not working with Tomcat 10.1

2023-11-14 Thread Mark Foley
On Tue Nov 14 01:46:09 2023 "Thomas Hoffmann (Speed4Trade GmbH)" wrote: > > Hello Mark, > > > -Ursprüngliche Nachricht- > > Von: Mark Foley > > Gesendet: Montag, 13. November 2023 23:12 > > An: users@tomcat.apache.org > > Betreff: Re:

AW: AW: FileUpload class not working with Tomcat 10.1

2023-11-13 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello Mark, > -Ursprüngliche Nachricht- > Von: Mark Foley > Gesendet: Montag, 13. November 2023 23:12 > An: users@tomcat.apache.org > Betreff: Re: AW: FileUpload class not working with Tomcat 10.1 > > On Mon Nov 13 02:18:49 2023 "Thomas Hoffmann (Speed4Trade

Re: CredentialHandler not working for MD5

2023-11-13 Thread Peter Otto
digest equals the clientDigest, then it works. The way I understand it, the clientDigest comes from the client entering in the username/pwd on the popup box. From: Peter Otto Date: Monday, November 13, 2023 at 11:05 AM To: Tomcat Users List Subject: Re: CredentialHandler not working for MD5

Re: AW: FileUpload class not working with Tomcat 10.1

2023-11-13 Thread Mark Foley
On Mon Nov 13 02:18:49 2023 "Thomas Hoffmann (Speed4Trade GmbH)" wrote: > Hello, > > > -Ursprüngliche Nachricht- > > Von: Mark Foley > > Gesendet: Sonntag, 12. November 2023 19:04 > > An: users@tomcat.apache.org > > Betreff: Re: FileUpload

Re: CredentialHandler not working for MD5

2023-11-13 Thread Peter Otto
: users@tomcat.apache.org Subject: Re: CredentialHandler not working for MD5 Peter, On 11/10/23 16:30, Peter Otto wrote: > With 9.0.82, and the latest version 10, I get the same problem. > So I assume it stopped working since 9.0.74 all the way up to 9.0.82 > > Removing the Realm Lock

AW: FileUpload class not working with Tomcat 10.1

2023-11-12 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello, > -Ursprüngliche Nachricht- > Von: Mark Foley > Gesendet: Sonntag, 12. November 2023 19:04 > An: users@tomcat.apache.org > Betreff: Re: FileUpload class not working with Tomcat 10.1 > > On Fri Nov 10 15:57:50 2023 Christopher Schultz > wrote: > > &g

Re: FileUpload class not working with Tomcat 10.1

2023-11-12 Thread Mark Foley
On Fri Nov 10 15:57:50 2023 Christopher Schultz wrote: > > Mark, > > On 11/10/23 12:53, Mark Foley wrote: > > On Fri, 10 Nov 2023 17:11:59 Mark Thomas >> > >> On 10/11/2023 16:49, Mark Foley wrote: > >>> I recently upgraded from Tomcat 10.0.17 to 10.1.13. ... > >>> > >>> [deleted] > >>> > >>>

Re: CredentialHandler not working for MD5

2023-11-10 Thread Christopher Schultz
g done when you try to authenticate. -chris From: Christopher Schultz Date: Friday, November 10, 2023 at 12:35 PM To: users@tomcat.apache.org Subject: Re: CredentialHandler not working for MD5 Peter, On 11/10/23 13:27, Peter Otto wrote: Logging into manager using MD5 works in 9.0.73 but now

Re: CredentialHandler not working for MD5

2023-11-10 Thread Peter Otto
@tomcat.apache.org Subject: Re: CredentialHandler not working for MD5 Peter, On 11/10/23 13:27, Peter Otto wrote: > Logging into manager using MD5 works in 9.0.73 but now fails in > 9.0.74->current > Steps to reproduce. > > Step 1. Run C:\tomcat\bin> .\digest

Re: FileUpload class not working with Tomcat 10.1

2023-11-10 Thread Christopher Schultz
Mark, On 11/10/23 12:53, Mark Foley wrote: On Fri, 10 Nov 2023 17:11:59 Mark Thomas On 10/11/2023 16:49, Mark Foley wrote: I recently upgraded from Tomcat 10.0.17 to 10.1.13. When I previously upgraded from 9.0.41 to 10.0.17 (back in 2/22) the FileUpload class broke. I fixed that thanks to p

Re: CredentialHandler not working for MD5

2023-11-10 Thread Christopher Schultz
Peter, On 11/10/23 13:27, Peter Otto wrote: Logging into manager using MD5 works in 9.0.73 but now fails in 9.0.74->current Steps to reproduce. Step 1. Run C:\tomcat\bin> .\digest.bat -a md5 -s 0 -i 1 tomcat:UserDatabase:nobueno tomcat:UserDatabase:nobueno:bb6c1c32b9b6df4f707c0e58f2c900e0 S

CredentialHandler not working for MD5

2023-11-10 Thread Peter Otto
Logging into manager using MD5 works in 9.0.73 but now fails in 9.0.74->current Steps to reproduce. Step 1. Run C:\tomcat\bin> .\digest.bat -a md5 -s 0 -i 1 tomcat:UserDatabase:nobueno tomcat:UserDatabase:nobueno:bb6c1c32b9b6df4f707c0e58f2c900e0 Step 2. Use the digest # and place it in tomcat-

Re: FileUpload class not working with Tomcat 10.1

2023-11-10 Thread Mark Foley
On Fri, 10 Nov 2023 17:11:59 Mark Thomas > On 10/11/2023 16:49, Mark Foley wrote: > > I recently upgraded from Tomcat 10.0.17 to 10.1.13. When I previously > > upgraded > > from 9.0.41 to 10.0.17 (back in 2/22) the FileUpload class broke. I fixed > > that > > thanks to postings on stackoverflow

Re: FileUpload class not working with Tomcat 10.1

2023-11-10 Thread Mark Thomas
On 10/11/2023 16:49, Mark Foley wrote: I recently upgraded from Tomcat 10.0.17 to 10.1.13. When I previously upgraded from 9.0.41 to 10.0.17 (back in 2/22) the FileUpload class broke. I fixed that thanks to postings on stackoverflow, but now that I've upgraded to 10.1.13 it is broken again! Here

FileUpload class not working with Tomcat 10.1

2023-11-10 Thread Mark Foley
I recently upgraded from Tomcat 10.0.17 to 10.1.13. When I previously upgraded from 9.0.41 to 10.0.17 (back in 2/22) the FileUpload class broke. I fixed that thanks to postings on stackoverflow, but now that I've upgraded to 10.1.13 it is broken again! Here's the error I get: An error occurred at

Re: page extends not working???

2023-09-14 Thread Aryeh Friedman
On Wed, Sep 13, 2023 at 8:21 AM Christopher Schultz wrote: > > Aryeh, > > On 9/12/23 17:50, Aryeh Friedman wrote: > > On Tue, Sep 12, 2023 at 1:51 PM Christopher Schultz > > wrote: > >> > >> Aryeh, > >> > >> On 9/12/23 12:42, Aryeh Friedman wrote: > >>> On Tue, Sep 12, 2023 at 11:42 AM Christophe

Re: page extends not working???

2023-09-13 Thread Christopher Schultz
Aryeh, On 9/12/23 17:50, Aryeh Friedman wrote: On Tue, Sep 12, 2023 at 1:51 PM Christopher Schultz wrote: Aryeh, On 9/12/23 12:42, Aryeh Friedman wrote: On Tue, Sep 12, 2023 at 11:42 AM Christopher Schultz wrote: Aryeh, On 9/11/23 10:05, Aryeh Friedman wrote: On Mon, Sep 11, 2023 at 9:

Re: page extends not working???

2023-09-12 Thread Aryeh Friedman
On Tue, Sep 12, 2023 at 1:51 PM Christopher Schultz wrote: > > Aryeh, > > On 9/12/23 12:42, Aryeh Friedman wrote: > > On Tue, Sep 12, 2023 at 11:42 AM Christopher Schultz > > wrote: > >> > >> Aryeh, > >> > >> On 9/11/23 10:05, Aryeh Friedman wrote: > >>> On Mon, Sep 11, 2023 at 9:47 AM Christophe

Re: page extends not working???

2023-09-12 Thread Christopher Schultz
Aryeh, On 9/12/23 12:42, Aryeh Friedman wrote: On Tue, Sep 12, 2023 at 11:42 AM Christopher Schultz wrote: Aryeh, On 9/11/23 10:05, Aryeh Friedman wrote: On Mon, Sep 11, 2023 at 9:47 AM Christopher Schultz wrote: Aryeh, On 9/9/23 19:36, Aryeh Friedman wrote: On Sat, Sep 9, 2023 at 1:23

Re: page extends not working???

2023-09-12 Thread Aryeh Friedman
On Tue, Sep 12, 2023 at 11:42 AM Christopher Schultz wrote: > > Aryeh, > > On 9/11/23 10:05, Aryeh Friedman wrote: > > On Mon, Sep 11, 2023 at 9:47 AM Christopher Schultz > > wrote: > >> > >> Aryeh, > >> > >> On 9/9/23 19:36, Aryeh Friedman wrote: > >>> On Sat, Sep 9, 2023 at 1:23 PM Mark Thomas

Re: page extends not working???

2023-09-12 Thread Christopher Schultz
Aryeh, On 9/11/23 10:05, Aryeh Friedman wrote: On Mon, Sep 11, 2023 at 9:47 AM Christopher Schultz wrote: Aryeh, On 9/9/23 19:36, Aryeh Friedman wrote: On Sat, Sep 9, 2023 at 1:23 PM Mark Thomas wrote: On 09/09/2023 11:52, Aryeh Friedman wrote: Every other jsp in my webapp (and other we

Re: page extends not working???

2023-09-11 Thread Terence M. Bandoian
On 9/11/2023 9:05 AM, Aryeh Friedman wrote: On Mon, Sep 11, 2023 at 9:47 AM Christopher Schultz wrote: Aryeh, On 9/9/23 19:36, Aryeh Friedman wrote: On Sat, Sep 9, 2023 at 1:23 PM Mark Thomas wrote: On 09/09/2023 11:52, Aryeh Friedman wrote: Every other jsp in my webapp (and other webapps

Re: page extends not working???

2023-09-11 Thread Aryeh Friedman
On Mon, Sep 11, 2023 at 9:47 AM Christopher Schultz wrote: > > Aryeh, > > On 9/9/23 19:36, Aryeh Friedman wrote: > > On Sat, Sep 9, 2023 at 1:23 PM Mark Thomas wrote: > >> > >> On 09/09/2023 11:52, Aryeh Friedman wrote: > >>> Every other jsp in my webapp (and other webapps on the same tomcat > >>

Re: page extends not working???

2023-09-11 Thread Christopher Schultz
Aryeh, On 9/9/23 19:36, Aryeh Friedman wrote: On Sat, Sep 9, 2023 at 1:23 PM Mark Thomas wrote: On 09/09/2023 11:52, Aryeh Friedman wrote: Every other jsp in my webapp (and other webapps on the same tomcat instance [9.0.75]) works and I am using a the default container but as curl/catalina.o

Re: page extends not working???

2023-09-09 Thread Aryeh Friedman
On Sat, Sep 9, 2023 at 1:23 PM Mark Thomas wrote: > > On 09/09/2023 11:52, Aryeh Friedman wrote: > > Every other jsp in my webapp (and other webapps on the same tomcat > > instance [9.0.75]) works and I am using a the default container but as > > curl/catalina.out show BasePage is *NEVER* being ca

Re: page extends not working???

2023-09-09 Thread Mark Thomas
On 09/09/2023 11:52, Aryeh Friedman wrote: Every other jsp in my webapp (and other webapps on the same tomcat instance [9.0.75]) works and I am using a the default container but as curl/catalina.out show BasePage is *NEVER* being called (either the _jspService() or the getX()): How have you con

Re: page extends not working???

2023-09-09 Thread Aryeh Friedman
; > -Ursprüngliche Nachricht- > > Von: Aryeh Friedman > > Gesendet: Samstag, 9. September 2023 12:57 > > An: Tomcat Users List > > Betreff: Re: page extends not working??? > > > > Oops forgot to include the full log see below replaced inline >

AW: page extends not working???

2023-09-09 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello, > -Ursprüngliche Nachricht- > Von: Aryeh Friedman > Gesendet: Samstag, 9. September 2023 12:57 > An: Tomcat Users List > Betreff: Re: page extends not working??? > > Oops forgot to include the full log see below replaced inline > > On Sat, Sep 9, 202

Re: page extends not working???

2023-09-09 Thread Aryeh Friedman
Oops forgot to include the full log see below replaced inline On Sat, Sep 9, 2023 at 6:52 AM Aryeh Friedman wrote: > > Every other jsp in my webapp (and other webapps on the same tomcat > instance [9.0.75]) works and I am using a the default container but as > curl/catalina.out show BasePage is *

page extends not working???

2023-09-09 Thread Aryeh Friedman
Every other jsp in my webapp (and other webapps on the same tomcat instance [9.0.75]) works and I am using a the default container but as curl/catalina.out show BasePage is *NEVER* being called (either the _jspService() or the getX()): package dashboard.web.pages; import java.io.IOException; imp

Re: Tomcat 9 Connector config allowHostHeaderMismatch not working as expected

2023-09-01 Thread Bhavesh Mistry
Hi Mark, Thanks for your help. We will go with validation against a known trusted list host as you suggested. Also, I have updated https://bz.apache.org/bugzilla/show_bug.cgi?id=64353 with reference to the discussion. As always, thanks for your wonderful support! Thanks, Bhavesh On Tue, Aug 2

Re: Tomcat 9 Connector config allowHostHeaderMismatch not working as expected

2023-08-29 Thread Mark Thomas
On 29/08/2023 21:51, Bhavesh Mistry wrote: Hi Mark, curl - -k "https://www.mydomain.com/login"; -H 'Host: attackerHostHeaderInjection.com' *Why? What problem are you trying to solve?* Host Header injection is a vulnerability that needs to be addressed., I am trying to solve if the host

Re: Tomcat 9 Connector config allowHostHeaderMismatch not working as expected

2023-08-29 Thread Bhavesh Mistry
Hi Mark, > curl - -k "https://www.mydomain.com/login"; -H 'Host: > attackerHostHeaderInjection.com' *Why? What problem are you trying to solve?* Host Header injection is a vulnerability that needs to be addressed., I am trying to solve if the host is a mismatch between the HOST ( or Authori

Re: Tomcat 9 Connector config allowHostHeaderMismatch not working as expected

2023-08-29 Thread Mark Thomas
On 29/08/2023 08:00, Bhavesh Mistry wrote: Hi Mark, I am sorry for delayed response. Basically, when request url does not match host header then I would reject it. For example, curl - -k "https://www.mydomain.com/login"; -H 'Host: attackerHostHeaderInjection.com' Why? What problem are

Re: Tomcat 9 Connector config allowHostHeaderMismatch not working as expected

2023-08-29 Thread Bhavesh Mistry
Hi Mark, I am sorry for delayed response. Basically, when request url does not match host header then I would reject it. For example, curl - -k "https://www.mydomain.com/login"; -H 'Host: attackerHostHeaderInjection.com' Based curl -vvv output, tomcat server does not know host name used

Re: Tomcat 9 Connector config allowHostHeaderMismatch not working as expected

2023-08-22 Thread Mark Thomas
Tomcat doesn't expose the SNI information. What problem are you trying to solve here? Tomcat rejects requests with mis-matched host headers by default and can be configured to allow them in 8.5.x, 9.0.x and 10.1.x. You shouldn't need to write any extra code for this. Mark On 21/08/2023 12:

Re: Tomcat 9 Connector config allowHostHeaderMismatch not working as expected

2023-08-21 Thread Bhavesh Mistry
> > > Hi Mark and Thomas, > > > > I understood now that Tomcat does not have information other than HOST > (HTTP 1.1) and :authority: (HTTP2). So there is no way to check what URL > used to connect and headers. > > > > I was wondering if TLS Handshake can provide *SNI can be used for this > purpos

AW: Tomcat 9 Connector config allowHostHeaderMismatch not working as expected

2023-08-20 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello, > -Ursprüngliche Nachricht- > Von: Bhavesh Mistry > Gesendet: Sonntag, 20. August 2023 04:09 > An: Tomcat Users List > Betreff: Re: Tomcat 9 Connector config allowHostHeaderMismatch not > working as expected > > Hi Mark, > > Thanks for your quick

Re: Tomcat 9 Connector config allowHostHeaderMismatch not working as expected

2023-08-19 Thread Bhavesh Mistry
Hi Mark, Thanks for your quick reply. According to the spec, the Request line three line: http method path and version. Basically, what I wanted to do to is if the HOST header does not match the requested server name in the URL then return 404 04 403. Can you please help me how I can do this?

Re: Tomcat 9 Connector config allowHostHeaderMismatch not working as expected

2023-08-19 Thread Mark Thomas
19 Aug 2023 19:46:56 Bhavesh Mistry : Hi, Tomcat Dev team and Users, I am trying to block the request and give 404 bad requests or 403 when the HOST header does not match the requested server name.  My goal is to block whenever there is a mismatch in the host header and URL server name.

Tomcat 9 Connector config allowHostHeaderMismatch not working as expected

2023-08-19 Thread Bhavesh Mistry
Hi, Tomcat Dev team and Users, I am trying to block the request and give 404 bad requests or 403 when the HOST header does not match the requested server name. My goal is to block whenever there is a mismatch in the host header and URL server name. I would appreciate your help. curl - -k "

Re: Migrating tomcat 6 to 9 , rmi client not working

2023-07-14 Thread Christopher Schultz
Dhayalan, On 7/14/23 01:42, Dhayalan Ganapathy wrote: I am trying to migrate tomcat6 with the war to tomcat 9, but rmiclient which is running in tomcat 6 not working in tomcat9. Is rmiclient a component of your application, or something from a third-party? It throws an error  unknown

Migrating tomcat 6 to 9 , rmi client not working

2023-07-13 Thread Dhayalan Ganapathy
Hi, I am trying to migrate tomcat6 with the war to tomcat 9, but rmiclient which is running in tomcat 6 not working in tomcat9. It throws an error unknown protocol: war. Can you please help us to run the application in tomcat 9?. [image: cid:image004.jpg@01D9B641.52DEE890] [image

Re: [OT] Cluster Manager not working

2023-04-20 Thread Christopher Schultz
Kevin, On 4/19/23 07:07, Kevin Huntly wrote: I'm guessing its not possible to have the cluster setup with a session database? Yeah, you usually pick one: database or cluster. If you pick cluster, then the cluster is your database (don't let all the nodes go down!). If you pick database, ther

Re: Cluster Manager not working

2023-04-19 Thread Kevin Huntly
thank you! On Wed, Apr 19, 2023, 13:29 Mark Thomas wrote: > On 19/04/2023 12:07, Kevin Huntly wrote: > > I'm guessing its not possible to have the cluster setup with a session > > database? > > Correct, for out of the box options. > > There are 3rd party session managers that persist the data in

Re: Cluster Manager not working

2023-04-19 Thread Mark Thomas
On 19/04/2023 12:07, Kevin Huntly wrote: I'm guessing its not possible to have the cluster setup with a session database? Correct, for out of the box options. There are 3rd party session managers that persist the data in various databases. Off the top of my head Redis and Geode provide this.

Re: Cluster Manager not working

2023-04-19 Thread Kevin Huntly
I'm guessing its not possible to have the cluster setup with a session database? Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C

Re: Cluster Manager not working

2023-04-19 Thread Kevin Huntly
Hi Mark, I found the culprit and replaced with: org.apache.catalina.ha.session.DeltaManager I'm now seeing the following: 19-Apr-2023 06:57:56.482 SEVERE [main] org.apache.tomcat.util.digester.Digester.endElement End event threw exception java.lang.NoSuchMethodException: org.apache.cata

Re: Cluster Manager not working

2023-04-19 Thread Mark Thomas
On 18/04/2023 15:59, Kevin Huntly wrote: Hello, I'm getting the following error message: 18-Apr-2023 10:56:55.404 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/opt/Apache/tomcat/apache-tomcat-9.0.74/conf/Catalina/localhost/esolutions.xml]

Cluster Manager not working

2023-04-18 Thread Kevin Huntly
Hello, I'm getting the following error message: 18-Apr-2023 10:56:55.404 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/opt/Apache/tomcat/apache-tomcat-9.0.74/conf/Catalina/localhost/esolutions.xml] 18-Apr-2023 10:57:05.400 WARNING [main] org

Re: GoDaddy SSL certificate not working with Tomcat9

2023-03-21 Thread Ralph Grove
Follow-up to this thread: I found the problem, which was my own mistake. I failed to enter the correct domain name when creating the keystone. After going back through the entire process again, with the correct domain name, the server is up and running again. Thanks, nevertheless, for the help

Re: GoDaddy SSL certificate not working with Tomcat9

2023-03-21 Thread Christopher Schultz
Ralph, On 3/21/23 06:38, Ralph Grove wrote: > [snip] > Alias name: tomcat Creation date: Mar 21, 2023 Entry type: trustedCertEntry You created a keystore with no keys. Where is the key you used to generate the CSR? That key needs to be in your keystore under the alias 'tomcat' alongside t

Re: GoDaddy SSL certificate not working with Tomcat9

2023-03-21 Thread Ralph Grove
> On Mar 21, 2023, at 4:25 AM, Mark Thomas wrote: > > On 21/03/2023 01:09, Ralph Grove wrote: >> I'm having a problem installing a new SSL certificate on a GoDaddy-hosted >> server running Tomcat. Any suggestions for resolving it would be appreciated. >> I set up the server last year and insta

Re: GoDaddy SSL certificate not working with Tomcat9

2023-03-21 Thread Mark Thomas
On 21/03/2023 01:09, Ralph Grove wrote: I'm having a problem installing a new SSL certificate on a GoDaddy-hosted server running Tomcat. Any suggestions for resolving it would be appreciated. I set up the server last year and installed the SSL certificate with no problem. This year, after the

Re: GoDaddy SSL certificate not working with Tomcat9

2023-03-20 Thread Robert Turner
Pressed send too quickly -- I see different aliases there. Ignore my previous comments Using PEM files is much simpler to manage, I would go that route instead... will make it easier. However, I can't offer any real advice on the specific issue at this time... Others will certainly be more he

Re: GoDaddy SSL certificate not working with Tomcat9

2023-03-20 Thread Robert Turner
I believe the default certificate alias used by Tomcat is "tomcat". I think you are creating your keystore with the alias "root". (see https://tomcat.apache.org/tomcat-9.0-doc/ssl-howto.html for docs on Tomcat SSL configuration -- adjust for the version you are running) On Mon, Mar 20, 2023 at 9:

GoDaddy SSL certificate not working with Tomcat9

2023-03-20 Thread Ralph Grove
I'm having a problem installing a new SSL certificate on a GoDaddy-hosted server running Tomcat. Any suggestions for resolving it would be appreciated. I set up the server last year and installed the SSL certificate with no problem. This year, after the original certificate expired, I downloaded

Re: Tomcat Jasper Compiler ant task not working - missing tag lib validator

2021-12-05 Thread Builder Lynx Demo
Hi Chris, Mark, Returning to an old thread... I was able to figure this out.  My application uses axis2 for web services.  Asix2 has .JSP files in: WEB-INF/views/admin WEB-INF/include These .jsp files are the ones causing the problem.  I'm not sure why.  My application doesn't use taglibs

Re: Tomcat Jasper Compiler ant task not working - missing tag lib validator

2021-07-09 Thread Mark Thomas
On 08/07/2021 23:12, Builder Lynx Demo wrote: Hi Chris, Mark, Thank you for pointing that out.  I never would have guessed that. Updating the separator addresses that issue.  However now the jasper task throws an exception: BUILD FAILED /home/alex/cc/build.xml:534: The following error occ

Re: Tomcat Jasper Compiler ant task not working - missing tag lib validator

2021-07-08 Thread Builder Lynx Demo
On 7/8/21 10:47 AM, Christopher Schultz wrote: Mark, On 7/8/21 05:50, Mark Thomas wrote: On 08/07/2021 04:37, Builder Lynx Demo wrote: Hi, I have a large java jsp and servlet web application.  Started about 20 years ago and still going strong.  It uses an ant build process. One of the ant

Re: Tomcat 9: Client Certificate verification setting with optional is not working

2021-05-10 Thread Christopher Schultz
Mark and Manish, On 5/10/21 13:11, Mark Thomas wrote: On 08/05/2021 18:26, Palod, Manish wrote: Hi, We further debugged the issue and narrowed down the issue to dynamic update of Truststore. We add certificate into TrustStore dynamically. We have to restart the server to use the newly added

  1   2   3   4   5   6   7   8   9   10   >