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

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

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

Re: Configuration of Certificate Verification on Tomcat 10

2024-06-19 Thread Christopher Schultz
., from 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;) that des

Re: Configuration of Certificate Verification on Tomcat 10

2024-06-19 Thread Mark Thomas
ings. 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;) that describes more of the things that I have trie

Re: Configuration of Certificate Verification on Tomcat 10

2024-06-18 Thread Christopher Schultz
art 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 command "

Configuration of Certificate Verification on Tomcat 10

2024-06-18 Thread Izek Hornbeck
on 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 more deta

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

2024-04-23 Thread Rick Noel
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-utility-1

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

2024-04-23 Thread Rick Noel
]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
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 containers

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

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 >

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 >

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

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 with Tomcat

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

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 important

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:

Tomcat 10 session replication fails

2024-04-11 Thread Rick Noel
. This 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
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 wrote: -Original Message

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

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:

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

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

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

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

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

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 make

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.

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

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:

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: > >

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

2023-08-20 Thread logo
gt;> 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)

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
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" the SSL Howto, but could you be specific > about what you have actually don

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

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

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 references. You want the Ja

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-02 Thread Lauri
stream.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: <%@ page import="

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

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
, 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 already

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

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

2023-05-31 Thread Lauri
@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 yo

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:

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 f

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 f

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 Java EE

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

2023-05-30 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-30 Thread Lauri
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 Tomcat

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

2023-05-30 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

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---

Re: ClassNotFound after upgrade to tomcat 10

2023-04-20 Thread Christopher Schultz
Kevin, On 4/17/23 17:56, Kevin Huntly wrote: I'm getting the following exception when I try to access my webapp: 17-Apr-2023 17:52:55.982 SEVERE [catalina-exec-1] org.apache.catalina.core.ApplicationDispatcher.invoke Servlet.service() for servlet [jsp] threw exception

Re: ClassNotFound after upgrade to tomcat 10

2023-04-17 Thread Terence M. Bandoian
On 4/17/2023 6:13 PM, Kevin Huntly wrote: Thank you, all set. I guess I wasn't googling the right things lol, either that or I'm getting a little too used to asking on the list =( Yes. -Terence Bandoian On Mon, Apr 17, 2023 at 7:03 PM Torsten Krah wrote: The whole thing is also well

Re: ClassNotFound after upgrade to tomcat 10

2023-04-17 Thread Kevin Huntly
Just another quick question... and it may not be able to be answered here... Is there a way to get Eclipse to stop bitching about missing "javax.servlet.*" dependencies? It's complaining on every JSP I have... Kevin Huntly Email:

Re: ClassNotFound after upgrade to tomcat 10

2023-04-17 Thread Kevin Huntly
Thank you, all set. I guess I wasn't googling the right things lol, either that or I'm getting a little too used to asking on the list =( Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311

Re: ClassNotFound after upgrade to tomcat 10

2023-04-17 Thread Torsten Krah
The whole thing is also well answered there btw: https://stackoverflow.com/questions/4928271/how-to-install-jstl-the-absolute-uri-http-java-sun-com-jstl-core-cannot-be-r#4928309 Kevin Huntly schrieb am Di., 18. Apr. 2023, 00:52: > I am now seeing this: > > 17-Apr-2023 18:50:44.450 SEVERE

Re: ClassNotFound after upgrade to tomcat 10

2023-04-17 Thread Torsten Krah
https://stackoverflow.com/questions/74585710/migration-to-jakarta-ee-unable-to-find-taglib-c-for-uri-jakarta-tags-core Does that help? Kevin Huntly schrieb am Di., 18. Apr. 2023, 00:52: > I am now seeing this: > > 17-Apr-2023 18:50:44.450 SEVERE [catalina-exec-1] >

Re: ClassNotFound after upgrade to tomcat 10

2023-04-17 Thread Kevin Huntly
I am now seeing this: 17-Apr-2023 18:50:44.450 SEVERE [catalina-exec-1] org.apache.catalina.core.ApplicationDispatcher.invoke Servlet.service() for servlet [jsp] threw exception org.apache.jasper.JasperException: /com.cws.esolutions.web.login/jsp/html/en/Login.jsp (line: [1], column: [1])

Re: ClassNotFound after upgrade to tomcat 10

2023-04-17 Thread Torsten Krah
And update your taglib definitions, see here: https://jakarta.ee/specifications/tags/3.0/ The old ones are deprecated/ removed: Quote: Rename java.sun.com taglib URIs to new jakarta.tags.* URNs. Kevin Huntly schrieb am Di., 18. Apr. 2023, 00:34: > Now i'm getting these: > > 17-Apr-2023

Re: ClassNotFound after upgrade to tomcat 10

2023-04-17 Thread Mark Eggers
https://jakarta.ee/specifications/tags/3.0/tagdocs/c/tld-summary.html . . . just my two cents /mde/ On 4/17/2023 3:34 PM, Kevin Huntly wrote: Now i'm getting these: 17-Apr-2023 18:32:03.236 INFO [main] org.apache.catalina.core.ApplicationContext.log No Spring WebApplicationInitializer types

Re: ClassNotFound after upgrade to tomcat 10

2023-04-17 Thread Torsten Krah
The Jakarta jstl ones have to be compile scope, they are not included in tomcat, do you have that? See the migration guide, spec section, only those APIs listed there should be provided scope. Kevin Huntly schrieb am Di., 18. Apr. 2023, 00:34: > Now i'm getting these: > > 17-Apr-2023

Re: ClassNotFound after upgrade to tomcat 10

2023-04-17 Thread Kevin Huntly
Now i'm getting these: 17-Apr-2023 18:32:03.236 INFO [main] org.apache.catalina.core.ApplicationContext.log No Spring WebApplicationInitializer types detected on classpath 17-Apr-2023 18:32:04.904 INFO [main] org.apache.catalina.core.ApplicationContext.log Initializing Spring DispatcherServlet

Re: ClassNotFound after upgrade to tomcat 10

2023-04-17 Thread Torsten Krah
You should only use https://jakarta.ee/specifications/tags/3.0/ and not the old 1.2.5 one, remove that old one. Why do you have both included? Kevin Huntly schrieb am Di., 18. Apr. 2023, 00:19: > 6.0.0 > > 1.2.5 > > 3.0.0 > > 3.1.1 > > > Kevin

Re: ClassNotFound after upgrade to tomcat 10

2023-04-17 Thread Kevin Huntly
6.0.0 1.2.5 3.0.0 3.1.1 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+++ N+ o K(+) w--- O- M--

Re: ClassNotFound after upgrade to tomcat 10

2023-04-17 Thread Torsten Krah
All the api ones have to be provided, not compile scope imho. Tomcat does provide them, don't package them in your war file and double check the versions from the guide, there is still a class referencing the old API and is causing the exception. You missed to add the versions you used, add them

Re: ClassNotFound after upgrade to tomcat 10

2023-04-17 Thread Kevin Huntly
Thank you for that... I have the right (I think) dependencies in my pom: org.apache.taglibs taglibs-standard-impl ${taglibs.version} jar compile jakarta.servlet.jsp.jstl jakarta.servlet.jsp.jstl-api ${jstl.version} jar compile jakarta.servlet.jsp jakarta.servlet.jsp-api

Re: ClassNotFound after upgrade to tomcat 10

2023-04-17 Thread Torsten Krah
Please read https://tomcat.apache.org/migration-10.html#Server_Pages_3.0 and while you are there, read the whole guide ;-). Kevin Huntly schrieb am Mo., 17. Apr. 2023, 23:57: > Hello, > > I'm getting the following exception when I try to access my webapp: > > 17-Apr-2023 17:52:55.982 SEVERE

ClassNotFound after upgrade to tomcat 10

2023-04-17 Thread Kevin Huntly
Hello, I'm getting the following exception when I try to access my webapp: 17-Apr-2023 17:52:55.982 SEVERE [catalina-exec-1] org.apache.catalina.core.ApplicationDispatcher.invoke Servlet.service() for servlet [jsp] threw exception java.lang.ClassNotFoundException:

RE: Is Microsoft's spring-cloud-azure-starter-active-directory for Spring Boot 3 / Spring 6 compatible with Tomcat 10?

2023-04-14 Thread BRUNO MELLONI
3 / Spring 6 compatible with Tomcat 10? On 13/04/2023 22: 48, BRUNO MELLONI wrote: > After further research let me ask the question in a different way: > > > * Tomcat 10 is configured to do log4j2 logging. > * My log4j2 code works fine. > * Spring-cloud-azure-starte

  1   2   >