context destroy method only be called once

2019-01-21 Thread Aryeh Friedman
Platform / tomcat version: Tomcat 9.0.13 / FreeBSD 11.2-RELEASE (amd64) [from ports collection without modification] I have 3 ServletContextListener concrete classes and on tomcat start all 3 contextInitalized() methods are called, and complete,but on tomcat stop only one of the three

rewritevalve logging

2019-01-21 Thread Chris Cheshire
I am trying to convert some url rewriting rules from tuckey rewrite filter to tomcat's rewrite valve. In my context.xml I have In my WEB-INF directory I have a rewrite.config file with a couple of rules. In tomcat's logging.properties I have

Re: Tomcat 8.5 Error related to Encoding Detector

2019-01-21 Thread Phumelela Mdluli
Hi there, Your rosehosting source seems legit, may even try going straight to Apache website. The http status code 500 is "an internal server error". Please share your tomcat log files i.e. Catalina.out. Seems clear that your tomcat server/container download is not playing well with something.

Re: Tomcat 9 : How to access Http/2 pseudoHeaders info from Request

2019-01-21 Thread Mark Thomas
On 21/01/2019 08:36, Abhishek kumar srivastava wrote: > Hi All , > > I want to access the value of "host" header at the Back-End in > servlet-filter , Before Http/2.0 Host information was available in the > Headers . > After switching to Http/2 I am able to send the request and receive the >

Tomcat 9 : How to access Http/2 pseudoHeaders info from Request

2019-01-21 Thread Abhishek kumar srivastava
Hi All , I want to access the value of "host" header at the Back-End in servlet-filter , Before Http/2.0 Host information was available in the Headers . After switching to Http/2 I am able to send the request and receive the response but information about the "host" header is not accessible on