mod_jk2 + tomcat + java question

Mipam mipam at ibb.net
Wed Nov 24 02:26:55 PST 2004


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.


More information about the freebsd-questions mailing list