Sam,
On 3/13/24 22:34, Sam wrote:
Thank you so much!
Finally issue is resolved.
Regards!
On Tue, Mar 12, 2024, 11:43 p.m. Anson Cheung
wrote:
ok,it's a problem caused by tomcat cache. You need to disable it. Please
refer to
Thank you so much!
Finally issue is resolved.
Regards!
On Tue, Mar 12, 2024, 11:43 p.m. Anson Cheung
wrote:
> ok,it's a problem caused by tomcat cache. You need to disable it. Please
> refer to
>
>
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:
> >
> 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
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
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
Hi Chris,
I'm creating the audio file dynamically from DB and I check if the file
exists using File.exists() method.
Before returning the html code with audio tag, I'm verifying that file
exists on File System.
Thanks!
On Mon, Mar 11, 2024 at 2:36 PM Christopher Schultz <
Sam,
On 3/11/24 13:04, Sam wrote:
On the server side, I'm checking that file exists before returning the file
path to the browser. We are also dynamically creating pdf files this way
and no issues with accessing them.
How are you checking to see if the file exists? It's possible that your
Service is running on Windows, I've verified no access issues!
Issue occurs only the first time, Subsequently audio loads properly.
Thank you!
On Mon, Mar 11, 2024 at 12:43 PM Ivano Luberti
wrote:
> Could it be the file is created with incorrect access rights?
>
> Il 11/03/2024 16:46, Mark
On the server side, I'm checking that file exists before returning the file
path to the browser. We are also dynamically creating pdf files this way
and no issues with accessing them.
I found something interesting:
https://tomcat.apache.org/tomcat-9.0-doc/config/resources.html From this
link:
Could it be the file is created with incorrect access rights?
Il 11/03/2024 16:46, Mark Thomas ha scritto:
On 11/03/2024 11:31, Sam wrote:
Thanks for replying!!
Yes audio files are generated dynamically from DB.in a Servlet.
I've verified that audio file exists on file system before
On 11/03/2024 11:31, Sam wrote:
Thanks for replying!!
Yes audio files are generated dynamically from DB.in a Servlet.
I've verified that audio file exists on file system before returning the
html code that contains audo control.
Is there any chance of an attempt to access the file before it
It's also possible you may need to support the "Range" HTTP header for
fetching parts of the audio file for playback. IIRC, we had to do that to
support the HTML 5 audio control properly.
On Mon, Mar 11, 2024 at 9:15 AM Joey Cochran wrote:
> Thanks for replying!!
>
> Yes audio files are
Thanks for replying!!
Yes audio files are generated dynamically from DB.in a Servlet.
I've verified that audio file exists on file system before returning the
html code that contains audo control.
I do NOT see this as a server side issue.
This reads like a client/DOM cache of resource issue
Thanks for replying!!
Yes audio files are generated dynamically from DB.in a Servlet.
I've verified that audio file exists on file system before returning the
html code that contains audo control.
On Mon, Mar 11, 2024, 5:22 a.m. Mark Thomas wrote:
> On 11/03/2024 02:21, Sam wrote:
> > I just
On 11/03/2024 02:21, Sam wrote:
I just upgraded a legacy application from Tomcat 7 to Tomcat 9. It's
deployed as a war file. I'm facing a weird issue with audio files playback.
When loading a page that contains an audio file. First time Tomcat returns
404 error but if reloading the page, audio
I just upgraded a legacy application from Tomcat 7 to Tomcat 9. It's
deployed as a war file. I'm facing a weird issue with audio files playback.
When loading a page that contains an audio file. First time Tomcat returns
404 error but if reloading the page, audio file is loaded properly and no
17 matches
Mail list logo