AW: AW: Many IllegalStateException when using http2 protocol

2022-03-30 Thread Thomas Hoffmann (Speed4Trade GmbH)
> -Ursprüngliche Nachricht- > Von: Mark Thomas > Gesendet: Mittwoch, 30. März 2022 10:43 > An: users@tomcat.apache.org > Betreff: Re: AW: Many IllegalStateException when using http2 protocol > > On 27/03/2022 19:43, Thomas Hoffmann (Speed4Trade GmbH) wrot

Re: AW: Many IllegalStateException when using http2 protocol

2022-03-30 Thread Mark Thomas
On 27/03/2022 19:43, Thomas Hoffmann (Speed4Trade GmbH) wrote: Hello Konstantin and Mark, I could further track down the issue. The stracktrace is not written any more to the log with Tomcat 9.0.18 but the client problem still persist. I am also able to reproduce the problem with few tries n

AW: Many IllegalStateException when using http2 protocol

2022-03-27 Thread Thomas Hoffmann (Speed4Trade GmbH)
gt; > > > 48) > > > > > > at > > > > > > > > > > > org.apache.catalina.filters.ExpiresFilter$XPrintWriter.write(ExpiresFilter.java: > > > > > 850) > > > > > > at >

AW: Many IllegalStateException when using http2 protocol

2022-03-16 Thread Thomas Hoffmann (Speed4Trade GmbH)
> -Ursprüngliche Nachricht- > Von: Thomas Hoffmann (Speed4Trade GmbH) > > Gesendet: Donnerstag, 10. März 2022 21:22 > An: Tomcat Users List > Betreff: AW: Many IllegalStateException when using http2 protocol > > > > > -Ursprüngliche Nachricht

AW: Many IllegalStateException when using http2 protocol

2022-03-10 Thread Thomas Hoffmann (Speed4Trade GmbH)
> -Ursprüngliche Nachricht- > Von: Konstantin Kolinko > Gesendet: Donnerstag, 10. März 2022 16:31 > An: Tomcat Users List > Betreff: Re: Many IllegalStateException when using http2 protocol > > чт, 10 мар. 2022 г. в 18:16, Thomas Hoffm

Re: Many IllegalStateException when using http2 protocol

2022-03-10 Thread Konstantin Kolinko
чт, 10 мар. 2022 г. в 18:16, Thomas Hoffmann (Speed4Trade GmbH) : > > > -Ursprüngliche Nachricht- > > Von: Konstantin Kolinko > > Gesendet: Mittwoch, 9. März 2022 00:52 > > An: Tomcat Users List > > Betreff: Re: Many IllegalStateException when using http2

AW: Many IllegalStateException when using http2 protocol

2022-03-10 Thread Thomas Hoffmann (Speed4Trade GmbH)
> -Ursprüngliche Nachricht- > Von: Konstantin Kolinko > Gesendet: Mittwoch, 9. März 2022 00:52 > An: Tomcat Users List > Betreff: Re: Many IllegalStateException when using http2 protocol > > пн, 7 мар. 2022 г. в 16:26, Thomas Hoffmann (Speed4Trade GmbH) > : >

Re: Many IllegalStateException when using http2 protocol

2022-03-09 Thread Mark Thomas
): @Override public final synchronized int doWrite(ByteBuffer chunk) throws IOException { if (closed) { throw new IllegalStateException( sm.getString("stream.closed", getConnectionId(), getIdAsString())); I wonder why

Re: Many IllegalStateException when using http2 protocol

2022-03-08 Thread Konstantin Kolinko
ava:702) > ... > > The jsp-file varies between the stacktraces, so it is not related to a > certain jsp-File. > The stream.java looks like (which didn’t change from Tomcat 9 to 10): > @Override > public final synchronized int doWrite(ByteBuffe

AW: AW: Many IllegalStateException when using http2 protocol

2022-03-08 Thread Thomas Hoffmann (Speed4Trade GmbH)
> -Ursprüngliche Nachricht- > Von: Mark Thomas > Gesendet: Dienstag, 8. März 2022 11:52 > An: users@tomcat.apache.org > Betreff: Re: AW: Many IllegalStateException when using http2 protocol > > On 08/03/2022 10:05, Thomas Hoffmann (Speed4Trade GmbH) wrote: >

Re: AW: Many IllegalStateException when using http2 protocol

2022-03-08 Thread Mark Thomas
On 08/03/2022 10:05, Thomas Hoffmann (Speed4Trade GmbH) wrote: Hello, today I got feedback from users, that pages are sometimes not shown. After pressing F5 the website shows up again. So this error also has effects on client side. I am not sure if it is related to Tomcat 10 Upgrade. At least I

AW: Many IllegalStateException when using http2 protocol

2022-03-08 Thread Thomas Hoffmann (Speed4Trade GmbH)
IllegalStateException when using http2 protocol Hello, Since upgrading from Tomcat 9.0.56 to Tomcat 10.0.16, the localhost-logfile is filling up with stacks of the form: 07-Mar-2022 07:24:01.780 SCHWERWIEGEND [https-openssl-nio-443-exec-21] org.apache.catalina.core.ApplicationDispatcher.invoke

Many IllegalStateException when using http2 protocol

2022-03-07 Thread Thomas Hoffmann (Speed4Trade GmbH)
) { throw new IllegalStateException( sm.getString("stream.closed", getConnectionId(), getIdAsString())); } The generated java file from the jsp file only catches IOException: ... if (!(t instanceof jakarta.servlet.jsp.SkipPageException)){

Re: Sometimes HttpServletRequest#asyncStart throws IllegalStateException

2021-01-04 Thread Mark Thomas
but you'll still need to catch and handle any exceptions when reading or writing. > Otherwise, should I catch the IllegalStateException? No. IllegalStateException indicates a bug (probably an application bug but possibly a Tomcat one). For the error you describe to occur the request

Sometimes HttpServletRequest#asyncStart throws IllegalStateException

2021-01-04 Thread Nicolò Boschi
check before calling asyncStart() ? Otherwise, should I catch the IllegalStateException? I'm using v9.0.39 Nicolò Boschi

Re: IllegalStateException when updating Spring Boot to 2.1.7

2020-02-21 Thread Mark Thomas
On 20/02/2020 19:15, F Amer wrote: > I have a Spring Boot application, which is running fine and has with > the following setup > > - Spring Webflux + Tomcat > - Spring Actuator as dependency. > - Spring Boot 2.1.2 > - Java 1.8.0_212 > - Gradle 5.1 to build > > However when I update to Spring Boo

IllegalStateException when updating Spring Boot to 2.1.7

2020-02-20 Thread F Amer
I have a Spring Boot application, which is running fine and has with the following setup Spring Webflux + Tomcat 9 I have a Spring Boot application, which is running fine and has with the following setup - Spring Webflux + Tomcat - Spring Actuator as dependency. - Spring Boot 2.1.2 - Java 1.8.0_

Re: Tomcat session replikation reports: IllegalStateException: setAttribute: Session [..] has already been invalidated

2016-05-23 Thread Knut Sander
Am 23.05.2016 um 10:57 schrieb Keiichi Fujino: > Is the channelSendOptions default? yes, everything is default so I expect channelSendOptions = 8 (SEND_OPTIONS_ASYNCHRONOUS). > In DeltaManager, > when the session expired, if there is a change in the session, replicates > the attributes of session.

Re: Tomcat session replikation reports: IllegalStateException: setAttribute: Session [..] has already been invalidated

2016-05-23 Thread Keiichi Fujino
Is the channelSendOptions default? In DeltaManager, when the session expired, if there is a change in the session, replicates the attributes of session. And then, replicates the invalidated of the session. Usually, although this order is not reversed, if you want to ensure this order, you can set t

Tomcat session replikation reports: IllegalStateException: setAttribute: Session [..] has already been invalidated

2016-05-20 Thread Knut Sander
Hi! We are running Tomcat 7.0.68 with SimpleTcpCluster with two nodes on different hosts. server.xml: [..] [..] [..] Everything works fine, except the messages below in catalina.out. The problem seems to occur, if a session is modified and invalidated during the same request (which is qu

Re: Tomcat throws IllegalStateException “The remote endpoint was in state [BINARY_FULL_WRITING] …” when calling RemoteEndpoint.Async.sendBinary concurrently on the same session

2015-10-27 Thread Mark Thomas
On 27/10/2015 19:33, Farzad Panahi wrote: > Thanks Mark for your quick response. > > But how do I know the previous message is finished? RemoteEndpoint > does not expose the state. Yes it does. Via the Future or the SendHandler depending on how you sent the async message. For the Basic handler,

Re: Tomcat throws IllegalStateException “The remote endpoint was in state [BINARY_FULL_WRITING] …” when calling RemoteEndpoint.Async.sendBinary concurrently on the same session

2015-10-27 Thread Farzad Panahi
binaryStart(WsRemoteEndpointImplBase.java:1101) >> at >> org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendBytesByCompletion(WsRemoteEndpointImplBase.java:152) >> at >> org.apache.tomcat.websocket.WsRemoteEndpointAsync.sendBinary(WsRemoteEndpointAsync.java:65) >> >> From what

Re: Tomcat throws IllegalStateException “The remote endpoint was in state [BINARY_FULL_WRITING] …” when calling RemoteEndpoint.Async.sendBinary concurrently on the same session

2015-10-27 Thread Mark Thomas
et.WsRemoteEndpointImplBase$StateMachine.binaryStart(WsRemoteEndpointImplBase.java:1101) > at > org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendBytesByCompletion(WsRemoteEndpointImplBase.java:152) > at > org.apache.tomcat.websocket.WsRemoteEndpointAsync.sendBinary(WsRemoteEndpointAsync.java:65) > > From what I unders

Tomcat throws IllegalStateException “The remote endpoint was in state [BINARY_FULL_WRITING] …” when calling RemoteEndpoint.Async.sendBinary concurrently on the same session

2015-10-27 Thread Farzad Panahi
java:152) at org.apache.tomcat.websocket.WsRemoteEndpointAsync.sendBinary(WsRemoteEndpointAsync.java:65) >From what I understand from java doc, RemoteEndpoint.Async.sendBinary should not throw IllegalStateException: > sendBinary void sendBinary(ByteBuffer data, SendHandler handler) > Throws: IllegalArgumentException - if eithe

Re: IllegalStateException sending WebSocket message that worked a few months ago

2013-11-26 Thread Nick Williams
On Nov 26, 2013, at 5:32 AM, Mark Thomas wrote: > On 26/11/2013 04:56, Konstantin Kolinko wrote: >> 2013/11/26 Nick Williams : >>> >>> On Nov 25, 2013, at 9:11 PM, Konstantin Kolinko wrote: >>> > There was this change: http://svn.apache.org/viewvc?view=revision&revision=1544213

Re: IllegalStateException sending WebSocket message that worked a few months ago

2013-11-26 Thread Mark Thomas
On 26/11/2013 04:56, Konstantin Kolinko wrote: > 2013/11/26 Nick Williams : >> >> On Nov 25, 2013, at 9:11 PM, Konstantin Kolinko wrote: >> >>> There was this change: >>> http://svn.apache.org/viewvc?view=revision&revision=1544213 >>> >>> >>>55799: Correctly enforce the restriction i

Re: IllegalStateException sending WebSocket message that worked a few months ago

2013-11-25 Thread Konstantin Kolinko
2013/11/26 Nick Williams : > > On Nov 25, 2013, at 9:11 PM, Konstantin Kolinko wrote: > >> 2013/11/25 Nick Williams : >>> I've written a simple Servlet/WebSocket client that sends a message over >>> the Session each time a GET request comes in. This worked a few months ago: >>> >>>@Override >>

Re: IllegalStateException sending WebSocket message that worked a few months ago

2013-11-25 Thread Nick Williams
On Nov 25, 2013, at 9:11 PM, Konstantin Kolinko wrote: > 2013/11/25 Nick Williams : >> I've written a simple Servlet/WebSocket client that sends a message over the >> Session each time a GET request comes in. This worked a few months ago: >> >>@Override >>protected void doGet(HttpServle

Re: IllegalStateException sending WebSocket message that worked a few months ago

2013-11-25 Thread Konstantin Kolinko
2013/11/25 Nick Williams : > I've written a simple Servlet/WebSocket client that sends a message over the > Session each time a GET request comes in. This worked a few months ago: > > @Override > protected void doGet(HttpServletRequest request, HttpServletResponse > response) >

IllegalStateException sending WebSocket message that worked a few months ago

2013-11-24 Thread Nick Williams
I've written a simple Servlet/WebSocket client that sends a message over the Session each time a GET request comes in. This worked a few months ago: @Override protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException

Re: LOG4J2-223: IllegalStateException thrown during Tomcat shutdown (memory leak, it looks like)

2013-05-20 Thread Mark Eggers
On 5/20/2013 2:45 PM, Nick Williams wrote: On May 20, 2013, at 4:39 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nick, On 5/20/13 4:10 PM, Nick Williams wrote: On May 20, 2013, at 2:59 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Has

Re: LOG4J2-223: IllegalStateException thrown during Tomcat shutdown (memory leak, it looks like)

2013-05-20 Thread Nick Williams
On May 20, 2013, at 4:39 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Nick, > > On 5/20/13 4:10 PM, Nick Williams wrote: >> >> On May 20, 2013, at 2:59 PM, Christopher Schultz wrote: >> >>> -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 >>> >>> Nick

Re: LOG4J2-223: IllegalStateException thrown during Tomcat shutdown (memory leak, it looks like)

2013-05-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nick, On 5/20/13 4:10 PM, Nick Williams wrote: > > On May 20, 2013, at 2:59 PM, Christopher Schultz wrote: > >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 >> >> Nick, >> >> On 5/20/13 12:48 PM, Nick Williams wrote: >>> >>> On May 20, 2013,

Re: LOG4J2-223: IllegalStateException thrown during Tomcat shutdown (memory leak, it looks like)

2013-05-20 Thread Nick Williams
On May 20, 2013, at 2:59 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Nick, > > On 5/20/13 12:48 PM, Nick Williams wrote: >> >> On May 20, 2013, at 10:56 AM, Christopher Schultz wrote: >> >>> -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 >>> >>> Ni

Re: LOG4J2-223: IllegalStateException thrown during Tomcat shutdown (memory leak, it looks like)

2013-05-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nick, On 5/20/13 12:48 PM, Nick Williams wrote: > > On May 20, 2013, at 10:56 AM, Christopher Schultz wrote: > >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 >> >> Nick, >> >> On 5/19/13 11:25 AM, Nick Williams wrote: >>> Unfortunately, requ

Re: LOG4J2-223: IllegalStateException thrown during Tomcat shutdown (memory leak, it looks like)

2013-05-20 Thread Nick Williams
On May 20, 2013, at 10:56 AM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Nick, > > On 5/19/13 11:25 AM, Nick Williams wrote: >> Unfortunately, requiring users to call System.gc() before shutdown >> for logging to work properly is no better than requiring

Re: LOG4J2-223: IllegalStateException thrown during Tomcat shutdown (memory leak, it looks like)

2013-05-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nick, On 5/19/13 11:25 AM, Nick Williams wrote: > Unfortunately, requiring users to call System.gc() before shutdown > for logging to work properly is no better than requiring users to > register a listener in a web application for logging to work >

Re: LOG4J2-223: IllegalStateException thrown during Tomcat shutdown (memory leak, it looks like)

2013-05-20 Thread Konstantin Kolinko
2013/5/19 Nick Williams : > > On May 19, 2013, at 10:01 AM, Caldarale, Charles R wrote: > >>> From: Nick Williams [mailto:nicho...@nicholaswilliams.net] >>> Subject: Re: LOG4J2-223: IllegalStateException thrown during Tomcat >>> shutdown (memory leak, it looks

Re: LOG4J2-223: IllegalStateException thrown during Tomcat shutdown (memory leak, it looks like)

2013-05-19 Thread Nick Williams
On May 19, 2013, at 10:01 AM, Caldarale, Charles R wrote: >> From: Nick Williams [mailto:nicho...@nicholaswilliams.net] >> Subject: Re: LOG4J2-223: IllegalStateException thrown during Tomcat shutdown >> (memory leak, it looks like) > >> Log4j 1 never required a list

RE: LOG4J2-223: IllegalStateException thrown during Tomcat shutdown (memory leak, it looks like)

2013-05-19 Thread Caldarale, Charles R
> From: Nick Williams [mailto:nicho...@nicholaswilliams.net] > Subject: Re: LOG4J2-223: IllegalStateException thrown during Tomcat shutdown > (memory leak, it looks like) > Log4j 1 never required a listener to be configured to be shut down > properly when an application is un

Re: LOG4J2-223: IllegalStateException thrown during Tomcat shutdown (memory leak, it looks like)

2013-05-19 Thread Nick Williams
On May 19, 2013, at 3:33 AM, Mark Thomas wrote: > On 19/05/2013 05:57, Nick Williams wrote: >> Can one of the very knowledgeable developers that have been >> discussing memory leaks in the last few days (re: Possible >> false-postive with JreMemoryLeakPreventionListener and Tomcat's JDBC >> Pool

Re: LOG4J2-223: IllegalStateException thrown during Tomcat shutdown (memory leak, it looks like)

2013-05-19 Thread Mark Thomas
On 19/05/2013 05:57, Nick Williams wrote: > Can one of the very knowledgeable developers that have been > discussing memory leaks in the last few days (re: Possible > false-postive with JreMemoryLeakPreventionListener and Tomcat's JDBC > Pool and OracleTimeoutPollingThread) chime in on this Log4j 2

LOG4J2-223: IllegalStateException thrown during Tomcat shutdown (memory leak, it looks like)

2013-05-18 Thread Nick Williams
Can one of the very knowledgeable developers that have been discussing memory leaks in the last few days (re: Possible false-postive with JreMemoryLeakPreventionListener and Tomcat's JDBC Pool and OracleTimeoutPollingThread) chime in on this Log4j 2 bug [1]? Log4j 2 appears to be registering a

Re: Confused: IllegalStateException

2012-11-03 Thread Jonathan Rosenberg
Dan, Thanks for the reply. See comment embedded below. On Fri, Nov 2, 2012 at 4:26 PM, Daniel Mikusa wrote: > On Nov 2, 2012, at 3:10 PM, Jonathan Rosenberg wrote: > >> On Fri, Nov 2, 2012 at 3:03 PM, Daniel Mikusa wrote: >>> On Nov 2, 2012, at 2:36 PM, Jonathan Rosenberg wrote: >>> Basic

Re: Confused: IllegalStateException

2012-11-02 Thread Daniel Mikusa
On Nov 2, 2012, at 3:10 PM, Jonathan Rosenberg wrote: > On Fri, Nov 2, 2012 at 3:03 PM, Daniel Mikusa wrote: >> On Nov 2, 2012, at 2:36 PM, Jonathan Rosenberg wrote: >> >>> Basics: Apache Tomcat/7.0.22 1.6.0_22-b04 >>> >>> I have a Grails app that I'm deploying to this Tomcat. >> >> How are y

Re: Confused: IllegalStateException

2012-11-02 Thread Jonathan Rosenberg
On Fri, Nov 2, 2012 at 3:03 PM, Daniel Mikusa wrote: > On Nov 2, 2012, at 2:36 PM, Jonathan Rosenberg wrote: > >> Basics: Apache Tomcat/7.0.22 1.6.0_22-b04 >> >> I have a Grails app that I'm deploying to this Tomcat. > > How are you deploying the application? What are the exact steps that you

Re: Confused: IllegalStateException

2012-11-02 Thread Daniel Mikusa
On Nov 2, 2012, at 2:36 PM, Jonathan Rosenberg wrote: > Basics: Apache Tomcat/7.0.22 1.6.0_22-b04 > > I have a Grails app that I'm deploying to this Tomcat. How are you deploying the application? What are the exact steps that you are taking? Dan > During the > deployment, I see the follo

Confused: IllegalStateException

2012-11-02 Thread Jonathan Rosenberg
Basics: Apache Tomcat/7.0.221.6.0_22-b04 I have a Grails app that I'm deploying to this Tomcat. During the deployment, I see the following in catalina.out: Nov 2, 2012 2:25:18 PM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive Catalog##0025.war log4j:

Re: Memory leaks and IllegalStateException caused (probably) by a Singleton object

2012-10-04 Thread Mark Thomas
On 04/10/2012 09:25, Nick Katsipoulakis wrote: > Bonjorno Filippo and Gracie for your immediate answer. > I also do not see anything wrong with my code, since the Singleton class > I am using has been tested in other web > services as well. My suspicion is that Apache Tomcat has some cleaning > up

Re: Memory leaks and IllegalStateException caused (probably) by a Singleton object

2012-10-04 Thread Nick Katsipoulakis
those memory leaks. My questions are the following: 1) Can anyone suspect what may be the issue with my web service? If the cause of the memory leaks is the Singleton object, what else can I do to meet my applications requirements and avoid memory leaks. 2) Is there any tool that I can use in order

Re: Memory leaks and IllegalStateException caused (probably) by a Singleton object

2012-10-03 Thread Filippo Machi
he web application [/ETL_Procedures] created a ThreadLocal with > key of type [com.sun.xml.bind.v2.runtime.**Coordinator$1] (value > [com.sun.xml.bind.v2.runtime.**Coordinator$1@826ee11]) and a value of > type [java.lang.Object[]] (value [[Ljava.lang.Object;@33d7a245]**) &

Memory leaks and IllegalStateException caused (probably) by a Singleton object

2012-10-03 Thread Nick Katsipoulakis
. 2) Is there any tool that I can use in order to monitor my threads, and what exactly causes these SEVERE messages? 3) If I let my application deployed for a long time, I get an IllegalStateException with the following message: INFO: Illegal access: this web application instance has been stopp

Re: IllegalStateException using CompressionFilter with Tomcat 7.0.21/22

2011-10-03 Thread Konstantin Kolinko
2011/10/4 Kari Scott : > SEVERE: Servlet.service() for servlet [jsp] in context with path [] threw > exception [java.lang.IllegalStateException: getWriter() has already been > called for this response] with root cause > java.lang.IllegalStateException: getWriter() has already been called for this

IllegalStateException using CompressionFilter with Tomcat 7.0.21/22

2011-10-03 Thread Kari Scott
Hi, We are running Tomcat 6. 0.32 with jdk1.6.0_26 on Solaris 10, mod_ajp and Apache 2.2.21 in our production environment and are looking to upgrade to Tomcat 7 but have run into a problem with the CompressionFilter (an older version of the Amy Roh one) causing this exception: SEVERE: Serv

Re: IllegalStateException: The response object has been recycled and is no longer associated with this facade

2011-08-18 Thread Mark Thomas
On 18/08/2011 16:42, Ronald Klop wrote: > Is this imageio thing only with NIO+sendfile? If I disable sendfile in > server.xml I don't see the error anymore. Possible but unlikely. There were some sendfile changes recently in 7.0.x to address stability issues that may have introduced a regression.

Re: IllegalStateException: The response object has been recycled and is no longer associated with this facade

2011-08-18 Thread Ronald Klop
Op woensdag, 17 augustus 2011 13:41 schreef Mark Thomas : On 17/08/2011 12:36, Ronald Klop wrote: > Hi, > > I did some experiments past days on my live servers and have more > information. > > The problem occurs with 7.0.19 and 7.0.20 with the NIO connector, but > not with the BIO

Re: IllegalStateException: The response object has been recycled and is no longer associated with this facade

2011-08-17 Thread Ronald Klop
Op woensdag, 17 augustus 2011 15:02 schreef Ronald Klop : Op woensdag, 17 augustus 2011 14:28 schreef Mark Thomas : > > > On 17/08/2011 13:20, Ronald Klop wrote: > > Sometimes. Mostly I run ImageMagick in a separate process. But sometimes > > it does things with java

Re: IllegalStateException: The response object has been recycled and is no longer associated with this facade

2011-08-17 Thread Ronald Klop
Op woensdag, 17 augustus 2011 14:28 schreef Mark Thomas : On 17/08/2011 13:20, Ronald Klop wrote: > Sometimes. Mostly I run ImageMagick in a separate process. But sometimes > it does things with javax.imagio. > I'm curious about the link between them. And what happened in 7.0.19 > th

Re: IllegalStateException: The response object has been recycled and is no longer associated with this facade

2011-08-17 Thread Mark Thomas
On 17/08/2011 13:20, Ronald Klop wrote: > Sometimes. Mostly I run ImageMagick in a separate process. But sometimes > it does things with javax.imagio. > I'm curious about the link between them. And what happened in 7.0.19 > that triggers something new. Details in the archives. If you have a simpl

Re: IllegalStateException: The response object has been recycled and is no longer associated with this facade

2011-08-17 Thread Konstantin Kolinko
2011/8/17 Ronald Klop : > > Op woensdag, 17 augustus 2011 13:41 schreef Mark Thomas : >> >>   On 17/08/2011 12:36, Ronald Klop wrote: >>  > Hi, >>  > >>  > I did some experiments past days on my live servers and have more >>  > information. >>  > >>  > The problem occurs with 7.0.19 and 7.0.20 with

Re: IllegalStateException: The response object has been recycled and is no longer associated with this facade

2011-08-17 Thread Ronald Klop
Op woensdag, 17 augustus 2011 13:41 schreef Mark Thomas : On 17/08/2011 12:36, Ronald Klop wrote: > Hi, > > I did some experiments past days on my live servers and have more > information. > > The problem occurs with 7.0.19 and 7.0.20 with the NIO connector, but > not with the BIO

Re: IllegalStateException: The response object has been recycled and is no longer associated with this facade

2011-08-17 Thread Mark Thomas
On 17/08/2011 12:36, Ronald Klop wrote: > Hi, > > I did some experiments past days on my live servers and have more > information. > > The problem occurs with 7.0.19 and 7.0.20 with the NIO connector, but > not with the BIO connector. In 7.0.16 it doesn't happen with the NIO > connector. > My cod

Re: IllegalStateException: The response object has been recycled and is no longer associated with this facade

2011-08-17 Thread Ronald Klop
use a single Servlet instance is shared by several threads). In case if there really is a bug, can you reproduce this issue with some sample code? There were refactorings in connectors, so some subtle changes in behaviour are possible, but thus far all such IllegalStateException iss

Re: IllegalStateException: The response object has been recycled and is no longer associated with this facade

2011-08-14 Thread Konstantin Kolinko
bug, can you reproduce this issue with some sample code? There were refactorings in connectors, so some subtle changes in behaviour are possible, but thus far all such IllegalStateException issues that I remember were application errors. Recycling of facades can be turned on with a system propert

IllegalStateException: The response object has been recycled and is no longer associated with this facade

2011-08-14 Thread Ronald Klop
Hi, I'm running Tomcat 7.0.19 to scale and serve images for use on a lot of websites. Since the upgrade from 7.0.16 to 7.0.19 I get the following stacks now and than. java.lang.IllegalStateException: The response object has been recycled and is no longer associated with this facade at org.ap

No error-page for IllegalStateException(Too many active sessions) Instead: Empty page HTTP code 200 (OK)

2011-07-22 Thread Selaron
Hello, in somecases, Tomcat dosn't allow output of an error page for too many active sessions. Reproduction: 1) Configure Tomcat 6 or 7 example application to allow maxActiveSessions=1 only (e.g. adding /examples/META-INF/context.xml#SimpeSessionManager...) 2) Visit http://localhost:8080/examp

Re: TC 7.0.16 IllegalStateException thrown by pageContext.include

2011-06-25 Thread Rainer Jung
>>> doesn't match the fallback method >>> >>> try { >>> ostream = response.getOutputStream(); >>> } catch (IllegalStateException e) { >>> // If it fails, we try to get a Writer ins

Re: TC 7.0.16 IllegalStateException thrown by pageContext.include

2011-06-24 Thread David Wall
tream = response.getOutputStream(); } catch (IllegalStateException e) { // If it fails, we try to get a Writer instead if we're // trying to serve a text file if ( (contentType == null) || (contentType.starts

Re: TC 7.0.16 IllegalStateException thrown by pageContext.include

2011-06-24 Thread Rainer Jung
= response.getOutputStream(); > } catch (IllegalStateException e) { > // If it fails, we try to get a Writer instead if we're > // trying to serve a text file > if ( (contentType == null) >

Re: TC 7.0.16 IllegalStateException thrown by pageContext.include

2011-06-24 Thread Tim Funk
Looks like this is the root cause from DefaultServlet ... While the ISE is caught ... since the mimetype for js was changed - it doesn't match the fallback method try { ostream = response.getOutputStream(); } catch (IllegalStateExcept

Re: TC 7.0.16 IllegalStateException thrown by pageContext.include

2011-06-24 Thread Konstantin Kolinko
2011/6/24 David Wall : > >> >>> out.write("\n"); >>> pageContext.include("/static/esf/esf.js",true); >>> out.write("\n"); >>> >>> But the exception IllegalStateException is thrown on the include of the >>>

Re: TC 7.0.16 IllegalStateException thrown by pageContext.include

2011-06-23 Thread Rainer Jung
On 24.06.2011 03:47, David Wall wrote: > >> >>> out.write("\n"); >>> pageContext.include("/static/esf/esf.js",true); >>> out.write("\n"); >>> >>> But the exception IllegalStateException is thrown on the include

Re: TC 7.0.16 IllegalStateException thrown by pageContext.include

2011-06-23 Thread David Wall
out.write("\n"); pageContext.include("/static/esf/esf.js",true); out.write("\n"); But the exception IllegalStateException is thrown on the include of the esf.js file. The reason is null, so there's no more details. I find it odd in that the two prior

Re: TC 7.0.16 IllegalStateException thrown by pageContext.include

2011-06-23 Thread David Wall
out.write("\n"); pageContext.include("/static/esf/esf.js",true); out.write("\n"); But the exception IllegalStateException is thrown on the include of the esf.js file. The reason is null, so there's no more details. I find it odd in that the two prior

TC 7.0.16 IllegalStateException thrown by pageContext.include

2011-06-23 Thread David Wall
n/* platform esf.css */\n"); pageContext.include("/static/esf/esf.css",true); pageContext.include(docPage.context.getDocumentStyleIncludeUrl(),true); out.write("\n"); out.write("\n"); pageContext.include("/static/esf/esf.js",true); out.write("\n"); But

Re: unusual IllegalStateException

2010-05-28 Thread Dan Armbrust
Thanks for the thoughts... few things inline > > 2. Does your unexpectedError.jsp use sessions? Does it have <%...@page > session="false"%>? No, I don't think so. I'll have to check into this. > 3. If the response was already partially sent to the client and you > receive an "unexpected" e

Re: unusual IllegalStateException

2010-05-27 Thread Konstantin Kolinko
2010/5/27 Dan Armbrust : > I have a webapp running in Tomcat 6.0.20. Some quick thoughts. Sorry if some are too trivial. 1. "Cannot create a session after the response has been committed" means the following: - "response was committed" means that some data were already sent to the client, which a

unusual IllegalStateException

2010-05-27 Thread Dan Armbrust
I have a webapp running in Tomcat 6.0.20. One of my testers caused this to appear in the logs: May 11, 2010 2:23:14 PM org.apache.jasper.runtime.JspFactoryImpl internalGetPageContext SEVERE: Exception initializing page context java.lang.IllegalStateException: Cannot create a session after the res

Re: Tomcat IllegalStateException when load is high

2010-02-05 Thread Christopher Schultz
since 5.5.25 that may be affecting you. Try searching http://tomcat.apache.org/tomcat-5.5-doc/changelog.html for "session" until you get back to 5.5.25 and you can see which issues were fixed in each release. Is it possible for you to upgrade to 5.5.28? Also, that IllegalStateException

Tomcat IllegalStateException when load is high

2010-02-05 Thread alex_m
y now and then on a jsp-page and it seems like it occurs when the java-process has high CPU-%. Any clues on what to do? Regards, Alex -- View this message in context: http://old.nabble.com/Tomcat-IllegalStateException-when-load-is-high-tp27464831p27464831.html Sent from the Tomcat - User mailing

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
tomcat's code in on the stack when it happens. Thanks -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Thursday, April 16, 2009 9:45 AM To: Tomcat Users List Subject: RE: request.getSession() generates IllegalStateException in top filter(ap

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 Caldarale, Charles R
> From: Leonard Gestrin [mailto:leonard.gest...@markettools.com] > Subject: request.getSession() generates IllegalStateException in top > filter(appears, response not being recycled properly if SocketException > happenedfor it in the past) > > After a while, the same response ob

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

IllegalStateException when using CometConnectionManagerValve

2008-03-10 Thread Dan Rabe
t down normally, is there a good way to explicitly close the Comet connection? (2) I enabled the CometConnectionManagerValve in context.xml, hoping I would at least get an END event when the session goes away. Instead, I get an IllegalStateException: Mar 10, 2008 2:05:41 PM org.apache.catalin

RE: IllegalStateException in Tomcat 5.5.X

2007-02-08 Thread Tim Lucia
> -Original Message- > From: Tom Davis [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 08, 2007 10:35 AM > To: users@tomcat.apache.org > Subject: IllegalStateException in Tomcat 5.5.X > > Hi All. > > I'm getting some intermittent exception

Re: IllegalStateException in Tomcat 5.5.X

2007-02-08 Thread Tom Davis
ests per user - but doesn't handle concurrent requests from the same user in a reliable manner. -Tim Tom Davis wrote: Hi All. I'm getting some intermittent exceptions from Tomcat with which I would appreciate some assistance. I get an IllegalStateException from Tomcat. This is

Re: IllegalStateException in Tomcat 5.5.X

2007-02-08 Thread Martin Gainty
tracks current requests per user - but doesn't handle concurrent requests from the same user in a reliable manner. -Tim Tom Davis wrote: Hi All. I'm getting some intermittent exceptions from Tomcat with which I would appreciate some assistance. I get an IllegalStateException f

Re: IllegalStateException in Tomcat 5.5.X

2007-02-08 Thread Tim Funk
and tracks current requests per user - but doesn't handle concurrent requests from the same user in a reliable manner. -Tim Tom Davis wrote: Hi All. I'm getting some intermittent exceptions from Tomcat with which I would appreciate some assistance. I get an IllegalStateExce

Re: IllegalStateException in Tomcat 5.5.X

2007-02-08 Thread David Kerber
Tom Davis wrote: Hi All. I'm getting some intermittent exceptions from Tomcat with which I would appreciate some assistance. I get an IllegalStateException from Tomcat. This is not a unique error, though it looks like the circumstances causing it are. We have a complex application,

IllegalStateException in Tomcat 5.5.X

2007-02-08 Thread Tom Davis
Hi All. I'm getting some intermittent exceptions from Tomcat with which I would appreciate some assistance. I get an IllegalStateException from Tomcat. This is not a unique error, though it looks like the circumstances causing it are. We have a complex application, with multiple ser

Re: IllegalStateException

2007-01-03 Thread David Smith
Shooting from the hip here, it appears your web code is attempting to send the client a redirect after some response data has been sent to the client. You can't redirect after sending a response. Can you offer more context regarding what code is throwing this and what version of tomcat? --David

Re: IllegalStateException

2007-01-03 Thread Tim Funk
http://tomcat.apache.org/faq/misc.html#illegalstate -Tim Leon van der Merwe wrote: I am getting the above exception thrown all over my log files and I am not sure what it means... Does anyone know what this means? 20061113 09:54:33 <> PageTemplateManager> java.lang.IllegalStateException

IllegalStateException

2007-01-03 Thread Leon van der Merwe
I am getting the above exception thrown all over my log files and I am not sure what it means... Does anyone know what this means? 20061113 09:54:33 <> PageTemplateManager> java.lang.IllegalStateException at org.apache.coyote.tomcat4.CoyoteResponseFacade.sendRedirect(CoyoteRespon seFacade.

Re: NTLM - IllegalStateException

2006-07-21 Thread Christopher Schultz
hen a conditional tag or something like that? Usually, there's a message along with the IllegalStateException that says something like "cannot redirect after response has been committed" or some such, so this might not actually be the problem. Check it out, though; it coul

NTLM - IllegalStateException

2006-07-21 Thread George Azzopardi
Hi people, We are making use of NTLM to obtain the user credentials from the OS in order to provide single-signon. We successfully implemented this on Apache Tomcat 5. However, we are noticing that the localhost_log.txt is reporting the following Exception very frequently. Although it is not affe

Tomcat 5.5.12 illegalStateexception

2006-03-08 Thread Alvermann, Markus
Hi there, i have a jsp which runs just fine under tomcat 5.5.9 but throws an exception in tomcat 5.5.12 and 5.5.15. Here is a part of the code: code snippet ByteArrayOutputStream baos = new ByteArrayOutputStream(); //creates a pdf out of the baos pdfPrinter

Re: ClassLoader IllegalStateException

2006-03-06 Thread Artur Rataj
To turn it off, set reloadable="false" in the context definition of your app. I do not know where you have it defined, it might be tomcat's server.xml or context.xml of your app. I am not sure if it will work -- I have used applications listeners to stop the threads, which was very easy. Artur --

Re: ClassLoader IllegalStateException

2006-03-06 Thread Matteo Barbieri
Artur Rataj ha scritto: It might that it unloaded an app. You may turn off app unloading/reloading in serwer.xml. How to do this? Is the server.xml in conf/ ? How to turn off? Thank you a lot - To unsubscribe, e-mail: [E

Re: ClassLoader IllegalStateException

2006-03-06 Thread Artur Rataj
It might that it unloaded an app. You may turn off app unloading/reloading in serwer.xml. Or start and stop threads using listeners. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

  1   2   >