Re: Tomcat Redirect Port 80 to 443 and Block OPTIONS HTTP Method

2022-10-10 Thread Christopher Schultz
Bhavesh, On 10/10/22 22:05, Bhavesh Mistry wrote: I figured out the issue by default *mapperContextRootRedirectEnabled is true* hence it was redirecting it. By setting it false, I was able to get controller to filter. At the risk of complicating things, if I were you I would handle this com

Re: Tomcat Redirect Port 80 to 443 and Block OPTIONS HTTP Method

2022-10-10 Thread Bhavesh Mistry
I figured out the issue by default *mapperContextRootRedirectEnabled is true* hence it was redirecting it. By setting it false, I was able to get controller to filter. wrote: > Hi Mark , > > Thank you for your feedback. I have made all the changes needed and it is > working as expected except

Re: Tomcat Redirect Port 80 to 443 and Block OPTIONS HTTP Method

2022-10-10 Thread Bhavesh Mistry
Hi Mark , Thank you for your feedback. I have made all the changes needed and it is working as expected except for ONE use case where the servlet context path does not end with */*. When server context path is given without / ('/versa'), tomcat seems to do 302 redirect to automatically '/versa/

RE: Strange timeout: is it Tomcat, or is it some intermediate stage?

2022-10-10 Thread Hiran CHAUDHURI
CONFIDENTIAL & RESTRICTED To me the "nginx/1.20.0" is a hint that between your client and Tomcat there is some NginX running, and likely that one's timeout is expiring. It is no indication though what was going on with Tomcat, and why it may have taken that long. Hiran -Original Message---

Strange timeout: is it Tomcat, or is it some intermediate stage?

2022-10-10 Thread James H. H. Lampert
Lately, we've been getting this response to a web service call. The web service is our own, running under Tomcat on an Amazon "beanstalk"; the client is also our own, running on a customer's IBM Midrange box. 504 Gateway Time-out 504 Gateway Time-out nginx/1.20.0 It's a long-

Re: Cannot find annotation method 'value()' in type 'aQute.bnd.annotation.spi.ServiceConsumer'

2022-10-10 Thread Garret Wilson
On 10/10/2022 12:14 AM, Mark Thomas wrote: … That is a fairly old version. You should upgrade to the latest version first. I certainly will. I first went through a long list of linting problems in the project; this was one of the things left over. I wanted to understand it more. If you w

[ANN] Apache Tomcat 10.0.27 available

2022-10-10 Thread Mark Thomas
The Apache Tomcat team announces the immediate availability of Apache Tomcat 10.0.27. This release is targeted at Jakarta EE 9. Applications that run on Tomcat 9 and earlier will not run on Tomcat 10 without changes. Java EE applications designed for Tomcat 9 and earlier may be placed in the $

Re: Cannot find annotation method 'value()' in type 'aQute.bnd.annotation.spi.ServiceConsumer'

2022-10-10 Thread Mark Thomas
On 09/10/2022 20:50, Garret Wilson wrote: I have a Java 11 project embedding Tomcat: ```xml   org.apache.tomcat.embed   tomcat-embed-core   9.0.50 ``` That is a fairly old version. You should upgrade to the latest version first. The Tomcat-specific code is in a subproject with only two