Re: how to block bad request?

2023-01-09 Thread Jason Wee
, > > On 1/4/23 09:07, Mark Thomas wrote: > > On 04/01/2023 04:09, Jason Wee wrote: > >> Hi, > >> > >> Happy new year everyone. > >> > >> Background of my production setup. Using tomcat 10 and in linux > >> environment, using the fol

how to block bad request?

2023-01-03 Thread Jason Wee
Hi, Happy new year everyone. Background of my production setup. Using tomcat 10 and in linux environment, using the following accesslog valve %a %{X-Forwarded-For}i %h %l %u %t '%r' %s %b '%{Referer}i' '%{User-Agent}i' %D %S api.access_log.2022-12-20.txt:94.102.61.23 - 94.102.61.23 - -

Re: Question about upgrade from Tomcat 7 to Tomcat 9.0.67

2022-10-05 Thread Jason Wee
i would normally do a diff between your current version and the next tomcat version you want to upgrade to and go through the diff slowly. it is better to be careful and note the changes than sorry later. On Wed, Oct 5, 2022 at 9:17 PM Mark Thomas wrote: > > > > On 05/10/2022 09:17, Terry ST

Re: Tomcat unresponsive

2022-09-29 Thread Jason Wee
could be waiting for i/o or some others... what tomcat version ? On Thu, Sep 29, 2022 at 5:57 PM Christoph Empl wrote: > > Hello, > > i’m facing a problem that my tomcat seems to become unresponsive if it’s > under a certain load. > > Most threads in threaddumps look like this: > > >

Re: Regarding IPv6 support

2022-08-03 Thread Jason Wee
connector that the server should listen on. Do I have to add any other > property or am I missing something? > > On Wed, Aug 3, 2022 at 12:51 PM Jason Wee wrote: > > > yes, it should, read here > > https://tomcat.apache.org/tomcat-7.0-doc/config/http.html > > > >

Re: Regarding IPv6 support

2022-08-03 Thread Jason Wee
yes, it should, read here https://tomcat.apache.org/tomcat-7.0-doc/config/http.html On Wed, Aug 3, 2022 at 3:19 PM Nitish Chitta wrote: > > Hello Team, > I wanted to know if Tomcat 7 supports requests with IPv6 addresses in the > URL as I am getting an HTTP 404 error when trying to hit the

Re: Compile JSP pages dynamically using Tomcat 6.0.45

2022-06-13 Thread Jason Wee
i, > > Does ecj 4.6.1 support jsp compilation without JDK ? We would like to > replace JDK with JRE. > > > Regards, > Pavan > > On Mon, Jun 13, 2022 at 3:46 PM Jason Wee wrote: > > > yes, i used to use tomcat version 6.0.29 then upgraded to 6.0.53 > > event

Re: Compile JSP pages dynamically using Tomcat 6.0.45

2022-06-13 Thread Jason Wee
yes, i used to use tomcat version 6.0.29 then upgraded to 6.0.53 eventually jsp cannot compile to java 8 spec, so i have to upgrade ecj to version 4.6.1 and using jdk8u74. But these were all I can recalled. hth On Mon, Jun 13, 2022 at 5:48 PM Pavan Kumar Tiruvaipati wrote: > > Hi, > > Our

Re: Upgrade tomcat 7 to 10.

2022-05-26 Thread Jason Wee
As what Christopher Schultz mentioned, "including switching package names", i.e. from javax to jakarta.. when I did the webapp migration to tomcat 10, I had to make all the libraries to reference jakarta though, including taglib-mailer, jsp and so on. hth Jason On Fri, May 27, 2022 at 8:53 AM

Re: tomcat 9.50 - rewrite rule question

2022-03-19 Thread Jason Wee
have you try? RewriteRule ^/apex/f?p=1001 /apex/myapp [R,L] On Sat, Mar 19, 2022 at 2:05 PM rupali singh wrote: > > Hi Team, > > We are using tomcat 9.54 version. > Need help in rewriting rule. > > background : We have an Oracle apex server ( version 21.1) and tomcat is > installed on the

Re: javax.servlet vs jakarta.servlet?

2021-12-27 Thread Jason Wee
yeap, also take note libs that depend on the new namespace and taglibs On Tue, Dec 28, 2021 at 8:35 AM Michael B Allen wrote: > > Hello Tomcat Users, > > Does anyone have a sense of how many people are using the jakarta.servlet API? > > I have a product that includes some classes that use

Re: tomcat hangs

2021-09-09 Thread Jason Wee
must be the problem of your webapp... show all webapp codes? On Thu, Sep 9, 2021 at 6:51 PM Mehrdad Taagholi wrote: > > HiI use apache tomcat 8.0.32 and oracle-jdk-8u66 and redhat 6.After working > with the system for a few hours and the load on the system increases, > suddenly the tomcat

Re: java.lang.ClassNotFoundException: javax.servlet.Filter

2021-02-15 Thread Jason Wee
patch, please also let me know so I can contribute back to the tomcat community. Thank. Jason On Mon, Feb 15, 2021 at 11:35 PM Woonsan Ko wrote: > > On Mon, Feb 15, 2021 at 7:19 AM Jason Wee wrote: > > > > okay, currently there is no custom application code, I just build t

Re: java.lang.ClassNotFoundException: javax.servlet.Filter

2021-02-15 Thread Jason Wee
/WebBeansConfigurationListener.java#L36 ? Jason On Mon, Feb 15, 2021 at 6:19 PM Mark Thomas wrote: > > On 15/02/2021 08:26, Jason Wee wrote: > > Using Apache Tomcat 10.0.2, build owb and cxf and placed into lib directory > > > > tomcat-cxf-3.4.1.jar > > tomcat-

java.lang.ClassNotFoundException: javax.servlet.Filter

2021-02-15 Thread Jason Wee
Using Apache Tomcat 10.0.2, build owb and cxf and placed into lib directory tomcat-cxf-3.4.1.jar tomcat-owb-2.0.20.jar reading reference, https://tomcat.apache.org/tomcat-10.0-doc/cdi.html and when i start tomcat, I get the following exception ==> localhost.2021-02-15.log <== 15-Feb-2021

owb and cxf module should include in the release source package

2021-02-08 Thread Jason Wee
Reading https://tomcat.apache.org/tomcat-10.0-doc/cdi.html , ``` cd $TOMCAT_SRC/modules/owb mvn clean && mvn package ``` this is not included in the release source package but can only be found https://github.com/apache/tomcat/tree/master/modules , is this intentional or the documentation need

Re: tomcat http error code 502

2020-10-25 Thread Jason Wee
a 502 > response thanks, this is helpful, I have checked my codebase, the 502 that client receives would probably be at client proxy. Jason On Thu, Oct 22, 2020 at 9:44 PM Christopher Schultz wrote: > > Jason, > > On 10/22/20 01:36, Jason Wee wrote: > > using tomcat 8.5.42 and h

tomcat http error code 502

2020-10-21 Thread Jason Wee
Hi, using tomcat 8.5.42 and have the following questions * will tomcat log http error 502 in accesslog? * under what situation will tomcat return 502? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For

Re: Issue found during migration of Tomcat version 6.0.35 to 8.5.5

2020-06-15 Thread Jason Wee
guess looks like jar not found, full stacktrace would be helpful. On Mon, Jun 15, 2020 at 8:17 PM Lavitesh Verma wrote: > Hi Team, > > > > Below are the details of the system and tomcat version > > Old tomcat version: *Apache Tomcat/6.0.35* > > New tomcat version: *Apache Tomcat/8.5.5* > >

Re: OpenSSL config for Tomcat 7

2020-02-28 Thread Jason Wee
when you stack them, do you mean you cat those certificates into one pem file? On Sat, Feb 29, 2020 at 8:22 AM John Beaulaurier -X (jbeaulau - ADVANCED NETWORK INFORMATION INC at Cisco) wrote: > > Hello, > > We're running Tomcat 7 and need to implement SSL. We are using APR/OpenSSL, > but I

Re: Unable to start tomcat

2020-02-25 Thread Jason Wee
have you try google? https://stackoverflow.com/questions/4415175/an-operation-on-a-socket-could-not-be-performed-because-the-system-lacked-suffi On Wed, Feb 26, 2020 at 2:47 PM wrote: > > Dear Jason, > > Thank for your reply. I am unable to understand below hint. Will you > please help me out.

Re: Unable to start tomcat

2020-02-25 Thread Jason Wee
This looks informative and should give u hint and where you should begin troubleshooting. org.apache.tomcat.jni.Error: 730055: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full. On Wed, Feb 26, 2020 at 2:30 PM wrote: >

org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun

2019-08-06 Thread Jason Wee
Hi, we are using tomcat version 8.5.20 and we encounter the following exceptions 24-Jul-2019 23:24:45.398 SEVERE [https-jsse-nio-8443-exec-104] org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun java.lang.IllegalArgumentException at java.nio.Buffer.position(Buffer.java:244) at

Re: Does Tomcat server printout System.out.print infor?

2019-05-11 Thread Jason Wee
default tomcat , when you print, logging should goes to catalina.out. In any case, check logging.properties in tomcat directory on where the logging configured. as for realm, it can be configure in the context element, which mean in the META-INF/context.xml, see

Re: ecj-4.6.3 no longer required?

2019-03-26 Thread Jason Wee
which 8.5.x u were referring? i just checked 8.5.39 has ecj in lib directory. On Wed, Mar 27, 2019 at 1:58 AM David Cleary wrote: > > I'm current updating our server that is based on Tomcat 8.5.x and found that > ecj-4.6.3.jar is no longer in the distribution. The changelog does not note >