Is there Patch for 4.1 PageContextImpl unhandled IllegalStateException?

2005-05-30 Thread [EMAIL PROTECTED]
to Tomcat 5.x later this year. In the interim, we recently linked this exception event to leaked memory. That is, the PageContextImpl.release() method (6th from top in stack trace, body below) never completes as it does not catch the IllegalStateException that happens when ResponseBase.getWriter

Is there Patch for 4.1 PageContextImpl unhandled IllegalStateException?

2005-05-30 Thread [EMAIL PROTECTED]
. That is, the PageContextImpl.release() method (6th from top in stack trace above, body below) never completes as it does not catch the IllegalStateException that happens when ResponseBase.getWriter()is called in the scope of 2nd flushBuffer() call below.See org.apache.jasper.runtime.PageContextImpl:public

Re: Is there Patch for 4.1 PageContextImpl unhandled IllegalStateException?

2005-05-30 Thread Mark Thomas
linked this exception event to leaked memory. That is, the PageContextImpl.release() method (6th from top in stack trace, body below) never completes as it does not catch the IllegalStateException that happens when ResponseBase.getWriter()is called in the scope of flushBuffer(). public void

Re: Is there Patch for 4.1 PageContextImpl unhandled IllegalStateException?

2005-05-30 Thread [EMAIL PROTECTED]
: Is there Patch for 4.1 PageContextImpl unhandled IllegalStateException? Hmm. Looks like PageContextImpl.release() code could do with a clean up ;) Ignoring that for now, do you have any idea what is calling getOutputStream()? Is it called in ViewAttachment.jsp? Mark [EMAIL PROTECTED

Re: Is there Patch for 4.1 PageContextImpl unhandled IllegalStateException?

2005-05-30 Thread Mark Thomas
List tomcat-user@jakarta.apache.org Subj: Re: Is there Patch for 4.1 PageContextImpl unhandled IllegalStateException? Hmm. Looks like PageContextImpl.release() code could do with a clean up ;) Ignoring that for now, do you have any idea what is calling getOutputStream()? Is it called

response.sendredirect and IllegalStateException

2005-04-28 Thread Abhilash Bose.K
Hi, I was using tomcat 3.1 for one of my client sites. Currently they gonna update it to the latest. When I ported by the application into tomcat 5.5, I found that response.SendRedirect is giving me the error which was due to the calling the some action after calling the SendRedirect. But

Re: IllegalStateException: getOutputStream() has already been called for this response

2005-02-09 Thread DAVID TURNER
. Thanks. Roberto Cosenza [EMAIL PROTECTED] 02/08/2005 04:46 PM Please respond to Tomcat Users List tomcat-user@jakarta.apache.org To Tomcat Users List tomcat-user@jakarta.apache.org cc Subject Re: IllegalStateException: getOutputStream() has already been called for this response

Re: IllegalStateException: getOutputStream() has already been called for this response

2005-02-09 Thread Roberto Cosenza
Just don't pass the ouput stream that you get from the servlet but create a new one. When you are done with your business, you'll copy the one on the other. On Wed, 9 Feb 2005 08:24:05 -0500, DAVID TURNER [EMAIL PROTECTED] wrote: Thanks for the advice Roberto. I agree that the approach is

IllegalStateException: getOutputStream() has already been called for this response

2005-02-08 Thread DAVID TURNER
() -- see sample servlet code below. But, when I try to use the response.getOutputStream() approach the jsp error page doesn't work and an IllegalStateException: getOutputStream() has already been called for this response gets thrown because the jsp is probably trying to get the OutputStream also. Why

Re: IllegalStateException: getOutputStream() has already been called for this response

2005-02-08 Thread Roberto Cosenza
: Tuesday, February 08, 2005 9:56 PM Subject: IllegalStateException: getOutputStream() has already been called for this response I'm trying to write a servlet that handles business logic exceptions by specifying in the web.xml the jsp error page that I want to use for a specific Exception (see

IllegalStateException from java.nio.charset.CharsetEncoder

2004-08-31 Thread Greg Ward
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6519 Both of these have a *nearly* identical stack trace (the connector is different -- org.apache.catalina.connector.http.HttpProcessor vs org.apache.ajp.tomcat4.Ajp13Processor in my example) that ends with the same IllegalStateException. Both

IllegalStateException thrown in core code...

2004-08-04 Thread Kaleb Pederson
I have a commercial servlet that throws an exception. I have an error-page directive setup to send that page to my ErrorLogServlet. However, my error servlet never gets called as Tomcat throws the IllegalStateException below. Any ideas on what the cause might be? I'm running Tomcat-5.0.24

Re: IllegalStateException

2004-04-20 Thread Christoph P. Kukulies
On Wed, Jul 07, 2004 at 10:28:25PM +0200, Dr. Franz X. Steinparz wrote: ^^ Hello I urgently need help. Could you please set the date correctly on your computer, Herr Dr. Steinparz -- Chris Christoph P. U. Kukulies kuku_at_physik.rwth-aachen.de

IllegalStateException

2004-04-08 Thread Dr. Franz X. Steinparz
in servlet runner. However after deploying the app to Tomcat, Tomcat raises an IllegalStateException (java.lang.IllegalStateException org.apache.coyote.tomcat5.CoyoteResponseFacade.sendRedirect(CoyoteResponseFacade.java:399) ... when a reponse object is handed over to another

Re: IllegalStateException

2004-04-08 Thread QM
On Wed, Jul 07, 2004 at 10:28:25PM +0200, Dr. Franz X. Steinparz wrote: : The application works fine within Oracles IDE and it's built in servlet : runner. However after deploying the app to Tomcat, Tomcat raises an : IllegalStateException : (java.lang.IllegalStateException

RE: IllegalStateException

2004-04-08 Thread Berry, Layton
-Original Message- From: Dr. Franz X. Steinparz [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 07, 2004 12:28 PM To: Tomcat Users List Subject: IllegalStateException Hello I urgently need help. I have a problem deploying an application developped under Oracles JDeveloper to Tomcat

Re: IllegalStateException

2004-04-08 Thread Tim Funk
an IllegalStateException (java.lang.IllegalStateException org.apache.coyote.tomcat5.CoyoteResponseFacade.sendRedirect(CoyoteResponseFacade.java:399) ... when a reponse object is handed over to another servlet

SendRedirect and IllegalStateException

2004-04-03 Thread Umesha Balasubramaniam
Hi Everyone, I am brushing up on my servlet programming after a long lay off. I was working through this book and came across the perils of using sendRedirect after commiting the response. My understanding according to the book and the 2.4 servlet api is that if you call the sendRedirect

Re: SendRedirect and IllegalStateException

2004-04-03 Thread Tim Funk
It should display company news. And you should see in your logs an IllegalStateException. (And the stack trace should contain the sendRedirect method) -Tim Umesha Balasubramaniam wrote: Hi Everyone, I am brushing up on my servlet programming after a long lay off. I was working through

RE: Sudden IllegalStateException

2004-01-05 Thread Shapira, Yoav
: Merrill Cornish [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 31, 2003 4:54 PM To: Tomcat Users List Subject: Sudden IllegalStateException I have been developing a JSP/servlet application using Tomcat 5.0.16. Over the past months, I felt that I had learned enough (partially with the help

Re: Sudden IllegalStateException

2004-01-02 Thread Ben Souther
On Wednesday 31 December 2003 09:00 pm, Merrill Cornish wrote: Ben, I don't know if it's a good idea or not, but I separate the HTML stuff into the JSP pages and use the servlets solely for program logic. It is a good idea. The MVC pattern is widely accepted as a best practice for server side

Re: Sudden IllegalStateException

2004-01-02 Thread Merrill Cornish
Ben, Yes, I can post the code, but now I'm not sure that will help. Yesterday I tried my old standby debugging technique of commenting out virtually all of the code in the servlet. It worked. I then started uncommenting portions until it stopped working. For a while, I thought I was

Re: Sudden IllegalStateException

2004-01-01 Thread Howard Watson
Hello Merrill If you're still working on this tomorrow and you want to share your code I'd be willing to walk it through. Howard Watson Database Administrator Easter Seals-Goodwill Northern Rocky Mountain 4400 Central Avenue Great Falls, Montana 59405 (406) 771-3759 [EMAIL PROTECTED] [EMAIL

Sudden IllegalStateException

2003-12-31 Thread Merrill Cornish
I have been developing a JSP/servlet application using Tomcat 5.0.16. Over the past months, I felt that I had learned enough (partially with the help of this mailing list) about JSP, servlets, and Tomcat that I could debug most of the obsticales that popped up. Until this morning. I

Re: Sudden IllegalStateException

2003-12-31 Thread Howard Watson
From here: http://jakarta.apache.org/tomcat/faq/misc.html#illegalstate Why do I get java.lang.IllegalStateException? These are the most common reasons how you can get an java.lang.IllegalStateException: Calling setBufferSize and content has been written. The response has been committed and you

Re: Sudden IllegalStateException

2003-12-31 Thread Merrill Cornish
Howard, I had already read the misc.html#illegalstate. In my case, I KNOW the illegal state was triggered by sendRedirect() since that's what's in the trace back. Also, I've already verified that immediately before the call to sendRedirect(), both session and response are OK. I forgot to

Re: Sudden IllegalStateException

2003-12-31 Thread Howard Watson
Are you real sure that you do not have more than one sendRedirect in your code that can be processed sequentially? The first one will set a header and the second will throw an error. Have a Happy New Year! [EMAIL PROTECTED] 12/31/03 03:43PM Howard, I had already read the

Re: Sudden IllegalStateException

2003-12-31 Thread Merrill Cornish
Howard, There are three sendRedirect() calls in the servlet. The first two redirect back to the login page if with the login user id is not found or the login password doesn't match. In both cases, the sendRedirect() is immediately followed by a return. (I learned to use explicit returns

Re: Sudden IllegalStateException

2003-12-31 Thread Ben Souther
I'd be more concerned with what is before it. If anything writes to either the page or the headers before a redirect, it will throw an IllegalStateException. Did you set a content type? On Wednesday 31 December 2003 06:34 pm, you wrote: Howard, There are three sendRedirect() calls

Re: Sudden IllegalStateException

2003-12-31 Thread Howard Watson
May be I'm trying to help with something over my head. When I had this error I read about using Return and could not visualize where from a servlet I would return to in a JSP., so I know I need to research this. However, the point is from the faq link I gave you: These are the most common

Re: Sudden IllegalStateException

2003-12-31 Thread Merrill Cornish
Ben, I don't know if it's a good idea or not, but I separate the HTML stuff into the JSP pages and use the servlets solely for program logic. Therefore, my servlets never output content.. Instead they merely redirect to a JSP page which then contains only enough Java logic to collect the

IllegalStateException in catalina.out

2003-09-15 Thread michael . sonnleitner
Hello! I am using: TC4.1.24, jdk1.4.1, Apache , ajp13 connector, on Unix SunOS 5.8. I sometimes get following errors in the catalina.out: java.lang.IllegalStateException: Current state = FLUSHED, new state = CODING_END at

Re: IllegalStateException in catalina.out

2003-09-15 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/misc.html#illegalstate -Tim [EMAIL PROTECTED] wrote: Hello! I am using: TC4.1.24, jdk1.4.1, Apache , ajp13 connector, on Unix SunOS 5.8. I sometimes get following errors in the catalina.out: java.lang.IllegalStateException: Current state = FLUSHED, new

Re: IllegalStateException - org.apache.coyote.tomcat4.CoyoteRequest.doGetSession()

2003-09-02 Thread YErkan
Thanks guys! I went through the code last night, after sending the e-mail. I think I found the problem. Our developer uses dynamically included JSP declaring session=true (by not declaring anything) while the parent declares session=false. We'll go through a set of tests anyway. I'm ashamed

IllegalStateException - org.apache.coyote.tomcat4.CoyoteRequest.doGetSession()

2003-09-01 Thread YErkan
Hi all, We're running Tomcat 4.1.24 on Win2K sp4. After a few days of use (usually 4-5 days), Tomcat comes to a semi-halt mode and it refuses to process some of the pages. Even the thrown exceptions are not logged. It looks like it's a thread pool related problem because, apparently, the

Re: IllegalStateException - org.apache.coyote.tomcat4.CoyoteRequest.doGetSession()

2003-09-01 Thread Remy Maucherat
[EMAIL PROTECTED] wrote: Hi all, We're running Tomcat 4.1.24 on Win2K sp4. After a few days of use (usually 4-5 days), Tomcat comes to a semi-halt mode and it refuses to process some of the pages. Even the thrown exceptions are not logged. It looks like it's a thread pool related problem because,

Re: IllegalStateException - org.apache.coyote.tomcat4.CoyoteRequest.doGetSession()

2003-09-01 Thread YErkan
Well, this is a valid error, and doesn't indicate a problem. Remy, Thanks for your prompt answer. Please don't get me wrong, I don't want to sound arrogant or something, but how come an error may not indicate a problem. ;-) We've already gotten the thread dump. I'll have a look into that

Re: IllegalStateException - org.apache.coyote.tomcat4.CoyoteRequest.doGetSession()

2003-09-01 Thread Tim Funk
The stack trace you posted has to do with committing the reponse (which actually means sending data back to the client instead of sitting in a buffer), then trying to allocate a session. Allocating a NEW session involves sending a cookie back to the client to let the client be aware of the new

Re: IllegalStateException - org.apache.coyote.tomcat4.CoyoteRequest.doGetSession()

2003-09-01 Thread Remy Maucherat
[EMAIL PROTECTED] wrote: Thanks for your prompt answer. Please don't get me wrong, I don't want to sound arrogant or something, but how come an error may not indicate a problem. ;-) It indicates there's likely a bug in the app, not in TC (that's what I meant). You can't create a session if the

IllegalStateException on JSP page

2003-03-27 Thread Kenny G. Dubuisson, Jr.
Hello all. I've got a simple JSP page which is throwing an IllegalStateException when I try to redirect the output to another page. Here is a snippet of the code: login = login.toUpperCase(); Connection myConnection = DriverManager.getConnection(url, login, password

Re: IllegalStateException on JSP page

2003-03-27 Thread Erik Price
Kenny G. Dubuisson, Jr. wrote: Hello all. I've got a simple JSP page which is throwing an IllegalStateException when I try to redirect the output to another page. What is the stack trace? Here is a snippet of the code: login = login.toUpperCase(); Connection myConnection

Re: IllegalStateException on JSP page

2003-03-27 Thread Kenny G. Dubuisson, Jr.
PROTECTED] Sent: Thursday, March 27, 2003 9:51 AM Subject: Re: IllegalStateException on JSP page Kenny G. Dubuisson, Jr. wrote: Hello all. I've got a simple JSP page which is throwing an IllegalStateException when I try to redirect the output to another page. What is the stack trace

Re: IllegalStateException on JSP page

2003-03-27 Thread Ramsay Domloge
Kenny, I am not sure of my facts here, but I believe that response.sendRedirect() may close the response. If you then attempt to write to the response afterwards, you get an IllegalStateException. Since your code is in a JSP page, this causes problems - after Tomcat has processed

Re: IllegalStateException on JSP page

2003-03-27 Thread Kenny G. Dubuisson, Jr.
PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, March 27, 2003 10:36 AM Subject: Re: IllegalStateException on JSP page Kenny, I am not sure of my facts here, but I believe that response.sendRedirect() may close the response. If you then attempt to write to the response afterwards

Re: IllegalStateException on JSP page

2003-03-27 Thread Kenny G. Dubuisson, Jr.
at this point. Thanks, Kenny - Original Message - From: Kenny G. Dubuisson, Jr. [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, March 27, 2003 10:40 AM Subject: Re: IllegalStateException on JSP page Thanks for the info. The weird thing

Re: IllegalStateException on JSP page

2003-03-27 Thread Craig R. McClanahan
On Thu, 27 Mar 2003, Kenny G. Dubuisson, Jr. wrote: Date: Thu, 27 Mar 2003 09:43:45 -0600 From: Kenny G. Dubuisson, Jr. [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: IllegalStateException on JSP page Hello all. I've got

IllegalStateException

2003-01-15 Thread Igor . Kozlov
Hello, i use tomcat 4.0.6, cocoon 2.0.4, Oracle 8, NT4.0 i got this exception: 2003-01-15 15:53:33 StandardWrapperValve[OMSWebgate]: Servlet.service() for servlet OMSWebgate threw exception java.lang.IllegalStateException at

[repeat] IllegalStateException??? Please help!

2002-11-29 Thread Steve Beech
, then I get the following message scrolling continually within the Tomcat window. 2002-11-20 15:25:31 - Ctx( ): IllegalStateException in: R( /) Current state = F LUSHED, new state = CODING 2002-11-20 15:25:31 - Ctx( ): IllegalStateException in: R( /) Current state = F LUSHED, new state = CODING

IllegalStateException??? Please help!

2002-11-26 Thread Steve Beech
, then I get the following message scrolling continually within the Tomcat window. 2002-11-20 15:25:31 - Ctx( ): IllegalStateException in: R( /) Current state = F LUSHED, new state = CODING 2002-11-20 15:25:31 - Ctx( ): IllegalStateException in: R( /) Current state = F LUSHED, new state = CODING

RE: IllegalStateException??? Please help!

2002-11-26 Thread Steve Beech
: Johan Bryssling [mailto:[EMAIL PROTECTED]] Sent: 26 November 2002 15:07 To: Tomcat Users List Subject: RE: IllegalStateException??? Please help! Hi.. Compiled servlets recently? Try restart tomcat and reconnect... The problem sometimes happens to me when I compile servlets and try to access them

IllegalStateException.... Current state = FLUSHED, new state =

2002-11-07 Thread conrad . crampton
Hi, I have this peculiar problem on my production version of Tomcat 3.1 and sadly I can't replicate this on my test server ;-( I keep getting this error 2002-11-06 14:35:45 - Ctx( /transformer ): IllegalStateException in: R( /transformer + /servlet/transformer + null) Current state

Re: IllegalStateException Error

2002-10-18 Thread Carl W. Jolly
try reset() ing the response before sending the redirect. You should not write to the response object if you are going to redirect/forward it to another resources that will output to the response object. response.reset(); also redirecting will not stop the thread from executing the remainder of

IllegalStateException Error

2002-10-18 Thread Lior Shliechkorn
I'm trying to do some checking on my pages that make sure that the user logged out and all the attributes that were bounded to the session were destroyed (using session.invalidate() in the logout page). However, I'm running into difficulties with 1 of my pages. The check works fine on all the

RE: IllegalStateException Error

2002-10-18 Thread Cox, Charlie
to recognize 'response already committed', but others may not. 4. search the archives: http://www.mail-archive.com/tomcat-user%40jakarta.apache.org/ Illegalstateexception returns many hits and 'response already committed' returns more specific to your problem. These will probably give you more

RE: IllegalStateException Error

2002-10-18 Thread Lior Shliechkorn
to recognize 'response already committed', but others may not. 4. search the archives: http://www.mail-archive.com/tomcat-user%40jakarta.apache.org/ Illegalstateexception returns many hits and 'response already committed' returns more specific to your problem. These will probably give you more detail

AW: IllegalStateException Error

2002-10-18 Thread Ralph Einfeldt
that the last 2 factors may vary depending on the load of the server. -Ursprüngliche Nachricht- Von: Lior Shliechkorn [mailto:liorshliech;yahoo.com] Gesendet: Donnerstag, 17. Oktober 2002 23:13 An: Tomcat Users List Betreff: RE: IllegalStateException Error The return works. Thanks

IllegalStateException...

2002-10-18 Thread Lior Shliechkorn
I'm trying to do some checking on my pages that make sure that the user logged out and all the attributes that were bounded to the session were destroyed (using session.invalidate() in the logout page). However, I'm running into difficulties with 1 of my pages. The check works fine on all the

Re: IllegalStateException while using SSL

2002-09-08 Thread Bill Barker
ing fine, but the server is throwing an IllegalStateException continuously while accessing any page through HTTPS. This never stops and after few minutes of throwing the exception, it gices an OutOfMemory error and stops there. [Till then it successfully serves all pages through HTTPS]. The exception thrown is

IllegalStateException while using SSL

2002-09-06 Thread [EMAIL PROTECTED]
Hi, I setup SSL in Tomcat using JSEE and the key is generated using the keytool utility. The system is working fine, but the server is throwing an IllegalStateException continuously while accessing any page through HTTPS. This never stops and after few minutes of throwing the exception

RE: Error : Why IllegalStateException ?

2002-07-24 Thread Ricky Leung
then this is a Tomcat error. I am not sure how I could fix this. -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 24, 2002 4:35 AM To: Tomcat Users List Subject: AW: Error : Why IllegalStateException ? That's not a problem of web.xml. What make you

Error Tomcat : Why IllegalStateException

2002-07-16 Thread jose saloio
I have this message : Current state = FLUSHED, new state = CODING 7-10 11:09:48 - Ctx( /test): IllegalStateException in: R( /test+) Current state = FLUSHED, new state = CODING 7-10 11:09:48 - Ctx( /kalima ): IllegalStateException in: R( /test+) Current state = FLUSHED, new state = CODING 7-10 11

Tomcat 3.2.3 - tomcat 4.0.4 upgrade producing IllegalStateException??

2002-07-16 Thread Gare, Tref
Can any one cast any light on the following? We've just upgraded from Tomcat 3.2.3 to Tomcat 4.0.4 running alongside IIS4 on NT4 (jdk1.3.1_01) All's proceeding fine except two of the webapps I'm transferring to the new Tomcat are refusing to play nicely, spitting

Commons Collections, Pool and DBCP - IllegalStateException

2002-03-24 Thread Steven Elliott
Craig, I had the chance today to follow your instruction for installation of the Commons project Collections, Pool and DBCP. I downloaded the March 24 nightly of each and moved the appropriate jars into the $CATALINA_HOME/common/lib directory. I changed the Resource-params as indicated to:

Re: How can I resolve this IllegalStateException: Response has alrea dy been committed problem?

2002-03-10 Thread Vinay Urs
that I keep getting these annoying IllegalStateExceptions. Here is the full exception: 2002-03-08 11:20:55 - Ctx(/AgentGenerator) : IllegalStateException in R( /AgentGenerator + /servlet/Create + null) - java.lang.IllegalStateException: Response has already been committed

How can I resolve this IllegalStateException: Response has alrea dy been committed problem?

2002-03-08 Thread lindsay . hamoudi
is working just fine, apart from the fact that I keep getting these annoying IllegalStateExceptions. Here is the full exception: 2002-03-08 11:20:55 - Ctx(/AgentGenerator) : IllegalStateException in R( /AgentGenerator + /servlet/Create + null) - java.lang.IllegalStateException: Response has already

RE: How can I resolve this IllegalStateException: Response has alrea dy been committed problem?

2002-03-08 Thread Ryan Daigle
request on. -Ryan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, March 08, 2002 8:01 AM To: [EMAIL PROTECTED] Subject: How can I resolve this IllegalStateException: Response has alrea dy been committed problem? [TOMCAT-3.3 JDK 1.3.1 WIN 2000] Hi

RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem?

2002-03-08 Thread lindsay . hamoudi
... Getting list of available types seems to have went OK 2002-03-08 13:19:09 - Ctx(/AgentGenerator) : IllegalStateException in R( /AgentGenerator + /create.jsp + null) - java.la ng.IllegalStateException: Cannot forward because the response has already been committed

RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem?

2002-03-08 Thread Ryan Daigle
servlet? -Ryan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, March 08, 2002 8:26 AM To: [EMAIL PROTECTED] Subject: RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem? OK here's the sequence of events

RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem?

2002-03-08 Thread lindsay . hamoudi
-Original Message- From: Ryan Daigle [mailto:[EMAIL PROTECTED]] Sent: 08 March 2002 13:25 To: 'Tomcat Users List' Subject:RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem? Are you sure there isn't something in create.jsp

RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem?

2002-03-08 Thread Wagoner, Mark
work, but you could eliminate the double forward issue. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, March 08, 2002 8:45 AM To: [EMAIL PROTECTED] Subject: RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem

RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem?

2002-03-08 Thread Ryan Daigle
]] Sent: Friday, March 08, 2002 8:58 AM To: 'Tomcat Users List' Subject: RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem? Is it possible to change the Create servlet to a simple class that accepts the request as a parameter? Since it does not manipulate

RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem?

2002-03-08 Thread lindsay . hamoudi
as to avoid this exception. -Original Message- From: Wagoner, Mark [mailto:[EMAIL PROTECTED]] Sent: 08 March 2002 13:58 To: 'Tomcat Users List' Subject:RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem? Is it possible to change

RE: How can I resolve this IllegalStateException: Response has a lrea dybeen committed problem?

2002-03-08 Thread rsequeira
this IllegalStateException: Response has a lrea dy been committed problem? OK here's the sequence of events: [ Note: all forwarding done using RequestDispatcher.forward(req,res) ] 1. User begins by clicking link to Login servlet 2. Login servlet forwards to login.jsp 3. Login.jsp

RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem?

2002-03-08 Thread lindsay . hamoudi
servlet. A whole lot of forwarding going on. -Original Message- From: Ryan Daigle [mailto:[EMAIL PROTECTED]] Sent: 08 March 2002 13:56 To: 'Tomcat Users List' Subject:RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem? My

RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem?

2002-03-08 Thread Wagoner, Mark
PROTECTED]] Sent: Friday, March 08, 2002 9:27 AM To: [EMAIL PROTECTED] Subject: RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem? Yep that's right. Only one forward getting done per request. The main controller servlet (e.g. Home) forwards to another

RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem?

2002-03-08 Thread lindsay . hamoudi
to learn here I think, but I feel I'm getting closer to the holy grail - getting rid of this exception! -Original Message- From: Attila Szegedi [mailto:[EMAIL PROTECTED]] Sent: 08 March 2002 13:56 To: Tomcat Users List Subject:Re: How can I resolve this IllegalStateException

RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem?

2002-03-08 Thread Wagoner, Mark
To: [EMAIL PROTECTED] Subject: RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem? Don't think JSP is failing. It's quite a simple JSP and has been looked at exhaustively! Yes, I am setting session attributes in Create servlet, for use by create.jsp. I am

RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem?

2002-03-08 Thread lindsay . hamoudi
, Mark [mailto:[EMAIL PROTECTED]] Sent: 08 March 2002 14:52 To: 'Tomcat Users List' Subject:RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem? Actually, the way forward works came as a surprise to me as well. And I only figured it out

RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem?

2002-03-08 Thread Ryan Daigle
]] Sent: Friday, March 08, 2002 10:06 AM To: [EMAIL PROTECTED] Subject: RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem? OK. I never knew the forward call actually returned - ever. I will experiment with this. I'm nearly ready to go away and stop

RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem?

2002-03-08 Thread Wagoner, Mark
, as a precaution I don't like to hold object references between calls like this. Maybe I'm just anal... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, March 08, 2002 10:06 AM To: [EMAIL PROTECTED] Subject: RE: How can I resolve this IllegalStateException

RE: How can I resolve this IllegalStateException: Response has a lrea dybeen committed problem?

2002-03-08 Thread jeff . guttadauro
PROTECTED] cc: 03/08/02 Subject: RE: How can I resolve this IllegalStateException: Response

IllegalStateException: Session already invalidated

2002-02-19 Thread Egil Rian
I get the following error sometimes when I have had tomcat running for a while, but have had little or no activity in the sessions. When I call session.getAttribute(attributeName), I get the error: java.lang.IllegalStateException: getAttribute: Session already invalidated at

IllegalStateException: Session already invalidated

2002-02-15 Thread Egil Rian
I get the following error sometimes when I have let the tomcat running for a while, but have had little or no activity in the sessions. When I call session.getAttribute(attributeName), I get the error: java.lang.IllegalStateException: getAttribute: Session already invalidated at

IllegalStateException in releasePageContext

2002-01-25 Thread Robert Winningham
I have upgraded from Tomcat 3.2.2 to Tomcat 4.0.1, and I am now receiving many errors in my error log (one for each time a user hits a .jsp page.) This is causing my logs to grow VERY quickly. I did not receive these types of errors in 3.2.x. The errors are all in the following format:

RE: IllegalStateException in releasePageContext

2002-01-25 Thread Wagoner, Mark
Do you happen to have include directives with flush=true. If so, take the flush attribute out. This helped me, anyway. -Original Message- From: Robert Winningham [mailto:[EMAIL PROTECTED]] Sent: Friday, January 25, 2002 9:46 AM To: [EMAIL PROTECTED] Subject: IllegalStateException

RE: IllegalStateException in releasePageContext

2002-01-25 Thread Robert Winningham
List' Subject: RE: IllegalStateException in releasePageContext Do you happen to have include directives with flush=true. If so, take the flush attribute out. This helped me, anyway. -Original Message- From: Robert Winningham [mailto:[EMAIL PROTECTED]] Sent: Friday, January 25, 2002 9:46

RE: IllegalStateException in releasePageContext

2002-01-25 Thread Robert Winningham
(pageContext); } -Original Message- From: Wagoner, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, January 25, 2002 8:56 AM To: 'Tomcat Users List' Subject: RE: IllegalStateException in releasePageContext Do you happen to have include directives with flush=true. If so, take the flush attribute

Tomcat 3.3 ThreadPool throws IllegalStateException

2001-12-14 Thread Drasko . Kokic
Hi there, I am having a problem with the Tomcat 3.3 running on Solaris 8. The Tomcat is breaking up with the following message: Stop reaper ThreadPool: Caught exception executing org.apache.tomcat.util.net.TcpWorkerThread@9dfb6, terminating thread java.lang.IllegalStateException at

IllegalStateException

2001-11-25 Thread Ariel
Hello, I am running Tomcat 3.2.3 on a Sparc-Solaris 8 machine. My servlets work fine for an undetermined period of time. Suddenly it enters on a loop printing the following message: 2001-11-22 04:03:26 - Ctx( /movious ): IllegalStateException in: R( /movious + / portal + null) Current state

IllegalStateException from jsp:include..

2001-10-31 Thread Steve Brunton
It looks like on a jsp:include from Tomcat 4.0.1 on Solaris x86 (JDK 1.3.1_01) I'm getting a IllegalStateException when the JSP engine actually attempts to include the file (Stack Trace from include in JSP is at the end). For the Apache side of things I've got document-root set to /www/si/sifk

Tomcat 4.0.1 IllegalStateException (was NOT in 4.0 final)

2001-10-18 Thread pero
Hi, after updating to TC 4.0.1 I occasionally get the following exception: StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception java.lang.IllegalStateException at org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:1 59) at

update: Tomcat 4.0.1 IllegalStateException (was NOT in 4.0 final)

2001-10-18 Thread pero
:45 PM To: [EMAIL PROTECTED] Subject: Tomcat 4.0.1 IllegalStateException (was NOT in 4.0 final) Hi, after updating to TC 4.0.1 I occasionally get the following exception: StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception java.lang.IllegalStateException

Re: update: Tomcat 4.0.1 IllegalStateException (was NOT in 4.0 final)

2001-10-18 Thread Remy Maucherat
Hi, I found out that this happens mostly when using pageContext.forward(). I use this method before writing any html-code and I do a return; afterwards. Has anybody any clue? After a forward, the response is not modifiable anymore by the application. One modification which was added

Re: IllegalStateException on jsp:include in simple jsp page

2001-09-30 Thread Remy Maucherat
an IllegalStateException on the inclusion of the tst.js file when using the current jakarta-tomcat-4.0 binary release. The same tst.jsp file works fine when using the jakarta-tomcat-3.2.3 release. I don't see that I have much control preventing the call to obtain the request output stream so how do I prevent

IllegalStateException on jsp:include in simple jsp page

2001-09-29 Thread Scott M Stark
This simple tst.jsp page: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN html head titleTst.jsp/title link rel=stylesheet type=text/css href=tst.css jsp:include page=tst.js flush=true / /head body h1Tst.jsp is OK!/h1 /body /html is producing an IllegalStateException

TC 4.0 - IllegalStateException: Cannot create a session after the response has been committed

2001-08-22 Thread Blanchard Andrew H (CPOCEUR)
I'm trying to get OpenSymphony Sitemesh 1.2 running under Tomcat 4.0. I've tried beta 7 and dev beta 8. Anyway, I'm receiving the following exception: java.lang.IllegalStateException: Cannot create a session after the response has been committed at

Re: TC 4.0 - IllegalStateException: Cannot create a session afterthe response has been committed

2001-08-22 Thread Craig R. McClanahan
See below. On Wed, 22 Aug 2001, Blanchard Andrew H (CPOCEUR) wrote: I'm trying to get OpenSymphony Sitemesh 1.2 running under Tomcat 4.0. I've tried beta 7 and dev beta 8. Anyway, I'm receiving the following exception: java.lang.IllegalStateException: Cannot create a session after the

IllegalStateException with IBM

2001-08-14 Thread Manish
Hi All, I changed the jdk on my Tomcat today to use IBM instead of sun jdk. BUt since then I am getting this exception IllegalStateException in: R( + /myjsp.jsp + null) Cannot forward as OutputStream or Writer has already been obtained I am not using any includes or forwards in my jsp

IllegalStateException: Can't happen

2001-08-07 Thread Terry Westley
I know this is a repeat. The archives and FAQ offer explanations, but not much help with eliminating this intermittent error. I'm using Tomcat 3.2.1 on WinXP Pro RC2 with MS IE6. Should I move on to Tomcat 3.2.3 or 4.0? Will that help? As noted previously, stopping and restarting tomcat

IllegalStateException - tomcat 4

2001-02-15 Thread Andrey Akselrod
Hello, I have searched archives and have seen similar discussions, but could not really find an answer. I am developing a software on top of Servlet API 2.3 so I do need to use Tomcat at least for now. I tried to create a very simplified test case. I was able to reproduce a part of the problem

  1   2   >