Re: JSP Compilation issue after upgrade from 6.0.18 to 6.0.20

2009-10-25 Thread Alexander Hartner
Hi Charles, Thanks for your reply. I agree with you about moving tools.jar being a really bad idea, but after several hours of struggling I figured I might as well try it. My application uses a jspf fragement with this code in it. %...@page import=java.util.*% %!

Fwd: JSP Compilation issue after upgrade from 6.0.18 to 6.0.20

2009-10-25 Thread Alexander Hartner
I put a little sample application together which has this issue. It works perfectly on 6.0.18 but not on 6.0.20. I did however get Charles example working as well. So it can find the class in one JSP, but not the JSP fragment. BuggyTomcat.zip Begin forwarded message: From: Alexander

sessions on tomcat restart in cluster

2009-10-25 Thread Tsirkin Evgeny
Hi all! Does the cluster DeltaManager supports storing the session in a file on restarts? It seems to me that when closing both servers in my cluster and then starting them again the sessions are not restored .What is a solution for that . (P.S. tomcat 6.0 apache 2) Thanks EVgeny

Re: sessions on tomcat restart in cluster

2009-10-25 Thread Tsirkin Evgeny
I had a short into a source code ( http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalina/ha/session/DeltaManager.java?revision=817103view=markup ) and it seems that DeltaManager does not support what i want: I want my sessions replicated across tomcats (2 nodes) but in case

Re: mod_jk don't work fine

2009-10-25 Thread frpll
Pid Ster wrote: On 24 Oct 2009, at 19:38, frpll jose_lopez_r...@telefonica.net wrote: Hi everyone! I have installed Apache2.2 and mod_jk 1.2.25. I have configured httpd.conf workers.properties, uriworkermap.properties, etc... Apache 2.2 work fine, Tomcat 5.5.20 work fine but

Re: mod_jk don't work fine

2009-10-25 Thread Rainer Jung
On 25.10.2009 13:17, frpll wrote: Pid Ster wrote: On 24 Oct 2009, at 19:38, frpll jose_lopez_r...@telefonica.net wrote: Hi everyone! I have installed Apache2.2 and mod_jk 1.2.25. I have configured httpd.conf workers.properties, uriworkermap.properties, etc... Apache 2.2 work fine,

Re: mod_jk don't work fine

2009-10-25 Thread Pid
On 25/10/2009 12:17, frpll wrote: Pid Ster wrote: On 24 Oct 2009, at 19:38, frplljose_lopez_r...@telefonica.net wrote: Hi everyone! I have installed Apache2.2 and mod_jk 1.2.25. I have configured httpd.conf workers.properties, uriworkermap.properties, etc... Apache 2.2 work fine,

Re: mod_jk don't work fine

2009-10-25 Thread frpll
Hi! A server.xml's split de Tomcat is: Connector port=8080 redirectPort=8443 minSpareThreads=25 connectionTimeout=2 maxSpareThreads=75 maxThreads=150 /Connector Connector port=8009 redirectPort=8443

Re: JSP Compilation issue after upgrade from 6.0.18 to 6.0.20

2009-10-25 Thread Konstantin Kolinko
2009/10/25 Alexander Hartner a...@j2anywhere.com: I am sure this issue would have come up before, but after struggling with this for several hours not and not having found anything I might as well as for help. When I deploy my application on Tomcat 6.0.18 it all works just fine, however after

Status worker not stopping or disabling worker through JkStatus

2009-10-25 Thread Mohit Anchlia
I posted this earlier to old thread. I am posting it with new thread. Apache 2.2.11, mod_jk/1.2.28: There seems to be a problem with activation of status worker JkStatus. Even after explicitly saying stopped for one of the workers the Act keeps going back and forth. When I refresh that page it

Re: Status worker not stopping or disabling worker through JkStatus

2009-10-25 Thread Rainer Jung
What's you operating system and how exactly did you configure and make mod_jk? What JK directives do you use in your httpd configuration? If you set JkLogLevel to info, are there any log messages during startup? Regards, Rainer On 25.10.2009 15:18, Mohit Anchlia wrote: I posted this earlier

Re: Status worker not stopping or disabling worker through JkStatus

2009-10-25 Thread Mohit Anchlia
mod_jk 1.27 came with the rpm that we installed on linux. Later we got the binary for mod_jk 1.28 and followed the instructions of copying the .so. Below are the snippet from the properties file. Interesting thing is that setup looks fine. I get the JkStatus page on the browser and it lets me set

Re: Status worker not stopping or disabling worker through JkStatus

2009-10-25 Thread Mohit Anchlia
I think I got it. It was JkShmFile that was missing. Do you know how load balancing was working then if the status worker wasn't running? During our perf test I did see that it was getting load balanced. On Sun, Oct 25, 2009 at 7:50 AM, Mohit Anchlia mohitanch...@gmail.com wrote: mod_jk 1.27

Re: Status worker not stopping or disabling worker through JkStatus

2009-10-25 Thread Rainer Jung
On 25.10.2009 16:00, Mohit Anchlia wrote: I think I got it. It was JkShmFile that was missing. yes, and the default didn't work, see below. Do you know how load balancing was working then if the status worker wasn't running? During our perf test I did see that it was getting load balanced.

So many timeout values

2009-10-25 Thread Mohit Anchlia
Apache 2.2.11 I also trying to understand cpong, prepost and all other timeouts. But it's confusing in terms of which one should be used and which ones can be left alone. We currently have following values, do you see any problem? worker.host2533.type=ajp13 worker.host2533.port=8009

Re: Status worker not stopping or disabling worker through JkStatus

2009-10-25 Thread Mohit Anchlia
Thanks. Is the JkShmfile something new? It worked when we had mod_jk 1.25. What is JkshmFile used for? On Sun, Oct 25, 2009 at 8:42 AM, Rainer Jung rainer.j...@kippdata.de wrote: On 25.10.2009 16:00, Mohit Anchlia wrote: I think I got it. It was JkShmFile that was missing. yes, and the

Re: JSP Compilation issue after upgrade from 6.0.18 to 6.0.20

2009-10-25 Thread Alexander Hartner
Thanks for this info. This problem was really doing my head in. Glad to see there is a rational fix for it. Looking forward to the next release. Alex On 25 Oct 2009, at 13:55, Konstantin Kolinko wrote: 2009/10/25 Alexander Hartner a...@j2anywhere.com: I am sure this issue would have come

Re: Status worker not stopping or disabling worker through JkStatus

2009-10-25 Thread Rainer Jung
On 25.10.2009 17:12, Mohit Anchlia wrote: Thanks. Is the JkShmfile something new? It worked when we had mod_jk 1.25. What is JkshmFile used for? No it exists since a long time. The exact way of using it internally changed a bit from version to version. Its main puposes are: - providing