Re: mod_jk and 304

2009-03-09 Thread Eqbal
ules file is (you can learn that from looking at the LoadMofdule line for mod_jk), you can use strings mod_jk.so | fgrep 1.2. Regards, Rainer > -Original Message- From: Eqbal Sent: > Saturday, March 07, 2009 2:13 PM To: Tomcat Users > List Subject: Re: mod_jk and 304 > >

Re: mod_jk and 304

2009-03-07 Thread Eqbal
to test, but upgrading just mod_jk is easier.) What are the extra 20 bytes? Are they an actual message body or garbage? -- Len On Fri, Mar 6, 2009 at 21:08, Eqbal wrote: > > Some additional info I found on this: > It seems that combination of mod_deflate and mod_jk is causing the iss

Re: mod_jk and 304

2009-03-06 Thread Eqbal
re in tomcat, apache always seem to append some bytes in the message body when there is a 304 response. - Original Message From: Eqbal To: users@tomcat.apache.org Sent: Friday, March 6, 2009 3:51:24 PM Subject: mod_jk and 304 I have tomcat running behind apache http server 2.0 using m

mod_jk and 304

2009-03-06 Thread Eqbal
I have tomcat running behind apache http server 2.0 using mod_jk. I have noticed that this causes any response to request for files in tomcat that return a 304 status code, to also have a 20 byte message body attached to the response. This causes our load balancer to think this is an error as a

RE: Defining context inside conf/Catalina/localhost

2008-02-27 Thread Eqbal
That seems to have fixed it. Thanks for your help! --- "Caldarale, Charles R" <[EMAIL PROTECTED]> wrote: > > From: Eqbal [mailto:[EMAIL PROTECTED] > > Subject: Defining context inside > conf/Catalina/localhost > > > > How do I define multiple conte

Defining context inside conf/Catalina/localhost

2008-02-27 Thread Eqbal
Hi, I am trying to move my context definitions from server.xml to conf/Caralina/localhost directory. I am having trouble defining multiple contexts with same docBase. It appears tomcat looks for a directory named with the XML file name in the webapps folder. How do I define multiple contexts wit

warning error sending end packet

2008-01-17 Thread Eqbal
I am seeing a lot of warning messages in catalina.out with the stack trace show below. We are using tomcat 5.5.16 with apache 2 and ajp13 to connect. Can someone shed some light on this? Thanks. = WARNING: Error sending end packet java.net.SocketException: Broken p

Re: sessions not cleaned up after expiry

2008-01-15 Thread Eqbal
1) > Bugzilla: > http://issues.apache.org/bugzilla/show_bug.cgi?id=37356 > -- > Len > > > On Jan 15, 2008 1:39 PM, Eqbal <[EMAIL PROTECTED]> > wrote: > > Thanks Bill! > > Is there a bug report I can look at for this? I > tried > > searching on the websit

Re: sessions not cleaned up after expiry

2008-01-15 Thread Eqbal
supports this version. If I can find a documented bug report it may make it easier for me to go to the vendor and demand support for an upgraded tomcat. Thanks. --- Bill Barker <[EMAIL PROTECTED]> wrote: > > "Eqbal" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL

RE: sessions not cleaned up after expiry

2008-01-14 Thread Eqbal
Hello Martin, I am not sure I understand where you are going with this. I do have jmx enabled so I can see the memory allocation charts alright (survivor, eden, old, per gen, code cache etc.). I have my ms and mx set to 1024m, permgen is set to 64m min and 192m max. The thing I do not understand

sessions not cleaned up after expiry

2008-01-14 Thread Eqbal
Hi, I am noticing the in one of our webapps sessions are not getting cleaned up long after they have expired. Our session expiry time is set to 30 min. I am using lambdaprobe to monitor the sessions and it appears that all of these sessions contain one attribute, __lambda_probe_la_ip. I am using T

Re: DataSource question

2008-01-09 Thread Eqbal
; > http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html > > > Please correct me if I'm wrong, or if I > missunderstood your question. > > Cheers! > > > > 2008/1/8, Eqbal <[EMAIL PROTECTED]>: > > > > I have defined my jn

DataSource question

2008-01-07 Thread Eqbal
I have defined my jndi DataSource for connecting to the database under the conf/context.xml file. I would like to understand what it means in terms of availability of the datasource to each of the web apps and the thing I am confused about is what is the maximum number of connections available? Is

RE: performance with apache and tomcat

2007-04-19 Thread Eqbal
ncer perform > the failover to the spare machine if needed. > > regards > Leon > > P.S. There are indeed some real scenarios, where a > httpd in front > would be useful: down page, ssl, port 80 stress, but > since you have a > loadbalancer, it will be serving it much

performance with apache and tomcat

2007-04-19 Thread Eqbal
Hello, We are planning on using Tomcat as the Servlet container for one of our production systems. I would like to know if there are any performance issues using it together with Apache webserver 2.0 and the ajp connector (using mod_rewrite). Is performance expected to be better if we double up To

Re: error-page directive in 5.5.20 - resending

2007-04-19 Thread Eqbal
Yes. It does not go to my custom page. It instead shows the default Tomcat messages. I also tried the changes suggested by Rashmi earlier but doesn't seem to work. Thanks. --- Christopher Schultz <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 >

Re: error-page

2007-04-18 Thread Eqbal
I did not realize/know that this will create a problem. I apologize for doing that. I have sent a new message for my topic/question. Thanks for bringing it to my attention. --- Mark Thomas <[EMAIL PROTECTED]> wrote: > When starting a new thread (ie sending a message to > the list about a > new top

error-page directive in 5.5.20 - resending

2007-04-18 Thread Eqbal
Hi, I have an error-page directive in a webapp's web.xml to display a custom error page on 404/500 errors. . It works on my local machine which has Tomcat 5.5.17, but it does not work on my server which has 5.5.20 installed. Any ideas? Below is my web.xml: -- http://java.sun.com/dtd/web

Re: error-page

2007-04-18 Thread Eqbal
I have an error-page directive in a webapp's web.xml to display a custom error page on 404/500 errors. . It works on my local machine which has Tomcat 5.5.17, but it does not work on my server which has 5.5.20 installed. Any ideas? Below is my web.xml: -- http://java.sun.com/dtd/web-app

problem when using log4j within a Tomcat web app

2007-01-30 Thread Eqbal
Hi, I have configured a web application to use log4j for logging information (using log4j.properties). I am using the commons logging API calls in my class files. I am using %F and %L in my pattern layout. When I run my class file as stand alone in Eclipse I get proper logging information with the