tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47121] mod_jk 1.2.27 produces "JkWorkersFile only allowed once" on Netware 6.5
Date Sat, 23 May 2009 14:34:13 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47121





--- Comment #5 from Guenter Knauf <eflash@gmx.net>  2009-05-23 07:34:09 PST ---
Hello Vladimir!
Well, seems I was correct regarding the product include files, and you found
the culprit with the QFSrchApache.conf file.
The other issues you see are a bit strange, and since you issue strange NCF
files I dont know about I cant help here - but I can recommend to use the
default start/stop files which are:
admsrvdn.ncf -> stop admin server
admsrvup.ncf -> start admin server
ap2webdn.ncf -> stop web server in OS address space
ap2webup.ncf -> start web server in OS address space
if you use these then you should not see the issues you saw about 'already
loaded';
and finally the fix for the duplicate usage of JkWorkersFile is this:
- make sure that the QFSrchApache.conf include happens _after_ the IfModule
block in your httpd.conf:
<IfModule mod_jk.c>
   JkWorkersFile "sys:/adminsrv/conf/mod_jk/workers.properties"
   JkLogFile "logs/mod_jk.log"
   JkLogLevel error
</IfModule>
# QFSrchApache.conf must be included after the mod_jk block!!
Include "SYS:/qfsearch/WEB-INF/QFSrchApache.conf"

that's all! Now when the QFSrchApache.conf is included then mod_jk is already
loaded, and the block in QFSrchApache.conf should therefore not be executed
because its surrounded with <IfModule !mod_jk.c> which means its only executed
when mod_jk is not loaded.

HTH, Guenter.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message