Tomcat socket listening timeouts

2019-04-22 Thread daniel zak
I'd like to report the same problem with socket listening timeouts as Vojtěch here: https://stackoverflow.com/questions/55723878/tomcat-socket-listening-timeouts/55728560#55728560 (ie: just updated from JDK8 to JDK11 and our Tomcat started reporting this warning (we use Docker image

Re: no temp directory creation wanted when embedding Tomcat

2019-04-22 Thread Mark Thomas
On 22/04/2019 14:37, Christopher Schultz wrote: > Garret, > > On 4/22/19 09:36, Christopher Schultz wrote: >> Mark, > >> On 4/22/19 06:58, Mark Thomas wrote: >>> On 21/04/2019 15:53, Garret Wilson wrote: As I mentioned in other emails, I am embedding Tomcat 9 (with OpenJDK 11 on

Re: Upgrade from Tomcat 7 to Tomcat 9.0.17

2019-04-22 Thread Mark Thomas
On 22/04/2019 12:32, Akram Hussain wrote: > Hi, > > So how can I access the file in shared\lib folder from tomcat\lib folder. > > I have a class in tomcat\lib which will access the class which is in > tomcat\shared folder. If you want the classes in shared\lib to be visible to both web

Re: programmatically setting MIME mappings for static-only site

2019-04-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Konstantin, On 4/19/19 19:05, Konstantin Kolinko wrote: > пт, 19 апр. 2019 г. в 19:29, Garret Wilson > :> >> I'm wanting to embed Tomcat to only serve static files (for the >> moment). That is, no JSP, etc. I also want to have the welcome >> files

Re: programmatically setting MIME mappings for static-only site

2019-04-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Garret, On 4/19/19 17:21, Garret Wilson wrote: > On 4/19/2019 5:12 PM, Christopher Schultz wrote: >>> On April 19, 2019 4:20:24 PM UTC, Garret Wilson >>> wrote: So I've probably answered my own question; this is an old TODO that

Re: no temp directory creation wanted when embedding Tomcat

2019-04-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Garret, On 4/22/19 09:36, Christopher Schultz wrote: > Mark, > > On 4/22/19 06:58, Mark Thomas wrote: >> On 21/04/2019 15:53, Garret Wilson wrote: >>> As I mentioned in other emails, I am embedding Tomcat 9 (with >>> OpenJDK 11 on Windows 10) to

Re: no temp directory creation wanted when embedding Tomcat

2019-04-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 4/22/19 06:58, Mark Thomas wrote: > On 21/04/2019 15:53, Garret Wilson wrote: >> As I mentioned in other emails, I am embedding Tomcat 9 (with >> OpenJDK 11 on Windows 10) to serve static files from `/foo/bar`. >> Currently I'm not

Re: unable to serve static files with embedded Tomcat

2019-04-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Garret, On 4/19/19 19:18, Garret Wilson wrote: > On 4/19/2019 8:04 PM, Rémy Maucherat wrote: >> On Fri, Apr 19, 2019 at 11:14 PM Garret Wilson >> wrote: >> >>> On 4/19/2019 3:24 PM, Rémy Maucherat wrote: >>> >>

Re: Upgrade from Tomcat 7 to Tomcat 9.0.17

2019-04-22 Thread Akram Hussain
Hi, So how can I access the file in shared\lib folder from tomcat\lib folder. I have a class in tomcat\lib which will access the class which is in tomcat\shared folder. Regards, Akram. On Mon, Apr 22, 2019 at 4:32 PM Mark Thomas wrote: > On 22/04/2019 06:41, Akram Hussain wrote: > > Hi Mark,

Re: Using custom Configurator with WebSockets

2019-04-22 Thread Mark Thomas
On 17/04/2019 22:58, Christopher Dodunski wrote: > Hello, > > Just a quick question with regard to extending > ServerEndpointConfig.Configurator to override Tomcat's default action of > instantiating the POJO class annotated with @ServerEndpoint on receiving a > WebSocket request. My reason for

Re: Upgrade from Tomcat 7 to Tomcat 9.0.17

2019-04-22 Thread Mark Thomas
On 22/04/2019 06:41, Akram Hussain wrote: > Hi Mark, > > Actually, I am declaring a Loader in tomcat\conf\context.xml file as Don't do that. > for Tomcat 7.0.68, It was working fine. >

Re: no temp directory creation wanted when embedding Tomcat

2019-04-22 Thread Mark Thomas
On 21/04/2019 15:53, Garret Wilson wrote: > As I mentioned in other emails, I am embedding Tomcat 9 (with OpenJDK 11 > on Windows 10) to serve static files from `/foo/bar`. Currently I'm not > supporting Java webapps. I'm not supporting JSP. I just want to serve > static files. > > From your help