how to make tomcat 9 remember which application where stopped before shutdown

2023-03-20 Thread Ivano Luberti
Hi all , I would like to find a way to start tomcat with all the application stopped except the manager. My colleagues made a test manually  stopping an application and restarting tomcat. After the service restarted the application was up and running. Is there a way to make Tomcat remember

Re: how to make tomcat 9 remember which application where stopped before shutdown

2023-03-20 Thread Mark Thomas
On 20/03/2023 10:09, Ivano Luberti wrote: Hi all , I would like to find a way to start tomcat with all the application stopped except the manager. My colleagues made a test manually  stopping an application and restarting tomcat. After the service restarted the application was up and

Re: Tomcat 9.0.72 Firefox issue with 204 response (Empty Body)

2023-03-20 Thread Bhavesh Mistry
Hi, Mark and Tomcat team, Thank you for your support so far and I will take it up with Firefox. I will look into CSP as well. Thanks for checking this. Thanks, Bhavesh On Sat, Mar 18, 2023 at 4:56 AM Mark Thomas wrote: > That looks like a browser bug then. You'll need to raise that with

Re: Unable to start application

2023-03-20 Thread Kevin Huntly
Hey Chris! I actually fixed (well, figured out) the MySQL problem - it looks like it's hard coded to a 2048b DH key, but I configured my servers for CIS level 2 which wants a minimum 3072. I can update the openssl config to utilize a lower security level and it works just fine. I don't want to

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

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

RE: Quick Question with Tomcat 10.1x

2023-03-20 Thread jonmcalexander
Thank you Chris! Dream * Excel * Explore * Inspire Jon McAlexander Senior Infrastructure Engineer Asst. Vice President He/His Middleware Product Engineering Enterprise CIO | EAS | Middleware | Infrastructure Solutions 8080 Cobblestone Rd | Urbandale, IA 50322 MAC: F4469-010 Tel 515-988-2508 |

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

Re: Quick Question with Tomcat 10.1x

2023-03-20 Thread Christopher Schultz
Jon, On 3/16/23 15:19, jonmcalexan...@wellsfargo.com.INVALID wrote: -Original Message- From: jonmcalexan...@wellsfargo.com.INVALID Sent: Thursday, March 16, 2023 1:54 PM To: users@tomcat.apache.org Subject: RE: Quick Question with Tomcat 10.1x -Original Message- From:

Re: Unable to start application

2023-03-20 Thread Christopher Schultz
Kevin, On 3/18/23 19:04, Kevin Huntly wrote: I can't use tomcat 10 because of the switch to jakarta for the servlet container - I'd have to rewrite a lot of code. That being said, I got it fixed: All JDBC and JNDI lookups were prefixed with "java:comp/env/" and things worked. Clearly, IBM's

Re: how to make tomcat 9 remember which application where stopped before shutdown

2023-03-20 Thread Ivano Luberti
Thanks Mark. I have to move a few applications from one tomcat to another. The new tomcat is ready and the applications are already deployed but working on test data. Now i would like to, one application at a time, switch them to production data. Say I have applications A.0, A.1, A.2,

java.lang.AbstractMethodError: Receiver class org.apache.tomcat.websocket.server.WsSessionListener does not define or inherit an implementation

2023-03-20 Thread Harri Pesonen
Hello, I changed: * source code target from Java 8 to Java 11 * Tomcat from 8.5 to 9.0.73 * Java runtime from Java 11 to Java 17 and now I see extra error in Tomcat log, which did not happen before: (http-nio-8080-exec-8) (org.apache.catalina.session.StandardSession#tellNew)

RE: java.lang.AbstractMethodError: Receiver class org.apache.tomcat.websocket.server.WsSessionListener does not define or inherit an implementation

2023-03-20 Thread Harri Pesonen
I think that I understand. I need to change Servlet API from 3.1 to 4.0. I was thinking that we can still use 3.1, and 4.0 would be compatible. https://tomcat.apache.org/whichversion.html Servlet SpecJSP SpecEL Spec WebSocket Spec Authentication (JASPIC) SpecApache Tomcat

Re: java.lang.AbstractMethodError: Receiver class org.apache.tomcat.websocket.server.WsSessionListener does not define or inherit an implementation

2023-03-20 Thread Rémy Maucherat
On Mon, Mar 20, 2023 at 1:59 PM Harri Pesonen wrote: > > Hello, > > I changed: > > * source code target from Java 8 to Java 11 > * Tomcat from 8.5 to 9.0.73 > * Java runtime from Java 11 to Java 17 > and now I see extra error in Tomcat log, which did not happen before: The Servlet