You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Cynic <cy...@mail.cz> on 2001/03/05 15:13:51 UTC

apache fails to start

Hi there,

I've got trouble trying to get Apache to start with 
tomcat/mod_jk. apache starts fine without mod_jk. 

this is what I get when I try to start apache with mod_jk:

the error:
==========
[Mon Mar 05 15:07:16 2001] [emerg] Error while opening the workers

mod_jk.log:
===========
[jk_uri_worker_map.c (155)]: Into jk_uri_worker_map_t::uri_worker_map_alloc
[jk_uri_worker_map.c (195)]: Into jk_uri_worker_map_t::uri_worker_map_open
[jk_uri_worker_map.c (210)]: jk_uri_worker_map_t::uri_worker_map_open, rule map size is 3
[jk_uri_worker_map.c (255)]: Into jk_uri_worker_map_t::uri_worker_map_open, suffix rule /.jsp=wrkajp13 was added
[jk_uri_worker_map.c (266)]: Into jk_uri_worker_map_t::uri_worker_map_open, match rule /servlet/=wrkajp13 was added
[jk_uri_worker_map.c (266)]: Into jk_uri_worker_map_t::uri_worker_map_open, match rule /examples/=wrkajp13 was added
[jk_uri_worker_map.c (295)]: Into jk_uri_worker_map_t::uri_worker_map_open, there are 3 rules
[jk_uri_worker_map.c (316)]: jk_uri_worker_map_t::uri_worker_map_open, done


the rest of the relevant info follows, if it's insufficient, 
I'll be happy to feed you with more. 
BTW, I got the same error with just including mod_jk.conf-auto
and default workers.properties.

setup:
======
NT 5 Pro SP1
Tomcat 3.2.1 (running fine)
Apache 1.3.20-dev (runs just fine without mod_jk)

httpd.conf (relevant stuff):
============================
<VirtualHost *>
    DocumentRoot /usr/local/tomcat/webapps/ROOT
    ServerName ...
    ...
    <IFModule mod_jk.c>
        JkWorkersFile d:\usr\local\tomcat\conf\workers.properties
        JkLogFile logs/mod_jk.log
        JkLogLevel warn
        JkMount /*.jsp ajp12
        JkMount /servlet/* ajp12
        JkMount /examples/* ajp12
    </IfModule>
    ...
</VirtualHost>

workers.properties (complete file, I stripped it down to the bone):
===================================================================
workers.tomcat_home=d:\usr\local\tomcat
workers.java_home=d:\usr\local\java\jdk-1.3
worker.list=ajp12
worker.ajp12.port=8007
worker.ajp12.host=localhost
worker.ajp12.type=ajp12

environment:
============
JAVA_HOME=d:/usr/local/java/jdk1.3
Path=d:/usr/local/java/jdk1.3/bin;d:/dev/perl/bin;C:\orant\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\PROGRA~1\ULTRAE~1;c:/jdk1.3/bin;C:\PROGRA~1\Tcl\bin;c:\Borland\Bcc55;C:\Program Files\Intel\edb32\;C:\Program Files\Intel\compiler45\bin;D:\MSDEV\Common\Tools\WinNT;D:\MSDEV\Common\MSDev98\Bin;D:\MSDEV\Common\Tools;D:\MSDEV\VC98\bin;C:\Program Files\Microsoft Platform SDK\Bin\;C:\Program Files\Microsoft Platform SDK\Bin\WinNT;c:/usr/bin;D:/home
TOMCAT_HOME=d:/usr/local/tomcat



TIA

____________________________________________________________
Cynic:

A member of a group of ancient Greek philosophers who taught
that virtue constitutes happiness and that self control is
the essential part of virtue.

cynic@mail.cz