From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 10:26:55 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1117E16A4CE for ; Wed, 24 Nov 2004 10:26:55 +0000 (GMT) Received: from ux11.ltcm.net (ux11.ltcm.net [64.215.98.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43C8B43D49 for ; Wed, 24 Nov 2004 10:26:54 +0000 (GMT) (envelope-from mipam@ibb.net) Received: from ux11.ltcm.net (mipam@localhost.ltcm.net [IPv6:::1]) by ux11.ltcm.net (8.12.9/8.12.9/UX11TT) with ESMTP id iAOAQq95018287 for ; Wed, 24 Nov 2004 11:26:52 +0100 (MET) Received: from localhost (mipam@localhost) by ux11.ltcm.net (8.12.9/8.12.9/Submit) with ESMTP id iAOAQpMi020612 for ; Wed, 24 Nov 2004 11:26:51 +0100 (MET) X-Authentication-Warning: ux11.ltcm.net: mipam owned process doing -bs Date: Wed, 24 Nov 2004 11:26:50 +0100 (MET) From: Mipam X-X-Sender: mipam@ux11.ltcm.net To: freebsd-questions@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: mod_jk2 + tomcat + java question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Nov 2004 10:26:55 -0000 Hi, Does anybody have experience with tomcat en mod_jk? I installed java, tomcat5, mod_jk2 and apache2 via the ports. The mod_jk2 module is now loaded in the httpd.conf I copied mod_jk.conf in /usr/local/etc/apache2 and it looks now like this: JkWorkersFile /usr/local/etc/apache2/workers.properties JkLogFile logs/jk.log JkLogLevel warn # Sample JkMounts. Replace these with the paths you would # like to mount from your JSP server. JkMount /*.jsp myname.com JkMount /servlet/* myname.com JkMount /examples/* myname.com I also copied workers.properties and workers2.properties to /usr/local/etc/apache2. However, i see errors in the http log: [Wed Nov 24 10:09:50 2004] [error] config.update(): Can't find config file /usr/local/conf/workers2.properties [Wed Nov 24 10:09:50 2004] [error] shm.init(): No file [Wed Nov 24 10:09:51 2004] [notice] Apache/2.0.52 (FreeBSD) mod_jk2/2.0.2 PHP/4.3.9 configured -- resuming normal operations [Wed Nov 24 10:09:51 2004] [error] shm.init(): No file [Wed Nov 24 10:09:51 2004] [error] mod_jk child init 1 0 [Wed Nov 24 10:09:51 2004] [error] shm.init(): No file [Wed Nov 24 10:09:51 2004] [error] shm.init(): No file [Wed Nov 24 10:09:51 2004] [error] shm.init(): No file [Wed Nov 24 10:09:51 2004] [error] shm.init(): No file [Wed Nov 24 10:09:57 2004] [error] shm.init(): No file [Wed Nov 24 10:09:58 2004] [error] shm.init(): No file [Wed Nov 24 10:09:58 2004] [error] shm.init(): No file There is a tomcat dir here: /usr/local/jakarta-tomcat5.0 Any hints how i could make things work? What to change? Bye, Mipam.