JNDI datasource question

2006-03-08 Thread John Cherouvim
Hello I have a JNDI Datasource pooling 10 connections on a database of my mysql server. Why does it use only one process on the mysql server? I have set max active to 10 connections and I am accessing the application from different IPs at the same time. I then perform a SHOW PROCESSLIST on

Re: JNDI datasource question

2006-03-08 Thread John Cherouvim
will reveal 20 or fewer idle processes in this case. maxActive=50 says to cut off incoming connections at 50. Any connection attempt beyond 50 will wait for maxWait=5000 (5 seconds) for a free connection before giving up. Tim -Original Message- From: John Cherouvim [mailto:[EMAIL PROTECTED

Application stop via the manager

2006-03-10 Thread John Cherouvim
Hello I have a server (example.com) with tomcat 5.0.28 running a couple of applications. In the manager I stop application 'foo' and it gives me: OK - Stopped application at context path /foo When I go to example.com:8080/foo I'm getting the expected error message: HTTP Status 503 - This

Tomcat 5.5.15 in debug mode?

2006-04-03 Thread John Cherouvim
Hello I have a serious problem with Tomcat 5.5.15 on windows 2003 with Java 1.5.0_06-b05. Tomcat runs as service in mode jvm (and not mode java, not sure what that is but anyway). Every request on the server gives me this block of debug log on stdout.log 2006-04-03 17:51:36,421 DEBUG

tomcat and mod_jk2 error messages

2006-04-13 Thread John Cherouvim
Hello I have apache2, mod_jk2 and tomcat 5.0.28 on linux. Sometimes tomcat fails (the process is killed somehow) or simply apache cannot propagate the requests to tomcat. When this happens I get the following stuff in the apache errorlog: [Thu Apr 13 10:03:31 2006] [error] msgAjp.receive():

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 -

Re: mod_jk fails to forward request on high traffic

2009-09-08 Thread John Cherouvim
thread count (MaxClients=maxThreads)? thanks Ioannis 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

Re: mod_jk fails to forward request on high traffic

2009-09-10 Thread John Cherouvim
again Ioannis André Warnier wrote: John Cherouvim wrote: ... Is there a possibility that there is a problem with the fact that I use: IfModule mpm_prefork_module ... ServerLimit1024 MaxClients 1024 and default Connector settings? Connector port=8010 protocol=AJP/1.3

JSP 2.0 tag files slowing development/deployment

2006-07-26 Thread John Cherouvim
Hello I'm building a mid scale web application for use within an intranet. I'm using a custom web framework to handle flow, user input, validations, persistence with hibernate and views with JSP and JSP 2.0 tag files. I use tomcat 5.0.28 and in particular this feature it has where you can

Re: JSP 2.0 tag files slowing development/deployment

2006-07-27 Thread John Cherouvim
Thanks for your reply. I've done some testing and tomcat 5.5 compiled the jsp/tags about 2.5-3 times faster! Here is the test with the results: tag files: 122 size : 154kb settings : -Xms256m -Xmx256m |---++---+| | 5.0.28