Re: Tomcat 9 returning 404 for audio files

2024-03-12 Thread Anson Cheung
ok,it's a problem caused by tomcat cache. You need to disable it. Please refer to https://serverfault.com/questions/40205/how-do-i-disable-tomcat-caching-im-having-weird-static-file-problems On Wed, Mar 13, 2024 at 3:46 AM Chuck Caldarale wrote: > > > On Mar 12, 2024, at 13:15, Sam wrote: > > >

Re: When does Tomcat add and remove threads?

2024-03-12 Thread Rémy Maucherat
On Tue, Mar 12, 2024 at 5:55 PM wrote: > > All, > > > > -Original Message- > > From: Christopher Schultz > > Sent: Tuesday, March 12, 2024 8:31 AM > > To: users@tomcat.apache.org > > Subject: Re: When does Tomcat add and remove threads? > > > > John, > > > > On 3/11/24 18:14, john.e.gr...

Re: Tomcat 9 returning 404 for audio files

2024-03-12 Thread Chuck Caldarale
> On Mar 12, 2024, at 13:15, Sam wrote: > > As I said earlier, 404 error is only returned 1st time. > > Subsequent requests work fine. What triggers the creation of the audio file? Is it possible that the trigger creates a file-not-found state in the Tomcat resource cache, and that’s what i

Re: Tomcat 9 returning 404 for audio files

2024-03-12 Thread Sam
Hi, Yes, path is tomcat/webapps/ROOT/wav/ As I said earlier, 404 error is only returned 1st time. Subsequent requests work fine. On Tue, Mar 12, 2024, 3:13 a.m. Anson Cheung wrote: > src="/wav/2B916004DFE94FA40446429E1671C893_0001053.mp3" > Please confirm that your file is placed under the p

RE: When does Tomcat add and remove threads?

2024-03-12 Thread John.E.Gregg
All, > -Original Message- > From: Christopher Schultz > Sent: Tuesday, March 12, 2024 8:31 AM > To: users@tomcat.apache.org > Subject: Re: When does Tomcat add and remove threads? > > John, > > On 3/11/24 18:14, john.e.gr...@wellsfargo.com.INVALID wrote: > > From: Christopher Schultz

Re: reloading context with manager-script

2024-03-12 Thread Christopher Schultz
Greg and Mark, On 3/12/24 05:00, Greg Huber wrote: On 11/03/2024 18:17, Christopher Schultz wrote: Mark, On 3/10/24 08:49, Mark Thomas wrote: On 10/03/2024 10:50, Greg Huber wrote: Hello, Using http://tomcat/manager-app/text/reload?path=/ When I reload an application (in java), I get a rep

Re: When does Tomcat add and remove threads?

2024-03-12 Thread Christopher Schultz
John, On 3/11/24 18:14, john.e.gr...@wellsfargo.com.INVALID wrote: From: Christopher Schultz Sent: Monday, March 11, 2024 5:09 PM > On 3/11/24 17:47, john.e.gr...@wellsfargo.com.INVALID wrote: I am using Tomcat 9.x. When does Tomcat add and remove threads from its internal thread pool? I'm

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

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/tomcat.service

Re: reloading context with manager-script

2024-03-12 Thread Greg Huber
Running it on the browser I get Content-Type : text/plain;charset=utf-8 On 11/03/2024 18:17, Christopher Schultz wrote: Mark, On 3/10/24 08:49, Mark Thomas wrote: On 10/03/2024 10:50, Greg Huber wrote: Hello, Using http://tomcat/manager-app/text/reload?path=/ When I reload an application (

Re: Tomcat 9 returning 404 for audio files

2024-03-12 Thread Anson Cheung
src="/wav/2B916004DFE94FA40446429E1671C893_0001053.mp3" Please confirm that your file is placed under the path "/apache-tomcat-9.0.30/webapps/ROOT/wav/" not " /wav/ " On Tue, Mar 12, 2024 at 11:20 AM Sam wrote: > Hi Chris, > > I'm creating the audio file dynamically from DB and I check if