Re: very high CPU and load...

2009-09-08 Thread André Warnier
keeplearning wrote: I am running a load test with 2 web (apache) and 2 appservers (tomcat). I am noticing that after 250 users, I start seeing very high CPU usage and very high load. Below is the o/p from top command. I also saw this message in catalina.out: "SEVERE: All threads (250) are current

Need Help - Mod_jk/Apache - Mutiple Content issue

2009-09-08 Thread balakarthik.baskaran
Hi, In our production envt,we are making use of a configuration of Apache(2.2.10-1)+Mod_jk(1.2.27)+JBOSS(4.0.5)+ATG 2007.1. We are facing a problem where multiple content is being displayed to the customer.It was observed that the pages were being periodically rendered or rendered multiple times.T

very high CPU and load...

2009-09-08 Thread keeplearning
I am running a load test with 2 web (apache) and 2 appservers (tomcat). I am noticing that after 250 users, I start seeing very high CPU usage and very high load. Below is the o/p from top command. I also saw this message in catalina.out: "SEVERE: All threads (250) are currently busy, waiting. Inc

Re: Problem with Tomcat 6 cluster

2009-09-08 Thread Filip Hanik - Dev Lists
what do your logs tell you? Filip On 09/08/2009 02:33 AM, Sumedh Sakdeo wrote: Hello All, I have a setup with two tomcat instances(A&B). I have configured an apache web server 2.2 for load balancing and fail over. Setup looks fine as per the configurations suggested. Let tomcat A be

Re: catalina error file

2009-09-08 Thread Pid
On 08/09/2009 20:37, André Warnier wrote: David Smith wrote: ... Pure speculation on my part, but maybe the OP is looking for log rotation. Nah, much too simple. And so are syslog and other Windows Event logs. Neither did the OP tell us on which platform this would be, nor really even if it i

Re: catalina error file

2009-09-08 Thread André Warnier
Caldarale, Charles R wrote: From: Hassan Schroeder [mailto:hassan.schroe...@gmail.com] Subject: Re: catalina error file Basically a fixed-size serialized FIFO, right? Yes, but the complication occurs when the records are of unbounded variable size. But we are talking about logfiles (e.g.),

Typo on http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html ?

2009-09-08 Thread Markus Fischer
Hi think there's a typo at http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html . If you search for "ROOR" you will find: Note that the default or ROOT context for ren would be deployed as $CATALINA_HOME/renapps/ROOT.war (WAR) or $CATALINA_HOME/renapps/ROOR (directory). cheers, - M

RE: tomcatThreadPool - when to make changes

2009-09-08 Thread Caldarale, Charles R
> From: tjones1105 [mailto:tjo...@acworld.com] > Subject: RE: tomcatThreadPool - when to make changes > > I'm sorry, your right. I mis-phrased my question. I really meant the > "Executor" should I create a defined "executor" for each service? An can only be nested inside a , and if referenced by

RE: tomcatThreadPool - when to make changes

2009-09-08 Thread tjones1105
I'm sorry, your right. I mis-phrased my question. I really meant the "Executor" should I create a defined "executor" for each service? Thanks, tom Caldarale, Charles R wrote: > >> From: tjones1105 [mailto:tjo...@acworld.com] >> Subject: tomcatThreadPool - when to make changes >> >> I'm cre

RE: catalina error file

2009-09-08 Thread Caldarale, Charles R
> From: Hassan Schroeder [mailto:hassan.schroe...@gmail.com] > Subject: Re: catalina error file > > Basically a fixed-size serialized FIFO, right? Yes, but the complication occurs when the records are of unbounded variable size. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHE

Re: catalina error file

2009-09-08 Thread Hassan Schroeder
On Tue, Sep 8, 2009 at 12:45 PM, André Warnier wrote: > truncate, etc..  It should not be that difficult to implement a type of file > that never exceeds a given size, and be done with all these > localhost.mmdd.log files and logrotate and rotatelogs thingies. Basically a fixed-size serialize

Re: catalina error file

2009-09-08 Thread André Warnier
David Smith wrote: .. :-D The circular file still is the trash can. In that case, /dev/null should work. :-) Yeah but you want a buffer before the /dev/null, to give one a chance to peek at the contents. I like Chuck's proposal for the name. I mean, under Unix/Linux we already have stuff l

Re: catalina error file

2009-09-08 Thread André Warnier
David Smith wrote: ... Pure speculation on my part, but maybe the OP is looking for log rotation. Nah, much too simple. And so are syslog and other Windows Event logs. Neither did the OP tell us on which platform this would be, nor really even if it is related to Tomcat (though I admit that c

Re: catalina error file

2009-09-08 Thread David Smith
Hassan Schroeder wrote: > On Tue, Sep 8, 2009 at 12:07 PM, André Warnier wrote: > > >> Mmmm. The concept of a "circular file" sounds interesting. >> > > In classic American office parlance (yeah, showing my age here), > "the circular file" (or "round file") was a euphemism for "trash can" :

RE: catalina error file

2009-09-08 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: catalina error file > > Mmmm. The concept of a "circular file" sounds interesting. Maybe you > want to explain a bit what you mean ? there may be a great technical > breakthrough lurking there. Nahhh, been there, done that - got one in

Re: problem displaying .swf file in generated html from jsp file

2009-09-08 Thread David Smith
Good to hear. One of the more common/recommended things to do in webapps is to generate server relative paths to resources so context and server names can change dynamically. One way to do this with EL expressions in jsps is: or in your case: var so = new SWFObject('${pageContext.request.

Re: catalina error file

2009-09-08 Thread Hassan Schroeder
On Tue, Sep 8, 2009 at 12:07 PM, André Warnier wrote: > Mmmm. The concept of a "circular file" sounds interesting. In classic American office parlance (yeah, showing my age here), "the circular file" (or "round file") was a euphemism for "trash can" :-) -- Hassan Schroeder -

Re: NIO vs APR vs JIO connectors?

2009-09-08 Thread Eric B.
Thanks Filip - "Filip Hanik - Dev Lists" wrote in message news:4a849eab.4070...@hanik.com... >> That being said, I was leaning towards using the NIO connector for my >> installation. However, I was pretty surprised and shocked when reading >> "Tomcat - The Definitive Guide 2nd Edition" by Jaso

Re: catalina error file

2009-09-08 Thread David Smith
André Warnier wrote: > mateo-jl wrote: >> Hello, >> >> i would like to have a circular catalina error file >> is it possible ? >> > Mmmm. The concept of a "circular file" sounds interesting. Maybe you > want to explain a bit what you mean ? there may be a great technical > breakthrough lurking ther

Re: catalina error file

2009-09-08 Thread André Warnier
mateo-jl wrote: Hello, i would like to have a circular catalina error file is it possible ? Mmmm. The concept of a "circular file" sounds interesting. Maybe you want to explain a bit what you mean ? there may be a great technical breakthrough lurking there.

Re: problem displaying .swf file in generated html from jsp file

2009-09-08 Thread Adrian Matei
Hi David, Thank you very much for your useful advice. Indeed with Firebug I've realized that the files .swf and .js were were being searched in the root of the application and not where I hold my jsp. Now they are loaded. Thanks again, Adrian From: David Smi

Re: mod_jk fails to forward request on high traffic

2009-09-08 Thread André Warnier
John Cherouvim wrote: ... Is there a possibility that there is a problem with the fact that I use: ... ServerLimit1024 MaxClients 1024 and default settings? address="127.0.0.1" /> Do those 2 need to have the same thread count (MaxClients=maxThreads)? I think you're

Re: mod_jk fails to forward request on high traffic

2009-09-08 Thread André Warnier
Rainer Jung wrote: On 08.09.2009 17:49, Mark Thomas wrote: John Cherouvim wrote: Hello I have a website which during peak time (peak lasts around ~4 hours with 14 pageviews/sec, 140 http requests/sec) starts to drop pageview requests. My guess is that all of your Tomcat AJP threads are tied u

Re: problem displaying .swf file in generated html from jsp file

2009-09-08 Thread David Smith
Have you used a plugin like Firebug for Firefox to verify the url of the .swf file as requested by the browser? What url does the browser try to use to get the .swf file and what is the status code on the response (200, 404, 500, etc., )? --David Adrian Matei wrote: > Hi everyone, > > I've b

RE: catalina error file

2009-09-08 Thread Caldarale, Charles R
> From: mateo-jl [mailto:mateo...@orange.fr] > Subject: catalina error file > > i would like to have a circular catalina error file > is it possible ? Maybe. http://www.catb.org/~esr/faqs/smart-questions.html http://wiki.apache.org/tomcat/FAQ/Logging http://tomcat.apache.org/tomcat-6.0-doc/logg

problem displaying .swf file in generated html from jsp file

2009-09-08 Thread Adrian Matei
Hi everyone, I've been having a frustrating problem for almost a week now and I couldn't find an answer so far, just open questions on most of the forums - and i've searched a lot. I am trying to embed a simple flash file .swf within a .jsp but when running it on the server (tomcat 6.0.20 t

RE: tomcatThreadPool - when to make changes

2009-09-08 Thread Caldarale, Charles R
> From: tjones1105 [mailto:tjo...@acworld.com] > Subject: tomcatThreadPool - when to make changes > > I'm creating two services in my server.xml, one for each app. Since I > want them on separate ports. Then you already have a thread pool for each . > I have not set a tomcatThreadPool for each s

Re: mod_jk fails to forward request on high traffic

2009-09-08 Thread Mark Thomas
John Cherouvim wrote: > Thanks for your reply. I'll try DisableReuse on the next peak, although > I read in > http://tomcat.apache.org/connectors-doc/generic_howto/timeouts.html that: >> For this you set "JkOptions +DisableReuse" in your Apache httpd >> configuration. This will have a huge negative

tomcatThreadPool - when to make changes

2009-09-08 Thread tjones1105
Hello, I'm trying to figure out when to make changes to the tomcatThreadPool, or when to create a new one. I'm creating two services in my server.xml, one for each app. Since I want them on separate ports. I have not set a tomcatThreadPool for each service but I'm wondering if I need to and what

Re: mod_jk fails to forward request on high traffic

2009-09-08 Thread John Cherouvim
Thanks for your reply. I'll try DisableReuse on the next peak, although I read in http://tomcat.apache.org/connectors-doc/generic_howto/timeouts.html that: For this you set "JkOptions +DisableReuse" in your Apache httpd configuration. This will have a huge negative performance impact! Is there

Re: apache modjk issue

2009-09-08 Thread Rainer Jung
On 08.09.2009 17:48, sandeepkumarnimma wrote: > > we are using webseal,apache 2.0, mod_jk 1.2.18 and jboss 4.2.3 application > server. we are facing an issue with a single application out of 36 > applications configured in apache workers.properties file. we are receiving > 500 internal error in we

Re: mod_jk fails to forward request on high traffic

2009-09-08 Thread Rainer Jung
On 08.09.2009 17:49, Mark Thomas wrote: > John Cherouvim wrote: >> Hello >> >> I have a website which during peak time (peak lasts around ~4 hours with >> 14 pageviews/sec, 140 http requests/sec) starts to drop pageview requests. > > My guess is that all of your Tomcat AJP threads are tied up with

Re: mod_jk fails to forward request on high traffic

2009-09-08 Thread Mark Thomas
John Cherouvim wrote: > Hello > > I have a website which during peak time (peak lasts around ~4 hours with > 14 pageviews/sec, 140 http requests/sec) starts to drop pageview requests. My guess is that all of your Tomcat AJP threads are tied up with idle httpd threads. Try the following in your h

apache modjk issue

2009-09-08 Thread sandeepkumarnimma
we are using webseal,apache 2.0, mod_jk 1.2.18 and jboss 4.2.3 application server. we are facing an issue with a single application out of 36 applications configured in apache workers.properties file. we are receiving 500 internal error in webseal logs for a duration of 5 to 10 mins in which the a

mod_jk fails to forward request on high traffic

2009-09-08 Thread John Cherouvim
Hello I have a website which during peak time (peak lasts around ~4 hours with 14 pageviews/sec, 140 http requests/sec) starts to drop pageview requests. My setup is: - SUSE Linux Enterprise Server 10 (x86_64) with 8 cpus, 16GB ram - 1 instance of apache 2.2.10 with mpm prefork - mod_jk/1.2.28

Re: /context not working -- mod_jk error: no match for /server-status

2009-09-08 Thread Dennis Christopher
Rainer, I've disabled mod_status in the httpd.conf and now the error no longer appears in mod_jk.log. I try http://localhost/sample/ on the server, as you request, and I am back to "file not found". I can reach the server from outside - the default web page shows up okay and references

Re: Tomcat 6 Cluster/Load Balancing

2009-09-08 Thread Given Shirinda
http://www.tutorialspoint.com/white-papers/load-balancing-and-scalability-via-tomcat-clusters.htm - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: How to install an updated third party SSL certificate for B2B transactions

2009-09-08 Thread Peter Crowther
2009/9/8 David Uctaa > I have inherited a Tomcat 5.5 installation running on Windows XP. There > are > processes on this box which do server-to-server connections with a third > party via HTTPS over SSL. We have installed the third party's SSL > certificate on our server, and they have done lik

How to install an updated third party SSL certificate for B2B transactions

2009-09-08 Thread David Uctaa
I have inherited a Tomcat 5.5 installation running on Windows XP. There are processes on this box which do server-to-server connections with a third party via HTTPS over SSL. We have installed the third party's SSL certificate on our server, and they have done likewise with ours. We use their ce

Tomcat 6 Cluster/Load Balancing

2009-09-08 Thread P S
Hello I am looking for some Tomcat load balancing/cluster architecture that I can use in my project. We have about 25 web apps. An arch diagram would be great. Any documentation/pointers would be helpful. Thanks -P _ Get back t

Re: jkstatus - Error connecting to tomcat - ajp_process_callback write failed

2009-09-08 Thread Rainer Jung
On 08.09.2009 14:40, mateo-jl wrote: > Does these workers options are valid with mod_jk2 (mod_jk2-2.0.43.dll) ? > (http://tomcat.apache.org/connectors-doc/reference/workers.html) No, mod_jk2 is deprecated since many years. mod_jk is well maintained and the preferred way to go. > Do you think tha

RE: jkstatus - Error connecting to tomcat - ajp_process_callback write failed

2009-09-08 Thread Caldarale, Charles R
> From: mateo-jl [mailto:mateo...@orange.fr] > Subject: Re: jkstatus - Error connecting to tomcat - > ajp_process_callback write failed > > Does these workers options are valid with mod_jk2 (mod_jk2-2.0.43.dll) Nothing is valid with mod_jk2 - it has been deprecated and completely unsupported for

catalina error file

2009-09-08 Thread mateo-jl
Hello, i would like to have a circular catalina error file is it possible ? Thank you jlm

Re: jkstatus - Error connecting to tomcat - ajp_process_callback write failed

2009-09-08 Thread mateo-jl
Rainer, i've forgotten in my last message; Does these workers options are valid with mod_jk2 (mod_jk2-2.0.43.dll) ? (http://tomcat.apache.org/connectors-doc/reference/workers.html) Do you think that the following message are relative to timeouts issues ? "Error connecting to tomcat" (not neces

RE: Tomcat 6 Clustering issue

2009-09-08 Thread Darren Kukulka
The clustering and session failover appears to work OK. It's just that when one node is failing to respond in a timely fashion to requests, the balancer does not appear to redirect some (or in some cases all) requests to the good node. As the balancer is configured on 'availability', what does th

Re: jkstatus - Error connecting to tomcat - ajp_process_callback write failed

2009-09-08 Thread mateo-jl
Hello Rainer, about the percentages ... 30% of the total requests are handled by the first tomcat server and so on ... I don't know why the 4th server is under loaded whereas the four servers are configured the same way about interpreting jkstatus ... among many others infrmations, this page sh

Re: avoiding ssl vulnerabilities in tomcat

2009-09-08 Thread Mark Thomas
sunil chandran wrote: > Hello all, > As per the suggestion from tomcat forum users,I went ahead and installed > tomcat4.1.40 > Then i copied the original webapps file from the back up tomcat (old version). > I tried to start the server. It shows this error > Sep 7, 2009 10:13:11 PM org.apache.coyo

Re: avoiding ssl vulnerabilities in tomcat

2009-09-08 Thread sunil chandran
Hello all, As per the suggestion from tomcat forum users,I went ahead and installed tomcat4.1.40 Then i copied the original webapps file from the back up tomcat (old version). I tried to start the server. It shows this error Sep 7, 2009 10:13:11 PM org.apache.coyote.http11.Http11BaseProtocol init

Re: Tomcat 6 Clustering issue

2009-09-08 Thread Sumedh Sakdeo
Hi Darren, For our setup tomcat 6 is able to handle failover to healthy node with proper session replication. I assume you have loaded load balancer module, updated worker.properties, made cluster changes to server.xml of tomcat 6. My problem is next step of yours. http://www.mail-archive.

Re: Reuse DefaultServlet at runtime from webapp for static resources on disk.

2009-09-08 Thread Mark Thomas
Robbert-Jan Roos wrote: > Any ideas on how to go with this? How adventurous are you feeling? Tomcat 7 (not yet released - you'd need to build it from source) has the concept of alias resources that can be defined at the Context level. >From the docs: This attribute provides a list of external l

Tomcat 6 Clustering issue

2009-09-08 Thread Darren Kukulka
Hi All, I've come across some interesting scenarios with a clustered Tomcat6 environment and I'm wondering what the most common (or best) approach to configuration would be. Basically, in a 2 node cluster, with a front-end Apache Web Server using mod_jk balancer (on availability, with equal

Reuse DefaultServlet at runtime from webapp for static resources on disk.

2009-09-08 Thread Robbert-Jan Roos
Hi, We run a website from a ROOT.war file. It also requires some static resources which are in another webapplication (themes) and user uploaded content which is not in source control. Currently we use apache httpd to serve these 2 directories. The user content is mounted from a fileserver, the

Problem with Tomcat 6 cluster

2009-09-08 Thread Sumedh Sakdeo
Hello All, I have a setup with two tomcat instances(A&B). I have configured an apache web server 2.2 for load balancing and fail over. Setup looks fine as per the configurations suggested. Let tomcat A be handling some request at sometime. When tomcat instance(A) goes down, the session