Maximum concurrent connection to Tomcat server

2005-11-05 Thread Li Ma
We are deploying a web-based project to Tomcat 5.5. We are doing some load testing now. But the load testing failed after concurrent connection reaches about 80 to 100. I think it is not a big number at all.Our server(a linux box) where Tomcat is running has 1G memory and set maxheap of Tomcat to 1

RE: Help configuring mod_jk! Apache 2.0.54 + Tomcat 5.5.12 + SuSE Linux 10.0

2005-11-05 Thread Richard Mixon
Dhaval, Yes - I just checked. The only Linux binaries are for SLES9 - where were they when I needed them? And you really do want the most recent version - it includes the "/JkStatus" control panel for quiescing and adjusting load balancing. If you will take a bit of time I believe I (and others)

RE: Help configuring mod_jk! Apache 2.0.54 + Tomcat 5.5.12 + SuSE Linux 10.0

2005-11-05 Thread Dhaval Patel
Richard, Thank you so much for your quick response. I forgot to mention I am using 32 bit architecture. I have AMD Athlon XP 2000+ with SuSE 10 and Windows XP dual boot. I tried to compile the binaries but could not able to compile it. I found the document from http://tomcat.apache.org/connect

RE: Help configuring mod_jk! Apache 2.0.54 + Tomcat 5.5.12 + SuSE Linux 10.0

2005-11-05 Thread Richard Mixon
Dhaval, I hope I can help - at least a bit. First, your assumption as to whether you have the correct mod_jk binar is probably correct - IF you are running x64 architecture hardware (an AMD64 or one of the Intel Xeon's with 64 bit extensions). I am running SuSE Enterprise Server 9 (SLES9) on our

Help configuring mod_jk! Apache 2.0.54 + Tomcat 5.5.12 + SuSE Linux 10.0

2005-11-05 Thread Dhaval Patel
Hello, I installed SuSE 10.0 via DVD. I have added this mirror (ftp://ftp-linux.cc.gatech.edu/pub/opensuse/distribution/SL-10.0-OSS/inst-source) as the installation source in YaST so that I don't need DVD in future. I installed Apache2 (ver. 2.0.54), apache2-debuginfo, apache2-devel, apache2-doc

Re: filter-mapping to tomcat DefaultServlet

2005-11-05 Thread Maurice Yarrow
Hi Hassan Yeah, I believe it was Tim Funk who had originally recommended the same to me as you are doing. Maybe it is the presence of the that is causing it to fail, though I doubt it. I guess I understood the to be the "filter responds to..." and the to be the "filter sends to..." Anyhow,

Re: filter-mapping to tomcat DefaultServlet

2005-11-05 Thread Hassan Schroeder
Maurice Yarrow wrote: > I was able to successfully use a filter to map to another servlet > in my web app. However, I was not able to map to tomcat's > DefaultServlet. > > I tried a to of "default" and > also, as the below shows, to a with the fully > qualified classname for the tomcat Defau

filter-mapping to tomcat DefaultServlet

2005-11-05 Thread Maurice Yarrow
Hello all I was able to successfully use a filter to map to another servlet in my web app. However, I was not able to map to tomcat's DefaultServlet. I tried a to of "default" and also, as the below shows, to a with the fully qualified classname for the tomcat DefaultServlet. Neither worked

Re: Mimetypes

2005-11-05 Thread ALEX HYDE
Hey, Thanks for that Andoni. I thought that was what it was originally but I set up some tests and the mime-type returned for the phone I was using was correct. It turns out it was more to do with the encoding of the file itself. I think I had gone a bit hardcore, in the sense of trying to g

Re: Mimetypes

2005-11-05 Thread Andoni
Have you looked at /conf/web.xml ? In this file you have a list of file extentions and their associated mime types. This tells the HTTP Server in Tomcat what MIME Type to associate with them when they are being output. I would recommend removing Apache from the process altogether while you are ha

Loosing session using apache 1.3.26-0woody6, mod_jk and tomcat 5.5.9

2005-11-05 Thread Markus Meissner
Hi, I have the problem that the session-id response.encodeURL adds seems not to be vaild as on every retry I get a new session-id. That occurres only if I set up the Context with cookies="false" using mod_jk and apache before tomcat. Details: Using tomcat 5.5.9 over port 8080 behaves as expecte

Re: Can a "return" statement cause a problem?

2005-11-05 Thread Darryl L. Miles
Dola Woolfe wrote: In one of my JSP pages (ErrorPage.jsp) I have the following code. <% if (display-nothing-only-forward) { out.println(""); // return; } //Lot's more code %> It works, but prints out unnecessary html before it forwards. But if I uncomment "return" it stops working. I get