Websocket: Disable compression/permessage-deflate

2023-10-02 Thread Leonard
Hi, I am debugging a performance issue related to sending binary WebSocket messages using Tomcat (embed/Spring Boot) 10.1.4 on Java 20 and MacOS 13.5.2. For this I try to disable compression ("PerMessageDeflate") when sending messages. The solution described here https://stackoverflow.com/a/30

答复: [Tomcat] Error page not work for 400 error.

2018-08-05 Thread Leonard Afeng
ed but the return was not worked. 发送自 Windows 10 版邮件应用 发件人: Mark Thomas 发送时间: 2018年8月6日 3:32 收件人: users@tomcat.apache.org 主题: Re: [Tomcat] Error page not work for 400 error. On 05/08/2018 04:13, Leonard Afeng wrote: > Dear all, > > I custom the error page in web.xml as below: >

[Tomcat] Error page not work for 400 error.

2018-08-04 Thread Leonard Afeng
Dear all, I custom the error page in web.xml as below: 400 /error400.html 404 /error404.html java.lang.IllegalArgumentException /error404.html And I added some log action in org.apache.catalina.util.ErrorPageSupport and found out that in some case the 400 error pag

Re: [EXTERNAL] Re: Re: Re: General Architecture Question for multiple websites on a single RedHat server

2012-07-11 Thread Simon, Leonard
Mark, I really do appreciate your time in assisting, It's these up front sessions that could lead to consulting gigs later on. Free consultations pay off in the end. On Tue, Jul 10, 2012 at 3:33 PM, Mark Eggers wrote: > - Original Message - > > > From: André Warnier > > To: Tomcat Use

Re: [EXTERNAL] Re: Re: General Architecture Question for multiple websites on a single RedHat server

2012-07-10 Thread Simon, Leonard
SIGNED MESSAGE- > Hash: SHA1 > > Simon, > > On 7/9/12 4:24 PM, Simon, Leonard wrote: > > Well our Tomcat went out to lunch again and we had to recycle the > > webserver to get things stablized. By this I mean we get reports > > from the users that screens become unre

Re: [EXTERNAL] RE: Re: General Architecture Question for multiple websites on a single RedHat server

2012-07-10 Thread Simon, Leonard
pouvons accepter > aucune responsabilité pour le contenu fourni. > > > > Date: Mon, 9 Jul 2012 22:42:21 +0200 > > From: a...@ice-sa.com > > To: users@tomcat.apache.org > > Subject: Re: [EXTERNAL] Re: General Architecture Question for multiple > websites on a single R

Re: [EXTERNAL] Re: General Architecture Question for multiple websites on a single RedHat server

2012-07-09 Thread Simon, Leonard
id=0x7f7558025000 nid=0x2c3 runnable "GC task thread#12 (ParallelGC)" prio=10 tid=0x7f7558026800 nid=0x2c5 runnable "GC task thread#13 (ParallelGC)" prio=10 tid=0x7f7558028800 nid=0x2c6 runnable "GC task thread#14 (ParallelGC)" prio=10 tid=0x7f755802a8

Re: [EXTERNAL] Re: General Architecture Question for multiple websites on a single RedHat server

2012-07-05 Thread Simon, Leonard
hultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Leonard, > > On 7/2/12 4:32 PM, Simon, Leonard wrote: > > Our goals are as follows: > > > > The operating system will be RHEL 6.X. > > > > We wa

General Architecture Question for multiple websites on a single RedHat server

2012-07-02 Thread Simon, Leonard
Our goals are as follows: The operating system will be RHEL 6.X. We want to run Apache and Tomcat on a single server running five websites using different ports for each. Our goal is to manage each web server independently, i.e., separate shutdown and startup scripts and hopefully different lo

Re: Issue With SSI And JSP

2009-10-03 Thread Leonard Bedner
Mark Thomas wrote: > > Leonard Bedner wrote: >>>> >>>> contentType >>>> text/x-server-parsed-html(;.*)? >>>> > > Leave this as is. > >> Perhaps I am just not understanding how to u

Re: Issue With SSI And JSP

2009-10-02 Thread Leonard Bedner
Mark Thomas wrote: > > Leonard Bedner wrote: >> When jsp is taken out of . it returns the time, and the >> context >> path perfectly. When I add it back though, I just get whitespace. >> >> Any ideas? > > JSP processing is also done by a servlet. Yo

Issue With SSI And JSP

2009-10-01 Thread Leonard Bedner
Hello all. First off, here are my specs: Windows XP Professional Edition Tomcat 6.x Java EE Project Eclipse So, as stated in the title, I am having some issues regarding the use of SSI and my JSP pages. Currently, I am taking my website that was done for me many years ago, and turning it from a

RE: JSPwriterImpl generates IO exception while processing that gets forwarded.

2009-07-25 Thread Leonard Gestrin
Hi Martin, The filter is just a pass through to application code - it only gets to work if there is runtime exception coming back from processing request. ErrorHandlerFilter is mapped to REQUEST, FORWARD, INCLUDE It has Try{ filterChain.doFilter(request, response); } catch (throwable th)

RE: JSPwriterImpl generates IO exception while processing that gets forwarded.

2009-07-25 Thread Leonard Gestrin
your responses; -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Saturday, July 25, 2009 6:48 PM To: Tomcat Users List Subject: RE: JSPwriterImpl generates IO exception while processing that gets forwarded. > From: Leonard Gestrin [m

JSPwriterImpl generates IO exception while processing that gets forwarded.

2009-07-25 Thread Leonard Gestrin
Hello, This is my second attempt to get anyone's opinion if what's happening is a defect or it can be prevented somehow. I hope it generates more replies. In my webapp application I have servlet filter that handles error handling for runtime exceptions; when such exception happens, it forwards

java.io.IOException: Stream closed org.apache.jasper.runtime.JspWriterImpl.ensureOpen(JspWriterImpl.java:204) on forward while processing jsp:include

2009-07-20 Thread Leonard Gestrin
Hello, In my application I have servlet filter that handles error handling for runtime exceptions; when such exception happens, it forwards request to error page where user-frienldy error is presented. It works fine for most of the cases, however, if runtime exception happens during processing

solution RE: request.getSession() generates IllegalStateException in top filter(appears, response not being recycled properly if SocketException happenedfor it in the past)

2009-04-17 Thread Leonard Gestrin
mcat Users List Subject: RE: request.getSession() generates IllegalStateException in top filter(appears, response not being recycled properly if SocketException happenedfor it in the past) > From: Leonard Gestrin [mailto:leonard.gest...@markettools.com] > Subject: request.getSes

RE: request.getSession() generates IllegalStateException in top filter(appears, response not being recycled properly if SocketException happenedfor it in the past)

2009-04-16 Thread Leonard Gestrin
pears, response not being recycled properly if SocketException happenedfor it in the past) > From: Leonard Gestrin [mailto:leonard.gest...@markettools.com] > Subject: request.getSession() generates IllegalStateException in top > filter(appears, response not being recycled properly if S

request.getSession() generates IllegalStateException in top filter (appears, response not being recycled properly if SocketException happened for it in the past)

2009-04-15 Thread Leonard Gestrin
Hello, This is my first post on the list and I've been using tomcat for few years, so I want to start off stating that it is an excellent product. However, I've ran into an issue, which I am not sure what to do about. We have jsp that displays multiple images, which is being written directly to

Re: Apache / Tomcat - Mod_jk

2009-04-08 Thread Leonard
Hi André That's got to be the easiest fix ever. Thanks, that worked! André Warnier wrote: Leonard wrote: Hi, I have am having some trouble getting my Apache/Tomcat/Mod_jk setup to work. In short, the folder I specify in my Apache Vhost is not accessible. I have added the followin

Apache / Tomcat - Mod_jk

2009-04-08 Thread Leonard
Hi, I have am having some trouble getting my Apache/Tomcat/Mod_jk setup to work. In short, the folder I specify in my Apache Vhost is not accessible. I have added the following to my vhost: JkMount /vhost1/* vhost1Worker I can access the domain itself, but when I try accessing the domain wit

How to get list of IP addresses and ports Tomcat is listening on, in a web-app

2009-03-19 Thread Leonard Smith
To all, I am writing a webapp which runs under tomcat 6.0.18 and I am new to java. My webapp is configured to load on startup and in the init method/function I want to get the list of IP addresses and ports that can be used to connect to my web-app. I cannot use the HttpServletRequest or ServletRe

Re: Tomcat treating a directory as a file

2007-05-06 Thread Leonard Smith
formation intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: &q

Tomcat treating a directory as a file

2007-05-06 Thread Leonard Smith
To all, I'm running Tomcat 5.5 on linux and I'm running into a problem with URLs. I have a directory in my webapp called "help" with an index.html in that directory. If I goto the URL http://foo.bar/help I get a 404 and the index.html is not loaded. However if I goto the URL http://foo.bar/help/