java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory

2004-01-29 Thread Bernhard Erdmann
Hi, I'm using Tomcat 4.1.18 and mod_jk2 (2.0.4-dev) with Apache2 on Linux, Sun JDK 1.4.2_03. When Tomcat starts, it writes an error to catalina.out SEVERE: Can't create apr - java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory What do I miss? INFO: Initializing Coyote

Re: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory

2004-01-29 Thread Bernhard Erdmann
Dima Gutzeit wrote: Check you servler/lib directory. commons-logging.jat should be there. It comes with Tomcat destribution. Hi, commons-logging.jar is in $CATALINA_HOME/server/lib. Disabling apr.NativeSo in $CATALINA_HOME/conf/jk2.properties suppresses the error message (#

mod_jk2, load balancing with two tomcats favors a single servlet engine

2003-11-18 Thread Bernhard Erdmann
Hi, running Apache 2.0.47 / mod_jk2 2.0.2 / Tomcat 4.1.24 on RedHat Linux 8.0 with two instances of Tomcat having an identical webapps tree. The second servlet engine never gets as many sessions as the first servlet engine. I wrote a script to record the session counter available from

Re: jk or jk2

2003-10-30 Thread Bernhard Erdmann
Cory 'G' Watson wrote: If starting a new _production_ setup, should I be using jk or jk2? I've seen conflicting information in my searches. Hi, I recommend mod_jk2 for apache2. I discovered mod_jk does not forward properly requests by their JSESSIONID to the right servlet engine in a two

Re: jk or jk2

2003-10-30 Thread Bernhard Erdmann
Florian Ebeling wrote: Hi, mod_jk2 is more or less undocumented. If you dont't want to dive into the C sources, be careful. mod_jk comes with quite solid descriptions. [...] Here's a great book including mod_jk2: http://www.oreilly.de/catalog/tomcat/index.html

Internal Server Error, ErrorDocument does not work using mod_jk2 and servlet engine stopped

2003-10-22 Thread Bernhard Erdmann
Hi, how can I customize Apache's error page if mod_jk2 does not get a usable worker (Tomcat is down)? Using Apache 2.0.47, mod_jk2 2.0.2 and Tomcat 4.1.24 running on Linux I get an error message when the servlet engine is stopped (Tomcat is down): The servlet container is temporary unavailable

mod_jk2: mod_jk child workerEnv in error state 46

2003-10-14 Thread Bernhard Erdmann
Hi, I've got Apache 2.0.47, two Tomcats 4.1.24 and mod_jk2 2.0.2 running on Linux. There are lots of lines containing mod_jk child workerEnv in error state 46. Does it harm? [Tue Oct 14 11:11:37 2003] [error] mod_jk child workerEnv in error state 46 [Tue Oct 14 11:11:38 2003] [error] mod_jk