'wan' application in 5.5.25

2007-10-28 Thread Ankit Dangi
Hi all, I was earlier using Apache Tomcat 5.5.20, and now am using 5.5.25. In the 'webapps' directory, I created an application with the name as 'wan'. It works fine with .20, and doesn't work with .25. When I changed the name of my application from 'wan' to something else, only then it works on .

Re: Where is the POSTED data on login redirect?

2007-10-28 Thread Bill Barker
"Peter Coppens" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Thanks David, that helps. > > Something seem to go wrong for me though. I guess my question was not > sufficiently exact. > > The data is posted as "application/xml" and the servlet consumes it using > request.getRead

Re: Where is the POSTED data on login redirect?

2007-10-28 Thread David Delbecq
Unfortunately for you, i see nothing in specs about keeping POST information during a form based login. So this feature may be tomcat specific only. It may be also that the tomcat connector keep POST datas only for "application/x-www-form-urlencoded" and makes it available using getParameter().

Application state in ServletContext

2007-10-28 Thread lightbulb432
There's a requirement to allow code anywhere throughout the application to store and access application-wide state by using a class as shown below. The code cannot directly touch the ServletContext class, but may do so through an interface (shown below). public class ApplicationState { private

Re: jkMount

2007-10-28 Thread BuildSmart
On Oct 28, 2007, at 10:47:19, Rainer Jung wrote: Comments inline BuildSmart wrote: On Oct 28, 2007, at 08:32:50, Rainer Jung wrote: Hi, BuildSmart wrote: I'm trying to get around a configuration issue. My webapp builds dynamic script content but the generated scripts are not accessible.

Re: Where is the POSTED data on login redirect?

2007-10-28 Thread Peter Coppens
Thanks David, that helps. Something seem to go wrong for me though. I guess my question was not sufficiently exact. The data is posted as "application/xml" and the servlet consumes it using request.getReader().read(...) The thing is that when the authentication process completes and redirects th

Re: Tomcat 5x SSI

2007-10-28 Thread Mark Thomas
Mark Thomas wrote: > Samik Basu wrote: >> Yes, I have tried it out but turning it on in Web.xml. However it did not >> help. For example - this variable is set to 1 and then I invoked >> /Tomcat/cgi-bin/test.cgi >> /cgi-bin/test.cgi - error is context not found >> ../cgi-bin/test.cgi (assume th

Re: jkMount

2007-10-28 Thread Rainer Jung
Comments inline BuildSmart wrote: On Oct 28, 2007, at 08:32:50, Rainer Jung wrote: Hi, BuildSmart wrote: I'm trying to get around a configuration issue. My webapp builds dynamic script content but the generated scripts are not accessible. For example, calling http://domain.tld/index.jsp?i

Re: jkMount

2007-10-28 Thread BuildSmart
On Oct 28, 2007, at 08:32:50, Rainer Jung wrote: Hi, BuildSmart wrote: I'm trying to get around a configuration issue. My webapp builds dynamic script content but the generated scripts are not accessible. For example, calling http://domain.tld/index.jsp? ip=192.168.0.10&count=10&key=robot"

Re: Unrecoverable error 200, request failed

2007-10-28 Thread Rainer Jung
Hi Ingo, Ingo Düppe wrote: Am I'm right, that with the following setting a reply_timeout is detected when the tomcat doesn't reply within 10 seconds and it will be set into error if more than 15 timeouts in a minutes are detected? worker.plexus.reply_timeout=1 Yes. The timeout gets rese

Re: Unrecoverable error 200, request failed

2007-10-28 Thread Ingo Düppe
Hi Rainer, thank you very much for your detailed answer. Now I can analyse whats going to slow :-) Am I'm right, that with the following setting a reply_timeout is detected when the tomcat doesn't reply within 10 seconds and it will be set into error if more than 15 timeouts in a minutes are d

Re: jkMount

2007-10-28 Thread Rainer Jung
Hi, BuildSmart wrote: I'm trying to get around a configuration issue. My webapp builds dynamic script content but the generated scripts are not accessible. For example, calling http://domain.tld/index.jsp?ip=192.168.0.10&count=10&key=robot"; should generate some subdirectories and builds s

Re: Unrecoverable error 200, request failed

2007-10-28 Thread Rainer Jung
Hi, usually those info messages indicate, that the request took to long, so the user in front of the browser did a retry or back or something similar. In this case the browser closes the existing connection to the web server, although parts of the response are still missing. When Tomcat send

jkMount

2007-10-28 Thread BuildSmart
I'm trying to get around a configuration issue. My webapp builds dynamic script content but the generated scripts are not accessible. For example, calling http://domain.tld/index.jsp? ip=192.168.0.10&count=10&key=robot" should generate some subdirectories and builds some jsp pages with con

Unrecoverable error 200, request failed

2007-10-28 Thread Ingo Düppe
Hello, I found the following lines in my mod_jk.log every 20 to 30 seconds for all of my instances. [info] jk_ajp_common.c (1511): Writing to client aborted or client network problems [info] jk_ajp_common.c (1996): (plexus12) request failed, because of client write error without recovery in

Re: Where is the POSTED data on login redirect?

2007-10-28 Thread david delbecq (jakarta)
They are automatically saved by form authentification system and restored after form authentification. Your servlet won't be able to make the difference between a direct hit and a hit with post restored after form authentification. Please note, however, that the size of post request saved by tomca

Where is the POSTED data on login redirect?

2007-10-28 Thread Peter Coppens
Hello, When a user posts data to a servlet after the session has expired (timeout) tomcat automatically redirects to my login page. After successful login, tomcat will redirect to the original request. I am looking for way to access the originally posted data when it 'arrives' in the servlet (af