Re: tomcat 6 delta manager dirtyFlag

2008-12-17 Thread rohit aman
Thanks Filip... On Tue, Dec 16, 2008 at 8:35 PM, Filip Hanik - Dev Lists devli...@hanik.com wrote: rohit aman wrote: Hi, I have tomcat cluster setup and it's working fine. All I need to do now is to replicate the session after every request. For SimpleTcpReplicationManager

Acting on threads by socket events.

2008-12-17 Thread uprooter
Hello. I'm trying to overcome 2 of tomcat limitations that prevent me from rolling my project on it. The limitations are: 1. Tomcat can't detect a lost of connection while the server is processing. 2. If I want my servlet to halt the processing but and keep the connection open tomcat will just

Re: problem on configure the java_option

2008-12-17 Thread user080701
It works. Thanks -- From: Caldarale, Charles R chuck.caldar...@unisys.com Sent: Tuesday, December 16, 2008 10:44 PM To: Tomcat Users List users@tomcat.apache.org Subject: RE: problem on configure the java_option From: Piller Sébastien

Re: How do you determine the amount of Tomcat threads in use?

2008-12-17 Thread Kees Jan Koster
Dear Mark, Just a quick question on how to see threads in use, I have been using prstat -L -p tomcat java process, however I suspect this is not the correct way to do it. You can also attach jconsole of vsiualvm to check. That has the added benefit of being able to see not only the

Re: Serious security problem with mod_jk?

2008-12-17 Thread André Warnier
No Ipod here, but since even the master started top-posting.. You can also use something like SetEnvIf REQUEST_URI \.(htm|web|css|gif|jpg|js|html?)$ no-jk Ooops, no, that's the opposite effect. Might still be useful though. See the end of this page for a whole bag of tricks like that :

Re: Serious security problem with mod_jk?

2008-12-17 Thread Christopher Schultz
Sorry for the top post; iphone iant the best email client in the world. Try: Location /*.jsp Deny from all /Location When configuring Apache httpd in front of Tomcat, you should set up lots of these types of rules to protect your (jsp) sources, WEB-INF, META-INF, etc. -chris On Dec

Re: No printer found error on Tomcat restart

2008-12-17 Thread Kees Jan Koster
Dear Tony, We have a Tomcat 5.5.20 installation running as a service on Windows 2003 Server standard x64 operating system using version 1.6.0_07 (x86) jre. The Tomcat service is running as a user which has all administrator rrights and is started automatically on server startup. Are

Apache 2.2.3 segfault with Jk connector 1.2.27

2008-12-17 Thread André Warnier
Hi. Despite the subject, I think the Jk Connectors help is here, isn't it ? I am installing/configuring a server for a customer, remotely. The choice of OS or versions and packages is not mine, it is generally mandated, with just a little leeway for small things. My problem is this, as soon

RE: Serious security problem with mod_jk?

2008-12-17 Thread Payne, George (ghp5h)
Well, this is a bit off topic, since I had meant (and still mean) this as a tentative bug report of a problem with mod_jk (am I the only one who sees this issue?), but commonly packaged applications assume you can serve non-java content (styles, .js files, etc) from the same tree you serve your

RE: No printer found error on Tomcat restart

2008-12-17 Thread Tony De Keizer
Hi Kees Thanks for reply. Yes. Definitely the same. Thats what is so perplexing ... Cheers Tony -Original Message- From: Kees Jan Koster [mailto:kjkos...@gmail.com] Sent: Wednesday, 17 December 2008 22:01 To: Tomcat Users List Subject: Re: No printer found error on Tomcat restart

RE: Serious security problem with mod_jk?

2008-12-17 Thread Caldarale, Charles R
From: George Payne [mailto:gpa...@virginia.edu] On Behalf Of Payne, George (ghp5h) Subject: RE: Serious security problem with mod_jk? or you have to have tomcat serve all static files, bypassing a big reason why most people (I assume) are using apache to front tomcat. Serving static

Re: Serious security problem with mod_jk?

2008-12-17 Thread Mark Thomas
Payne, George (ghp5h) wrote: Well, this is a bit off topic, since I had meant (and still mean) this as a tentative bug report of a problem with mod_jk (am I the only one who sees this issue?), Yes, it looks like you have a valid bug report here. but commonly packaged applications assume you

ssl

2008-12-17 Thread Michael Rooz
Hi, I've successfully configured Tomcat to use Client Authentication. Evidently for Tomcat to reflect updates made to the truststore, it needs to be restarted. How can I get Tomcat to reload its truststore without performing a restart? If this requires writing a custom connector that would

Re: Serious security problem with mod_jk?

2008-12-17 Thread Rainer Jung
On 16.12.2008 18:53, Payne, George (ghp5h) wrote: This is a problem I've seen reported on very old versions of mod_jk, but it seems (apparently) to have a new life in 1.2.27 and possibly other recent versions. If a user puts a double slash (http://mysite.com//myapp/myjsp.jsp) instead of a

Re: Apache 2.2.3 segfault with Jk connector 1.2.27

2008-12-17 Thread André Warnier
Hi. Responding to my own earlier message, I think I have found what looks like a bug with the combination indicated, and a curious (to me) workaround. Summary : under Linux Suse Enterprise 10.1 using the Apache 2.2.3 (prefork) package of that distribution using mod_jk 1.2.27 In the Apache

Re: Apache 2.2.3 segfault with Jk connector 1.2.27

2008-12-17 Thread Rainer Jung
On 17.12.2008 23:54, André Warnier wrote: Hi. Responding to my own earlier message, I think I have found what looks like a bug with the combination indicated, and a curious (to me) workaround. Summary : under Linux Suse Enterprise 10.1 using the Apache 2.2.3 (prefork) package of that

Re: Apache 2.2.3 segfault with Jk connector 1.2.27

2008-12-17 Thread Rainer Jung
On 18.12.2008 00:09, Rainer Jung wrote: Question thus : is my above first configuration invalid ? Most likely not invalid, but exotic and thereby not well tested (the SetHandler trick). Will try to reproduce. I can reproduce, but only if the request goes to a virtual server (VHost). I've

Re: Apache 2.2.3 segfault with Jk connector 1.2.27

2008-12-17 Thread André Warnier
Rainer Jung wrote: On 18.12.2008 00:09, Rainer Jung wrote: Question thus : is my above first configuration invalid ? Most likely not invalid, but exotic and thereby not well tested (the SetHandler trick). Will try to reproduce. I can reproduce, but only if the request goes to a virtual

Re: Apache 2.2.3 segfault with Jk connector 1.2.27

2008-12-17 Thread Rainer Jung
On 18.12.2008 00:31, André Warnier wrote: Rainer Jung wrote: On 18.12.2008 00:09, Rainer Jung wrote: Question thus : is my above first configuration invalid ? Most likely not invalid, but exotic and thereby not well tested (the SetHandler trick). Will try to reproduce. I can reproduce, but

Re: ssl

2008-12-17 Thread Bill Barker
Michael Rooz michaelr...@gmail.com wrote in message news:3df1c6c00812170307m3252f89p8c58b8373142...@mail.gmail.com... Hi, I've successfully configured Tomcat to use Client Authentication. Evidently for Tomcat to reflect updates made to the truststore, it needs to be restarted. How can I

Re: Acting on threads by socket events.

2008-12-17 Thread Bill Barker
uprooter uproo...@gmail.com wrote in message news:21057805.p...@talk.nabble.com... Hello. I'm trying to overcome 2 of tomcat limitations that prevent me from rolling my project on it. The limitations are: 1. Tomcat can't detect a lost of connection while the server is processing. Can't

Servlet Spec2.3 error

2008-12-17 Thread Martin Gainty
Ive noticed if the Wrong version of Servlet-api.jar is loaded into WEB-INF/lib I'll see Servlet Spec 2.3 Error AND offending class is ..HttpServlet.class taking Servlet-api.jar out of WEB-INF/lib fixes the error I *thought* TC Classloader looked in server/lib then ONLY if correct version jar is

RE: Servlet Spec2.3 error

2008-12-17 Thread Caldarale, Charles R
From: Martin Gainty [mailto:mgai...@hotmail.com] Subject: Servlet Spec2.3 error taking Servlet-api.jar out of WEB-INF/lib fixes the error As it should. You must not have *any* version of the servlet-api.jar in WEB-INF/lib. Newer versions of Tomcat detect its presence and ignore it, older

Re: Question on JVM memory in tomcat

2008-12-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kees Jan, Kees Jan Koster wrote: The memory drops every 18 hours because the system had locked up with OOME's and I reboot it. Sorry, that wasn't clear from the graph: it looked like a continuous JVM heap graph with a healthy curve. Knowing that