Re: Start embedded Tomcat 9.0.1 server from java code

2017-11-03 Thread Maxim Solodovnik
I'm OK to add missing code to my tests, but I'm not sure what need to be added :( On Fri, Nov 3, 2017 at 3:24 PM, Maxim Solodovnik wrote: > I see no errors, > Using debugger I can see tomcat.server.state == STARTED > > Everything works as expected if I'm switching back to

HttpServletRequest in AsyncContext does not handle X-Forwarded-For (RemoteIpValve)

2017-11-03 Thread Enrico Olivelli
Hi, I am running a servlet and I get strange result for HttpServletRequest#getRemoteAddr(). I have configured RemoteIpValve which handles the X-Forwarded-For header and replaces the original IP address with the value contains in such header. I have an HttpServlet which dispacts the execution to

Re: Start embedded Tomcat 9.0.1 server from java code

2017-11-03 Thread Maxim Solodovnik
I see no errors, Using debugger I can see tomcat.server.state == STARTED Everything works as expected if I'm switching back to 8.5.23 without any other changes nestat reports: *netstat -an |grep 8080* tcp6 0 0 :::8080 :::*LISTEN for 8.5.23 On

Fw: TomCat 8.5.23 application not responding

2017-11-03 Thread DBolken
From: Christopher Schultz To: users@tomcat.apache.org Date: 11/02/2017 02:28 PM Subject:Re: TomCat 8.5.23 application not responding -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Darin, On 11/2/17 12:55 PM, dbol...@dsginc.biz wrote: > I have a

Re: security headers

2017-11-03 Thread Alejandro Vargas M.
You can help with an example of this url-rewrite to add this header, Please, Thanks in advance. On 11/01/2017 02:03 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Alejandro, On 11/1/17 3:37 PM, Alejandro Vargas M. wrote: Hello, I recently used on web.xml

Re: TomCat 8.5.23 application not responding

2017-11-03 Thread DBolken
From: Christopher Schultz To: users@tomcat.apache.org Date: 11/02/2017 02:28 PM Subject:Re: TomCat 8.5.23 application not responding -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Darin, On 11/2/17 12:55 PM, dbol...@dsginc.biz wrote: > I have a

The case of disappearing JARs

2017-11-03 Thread David Morris
I've got a case of disappearing JARs from my webapps lib folder which I can't seem to solve, hopefully someone on the list can provide some pointers. We've got a number of webapps which are deployed by an installer already exploded (The war is exploded and wrapped by the installer) without the

Re: Start embedded Tomcat 9.0.1 server from java code

2017-11-03 Thread Mark Thomas
On 03/11/17 04:51, Maxim Solodovnik wrote: > Hello, > > I recently migrated from Tomcat 8.5.23 to Tomcat 9.0.1 > Everything works as expected except tests :( > > I'm using following code to start embedded Tomcat and test CXF web services > [1]. > With Tomcat 9.0.1 tests failed, netstat -an