RE: Web browser clocking issue at Apache Tomcat 10.1.20 on Linux

2024-09-05 Thread Tim Zielke
I missed the reply from Chris Schultz and just saw it when I went to the Apache Mail Archives. Yes, by "clocking" I mean the browser throbber just keeps going and going and never gets a response. Maybe clocking is a term we just use at our company. It means the app is hanging/stalled and not re

RE: Web browser clocking issue at Apache Tomcat 10.1.20 on Linux

2024-09-05 Thread Tim Zielke
I was able to narrow down the issue and find a workaround. If anyone has else seen this issue, I would be interested in hearing about it. Here is a recap of the issue. The Spring Boot app works fine at openjdk 1.8. When the app is moved to openjdk 17, the app works initially and then usually wi

Re: Nothing but 404 errors

2024-09-05 Thread Mark Thomas
On 05/09/2024 16:24, David Rush wrote: Doh! I have resolved it. When creating my CATALINA_BASE/conf, server.xml was the only file that I copied into it (in my defense it's the only file explicitly mentioned as going into the conf directory under the CATALINA_BASE section on running multiple tom

Re: Nothing but 404 errors

2024-09-05 Thread Christopher Schultz
David, On 9/5/24 11:40, David Rush wrote: Darryl: Do you have a script or something that copies the "needed files" from the previous version to the new version? Seems like you would need to copy all your webapps and any customizations in your config files (I sometimes tweak my server.xml and l

Re: Migration of Spring MVC 4 app to Spring MVC 6

2024-09-05 Thread Konstantin Kolinko
ср, 4 сент. 2024 г. в 02:33, : > > I am migrating a Spring MVC app from 4.x to 6.x so I am going from Tomcat > 9.1 Java 8 to Tomcat 10.1 Java 17. > > I noticed that in the migration steps on the Tomcat site that there is a > tool to help with the javax to Jakarta package conversions > > > > I have

Re: Nothing but 404 errors

2024-09-05 Thread Mark Eggers
On 9/5/2024 8:40 AM, David Rush wrote: Darryl: Do you have a script or something that copies the "needed files" from the previous version to the new version? Seems like you would need to copy all your webapps and any customizations in your config files (I sometimes tweak my server.xml and loggi

Re: Nothing but 404 errors

2024-09-05 Thread Konstantin Kolinko
чт, 5 сент. 2024 г. в 17:38, David Rush : > [...] > > I copied the ROOT webapp from my CATALINA_HOME/webapps to my > CATALINA_BASE/webapps, and I see in my /var/opt/tomcat9/logs/catalina.out > that it was found: > > Sep 05, 2024 2:18:53 PM org.apache.catalina.startup.HostConfig > deployDirectory >

Re: Nothing but 404 errors

2024-09-05 Thread David Rush
Darryl: Do you have a script or something that copies the "needed files" from the previous version to the new version? Seems like you would need to copy all your webapps and any customizations in your config files (I sometimes tweak my server.xml and logging.properties). David On Thu, Sep 5, 20

Re: Nothing but 404 errors

2024-09-05 Thread David Rush
Doh! I have resolved it. When creating my CATALINA_BASE/conf, server.xml was the only file that I copied into it (in my defense it's the only file explicitly mentioned as going into the conf directory under the CATALINA_BASE section on running multiple tomcat instances in the RUNNING.txt file).

Re: Tomcat takes over 1 minute to stop

2024-09-05 Thread Quoc Nguyen
Any insights into this issue please, Mr. Shultz? Anyone? ​Thanks and regards, Quoc Nguyen Sr. Software Engineer | Octo an IBM Company M: 407.404.4912 quoc.ngu...@octo.us From: Quoc Nguyen Sent: Friday, August 30, 2024 1:03 PM To: Tomcat Users List Subject:

Re: Nothing but 404 errors

2024-09-05 Thread Darryl Baker
My method for updating Tomcat is that it lives behind a symbolic link. /opt/tomcat/latest points to the version I want to run. /opt/tomcat/apache-tomcat-9.0.XX when I want to upgrade I untar the latest version, stop the running version, copy over the needed files to the new version, repoint the

Re: Nothing but 404 errors

2024-09-05 Thread Sebastian Trost
David, On 05.09.2024 16:13, David Rush wrote: My CATALINA_HOME is /opt/tomcat9/home (which is a symlink to /opt/tomcat9/apache-tomcat-9.0.93) My CATALINA_BASE is /var/opt/tomcat9 Why are you setting the CATALINA_BASE-variable? If you're running just one Tomcat instance, this variable is not nee

I'm getting a -1 value for CPU usage when connecting visual VM to my tomcat server.

2024-09-05 Thread Aditya Kumar
I have enabled JMX in my tomcat server. I use VisualVM to inspect the tomcat server. When I look at java.lang->OperatingSystem I'm seeing a -1 value for a few CPU value readings. This just suddenly happened. I cant think what changes might have been made, I don't recall any apart from maybe a Wind

Nothing but 404 errors

2024-09-05 Thread David Rush
I've been an avid user of "apt install tomcat9" for years on Ubuntu 22.04 and prior with great success, but I've discovered that the package manager on Ubuntu 24.04 doesn't support tomcat9. So I'm trying to install it from the core binary D/L from tomcat.apache.org I want to use distinct CATALINA

Re: JNDI connection pool in Tomcat 10.1

2024-09-05 Thread Mark Thomas
On 04/09/2024 21:34, charliedidon...@gmail.com wrote: Hello Tomcat 10.1, Java 17, MySQL Connector 9.0 Not sure if this is a Tomcat Config issue or Spring MVC 6 issue I am converting from Spring MVC 4 to 6 and have the following set up in Tomcat 10.1 Context.xml url="jdbc:m