Re: SOLVED (90%): Re: Has Tomcat 10 dropped support for using log4j2 as its default logger?

2025-03-16 Thread Piotr P. Karwasz
-appserver, log4j-jul, log4j-web. Since we are talking about Tomcat 10, you need to use `log4j-jakarta-web` instead of `log4j-web`. Both `log4j-jakarta-web` and `log4j-web` depend on the Servlet API, so the need to be in the _Common_ Tomcat classloader[1]: place `log4j-jakarta-web` in `%CATALINA_HOME

SOLVED (90%): Re: Has Tomcat 10 dropped support for using log4j2 as its default logger?

2025-03-13 Thread Bruno Melloni
I found a solution.  It is not perfect but it works. Man, I miss the old days of simple log4j-tomcat configurations. Feel free to use, reproduce, modify (especially if you have improvements) as you wish. *Configuring Tomcat for log4j2 logging* *NOTES*: ·A simpler configuration might be pos

Re: Has Tomcat 10 dropped support for using log4j2 as its default logger?

2025-03-11 Thread Piotr P. Karwasz
Hi Mark, On 11.03.2025 09:46, Mark Thomas wrote: On 10/03/2025 21:58, Piotr P. Karwasz wrote: If you are looking for instructions on how to replace Tomcat's default logging backend with Log4j Core, there is a dedicated section[2] in our new Integrating Log4j Core with Jakarta EE Guide[3]

Re: Fwd: Has Tomcat 10 dropped support for using log4j2 as its default logger?

2025-03-11 Thread Piotr P. Karwasz
some point this solution    stopped working with Tomcat 10 (it still works with Tomcat 8). I didn't test it on Windows, but on Linux the procedure works. Note that if you are starting Tomcat as a Windows service via `tomcat10.exe` (Procrun), then the classpath must be set in the Tomcat Moni

Re: Fwd: Has Tomcat 10 dropped support for using log4j2 as its default logger?

2025-03-11 Thread Bruno Melloni
2] is almost identical to what I "used to use" for Tomcat 8 and 10    log4j 2.x logging (the only real difference is the folder names I    chose).   I am not sure when, but at some point this solution    stopped working with Tomcat 10 (it still works with Tomcat 8).  * After a lot of troublesh

Fwd: Has Tomcat 10 dropped support for using log4j2 as its default logger?

2025-03-11 Thread Bruno Melloni
Thanks, excellent set of links and information! * [2] is almost identical to what I "used to use" for Tomcat 8 and 10 log4j 2.x logging (the only real difference is the folder names I chose).   I am not sure when, but at some point this solution stopped working with Tomcat 10

Re: Has Tomcat 10 dropped support for using log4j2 as its default logger?

2025-03-11 Thread Mark Thomas
On 10/03/2025 21:58, Piotr P. Karwasz wrote: If you are looking for instructions on how to replace Tomcat's default logging backend with Log4j Core, there is a dedicated section[2] in our new Integrating Log4j Core with Jakarta EE Guide[3] [2] https://logging.apache.org/log4j/2.x/jakarta.ht

Has Tomcat 10 dropped support for using log4j2 as its default logger?

2025-03-10 Thread Bruno Melloni
*TLDR Question*:  Has Tomcat 10 dropped support for using log4j2 as its default logger? Details: I am wondering because after easily a decade of using log4j with Tomcat... it is now virtually impossible to find instructions (_that actually work_) for how to configure Tomcat 10 to use *Apache

Re: Has Tomcat 10 dropped support for using log4j2 as its default logger?

2025-03-10 Thread Piotr P. Karwasz
Hi Bruno, On 10.03.2025 18:01, Bruno Melloni wrote: I am wondering because after easily a decade of using log4j with Tomcat... it is now virtually impossible to find instructions (_that actually work_) for how to configure Tomcat 10 to use *Apache Log4j* as its default logger. Since both are

Re: Tomcat 10 usage and necessity of --add-opens

2025-01-24 Thread Mark Thomas
On Thu, 23 Jan, 2025, 8:25 pm Mark Thomas, wrote: On 23/01/2025 14:42, anand raj wrote: Hi all, In Tomcat 10 there is --add-opens added default and does this mean Tomcat required to access these. Yes. Also document information on what all are accessed which requires these will be helpful

Re: Tomcat 10 usage and necessity of --add-opens

2025-01-24 Thread anand raj
Hi all, is memory leak detection not optional ? Also does adding --add-opens pose any security risk or concern ? On Thu, 23 Jan, 2025, 8:25 pm Mark Thomas, wrote: > On 23/01/2025 14:42, anand raj wrote: > > Hi all, > > > > In Tomcat 10 there is --add-opens added defau

Re: Tomcat 10 usage and necessity of --add-opens

2025-01-23 Thread Mark Thomas
On 23/01/2025 14:42, anand raj wrote: Hi all, In Tomcat 10 there is --add-opens added default and does this mean Tomcat required to access these. Yes. Also document information on what all are accessed which requires these will be helpful. Generally to implement the memory leak detection

Tomcat 10 usage and necessity of --add-opens

2025-01-23 Thread anand raj
Hi all, In Tomcat 10 there is --add-opens added default and does this mean Tomcat required to access these .Also document information on what all are accessed which requires these will be helpful. Thanks, ANANDARAJ N

Re: Tomcat 9 to Tomcat 10 SSLHostConfig issue in Embedded Tomcat

2025-01-10 Thread Christopher Schultz
ill be used. " So I think you will get "changeit" as your default password if you don't call setCertificateKeystorePassword. -chris -Original Message- From: Christopher Schultz Sent: Thursday, January 9, 2025 11:40 PM To: users@tomcat.apache.org Subject: Re: Tomcat 9 to T

Re: Tomcat 9 to Tomcat 10 SSLHostConfig issue in Embedded Tomcat

2025-01-09 Thread Maxim Solodovnik
d verification > failed > at > sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:792) > ... 28 more > > Regards, > Abirami.S > -Original Message- > From: Christopher Schultz > Sent: Thursday, January 9, 2025 11:40 PM > To: users@to

RE: Tomcat 9 to Tomcat 10 SSLHostConfig issue in Embedded Tomcat

2025-01-09 Thread S Abirami
sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:792) ... 28 more Regards, Abirami.S -Original Message- From: Christopher Schultz Sent: Thursday, January 9, 2025 11:40 PM To: users@tomcat.apache.org Subject: Re: Tomcat 9 to Tomcat 10 SSLHostConfig issue in Embedded Tomcat Abirami

Re: Tomcat 9 to Tomcat 10 SSLHostConfig issue in Embedded Tomcat

2025-01-09 Thread Christopher Schultz
Abirami, On 1/9/25 6:57 AM, S Abirami wrote: After migrating from Tomcat 9 to Tomcat 10, there is an error to introduce SSLHostConfig. Introduced SSLHostConfig with Keystorefile and KeystorePassword as mentioned below is not working and throwing error with file is tampered. SSLHostConfig

Tomcat 9 to Tomcat 10 SSLHostConfig issue in Embedded Tomcat

2025-01-09 Thread S Abirami
Hi All, After migrating from Tomcat 9 to Tomcat 10, there is an error to introduce SSLHostConfig. Introduced SSLHostConfig with Keystorefile and KeystorePassword as mentioned below is not working and throwing error with file is tampered. SSLHostConfig sslHostConfig = new SSLHostConfig

Re: Tomcat 10.x over 9.x

2024-07-12 Thread Rémy Maucherat
On Fri, Jul 12, 2024 at 1:04 PM Dimitris Soumis wrote: > > Hello, > > Regarding the end-of-life date for Tomcat 9.0.x, you can find the relevant > information in this link, which contains an email from the mailing list: End > of Lifecycle for Tomcat 9.0.x >

Re: Tomcat 10.x over 9.x

2024-07-12 Thread Dimitris Soumis
Hello, Regarding the end-of-life date for Tomcat 9.0.x, you can find the relevant information in this link, which contains an email from the mailing list: End of Lifecycle for Tomcat 9.0.x . As for the necessity of upgrading to Tom

Re: Tomcat 10.x over 9.x

2024-07-12 Thread i...@flyingfischer.ch
Hi https://googlethatforyou.com?q=tomcat%20lifecycle Result: https://endoflife.date/tomcat Regarding "necessity of upgrading tomcat to 10.1.x from 9.x": https://tomcat.apache.org/whichversion.html Specifically: * Apache Tomcat 9.x builds on Tomcat 8.0.x and 8.5.x and implements the Servl

Tomcat 10.x over 9.x

2024-07-12 Thread Sai Charan Teja Pratti
Hi, Can you please share the end of lifecycle date for tomcat 9.x. Also, please share the necessity of upgrading tomcat to 10.1.x from 9.x Thanks, Sai -- This electronic communication and the information and any files transmitted with it, or attached to it, are confidential and are intended so

Re: Configuration of Certificate Verification on Tomcat 10

2024-06-19 Thread Christopher Schultz
om 8443 to 8444) with the appropriate settings. And some users will not be required to authenticate with a smart card certificate. I asked another question on Stack Overflow (" https://stackoverflow.com/questions/78624062/how-to-get-the-popup-menu-to-select-user-certificate-in-tomcat-10-server

Re: Configuration of Certificate Verification on Tomcat 10

2024-06-19 Thread Mark Thomas
nd some users will not be required to authenticate with a smart card certificate. I asked another question on Stack Overflow (" https://stackoverflow.com/questions/78624062/how-to-get-the-popup-menu-to-select-user-certificate-in-tomcat-10-server";) that describes more of the things that I

Re: Configuration of Certificate Verification on Tomcat 10

2024-06-18 Thread Christopher Schultz
a smart card certificate. I asked another question on Stack Overflow (" https://stackoverflow.com/questions/78624062/how-to-get-the-popup-menu-to-select-user-certificate-in-tomcat-10-server";) that describes more of the things that I have tried specific to the server config. I added the

Configuration of Certificate Verification on Tomcat 10

2024-06-18 Thread Izek Hornbeck
uestion on Stack Overflow (" https://stackoverflow.com/questions/78624062/how-to-get-the-popup-menu-to-select-user-certificate-in-tomcat-10-server";) that describes more of the things that I have tried specific to the server config. I added the command "-Djavax.net.debug=ssl" to see

RE: [EXT]Re: [EXT]Re: [EXT]Re: Tomcat 10 skipping state transfer. No members active in cluster group

2024-04-23 Thread Rick Noel
Users List Cc: Voodoo nmulcahy gmail ; Rob Kowald Subject: RE: [EXT]Re: [EXT]Re: [EXT]Re: Tomcat 10 skipping state transfer. No members active in cluster group Your suggestion worked Chuck, Thank you! I now see this in cat log.. 23-Apr-2024 08:30:10.969 INFO [Catalina-util

RE: [EXT]Re: [EXT]Re: [EXT]Re: Tomcat 10 skipping state transfer. No members active in cluster group

2024-04-23 Thread Rick Noel
s List Subject: [EXT]Re: [EXT]Re: [EXT]Re: Tomcat 10 skipping state transfer. No members active in cluster group > On Apr 22, 2024, at 18:48, Rick Noel wrote: > > So you mean we use the VM's IP as the address value below > Instead or using the value of auto

Re: [EXT]Re: [EXT]Re: Tomcat 10 skipping state transfer. No members active in cluster group

2024-04-22 Thread Chuck Caldarale
> On Apr 22, 2024, at 18:48, Rick Noel wrote: > > So you mean we use the VM's IP as the address value below > Instead or using the value of auto ? > > address="auto" >port="4001" > autoBind="100" >

RE: [EXT]Re: [EXT]Re: Tomcat 10 skipping state transfer. No members active in cluster group

2024-04-22 Thread Rick Noel
List Subject: [EXT]Re: [EXT]Re: Tomcat 10 skipping state transfer. No members active in cluster group > On Apr 22, 2024, at 16:33, Rick Noel wrote: > > Tomcats are two different VMs Which explains why they can’t talk to each other over 127.0.0.1. > What do you mean each contai

Re: [EXT]Re: Tomcat 10 skipping state transfer. No members active in cluster group

2024-04-22 Thread Chuck Caldarale
> On Apr 22, 2024, at 16:33, Rick Noel wrote: > > Tomcats are two different VMs Which explains why they can’t talk to each other over 127.0.0.1. > What do you mean each containers published IP Each VM or container will have an assigned, individual IP address so it can communicate with net

RE: [EXT]Re: Tomcat 10 skipping state transfer. No members active in cluster group

2024-04-22 Thread Rick Noel
Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com -Original Message- From: Chuck Caldarale Sent: Monday, April 22, 2024 4:41 PM To: Tomcat Users List Subject: [EXT]Re: Tomcat 10 skipping state transfer. No members active in cluster group > On Apr 22, 2024, at 09

Re: Tomcat 10 skipping state transfer. No members active in cluster group

2024-04-22 Thread Chuck Caldarale
> On Apr 22, 2024, at 09:54, Rick Noel wrote: > > Could someone please explain why I am getting the error > > skipping state transfer. No members active in cluster group Need a bit more information. > On one sever the reciever is bound to > 127.0.0.1

Re: Tomcat 10 skipping state transfer. No members active in cluster group

2024-04-22 Thread Steve Carlsen
Would you please take me off of this list On Mon, Apr 22, 2024 at 9:01 AM Rick Noel wrote: > Hello, > > Could someone please explain why I am getting the error > > skipping state transfer. No members active in cluster group > > On one sever the reciever is bound to > 127.0.0.1:4002

Tomcat 10 skipping state transfer. No members active in cluster group

2024-04-22 Thread Rick Noel
Hello, Could someone please explain why I am getting the error skipping state transfer. No members active in cluster group On one sever the reciever is bound to 127.0.0.1:4002 And on the other server the receiver is bound to 127.0.0.1:4001 But both s

Tomcat 10 clustering is not replicating session data

2024-04-16 Thread Rick Noel
Hello, I am running Tomcat 10.1.20 with Java 17 But our session data is being lost. Here is snippet of the clustering I have defined..

Re: [EXT]Re: [EXT]Re: Tomcat 10 session replication fails

2024-04-15 Thread Christopher Schultz
application on two machines but in our dev environment we have only one machine in the "cluster". So we really do not have a "cluster" environment. Again, we would like to know is going on before we introduce clustering in our live environment. We are using Java 17 and Tomcat 10

RE: [EXT]Re: [EXT]Re: Tomcat 10 session replication fails

2024-04-15 Thread Rick Noel
environment we have only one machine in the "cluster". So we really do not have a "cluster" environment. Again, we would like to know is going on before we introduce clustering in our live environment. We are using Java 17 and Tomcat 10 Rick Noel Systems Programm

Re: [EXT]Re: Tomcat 10 session replication fails

2024-04-13 Thread Jonathan S. Fisher
Sort of off topic, but sort of related. If you're having tremendous trouble using the built in replication methods, we built a redis based session manager: https://github.com/exabrial/redex-sm Currently redex-sm only works with Tomcat 8.5, but it wouldn't be a big leap to make it work w

Re: [EXT]Re: Tomcat 10 session replication fails

2024-04-13 Thread Chuck Caldarale
> On Apr 11, 2024, at 09:07, Rick Noel wrote: > > We are getting closer > Changing ports from the 5000 range to the 4000 range stopped two errors > But now I get this.. > > INFO: Manager [##0001]: skipping state transfer. No members active in cluster > group > > How to I make the me

RE: [EXT]Re: Tomcat 10 session replication fails

2024-04-11 Thread Rick Noel
Systems Programmer | Westwood One rn...@westwoodone.com -Original Message- From: Chuck Caldarale Sent: Thursday, April 11, 2024 9:14 AM To: Tomcat Users List Subject: [EXT]Re: Tomcat 10 session replication fails [You don't often get email from n82...@gmail.com. Learn why this is impo

Re: Tomcat 10 session replication fails

2024-04-11 Thread Chuck Caldarale
> On Apr 11, 2024, at 07:56, Rick Noel wrote: > > We have our app running on Tomcat10 and doing clustering,but are getting the > following errors seen int the Catalina log... > > Apr 11, 2024 8:14:43 AM org.apache.catalina.ha.session.DeltaManager > waitForSendAllSessions > SEVERE: Manager

Tomcat 10 session replication fails

2024-04-11 Thread Rick Noel
may be a dumb question but are we getting these errors because we are running the app on only one machine, and clustering cannot be done on one machine? We need to better understand these errors before we can move to tomcat 10 clustering into our live 2 machine environment This is how we have

Re: [EXT]Re: [EXT]Re: performance tunning of Tomcat 10

2024-03-28 Thread Christopher Schultz
27;ab' once you get beyond just throwing X requests at a site. -chris -Original Message- From: Christopher Schultz Sent: Thursday, March 28, 2024 3:09 PM To: users@tomcat.apache.org Subject: [EXT]Re: [EXT]Re: performance tunning of Tomcat 10 Rick, On 3/27/24 09:22, Rick Noel wrot

RE: [EXT]Re: [EXT]Re: performance tunning of Tomcat 10

2024-03-28 Thread Rick Noel
Message- From: Christopher Schultz Sent: Thursday, March 28, 2024 3:09 PM To: users@tomcat.apache.org Subject: [EXT]Re: [EXT]Re: performance tunning of Tomcat 10 Rick, On 3/27/24 09:22, Rick Noel wrote: > -Original Message- > From: Christopher Schultz > Sent: Wednesday, March 27,

Re: [EXT]Re: performance tunning of Tomcat 10

2024-03-28 Thread Christopher Schultz
Rick, On 3/27/24 09:22, Rick Noel wrote: -Original Message- From: Christopher Schultz Sent: Wednesday, March 27, 2024 8:24 AM To: Tomcat Users List ; Rick Noel Cc: Voodoo nmulcahy gmail ; David Jung Subject: [EXT]Re: performance tunning of Tomcat 10 Rick, On 3/27/24 07:53, Rick

RE: [EXT]Re: performance tunning of Tomcat 10

2024-03-27 Thread Rick Noel
Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com -Original Message- From: Christopher Schultz Sent: Wednesday, March 27, 2024 8:24 AM To: Tomcat Users List ; Rick Noel Cc: Voodoo nmulcahy gmail ; David Jung Subject: [EXT]Re: performance tunning of Tomcat 10 Rick

Re: performance tunning of Tomcat 10

2024-03-27 Thread Christopher Schultz
Rick, On 3/27/24 07:53, Rick Noel wrote: I was wondering if the apache foundation has any tools we can use to fine tune Tomcat 10. Tools to deteming how to set the best heap size for Tomcat startup and the best connection attributes of minSpareThreads and MaxThreads. What is your goal? I

performance tunning of Tomcat 10

2024-03-27 Thread Rick Noel
Hello, I was wondering if the apache foundation has any tools we can use to fine tune Tomcat 10. Tools to deteming how to set the best heap size for Tomcat startup and the best connection attributes of minSpareThreads and MaxThreads. I know my application at times will reach 100 concurrent

RE: [EXT]Re: [EXT]Re: Tomcat 10 waning that expireSessionsOnShutdown is not set

2024-03-22 Thread Rick Noel
Thanks Chuck great link to lots of good stuff Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com -Original Message- From: Chuck Caldarale Sent: Thursday, March 21, 2024 4:00 PM To: Tomcat Users List Subject: [EXT]Re: [EXT]Re: Tomcat 10 waning that

Re: [EXT]Re: Tomcat 10 waning that expireSessionsOnShutdown is not set

2024-03-21 Thread Chuck Caldarale
> On Mar 21, 2024, at 14:50, Rick Noel wrote: > > Do you have a feel if DeltaManager is better than BackupManager? Depends on what your needs are. There are some presentations on the subject that you might want to look at: https://tomcat.apache.org/presentations.html ApacheCon 2018 NA: Deep

RE: [EXT]Re: Tomcat 10 waning that expireSessionsOnShutdown is not set

2024-03-21 Thread Rick Noel
Thank you Chuck Do you have a feel if DeltaManager is better than BackupManager? Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com -Original Message- From: Chuck Caldarale Sent: Thursday, March 21, 2024 3:37 PM To: Tomcat Users List Subject: [EXT]Re: Tomcat 10

Re: Tomcat 10 waning that expireSessionsOnShutdown is not set

2024-03-21 Thread Chuck Caldarale
> On Mar 21, 2024, at 14:23, Rick Noel wrote: > > Could someone tell me why I would get the below waning about > expireSessionsOnShutdown not being set > > WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match > [Server/Service/Engine/Host/Cluster/Manager] failed to set

Tomcat 10 waning that expireSessionsOnShutdown is not set

2024-03-21 Thread Rick Noel
Hello, Could someone tell me why I would get the below waning about expireSessionsOnShutdown not being set WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match [Server/Service/Engine/Host/Cluster/Manager] failed to set property [expireSessionsOnShutdown] to [false] I a

Re: need features list that were removed in tomcat 10 while moving from tomcat 9

2023-12-26 Thread Christopher Schultz
Rajendra, On 12/22/23 04:31, Rathore, Rajendra wrote: We are migrating from tomcat 9 to tomcat 10, we run the migration tool on our codebase, that work perfectly, can you please share the changes from 9 to 10, we are interested in removed API or features that we can fix manually as migrator

need features list that were removed in tomcat 10 while moving from tomcat 9

2023-12-22 Thread Rathore, Rajendra
Hi, We are migrating from tomcat 9 to tomcat 10, we run the migration tool on our codebase, that work perfectly, can you please share the changes from 9 to 10, we are interested in removed API or features that we can fix manually as migrator tool not take care of such changes. Thanks and

Re: tomcat 10

2023-11-08 Thread Christopher Schultz
直以来, On 11/6/23 06:25, 一直以来 wrote: What can I do to see that the request is reused, using what settings? What problem are you trying to solve? -chris -- Original -- From: Mark Thomas - To u

Re: tomcat 10

2023-11-06 Thread Mark Thomas
On 06/11/2023 06:46, 一直以来 wrote: Why do I print System. out. println (request) as different objects in the servlet for the request in tomcat10? Is the request object not reused in tomcat10? There is a pool of cached request objects. Each request is also accessed via a facade (which is probab

Re: [External]Re: Tomcat 10 on RHEL 8 with Java 17

2023-09-28 Thread Mark Thomas
nager" java.lang.ClassNotFoundException: org.apache.logging.log4j.jul.LogManager I came across documentation saying I need tomcat-juli-adapters.jar but cannot find it for Tomcat v10. I am also seeing That JAR is not provided with Tomcat 10. It was for use with log4j 1.x which is now unsupported. If you w

Re: [External]Re: Tomcat 10 on RHEL 8 with Java 17

2023-09-27 Thread Christopher Bland
b:/usr/lib] Please advise, -Chris From: Christopher Bland Date: Wednesday, September 27, 2023 at 3:19 PM To: Tomcat Users List Subject: Re: [External]Re: Tomcat 10 on RHEL 8 with Java 17 Hi Thomas, I didn’t post those checks. I ran ps -ef | egrep -I ‘tomc|java’ as well as netstat -tlpn I d

Re: [External]Re: Tomcat 10 on RHEL 8 with Java 17

2023-09-27 Thread Christopher Bland
: Thomas Hoffmann (Speed4Trade GmbH) Date: Wednesday, September 27, 2023 at 2:25 PM To: Tomcat Users List Subject: AW: [External]Re: Tomcat 10 on RHEL 8 with Java 17 Hi Chris, > -Ursprüngliche Nachricht- > Von: Christopher Bland > Gesendet: Mittwoch, 27. September 2023 19:19 >

AW: [External]Re: Tomcat 10 on RHEL 8 with Java 17

2023-09-27 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hi Chris, > -Ursprüngliche Nachricht- > Von: Christopher Bland > Gesendet: Mittwoch, 27. September 2023 19:19 > An: Tomcat Users List > Betreff: Re: [External]Re: Tomcat 10 on RHEL 8 with Java 17 > > Hi Chris, > > I didn’t get the error message.

Re: [External]Re: Tomcat 10 on RHEL 8 with Java 17

2023-09-27 Thread Stephanie Panah
s look correct > > # ls -ld /var/log/tomcat/ /usr/local/tomcat/logs/ > drwxr-x---. 2 tomcat tomcat 26 Sep 26 20:14 /usr/local/tomcat/logs/ > drwxr-xr-x. 2 tomcat tomcat 6 Sep 26 19:48 /var/log/tomcat/ > > > -Chris > > > From: Darryl Baker > Date: Wednesday, Sept

Re: [External]Re: Tomcat 10 on RHEL 8 with Java 17

2023-09-27 Thread Christopher Bland
List Subject: [External]Re: Tomcat 10 on RHEL 8 with Java 17 [You don't often get email from darryl.ba...@northwestern.edu. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] Chris, With no logs at all check the permissions on the log directories and

Re: Tomcat 10 on RHEL 8 with Java 17

2023-09-27 Thread Darryl Baker
Chris, With no logs at all check the permissions on the log directories and make sure that the user Tomcat is running as has write permissions there. This sounds very much like what I ran into my first time setting up Tomcat from scratch. Darryl Baker, GSEC, GCLD (he/him/his) Sr. Syst

Re: Tomcat 10 on RHEL 8 with Java 17

2023-09-27 Thread Christopher Schultz
Chris, On 9/27/23 10:30, Christopher Bland wrote: Hi All, I just deployed Tomcat v10.1.13 on a new machine. When I start Tomcat it says it has started but I don’t see the daemon running and I don’t have any logs. I tried running Catalina.sh directly. # ./catalina.sh start Using CATALINA_B

Tomcat 10 on RHEL 8 with Java 17

2023-09-27 Thread Christopher Bland
Hi All, I just deployed Tomcat v10.1.13 on a new machine. When I start Tomcat it says it has started but I don’t see the daemon running and I don’t have any logs. I tried running Catalina.sh directly. # ./catalina.sh start Using CATALINA_BASE: /usr/local/tomcat Using CATALINA_HOME: /usr/

Re: Enable two way SSL in Apache Tomcat 10 Version 10.0.27

2023-08-20 Thread Kaushal Shriyan
On Sun, Aug 20, 2023 at 4:25 PM wrote: > Kaushal, > > please check the new configuration method with SSLHostConfig - your's is > probably from an older version, right? In the working version you already > use it. > > see my (redacted) config: > > protocol="org.apache.coyote.http11.Ht

Re: Enable two way SSL in Apache Tomcat 10 Version 10.0.27

2023-08-20 Thread logo
>>> Kaushal, >>> >>> On 8/7/23 22:23, Kaushal Shriyan wrote: >>> > Hi, >>> > >>> > I have gone through >>> > https://tomcat.apache.org/tomcat-10.0-doc/ssl-howto.html. >>> > Is there a way to enable two way SSL (mu

Re: Enable two way SSL in Apache Tomcat 10 Version 10.0.27

2023-08-19 Thread Kaushal Shriyan
> > >> > I have gone through >> https://tomcat.apache.org/tomcat-10.0-doc/ssl-howto.html. >> > Is there a way to enable two way SSL (mutual) in Apache Tomcat 10 >> Version >> > 10.0.27? >> > >> > Please guide me. >> > >>

Re: Enable two way SSL in Apache Tomcat 10 Version 10.0.27

2023-08-19 Thread Kaushal Shriyan
re a way to enable two way SSL (mutual) in Apache Tomcat 10 Version > > 10.0.27? > > > > Please guide me. > > > > Thanks in Advance. > > I see you have "gone through" the SSL Howto, but could you be specific > about what you have actually done? For

Re: Enable two way SSL in Apache Tomcat 10 Version 10.0.27

2023-08-09 Thread Christopher Schultz
Kaushal, On 8/7/23 22:23, Kaushal Shriyan wrote: Hi, I have gone through https://tomcat.apache.org/tomcat-10.0-doc/ssl-howto.html. Is there a way to enable two way SSL (mutual) in Apache Tomcat 10 Version 10.0.27? Please guide me. Thanks in Advance. I see you have "gone through&quo

Enable two way SSL in Apache Tomcat 10 Version 10.0.27

2023-08-07 Thread Kaushal Shriyan
Hi, I have gone through https://tomcat.apache.org/tomcat-10.0-doc/ssl-howto.html. Is there a way to enable two way SSL (mutual) in Apache Tomcat 10 Version 10.0.27? Please guide me. Thanks in Advance. Best Regards, Kaushal

Re: Re-Cannot upload an image file from a deployed JSP page in Tomcat 10

2023-06-12 Thread Christopher Schultz
Lauri, On 6/10/23 03:18, Lauri wrote: Hi, Thanks for all the tips. It is solved. I managed to create such a working page in Tomcat 9 (without any specific configuration). I just deployed that same page in Tomcat 10(also without any specific configuration), and it works. For the rest, I will

Re: Re-Cannot upload an image file from a deployed JSP page in Tomcat 10

2023-06-10 Thread Lauri
Hi, Thanks for all the tips. It is solved. I managed to create such a working page in Tomcat 9 (without any specific configuration). I just deployed that same page in Tomcat 10(also without any specific configuration), and it works. For the rest, I will wait for Tomcat 11. I guess it will be a

Re: Re-Cannot upload an image file from a deployed JSP page in Tomcat 10

2023-06-02 Thread Christopher Schultz
"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_5_0.xsd"; If you want to use Tomcat 10, these are the wrong XML schema referenc

AW: AW: Re-Cannot upload an image file from a deployed JSP page in Tomcat 10

2023-06-02 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello Mark, > -Ursprüngliche Nachricht- > Von: Mark Thomas > Gesendet: Freitag, 2. Juni 2023 14:18 > An: users@tomcat.apache.org > Betreff: Re: AW: Re-Cannot upload an image file from a deployed JSP page in > Tomcat 10 > > On 02/06/2023 08:20, Thomas Hoffmann

Re: AW: Re-Cannot upload an image file from a deployed JSP page in Tomcat 10

2023-06-02 Thread Mark Thomas
On 02/06/2023 08:20, Thomas Hoffmann (Speed4Trade GmbH) wrote: Hello Lauri, -Ursprüngliche Nachricht- Von: Lauri Gesendet: Freitag, 2. Juni 2023 08:58 An: Tomcat Users List Betreff: Re-Cannot upload an image file from a deployed JSP page in Tomcat 10 @Thomas: I have made a test

AW: Re-Cannot upload an image file from a deployed JSP page in Tomcat 10

2023-06-02 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello Lauri, > -Ursprüngliche Nachricht- > Von: Lauri > Gesendet: Freitag, 2. Juni 2023 08:58 > An: Tomcat Users List > Betreff: Re-Cannot upload an image file from a deployed JSP page in Tomcat > 10 > > @Thomas: > > I have made a test using the reques

Re-Cannot upload an image file from a deployed JSP page in Tomcat 10

2023-06-01 Thread Lauri
eam.close(); } else { out.println("No file uploaded."); } %> --- The @MultipartConfig is defined in the HTML file. When deployed in Tomcat 10, I still get these errors: --- org.apache.jasper.JasperException: An exception occurred processing [/upload.jsp] at line [3] 1: &

Re: Re-Cannot upload an image file from a deployed JSP page in Tomcat 10

2023-06-01 Thread Mark Thomas
On 01/06/2023 10:18, Torsten Krah wrote: Am Donnerstag, dem 01.06.2023 um 08:52 + schrieb Lauri: You mention a servlet part, but I do not use a servlet. All the code is contained in the JSP page. You need to divide that code in a JSP and in your upload servlet as you need to provide the @M

AW: Re-Cannot upload an image file from a deployed JSP page in Tomcat 10

2023-06-01 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello, > -Ursprüngliche Nachricht- > Von: Torsten Krah > Gesendet: Donnerstag, 1. Juni 2023 11:18 > An: users@tomcat.apache.org > Betreff: Re: Re-Cannot upload an image file from a deployed JSP page in > Tomcat 10 > > Am Donnerstag, dem 01.06.2023 um 08:52 +

Re: Re-Cannot upload an image file from a deployed JSP page in Tomcat 10

2023-06-01 Thread Torsten Krah
Am Donnerstag, dem 01.06.2023 um 08:52 + schrieb Lauri: > > You mention a servlet part, but I do not use a servlet. > > All the code is contained in the JSP page. You need to divide that code in a JSP and in your upload servlet as you need to provide the @MultipartConfig on that servlet which

Re-Cannot upload an image file from a deployed JSP page in Tomcat 10

2023-06-01 Thread Lauri
esday, May 31, 2023 11:53 AM To: users@tomcat.apache.org Subject: Re: Re-Cannot upload an image file from a deployed JSP page in Tomcat 10 Am Mittwoch, dem 31.05.2023 um 09:42 + schrieb Lauri: > But my initial question remains, what should have to modify on my > posted JSP page ? We alr

Re: Re-Cannot upload an image file from a deployed JSP page in Tomcat 10

2023-05-31 Thread Torsten Krah
Am Mittwoch, dem 31.05.2023 um 09:42 + schrieb Lauri: > But my initial question remains, what should have to modify on my > posted JSP page ? We already posted you with the docs where you can read about the necessary changes you need to make to your page, it is all written there (just call get

Re-Cannot upload an image file from a deployed JSP page in Tomcat 10

2023-05-31 Thread Lauri
users@tomcat.apache.org Subject: Re: Re-Cannot upload an image file from a deployed JSP page in Tomcat 10 Am Mittwoch, dem 31.05.2023 um 09:14 + schrieb Lauri: > So, I guess I need to re-write my JSP page as if it was for Java EE > for Tomcat 9 (or earlier versions) for instance, correct? Why would

Re: Re-Cannot upload an image file from a deployed JSP page in Tomcat 10

2023-05-31 Thread Torsten Krah
Am Mittwoch, dem 31.05.2023 um 09:14 + schrieb Lauri: > So, I guess I need to re-write my JSP page as if it was for Java EE > for Tomcat 9 (or earlier versions) for instance, correct? Why would you want to do that? Just rewrite it to work with the jakarta api and it will work with tom

Re: Re-Cannot upload an image file from a deployed JSP page in Tomcat 10

2023-05-31 Thread Torsten Krah
Am Mittwoch, dem 31.05.2023 um 09:18 + schrieb Thomas Hoffmann (Speed4Trade GmbH): > http://www.java2s.com/example/java-api/javax/servlet/http/httpservletrequest/getparts-0-0.html There is also a whole example app on the link you already provided Thomas: https://docs.oracle.com/javaee/6/tutor

AW: Re-Cannot upload an image file from a deployed JSP page in Tomcat 10

2023-05-31 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello, > -Ursprüngliche Nachricht- > Von: Lauri > Gesendet: Mittwoch, 31. Mai 2023 11:04 > An: Tomcat Users List > Betreff: Re-Cannot upload an image file from a deployed JSP page in Tomcat > 10 > > Ho Thomas, > > I still do not understand everything. &

Re-Cannot upload an image file from a deployed JSP page in Tomcat 10

2023-05-31 Thread Lauri
Ho Mark, I still do not understand everything. I understood the following: 1) >From Tomcat 10 and onwards there has been a move from Java EE to Jakarta EE as >part of the transfer of Java EE to the Eclipse Foundation, the primary package >for all implemented APIs has changed from j

Re: Re-Cannot upload an image file from a deployed JSP page in Tomcat 10

2023-05-31 Thread Torsten Krah
Am Mittwoch, dem 31.05.2023 um 09:04 + schrieb Lauri: > What modules should I use if these are wrong ? None, it is already included in the servlet api. Like already written, please read e.g.: https://docs.oracle.com/javaee/6/tutorial/doc/gmhba.html kind regards Torsten -- ---

Re-Cannot upload an image file from a deployed JSP page in Tomcat 10

2023-05-31 Thread Lauri
Ho Thomas, I still do not understand everything. I understood the following: 1) >From Tomcat 10 and onwards there has been a move from Java EE to Jakarta EE as >part of the transfer of Java EE to the Eclipse Foundation, the primary package >for all implemented APIs has changed from j

Re: Re-Cannot upload an image file from a deployed JSP page in Tomcat 10

2023-05-30 Thread Mark Thomas
configuration for Tomcat 10 to use servlet-api and jakarta EE packages. Correct. I still do not understand the following: c) Do I use the correct servlet-api jar package ? Yes. You answered: If you are using Tomcat 10, you need to use the Jakarta EE package names. You can't use the Ja

AW: Re-Cannot upload an image file from a deployed JSP page in Tomcat 10

2023-05-29 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello Lauri, > -Ursprüngliche Nachricht- > Von: Lauri > Gesendet: Dienstag, 30. Mai 2023 08:20 > An: Tomcat Users List > Betreff: Re-Cannot upload an image file from a deployed JSP page in Tomcat > 10 > > Hi Thomas, > > I get returned "Page no foun

Re-Cannot upload an image file from a deployed JSP page in Tomcat 10

2023-05-29 Thread Lauri
page in Tomcat 10 Hallo Lauri, > -Ursprüngliche Nachricht- > Von: Lauri > Gesendet: Montag, 29. Mai 2023 11:36 > An: users@tomcat.apache.org > Betreff: Cannot upload an image file from a deployed JSP page in Tomcat 10 > > 1) Summary of the problem: > > From T

Re-Cannot upload an image file from a deployed JSP page in Tomcat 10

2023-05-29 Thread Lauri
Hi Mark, If I understand well: a) I should remove the commons*.jar files from my /u01/tomcat/base/middleware/tomcat10/webapps/TESTS/WEB-INF/lib. b) I do not need to have a specific configuration for Tomcat 10 to use servlet-api and jakarta EE packages. I still do not understand the following

AW: Cannot upload an image file from a deployed JSP page in Tomcat 10

2023-05-29 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hallo Lauri, > -Ursprüngliche Nachricht- > Von: Lauri > Gesendet: Montag, 29. Mai 2023 11:36 > An: users@tomcat.apache.org > Betreff: Cannot upload an image file from a deployed JSP page in Tomcat 10 > > 1) Summary of the problem: > > From Tomcat 10 and on

Re: Cannot upload an image file from a deployed JSP page in Tomcat 10

2023-05-29 Thread Mark Thomas
On 29/05/2023 10:36, Lauri wrote: From Tomcat 10 and onwards there has been a move from Java EE to Jakarta EE as part of the transfer of Java EE to the Eclipse Foundation, the primary package for all implemented APIs has changed from javax.* to jakarta.*. Note the above. I have these

Cannot upload an image file from a deployed JSP page in Tomcat 10

2023-05-29 Thread Lauri
1) Summary of the problem: >From Tomcat 10 and onwards there has been a move from Java EE to Jakarta EE as >part of the transfer of Java EE to the Eclipse Foundation, the primary package >for all implemented APIs has changed from javax.* to jakarta.*. I have a JSP page deployed in

Re: ClassNotFound after upgrade to tomcat 10

2023-04-20 Thread Kevin Huntly
I chose option 1 and re-wrote everything. It was fun Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E--- W

  1   2   3   >