Re: Tomcat 7 - No modifications are allowed to a locked ParameterMap

2012-05-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ravi, On 5/5/12 12:10 AM, ravi kant chaturvedi wrote: > i got the proper solution for my problem, so i do not require more > mails from this list. > > please stop the mail, because this is spoiling my mail box. Pro tip: filter your email. It's what

Re: Tomcat 7 - No modifications are allowed to a locked ParameterMap

2012-05-06 Thread André Warnier
Pid * wrote: On 5 May 2012, at 05:11, ravi kant chaturvedi wrote: i got the proper solution for my problem, so i do not require more mails from this list. please stop the mail, because this is spoiling my mail box. If you don't want any more mail from this list, unsubscribe from the mailin

Re: Tomcat 7 - No modifications are allowed to a locked ParameterMap

2012-05-06 Thread Pid *
Friday, 4 May 2012 12:24 PM > Subject: Re: Tomcat 7 - No modifications are allowed to a locked ParameterMap > > On 03/05/2012 19:54, David Wall wrote: >> Chris, >> >> Thanks for the 'findbugs' tip. I'm running it now in Eclipse and it has >>

Re: Tomcat 7 - No modifications are allowed to a locked ParameterMap

2012-05-04 Thread ravi kant chaturvedi
: Friday, 4 May 2012 12:24 PM Subject: Re: Tomcat 7 - No modifications are allowed to a locked ParameterMap On 03/05/2012 19:54, David Wall wrote: > Chris, > > Thanks for the 'findbugs' tip.  I'm running it now in Eclipse and it has > indeed found real bugs and some g

Re: Tomcat 7 - No modifications are allowed to a locked ParameterMap

2012-05-03 Thread Pid
On 03/05/2012 19:54, David Wall wrote: > Chris, > > Thanks for the 'findbugs' tip. I'm running it now in Eclipse and it has > indeed found real bugs and some good stylistic ideas as well. If you like that, try Sonar. http://www.sonarsource.org/ p -- [key:62590808] signature.asc Descri

Re: Tomcat 7 - No modifications are allowed to a locked ParameterMap

2012-05-03 Thread David Wall
Just a quick update on these several threads of Tomcat 7 oddball exceptions. It looks to be as Chuck believed that it was a coding error on our end that was causing this. In particular, it was the no-no misuse of instance variables in a controlling servlet. Thanks for everyone's help! David

Re: Tomcat 7 - No modifications are allowed to a locked ParameterMap

2012-05-03 Thread David Wall
Chris, Thanks for the 'findbugs' tip. I'm running it now in Eclipse and it has indeed found real bugs and some good stylistic ideas as well. David - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Re: Tomcat 7 - No modifications are allowed to a locked ParameterMap

2012-05-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 5/3/12 9:23 AM, Konstantin Kolinko wrote: > One more tip: run with > "org.apache.catalina.connector.RECYCLE_FACADES=true" RequestFacade is a fairly lightweight object: it's only got a single (reference) member so it's weight is somethi

Re: Tomcat 7 - No modifications are allowed to a locked ParameterMap

2012-05-03 Thread Konstantin Kolinko
2012/5/3 David Wall : > > > On 5/2/2012 2:17 PM, Caldarale, Charles R wrote: >> >> Both this symptom and your earlier one about creating a session after a >> response has been committed are representative of the kinds of errors seen >> when a webapp stores references in an inappropriate scope.  For

Re: Tomcat 7 - No modifications are allowed to a locked ParameterMap

2012-05-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 5/2/12 8:01 PM, David Wall wrote: > > > On 5/2/2012 2:17 PM, Caldarale, Charles R wrote: >> Both this symptom and your earlier one about creating a session >> after a response has been committed are representative of the >> kinds of errors

Re: Tomcat 7 - No modifications are allowed to a locked ParameterMap

2012-05-02 Thread David Wall
On 5/2/2012 2:17 PM, Caldarale, Charles R wrote: Both this symptom and your earlier one about creating a session after a response has been committed are representative of the kinds of errors seen when a webapp stores references in an inappropriate scope. For example, keeping a reference to

RE: Tomcat 7 - No modifications are allowed to a locked ParameterMap

2012-05-02 Thread Caldarale, Charles R
> From: David Wall [mailto:d.w...@computer.org] > Subject: Re: Tomcat 7 - No modifications are allowed to a locked ParameterMap > I am pretty sure we never store the request/response objects in the > session, static field or thread-local. > What about in your servlets?

Re: Tomcat 7 - No modifications are allowed to a locked ParameterMap

2012-05-02 Thread David Wall
On 5/2/2012 2:17 PM, Caldarale, Charles R wrote: Both this symptom and your earlier one about creating a session after a response has been committed are representative of the kinds of errors seen when a webapp stores references in an inappropriate scope. For example, keeping a reference to

RE: Tomcat 7 - No modifications are allowed to a locked ParameterMap

2012-05-02 Thread Caldarale, Charles R
> From: David Wall [mailto:d.w...@computer.org] > Subject: Tomcat 7 - No modifications are allowed to a locked ParameterMap > May 2, 2012 1:55:03 AM org.apache.catalina.core.ApplicationDispatcher invoke > SEVERE: Servlet.service() for servlet jsp threw exception > java.lang.Illega

Tomcat 7 - No modifications are allowed to a locked ParameterMap

2012-05-02 Thread David Wall
We are running Tomcat 7.0.26 and have not see this except before running high load testing. It's an odd exception in that our getParam() code is just calling: String[] pv = request.getParameterValues(name); That is, we are not making a call that should be attempting to change any parameter va