Re: best practice for temporary file

2018-07-17 Thread James Finnall
Thank you! Had some problems but I was able to research the issues and find a solution to what I was doing wrong.  I did not have a "/cdn/ROOT" directory, mine is "/webapps/ROOT".  The Resource section needs to be with-in the Context section and not after it.  My original context.xml file only had

Java licensing

2018-07-17 Thread Jeffrey Beckstrom
How will Oracle's new licensing of Java affect Tomcat? Jeffrey Beckstrom Lead Database Administrator Information Technology Department Greater Cleveland Regional Transit Authority 1240 W. 6th Street Cleveland, Ohio 44113 - To u

RE: 21 second pause that randomly happens

2018-07-17 Thread charlie arehart
Going back to David's original note, you wrote, " We have a customer who is experiencing a random, 21 second pause when using out Tomcat based application server. We believe this may be during a TCP connect and timeout. Logging indicates the pause happens before the request makes it to our back

Re: best practice for temporary file

2018-07-17 Thread Chris Cheshire
James, this can be done using something like the following configuration in your META-INF/context.xml (I use tomcat 8.5) I use this to serve files at /images because they are dynamic content and not part of the war itself. Make sure the directory specified by "base" has read and write permis

Re: 21 second pause that randomly happens

2018-07-17 Thread tomcat
Some additional comments in the text below. But as a general comment : neither tomcat nor your application seem to log any error. This suggest that when a connection is established by the client, and it sends a request to tomcat on that conection, it does get processed without error (and appare

best practice for temporary file

2018-07-17 Thread James Finnall
Hello all, What is the best practice under Tomcat to create a data file and then allow the client to download it? So far all my attempts have failed.  If the Java app can write it then the client can not download, if client can download then the Java app can not write it. Does Tomcat have a prov