Date: Wed, 24 Nov 2004 11:26:50 +0100 (MET) From: Mipam <mipam@ibb.net> To: freebsd-questions@freebsd.org Subject: mod_jk2 + tomcat + java question Message-ID: <Pine.BSO.4.56.0411241120160.11078@ux11.ltcm.net>
next in thread | raw e-mail | index | archive | help
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: <IfModule mod_jk.c> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSO.4.56.0411241120160.11078>