The request was rejected because its size (102811565) exceeds the configured maximum (52428800)

2010-08-25 Thread Razvan Poenaru
type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception java.lang.IllegalStateException: org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its

Re: The request was rejected because its size (102811565) exceeds the configured maximum (52428800)

2010-08-25 Thread Wesley Acheson
I'm pretty sure this is the wrong mailing list. http://tomcat.apache.org/tomcat-6.0-doc/config/http.html maxPostSize The maximum size in bytes of the POST which will be handled by the container FORM URL parameter parsing. The limit can be disabled by setting this attribute to a value less

Re: failed FORM authentication redirects to /j_security_check

2010-08-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Shaun, On 8/23/2010 4:56 AM, Shaun Senecal wrote: I'm using FORM authentication, and everything seems to be working (logins are accepted, etc), except when there was an error the URL changes in the users browser to point to j_security_check. This

Re: Session problem

2010-08-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hisham, On 8/24/2010 10:30 PM, Hisham wrote: Jason, you're right in that the tabs i was referring to were tabs within my application. I will verify tomorrow whether the domain is different, but i seriously doubt it. I have a few other things you

Re: The request was rejected because its size (102811565) exceeds the configured maximum (52428800)

2010-08-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 http://catb.org/esr/faqs/smart-questions.html On 8/25/2010 9:05 AM, Razvan Poenaru wrote: type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception

Re: Deploying a war to the root URL path

2010-08-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeffrey, On 8/23/2010 12:56 PM, Jeffrey Janner wrote: Also, I'm surprised no one offered the obvious tuckey redirector solution, which usually gets brought up a lot on this list. You can always deploy your jira.war as normal, but also create a

Re: Session problem

2010-08-25 Thread Stephen Caine
Jason, I was referring to an issue where a user opens several tabbed references to the same window. If the session value is changed in one window, the value will change in subsequent references in the other tabbed window(s). Actually, this is significant problem, but if this is not what was

Best practices for deployment on cluster environment

2010-08-25 Thread Fernando Morgenstern
Hi, I have a Tomcat cluster environment with 4 servers. I was wondering that is the best way to deploy an application on 4 servers at the same time. At a first moment, i thought about having a script that would copy war files to all servers using rsync. Basically i upload the war file to the

Corrupt files in 6.0.29 distribution?

2010-08-25 Thread Clifton, Matthew R (AS)
Hello, Just performed a download on the 6.0.29 version of the software, and after performing a Sophos Anti-virus scan found the following four files to be corrupt: dso-dlfcn.o, locks.o, replace.o, signals.o. These files were found within the commons-daemon-native.tar.gz for the

Re: Session problem

2010-08-25 Thread Hisham
Chris, thanks for your reply! 1. Are you using cookies? If you don't properly encode all the URLs in your webapp, you could be losing session information when cookies are /not/ being used. It sounds like you are using cookies, though, given your statement about using Firebug to read the

Re: Session problem

2010-08-25 Thread Hisham
Btw, Jason, I have verified that the domain is the same. -h On Wed, Aug 25, 2010 at 9:55 AM, Hisham mohis...@gmail.com wrote: Chris, thanks for your reply! 1. Are you using cookies? If you don't properly encode all the URLs in your webapp, you could be losing session information when

Re: Session problem

2010-08-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hisham, On 8/25/2010 9:55 AM, Hisham wrote: 1. Are you using cookies? If you don't properly encode all the URLs in your webapp, you could be losing session information when cookies are /not/ being used. It sounds like you are using cookies,

java.net.BindException: Address already in use

2010-08-25 Thread Paul Bourget
I assumed that this indicates be a port conflict before I googled this problem. Every solution I found said find and resolve the port conflict. I cannot find the conflict. [r...@localhost logs]# netstat -a | grep 8209 [r...@localhost logs]# [r...@localhost logs]# netstat -a | grep

Re: Tomcat Version Numbers

2010-08-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 8/20/2010 12:36 PM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Tomcat Version Numbers What was the first version of TC 6.0 that was considered stable? Looks like 6.0.1 was the

Re: java.net.BindException: Address already in use

2010-08-25 Thread Peter Crowther
Well, the ports you're requesting are or have recently been in use. Try: netstat -an | grep 8209 ... just in case someone's given the service a name in /etc/services. Also just check that you've not got the same number in two places in conf/server.xml, for example as the shutdown port. Finally,

Re: [OT] Sessions mix-up on Tomcat 6.0.26 on Linux

2010-08-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yawar, On 8/21/2010 12:42 AM, Yawar Khan wrote: chris, i had a look at container managed authentication and its quite handy. but i couldnt see how i can add extra functionality like calling an encryption function on password text field before

Re: Tomcat Version Numbers

2010-08-25 Thread Peter Crowther
On 25 August 2010 15:23, Christopher Schultz ch...@christopherschultz.netwrote: Again, this is partly because I feel a certain sense of order which requires releases to be X.0.0. Why? And by release do you mean stable, production-quality releases that we'll stake our reputations on (in which

Re: How stable is Tomcat?

2010-08-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yawar, On 8/21/2010 8:59 AM, Yawar Khan wrote: Guys, is tomcat stable enough to host large scale production applications getting 1500+ hits everyday? Certainly. 1500 hits/day is nothing. You could do that on a smartphone. Our daily average for

Re: Corrupt files in 6.0.29 distribution?

2010-08-25 Thread Konstantin Kolinko
2010/8/25 Clifton, Matthew R (AS) matthew.clif...@ngc.com: Just performed a download on the 6.0.29 version of the software, and after performing a Sophos Anti-virus scan found the following four files to be corrupt: dso-dlfcn.o, locks.o, replace.o, signals.o.  These files were found within the

Re: How stable is Tomcat?

2010-08-25 Thread David kerber
On 8/25/2010 10:44 AM, Christopher Schultz wrote: ... I know alot depends on the applications architecture but just how good is tomcat? Really effing good. +1 - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

Re: Tomcat Version Numbers

2010-08-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, On 8/25/2010 10:30 AM, Peter Crowther wrote: On 25 August 2010 15:23, Christopher Schultz ch...@christopherschultz.netwrote: Again, this is partly because I feel a certain sense of order which requires releases to be X.0.0. Why? And

Re: How stable is Tomcat?

2010-08-25 Thread Edmund Urbani
On 08/25/10 16:51, David kerber wrote: On 8/25/2010 10:44 AM, Christopher Schultz wrote: I know alot depends on the applications architecture but just how good is tomcat? Really effing good. +1 Tomcat itself is usually the last thing to be worried about when it comes to performance and

Re: Session problem

2010-08-25 Thread Hisham
Chris, Let me rephrase what I said: I am not using any custom cookies, the JsessionID cookie gets created by default. So i created an HttpSessionAttributeListener listener. And what i observed is truly weird. Once i click on Messages tab, the request goes through fine, there are a couple of

RE: Tomcat Version Numbers

2010-08-25 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Tomcat Version Numbers there's a 6.0.0-alpha, and then a 6.0.0, unqualified. Does that mean that 6.0.0 was stable -- at least after the alpha stage? Yes. (I missed the unmarked 6.0.0 leg.) why was 6.0.2

How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-25 Thread arnaud icard
Hello, I guess my subject isn't clear at all so here is my problem : I have 1 server with Apache2/Tomcat6 installed. The purpose of this server is to host multiple webapps (this one for instance : http://www.jasig.org/cas) For each of these webapps, we will contact the server with different

Re: How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-25 Thread Wesley Acheson
Hi, You can configure the host element as per http://tomcat.apache.org/tomcat-6.0-doc/config/host.html On Wed, Aug 25, 2010 at 6:13 PM, arnaud icard arnaud.ic...@univ-avignon.fr wrote: Hello, I guess my subject isn't clear at all so here is my problem : I have 1 server with Apache2/Tomcat6

RE: How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-25 Thread Caldarale, Charles R
From: Wesley Acheson [mailto:wesley.ache...@gmail.com] Subject: Re: How to configure different default webapp in function of requested hostname on one tomcat server You can configure the host element as per http://tomcat.apache.org/tomcat-6.0-doc/config/host.html Also look at:

Re: How to configure different default webapp in function of requested hostname on one tomcat server

2010-08-25 Thread Hassan Schroeder
On Wed, Aug 25, 2010 at 9:13 AM, arnaud icard arnaud.ic...@univ-avignon.fr wrote: The purpose of this server is to host multiple webapps (this one for instance : http://www.jasig.org/cas) For each of these webapps, we will contact the server with different urls : cas.domain.fr for the CAS

tomcat 5

2010-08-25 Thread Wesley Acheson
Hi, Is the 5.5 branch actively maintained? Or is it all tc6 now? Just wondering. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: tomcat 5

2010-08-25 Thread Mark Thomas
On 25/08/2010 18:39, Wesley Acheson wrote: Hi, Is the 5.5 branch actively maintained? Or is it all tc6 now? Just wondering. http://wiki.apache.org/tomcat/TomcatVersions Mark - To unsubscribe, e-mail:

Re: Tomcat Version Numbers

2010-08-25 Thread Mark Thomas
On 25/08/2010 16:23, Christopher Schultz wrote: For those who never read http://tomcat.apache.org/whichversion.html, or don't understand it (btw: that page says 7.0.0 is the current version of the 7.0.x versions), downloading the highest version number available (7.0.2) might not be such a

Re: Tomcat ISAPI Redirector for IIS

2010-08-25 Thread andoridyou2010
check the fitler vs extension here is one post http://androidyou.blogspot.com/2010/08/could-not-get-worker-for-name-ajp13.html doepain wrote: No matter what I try where I go I just keep hitting a wall with this ISAPI redirector for IIS/Tomcat. I have been trying to get this to work since

Re: Tomcat ISAPI Redirector for IIS

2010-08-25 Thread andoridyou2010
http://androidyou.blogspot.com/2010/08/using-iis-7-75-tracing-features-to.html andoridyou2010 wrote: check the fitler vs extension here is one post http://androidyou.blogspot.com/2010/08/could-not-get-worker-for-name-ajp13.html doepain wrote: No matter what I try where I go I just

Re: Feedback Requested: Proposed CLI Tool for Apache Tomcat; kitty.

2010-08-25 Thread Mark Thomas
On 19/08/2010 16:13, Jim Jagielski wrote: Any interest in the code moving to the ASF incubator? +1 Incubator sounds like the right place to me. Mark On Aug 16, 2010, at 4:06 PM, Networked wrote: Elevator pitch Myself and Peary Chiu have created a lightweight utility for administering

RE: Deploying a war to the root URL path

2010-08-25 Thread Jeffrey Janner
Quite right. I'd skipped over that little throwaway line in his initial post. -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Wednesday, August 25, 2010 8:35 AM To: Tomcat Users List Subject: Re: Deploying a war to the root URL path

Re: Session problem

2010-08-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hisham, On 8/25/2010 11:07 AM, Hisham wrote: Let me rephrase what I said: I am not using any custom cookies, the JsessionID cookie gets created by default. That makes a lot more sense. So i created an HttpSessionAttributeListener listener. And

Re: Tomcat Version Numbers

2010-08-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 8/25/2010 11:15 AM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Tomcat Version Numbers why not have a tag progression that looks like this: 6.0.0-alpha 6.0.0-beta1

Re: Apache Tomcat 5.5.0 issue - SEVERE: All threads (200) are currently busy, waiting. Increase maxThreads

2010-08-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Scott, On 8/24/2010 12:12 PM, Scott Hamilton wrote: You've got two connectors in that server.xml, and one of them is AJP without any real other configuration parameters. If memory serves the thread limit when not specified for a connector is

Re: separating deployment of classes/lib/config from web content (jsp's/html)

2010-08-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jason, On 8/24/2010 2:38 PM, Jason Britton wrote: The short answer is: you can't separate the components of a webapp out into separate locations. Thanks for the response P. Understood and agreed as to the function and purpose of .war file.

RE: Tomcat Version Numbers

2010-08-25 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Tomcat Version Numbers Okay. Does that mean that: [DIR] v6.0.2-alpha/ 2006-11-16 00:02- [DIR] v6.0.2-beta/2006-11-16 00:02- [DIR] v6.0.2/ 2006-11-16 00:02-

Re: Tomcat Version Numbers

2010-08-25 Thread Rainer Jung
On 25.08.2010 20:57, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 8/25/2010 11:15 AM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Tomcat Version Numbers why not have a tag progression that

Re: separating deployment of classes/lib/config from web content (jsp's/html)

2010-08-25 Thread Jason Britton
:) I got a good laugh out of your response Christopher and I appreciate you taking the time to guide a possibly astray developer but let me hopefully put your mind somewhat at ease in regards to our development practices/environment. Not claiming we have anything resembling a perfect process

RE: java.net.BindException: Address already in use

2010-08-25 Thread Paul Bourget
I just started working with Tomcat so I don't know what script is used to start it other than Catalina.sh (the start section pasted below the command output). It used to work but stopped working recently. I did add a network interface and change the default gateway to point to the new interface.

Re: Mapping REST requests across multiple app contexts

2010-08-25 Thread Ken Fox
Charles Caldarale recommended UrlRewriteFilter and after experimenting with it, I agree it's very nice: great performance, very flexible and handles cross-context forwarding. The custom Valve option is still attractive because it has slightly better performance, slightly better cross-context

Re: failed FORM authentication redirects to /j_security_check

2010-08-25 Thread Shaun Senecal
Thanks for the response Chris. You're right. Jetty does a redirect, so on the client-side the browser sees /login.html?error=true. Since this isn't happening in Tomcat, I am unable to retrieve the query string client side. As you indicated my login page is static html and I am relying on

pick load

2010-08-25 Thread Alexandre Chapellon
Hello, I'm quite new to tomcat and have an old webapps running on tomcat 4.1 and jvm 1.4.2 with apach2.2 in front ofthem (using modjk). I'm trying to get ready for a comming pick load I will have to face. I Try to do some benchmark using ab and the jkstatus worker. Whatever the configuration of

Re: pick load

2010-08-25 Thread Domenico Briganti
Il giorno mer, 25/08/2010 alle 15.28 -1000, Alexandre Chapellon ha scritto: P.S: right now am using ab to send 2000 request with 50 concurrents. What is the report of ab? Domenico - To unsubscribe, e-mail: