Re: HTTP2 compression on Tomcat 8.5.31

2018-08-01 Thread Aayush Dev
Thanks Mark. Will wait for the release for our next production upgrade. -Aayush On Wed, Aug 1, 2018 at 5:08 PM, pc8...@gmail.com wrote: > Hurray! > > > > Mark Thomas 於 2018年8月1日 下午4:27 寫道: > > > >> On 25/07/18 23:05, Aayush Dev wrote: > >> With Tomcat 8.5.31, I cant enable gzip compression wit

Re: HTTP2 compression on Tomcat 8.5.31

2018-08-01 Thread pc8...@gmail.com
Hurray! > Mark Thomas 於 2018年8月1日 下午4:27 寫道: > >> On 25/07/18 23:05, Aayush Dev wrote: >> With Tomcat 8.5.31, I cant enable gzip compression with HTTP2 protocol. If >> someone has successfully enabled compression on Tomcat 8.5 with HTTP2 >> protocol, please help me with correct configuration. >

Re: configuring jndi datasource

2018-08-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Francesco, On 8/1/18 4:10 PM, Francesco Viscomi wrote: > I do not understand unfortunately; I have only one file under conf > directory: contex.xml; You shouldn't be modifying that file, because it will apply to all contexts. Instead, you should cr

Re: configuring jndi datasource

2018-08-01 Thread Mark Thomas
On 01/08/18 21:10, Francesco Viscomi wrote: > I do not understand unfortunately; > I have only one file under conf directory: contex.xml; > So every application installed on this instance of tomcat can view the > resource; It is like I have configured the resource globally; No it is not. Configu

Re: HTTP2 compression on Tomcat 8.5.31

2018-08-01 Thread Mark Thomas
On 25/07/18 23:05, Aayush Dev wrote: > With Tomcat 8.5.31, I cant enable gzip compression with HTTP2 protocol. If > someone has successfully enabled compression on Tomcat 8.5 with HTTP2 > protocol, please help me with correct configuration. Clean Tomcat 8.5.x dev build (should work with any releas

Re: configuring jndi datasource

2018-08-01 Thread Francesco Viscomi
I do not understand unfortunately; I have only one file under conf directory: contex.xml; So every application installed on this instance of tomcat can view the resource; It is like I have configured the resource globally; I can understand it, if every application has it's own context.xml file but

Re: Upgrade with async leads to infinite onDataAvailable

2018-08-01 Thread Mark Thomas
On 25/07/18 10:25, Sergey Mashkov wrote: > Hi > > I am facing problem in the following scenario: > > In response to an upgrade request I do upgrade, get WebConnection instance, > take UpgradedServletInputStream from it > As far it is a usual ServletInputStream I set ReadListener on it. It works >

Re: configuring jndi datasource

2018-08-01 Thread Mark Thomas
On 01/08/18 20:22, Francesco Viscomi wrote: > Hi all, > I'm using tomcat 8.5 and I need to configure a datasource in tomcat; > > If a configure it in the contex.xml file under conf directory using the tag > everythings goes well. > > But if I configure it in the server.xml file under the conf di

configuring jndi datasource

2018-08-01 Thread Francesco Viscomi
Hi all, I'm using tomcat 8.5 and I need to configure a datasource in tomcat; If a configure it in the contex.xml file under conf directory using the tag everythings goes well. But if I configure it in the server.xml file under the conf directory, a message tell me that the resource that i have

Re: What is the correct place to specifiy SPI service files for Java?

2018-08-01 Thread Mark Thomas
On 01/08/18 17:29, Thorsten Schöning wrote: > Guten Tag Mark Thomas, > am Mittwoch, 1. August 2018 um 17:34 schrieben Sie: > >> Nor should it. foo.war!/META-INF/services is not a valid location for an >> SPI file. > [...] >> The correct locations are: >> foo.war!/WEB-INF/lib/*.jar!/META-INF/servic

Re: Tomcat error at run-time.

2018-08-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Noel, On 8/1/18 1:13 AM, noel joseph wrote: > Hey Chris, I am having a little difficulty in logging. As mentioned > before I am new to tomcat and don't exactly know how to enable > logging. Could you please instruct me on how to do so. Can you post

Re: Re:

2018-08-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Francesco, On 8/1/18 4:16 AM, Francesco Viscomi wrote: >> I've configured tomcat with a host: MIosil-dd.net >> >> >> I can start the server, but when i try to reach it the server >> tell me: >> >> ERR_EMPTY_RESPONSE What URL did you use to make

Re: What is the correct place to specifiy SPI service files for Java?

2018-08-01 Thread Thorsten Schöning
Guten Tag Mark Thomas, am Mittwoch, 1. August 2018 um 17:34 schrieben Sie: > Nor should it. foo.war!/META-INF/services is not a valid location for an > SPI file. [...] > The correct locations are: > foo.war!/WEB-INF/lib/*.jar!/META-INF/services So your argument is that a WAR is not a JAR and only

Re: JAXB not available on Tomcat 9 and Java 10

2018-08-01 Thread Mark Thomas
On 27/07/18 15:36, Nicolai Parlog wrote: > Hi Christopher, > > unfortunately that didn't change the observable behavior - exact same > error message as when the JARs were in the application's lib folder. Java 10.0.2 Tomcat 9.0.11-dev I added the following to WEB-INF/lib: activation-1.1.1.jar ja

Re: Tomcat9 ROOT deploy

2018-08-01 Thread Mark Thomas
On 01/08/18 00:15, Mounika Reddy wrote: > What I found is when I renamed .xml to ROOT.xml in > /conf/Catalina/ > then war file exploded in to the ROOT directory in tomcat web apps > folder. Is this the expected behavior?? Yes. You have unpackWARs configured so that is what Tomcat does. It unpacks

Re: What is the correct place to specifiy SPI service files for Java?

2018-08-01 Thread Mark Thomas
On 01/08/18 08:20, Thorsten Schöning wrote: > Guten Tag Mark Thomas, > am Dienstag, 31. Juli 2018 um 19:30 schrieben Sie: > >> Correct.[...] > > But as could have been read in the following paragraph of my mail and > the SO-link, it doesn't work that way at least in Tomcat 7.0.90 even > without a

Re:

2018-08-01 Thread Francesco Viscomi
> I've configured tomcat with a host: MIosil-dd.net > > > I can start the server, but when i try to reach it the server tell me: > > ERR_EMPTY_RESPONSE > > > thanks really much > > > foolowing the server.xml > > > > > >SSLEngine="on" /> > > > >className="org.apache.catalina.core

Re: What is the correct place to specifiy SPI service files for Java?

2018-08-01 Thread Thorsten Schöning
Guten Tag Mark Thomas, am Dienstag, 31. Juli 2018 um 19:30 schrieben Sie: > Correct.[...] But as could have been read in the following paragraph of my mail and the SO-link, it doesn't work that way at least in Tomcat 7.0.90 even without absolute ordering in web.xml. > Enumeration resources; > if