From users-return-220563-apmail-tomcat-users-archive=tomcat.apache.org@tomcat.apache.org Tue Jan 04 12:37:01 2011 Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 42454 invoked from network); 4 Jan 2011 12:37:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Jan 2011 12:37:01 -0000 Received: (qmail 35074 invoked by uid 500); 4 Jan 2011 12:36:58 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 34878 invoked by uid 500); 4 Jan 2011 12:36:57 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 34869 invoked by uid 99); 4 Jan 2011 12:36:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jan 2011 12:36:57 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rainer.jung@kippdata.de designates 195.227.30.149 as permitted sender) Received: from [195.227.30.149] (HELO mailserver.kippdata.de) (195.227.30.149) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jan 2011 12:36:50 +0000 Received: from [195.227.30.209] (notebook-rj [195.227.30.209]) by mailserver.kippdata.de (8.13.5/8.13.5) with ESMTP id p04CaTNc028629 for ; Tue, 4 Jan 2011 13:36:29 +0100 (CET) Message-ID: <4D231448.40808@kippdata.de> Date: Tue, 04 Jan 2011 13:36:24 +0100 From: Rainer Jung User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Tomcat7 with mod_jk References: <4D231217.7040803@geosar.ch> In-Reply-To: <4D231217.7040803@geosar.ch> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Hi, On 04.01.2011 13:27, mario@geosar.ch wrote: > Hello, > why I get this error:java.lang.ClassNotFoundException: > org.apache.jk.config.ApacheConfig > > with tomcat6 this worked: > modJk="/usr/local/apache2/modules/mod_jk.so" > workersConfig="/usr/local/apache2/conf/workers.properties"/> > > Is changend something in tomcat7 That listener was only used to generate automatic mod_jk configurations from Tomcat deployments. After starting Tomcat the config was written out and you had to manually copy it into your Apache/mod_jk installation. The config which was generated that way never was really production ready. It worked, but not more. Therefore the use of this listener is not recommended and at least I think it is OK if it is no longer working with TC 7. For a good starting point for a production configurations of mod_jk have a look at the exampe configuration contained in the source tarball of mod_jk version 1.2.31. Regards, Rainer --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org