Stateless actions for web application

2010-05-02 Thread Padam J Singh
Hello, I have a web application that is installed on two servers, each hosting a tomcat server with the following version details: Server version: Apache Tomcat/5.5.20 Server built: Sep 12 2006 10:09:20 Server number: 5.5.20.0 OS Name:Linux OS Version: 2.6.18-92.el5

The purpose of maxPostSize

2010-05-02 Thread Bytecode
According to Tomcat docs, the purpose of maxPostSize is: 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 than or equal to 0. If not specified, this attribute is set to

Re: Tomcat Connector to Apache 2.2

2010-05-02 Thread Juha Laiho
Please clarify does not work: - after running the servers with the described configuration, what did you attempt to access? - what was the response on the browser? -- if using IE, do disable the Show friendly HTTP error messages in Internet Options/Advanced to see real server error messages

Re: Tomcat Connector to Apache 2.2

2010-05-02 Thread André Warnier
Jie Sheng Chua wrote: Hi, I operating Ubuntu 10.04 with Tomcat 6.0.24 on OpenJDK 6b18-1.8. I trying to configure tomcat connector to allow (for now) all request to be pass from Apache 2.2 to Tomcat 6. I downloaded

Re: The purpose of maxPostSize

2010-05-02 Thread André Warnier
Bytecode wrote: According to Tomcat docs, the purpose of maxPostSize is: 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 than or equal to 0. If not specified, this

Re: The purpose of maxPostSize

2010-05-02 Thread Bytecode
Thanks for the response. It now makes sense, but I still don't understand why this is being referred to as a FORM URL or the container's FORM URL. Thanks in advance, Bytecode On 02/05/2010, at 8:48 PM, André Warnier wrote: Bytecode wrote: According to Tomcat docs, the purpose of maxPostSize

Re: The purpose of maxPostSize

2010-05-02 Thread Mark Thomas
On 02/05/2010 09:57, Bytecode wrote: According to Tomcat docs, the purpose of maxPostSize is: 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 than or equal to 0. If

Re: The purpose of maxPostSize

2010-05-02 Thread André Warnier
Mark Thomas wrote: On 02/05/2010 09:57, Bytecode wrote: According to Tomcat docs, the purpose of maxPostSize is: 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 than

Re: The purpose of maxPostSize

2010-05-02 Thread Bytecode
Thanks for all the answers. But it still isn't clear to me what Tomcat guys are referring to by a FORM URL. Looks like this term isn't defined anywhere else in the docs. On 02/05/2010, at 9:42 PM, André Warnier wrote: Mark Thomas wrote: On 02/05/2010 09:57, Bytecode wrote: According to

Re: The purpose of maxPostSize

2010-05-02 Thread Mark Thomas
On 02/05/2010 12:42, André Warnier wrote: Mark Thomas wrote: On 02/05/2010 09:57, Bytecode wrote: According to Tomcat docs, the purpose of maxPostSize is: 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

Re: The purpose of maxPostSize

2010-05-02 Thread Mark Thomas
On 02/05/2010 12:54, Bytecode wrote: Thanks for all the answers. But it still isn't clear to me what Tomcat guys are referring to by a FORM URL. Looks like this term isn't defined anywhere else in the docs. Read section 3.1.1 of the Servlet 3.0 specification. Mark

Re: The purpose of maxPostSize

2010-05-02 Thread André Warnier
Mark Thomas wrote: On 02/05/2010 12:54, Bytecode wrote: Thanks for all the answers. But it still isn't clear to me what Tomcat guys are referring to by a FORM URL. Looks like this term isn't defined anywhere else in the docs. Read section 3.1.1 of the Servlet 3.0 specification. ..which

Re: The purpose of maxPostSize

2010-05-02 Thread Mark Thomas
On 02/05/2010 14:39, André Warnier wrote: There exists a FileUpload module for that in the Apache commons project (at http://commons.apache.org/fileupload/), but you have to install it separately. It would seem more natural to me if this module was an integral part of Tomcat, but I suppose

Re: The purpose of maxPostSize

2010-05-02 Thread André Warnier
Mark Thomas wrote: On 02/05/2010 14:39, André Warnier wrote: There exists a FileUpload module for that in the Apache commons project (at http://commons.apache.org/fileupload/), but you have to install it separately. It would seem more natural to me if this module was an integral part of

Re: The purpose of maxPostSize

2010-05-02 Thread Mark Thomas
On 02/05/2010 15:06, André Warnier wrote: Mark Thomas wrote: On 02/05/2010 14:39, André Warnier wrote: There exists a FileUpload module for that in the Apache commons project (at http://commons.apache.org/fileupload/), but you have to install it separately. It would seem more natural to me

Re: Tomcat Connector to Apache 2.2

2010-05-02 Thread Jie Sheng Chua
Hi André and Juha, I edit my tomcat server.xml as describe. my tomcat and apache listed that the connector is started as in the log. But when i access (http://192.168.1.68/examples/index.html) with IE, The webpage cannot be found error is displayed. When i access

Re: Tomcat Connector to Apache 2.2

2010-05-02 Thread André Warnier
Hi. Jie Sheng Chua wrote: Hi André and Juha, I edit my tomcat server.xml as describe. my tomcat and apache listed that the connector is started as in the log. But when i access (http://192.168.1.68/examples/index.html) with IE, The webpage cannot be found error is displayed. Do yourself a

Re: changing tomcat-users.xml makes tomcat unresponsive

2010-05-02 Thread paul geer
Thank you for the reply. Do you mean the original installation of ubuntu or tomcat? I restored the tomcat settings back to the original state, but cannot see that an examples app is pre-installed. If it's something I need to deploy myself, I'm not sure how to do that without access to the

Re: Tomcat Connector to Apache 2.2

2010-05-02 Thread Jie Sheng Chua
Hi André, Sorry as this email will become quite long. Thanks for your help so far. I change the log to debug and this is the first type of log that I retrieve. *Type 1 Log:* [Mon May 03 02:27:12 2010] [3385:4191106880] [debug] jk_set_time_fmt::jk_util.c (458): Pre-processed log time stamp

Re: changing tomcat-users.xml makes tomcat unresponsive

2010-05-02 Thread Ken Bowen
The standard Tomcat package from apache.org comes with an examples app pre-installed. The various packagers (incl. Ubuntu) mangle Tomcat in a variety of ways. Standard advice on this list for something like your situation seems to be is to first download a clean Tomcat package from

[no subject]

2010-05-02 Thread Tomcat Users List
X-zuka-RWMailScanner-ID: 49AB853821E.AE729 X-zuka-rw-MailScanner-Information: Please contact the ISP for more information Received: from Magnolia.local (unknown [70.48.209.168]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested)

[no subject]

2010-05-02 Thread Tomcat Users List
X-zuka-RWMailScanner-ID: 49AB853821E.AE729 X-zuka-rw-MailScanner-Information: Please contact the ISP for more information Received: from Magnolia.local (unknown [70.48.209.168]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested)

Re: changing tomcat-users.xml makes tomcat unresponsive

2010-05-02 Thread André Warnier
Hi. I am not familiar with Ubuntu, but I am told it uses the same packages as Debian Linux. In such a case, Tomcat itself, the example apps, and/or the manager applications, may be in 2 or 3 different packages, which you need to each install. Check with apt-cache search tomcat to make sure.

Re: Tomcat on a machine with multiple ip addresses

2010-05-02 Thread Smithan John
Hi Dave, Please provide below information: - The port on which the old Apache instance is running. - The port on which the new Apache instance is configured. - Does the whole setup use only DNS resolution or do we have a CSS(Secure Switch) layer. Regards, Smithan. On Mon, May 3,

Re: Tomcat Connector to Apache 2.2

2010-05-02 Thread André Warnier
Hi. First of all, I get all the messages posted to the list, so you do not need to send me a copy as a cc, because that makes me get every message twice. Thanks. Next, do not change too many things at a time, that just confuses things for now. So let's stick to the JkMount syntax for now.

Re: changing tomcat-users.xml makes tomcat unresponsive

2010-05-02 Thread David Smith
You might want to check the file permissions before and after you edit it. Something about this smells like a permissions issue. I have a Ubuntu 9.10 installed tomcat and it works perfect. Admittedly I didn't upgrade from 8.4 but w/ editing tomcat-user.xml being the only change, there are only

Re: Tomcat on a machine with multiple ip addresses

2010-05-02 Thread Pid
On 02/05/2010 20:35, Dave Filchak wrote: Due to a hard drive failure, I am needing to move some websites to a machine that has Tomcat already running on it with Apache as the front end. I was unable to get the sites working using the Apache instance that was already there so, I installed a

Re: Tomcat Connector to Apache 2.2

2010-05-02 Thread David Smith
Personally I highly recommend the Firebug plugin for Firefox to diagnose this stuff. It does an amazing job of showing parameters, headers, responses, everything. --David On 5/2/2010 12:42 PM, André Warnier wrote: Hi. Jie Sheng Chua wrote: Hi André and Juha, I edit my tomcat

Re: Tomcat Connector to Apache 2.2

2010-05-02 Thread André Warnier
David Smith wrote: Personally I highly recommend the Firebug plugin for Firefox to diagnose this stuff. It does an amazing job of showing parameters, headers, responses, everything. In this case however, we know the request URL and we know the server response, so I don't think a browser-side

Re: Tomcat Connector to Apache 2.2

2010-05-02 Thread Jie Sheng Chua
Hi André, The $ is because the line is too long and my putty end it up with a $. Sorry for that problem. The Js-Server-Ubuntu.gateway.2wire.net is rdns for my server ip address of 192.168.1.68. My router automatically reverse it. Previously I used the default setting of my virtual host

RE: FW: General / Special cause under which TOMCAT Crash been noticed

2010-05-02 Thread Karthik Nanjangude
Hi As I have indicated that my Web application would be installed /run remotely with out any monitoring factor (for reasons) I was validating in such situations ,if any known reasons for Tomcat Crash happens ...How to restart automatically with mail notification as the only form of offline