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

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 following

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

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

Re: Issue With SSI And JSP

2009-10-02 Thread Leonard Bedner
Mark Thomas wrote: Leonard Bedner wrote: When jsp is taken out of url-pattern. 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. You can't have the same resource served by two

Re: Issue With SSI And JSP

2009-10-03 Thread Leonard Bedner
Mark Thomas wrote: Leonard Bedner wrote: init-param param-namecontentType/param-name param-valuetext/x-server-parsed-html(;.*)?/param-value /init-param Leave this as is. Perhaps I am just not understanding how to use the content type, most

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

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
. This is tomcat apache-tomcat-5.5.20, JRE 15, WinXP. I can provide code snippets, if it would be helpful. (chart servlet is using jdk classes java.awt.image.BufferedImage to create image javax.imageio.ImageWriter that is wrapped on top of response.outputstream) Thanks Leonard

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
, 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 SocketException

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
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.getSession() generates

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

JSPwriterImpl generates IO exception while processing jsp:include 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

RE: JSPwriterImpl generates IO exception while processing jsp:includethat gets forwarded.

2009-07-25 Thread Leonard Gestrin
jsp:includethat gets forwarded. From: Leonard Gestrin [mailto:leonard.gest...@markettools.com] Subject: JSPwriterImpl generates IO exception while processing jsp:includethat gets forwarded. Is it illegal to forward request while processing include? No, but it's illegal to forward a request after

RE: JSPwriterImpl generates IO exception while processing jsp:include 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

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/

Re: Tomcat treating a directory as a file

2007-05-06 Thread Leonard Smith
Message - From: Leonard Smith [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Sunday, May 06, 2007 12:03 PM Subject: Tomcat treating a directory as a file 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

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

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

2012-07-05 Thread Simon, Leonard
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 want to run Apache and Tomcat on a single server running five websites using

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

2012-07-09 Thread Simon, Leonard
[0x7f73d320,0x7f73d6704318,0x7f73d671) Jul 9, 2012 11:37:47 AM org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina On Wed, Jul 4, 2012 at 9:02 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leonard, On 7/2/12 4:32 PM

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

2012-07-10 Thread Simon, Leonard
From: a...@ice-sa.com To: users@tomcat.apache.org Subject: Re: [EXTERNAL] Re: General Architecture Question for multiple websites on a single RedHat server Simon, Leonard wrote: Well our Tomcat went out to lunch again and we had to recycle the webserver to get things stablized

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

2012-07-10 Thread Simon, Leonard
- 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 unresponsive and looking at a top we see tomcat process taking

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 its_toas...@yahoo.com wrote: - Original Message - From: André Warnier

[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

答复: [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: >