DO NOT REPLY [Bug 47121] mod_jk 1.2.27 produces "JkWorkersFile only allowed once" on Netware 6.5
https://issues.apache.org/bugzilla/show_bug.cgi?id=47121 --- Comment #12 from Guenter Knauf 2009-05-26 16:51:33 PST --- (In reply to comment #11) > I suggest yo proceed this discussion - if neceaasry - on the tomcat users > list, > because Bugzilla is not a support forum. Since many NetWare users download binaries directly from my site, and read my forum posts, I have created a forum post where I summarized the results of this BZ: http://www.gknw.net/phpbb/viewtopic.php?p=1436 feel free to subscribe and add further related issues there. Günter. -- 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-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 47121] mod_jk 1.2.27 produces "JkWorkersFile only allowed once" on Netware 6.5
https://issues.apache.org/bugzilla/show_bug.cgi?id=47121 Rainer Jung changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID -- 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-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 47121] mod_jk 1.2.27 produces "JkWorkersFile only allowed once" on Netware 6.5
https://issues.apache.org/bugzilla/show_bug.cgi?id=47121 --- Comment #11 from Rainer Jung 2009-05-26 09:14:47 PST --- That comment came from me, Rainer. The change about putting JkMount into virtual hosts or use JkMountCopy was done a couple of revisions ago. That was the major configuration incompatibility that happened during the last two years I suggest yo proceed this discussion - if neceaasry - on the tomcat users list, because Bugzilla is not a support forum. You can come back to bugzilla and open a new issue, if you do detect a bug, but for discussion of configuration questions please use the users list. -- 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-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 47121] mod_jk 1.2.27 produces "JkWorkersFile only allowed once" on Netware 6.5
https://issues.apache.org/bugzilla/show_bug.cgi?id=47121 --- Comment #10 from Vladimir Mikhelson 2009-05-26 08:54:34 PST --- (In reply to comment #9) > All JkMount and JkMountFile either need to be put into the VirtualHost you are > using, or you add "JkMountCopy All" to the global server, e.g. directly agfter > your JkLogLevel line. Guenter, Can you please elaborate a little bit on what has changed in 1.2.27/28 compared to 1.2.23 which warrants changing config files? Or am I missing something? Thank you, Vladimir -- 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-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 47121] mod_jk 1.2.27 produces "JkWorkersFile only allowed once" on Netware 6.5
https://issues.apache.org/bugzilla/show_bug.cgi?id=47121 --- Comment #9 from Rainer Jung 2009-05-26 02:24:39 PST --- All JkMount and JkMountFile either need to be put into the VirtualHost you are using, or you add "JkMountCopy All" to the global server, e.g. directly agfter your JkLogLevel line. -- 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-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 47121] mod_jk 1.2.27 produces "JkWorkersFile only allowed once" on Netware 6.5
https://issues.apache.org/bugzilla/show_bug.cgi?id=47121 --- Comment #8 from Vladimir Mikhelson 2009-05-25 23:29:45 PST --- (In reply to comment #7) Hi Guenter, Thank you for detailed comments and for the mod_jk loading logic explanation. This is what I did. First, in httpd.conf I commented out the following sections: 1. LoadModule jk_module modules/mod_jk.nlm 2. JkWorkersFile "sys:/adminsrv/conf/mod_jk/workers.properties" JkLogFile "logs/mod_jk.log" JkLogLevel error Then I inserted the block from QFTomcatConnector.conf immediately after section #1 being commented out by that time, "# LoadModule jk_module modules/mod_jk.nlm" LoadModule jk_module modules/mod_jk.nlm JkWorkersFile "sys:/adminsrv/conf/mod_jk/workers.properties" JkLogFile "logs/mod_jk.log" JkLogLevel error It made the trick. I used the NCFs you suggested, did not touch the Tomcat. Both instances of Apache loaded fine. I did run into some issues with NDSAUDIT being unable to reload itself in protected mode, so I ended up rebooting the server, which I still meant to do as a final test. All loaded well after reboot. Yes, in fact it IS Novel's configuration issue. Thank you for helping me to resolve it. -Vladimir PS. Unfortunately I needed to roll mod_jk.nlm back to ver. 1.2.23. Virtual Office would not start with either 1.2.27 or 1.2.28. I tried to move the line 'Include "SYS:/qfsearch/WEB-INF/QFSrchApache.conf"' to the end of http.conf per your recommendation while removing all my modifications. mod_jk loaded fine either way but VO would not start. As soon as I restored mod_jk v.1.2.23 VO started immediately. This is what I received in sys:/apache2/logs/error_log: [Tue May 26 00:50:22 2009] [warn] module rewrite_module is already loaded, skipp ing [Tue May 26 00:50:22 2009] [warn] module ldap_module is already loaded, skipping [Tue May 26 00:50:22 2009] [warn] module auth_ldap_module is already loaded, ski pping [Tue May 26 00:50:22 2009] [notice] LDAP: Built with Novell LDAP SDK [Tue May 26 00:50:22 2009] [notice] LDAP: SSL support available [Tue May 26 00:50:22 2009] [notice] LDAP: Built with Novell LDAP SDK [Tue May 26 00:50:22 2009] [notice] LDAP: SSL support available [Tue May 26 00:50:26 2009] [notice] Apache/2.0.63 (NETWARE) mod_jk/1.2.28 config ured -- resuming normal operations [Tue May 26 00:51:11 2009] [error] [client 69.128.xxx.xxx] File does not exist: sys:/tomcat/4/webapps/vo/servlet [Tue May 26 00:51:13 2009] [error] [client 69.128.xxx.xxx] File does not exist: sys:/tomcat/4/webapps/vo/servlet These are the respective records form sys:/apache2/logs/access_log: 69.128.xxx.xxx - - [26/May/2009:00:51:11 -0500] "GET /vo/servlet/portal?render=o n HTTP/1.1" 404 1127 69.128.xxx.xxx - - [26/May/2009:00:51:13 -0500] "GET /vo/servlet/portal?render=o n HTTP/1.1" 404 1127 Do you have any ideas or is it strictly Novell's business? Thank you, Vladimir -- 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-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 47121] mod_jk 1.2.27 produces "JkWorkersFile only allowed once" on Netware 6.5
https://issues.apache.org/bugzilla/show_bug.cgi?id=47121 --- Comment #7 from Guenter Knauf 2009-05-25 11:32:48 PST --- Hi Vladimir, (In reply to comment #6) > I do not believe it matters which specific .NCFs I used as long as Apache and > Mod_JK were unloaded in all Address Spaces and they were. In fact it does: you use something which sounds for restarting - but if you try a restart, and Apache is not loaded (because you stopped it) then the shutdown command starts Apache instead of shutting down, and the following load command gives you then the 'already loaded' - makes sense? Therefore please use only the NCFs I suggested, even if these need two steps: first a down followed by an up; anyway you cant do a restart since you intent to load a new build of a module. > I unloaded Tomcat as well just to be on the safe side. > Next time I can skip that step. correct, not needed. > Before I go ahead and run the same experiment again can you please confirm > that > you noticed the difference in 2 IF statements. yes, and I explained in detail how it works. Please re-read my last comment where I stated that the block in QFTomcatConnector.conf only is active when mod_jk is _NOT_ loaded. > Condition checked is the opposite. Shouldn't it be the same? No, and I explain again. In httpd.conf you can find: # The following line instructs Apache to load the jk module LoadModule jk_module modules/mod_jk.nlm JkWorkersFile "sys:/adminsrv/conf/mod_jk/workers.properties" JkLogFile "logs/mod_jk.log" JkLogLevel error that means: mod_jk gets unconditionally loaded, and the following block gets conditionally active when mod_jk is loaded. In QFTomcatConnector.conf you have: LoadModule jk_module modules/mod_jk.nlm JkWorkersFile "sys:/adminsrv/conf/mod_jk/workers.properties" JkLogFile "logs/mod_jk.log" JkLogLevel error that means: this block gets only active if mod_jk is _NOT_ already loaded, and is then loaded, and its config stuff is set. Now the problem is this: if QFTomcatConnector.conf is included in httpd.conf _BEFORE_ mod_jk gets loaded from httpd.conf then the whole block in QFTomcatConnector.conf gets active, and loads mod_jk + sets JkWorkersFile. Then a bit later comes the unconditional load of mod_jk from httpd.conf which just gets ignored by the Apache loader with 'module already loaded', then follows the mod_jk config block which conditionally gets active when mod_jk is loaded -- and at this time its loaded, and there then happens the second JkWorkersFile setting which then makes mod_jk refuse loading. Now if you just move the include of QFTomcatConnector.conf down _AFTER_ the mod_jk configure block everything is fine - then mod_jk is loaded already when QFTomcatConnector.conf is processed, and no second config happens. I agree that Novell's config is somewhat crazy, and even more worse is that they then dont care about the order things happen, and where to include QFTomcatConnector.conf from httpd.conf; though the change we did with mod_jk is fully correct - realize that with the old behaviour you would never get aware of a second JkWorkersFile usage, and if it would point to another file than the standard you would be lost. Feel free to open a bug report at Novell and tell them they should use same config block as what they use in QFTomcatConnector.conf - then it wouldnt matter if mod_jk gets loaded + configured either from QFTomcatConnector.conf, or from httpd.conf, and there would never happen a second configure; the first one would just win! Though I doubt it makes much sense to tell Novell for two reasons: 1.) I've heard that they stopped working on SP9, so anyway we probably dont get any updates anymore from Novell. 2.) The whole webservice stuff including mod_jk support is moved to Novell India, and asked Rainer and me last time for SP8 already about the new stuff with mod_jk later 1.2.23, and AFAICT they couldnt make sense of our replies - so they backported some patches so they could avoid later versions. 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-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 47121] mod_jk 1.2.27 produces "JkWorkersFile only allowed once" on Netware 6.5
https://issues.apache.org/bugzilla/show_bug.cgi?id=47121 --- Comment #6 from Vladimir Mikhelson 2009-05-23 21:52:31 PST --- (In reply to comment #5) Guenter, I do not believe it matters which specific .NCFs I used as long as Apache and Mod_JK were unloaded in all Address Spaces and they were. I unloaded Tomcat as well just to be on the safe side. Next time I can skip that step. Before I go ahead and run the same experiment again can you please confirm that you noticed the difference in 2 IF statements. QFTomcatConnector.conf" contains: Pay attention to "!" * Whereas httpd.conf contains: # TABLE: (4) Condition checked is the opposite. Shouldn't it be the same? Thank you, Vladimir -- 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-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 47121] mod_jk 1.2.27 produces "JkWorkersFile only allowed once" on Netware 6.5
https://issues.apache.org/bugzilla/show_bug.cgi?id=47121 --- Comment #5 from Guenter Knauf 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: JkWorkersFile "sys:/adminsrv/conf/mod_jk/workers.properties" JkLogFile "logs/mod_jk.log" JkLogLevel error # 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 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-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 47121] mod_jk 1.2.27 produces "JkWorkersFile only allowed once" on Netware 6.5
https://issues.apache.org/bugzilla/show_bug.cgi?id=47121 --- Comment #4 from Vladimir Mikhelson 2009-05-17 20:15:32 PST --- Guenter, I went ahead and downloaded the latest 1.2.28. First, I verified that mod_jk v.1.2.23 was running 2 times, in address spaces "os" and "adminsrv" respectively. Then I shut down all instances of Tomcat and both instances of Apache by issuing the following commands: tcadmdn tc4stop tc5stop ap2webdn unload address space = adminsrv apache2 Then I verified that mod_jk.nlm was not loaded. After that I issued ap2rsall. The following messages were displayed in the Apach 2.0.63 for Netawre screen: [Sun May 17 21:10:27 2009] [warn] module rewrite_module is already loaded, skipp ing [Sun May 17 21:10:27 2009] [warn] module ldap_module is already loaded, skipping [Sun May 17 21:10:27 2009] [warn] module auth_ldap_module is already loaded, ski pping [Sun May 17 21:10:27 2009] [warn] module jk_module is already loaded, skipping Syntax error on line 638 of SYS:/apache2/conf/httpd.conf: JkWorkersFile only allowed once The following messages were displayed in the Apache2 Web Manager screen: Apache/2.0.63 (NETWARE) mod_jk/1.2.28 PHP/5.0.5 Running in address space ADMINSRV Listening on port(s): 2200 2211 Loaded dynamic module mod_jk.c Loaded dynamic module mod_headers.c Loaded dynamic module mod_rewrite.c Loaded dynamic module sapi_apache2. Please pay attention, normally the "Apache2 Web Manager screen" is hidden, prefixed by the "*" before the screen name in the screen list. This time it was not. After pressing "any key" in the first of the two screens I verified mod_jk.nlm v1.2.28 being loaded once in adminsrv address space. All attempts to start Apache in address space OS failed. Please verify that you can reproduce the behavior I describe. System details: NetWare 6.5 SP8, Small Business Suite. Runs GroupWise 8 HP1 with WebAccess. As far as your request to analyze all includes in httpd.conf goes this is what I discovered. Include "SYS:/qfsearch/WEB-INF/QFSrchApache.conf" is issued in the httpd.conf. QFSrchApache.conf contains the following code: # # Make sure Apache - Tomcat connector is loaded # Include "SYS:/qfsearch/WEB-INF/QFTomcatConnector.conf" QFTomcatConnector.conf" contains: LoadModule jk_module modules/mod_jk.nlm JkWorkersFile "sys:/adminsrv/conf/mod_jk/workers.properties" JkLogFile "logs/mod_jk.log" JkLogLevel error Please let me know if you need more details. Thank you, Vladimir -- 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-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 47121] mod_jk 1.2.27 produces "JkWorkersFile only allowed once" on Netware 6.5
https://issues.apache.org/bugzilla/show_bug.cgi?id=47121 --- Comment #3 from Guenter Knauf 2009-05-14 17:07:06 PST --- (In reply to comment #2) > No I do not have duplicates. NetWare loads the second instance by design. This But with different conf files and into different address spaces, as you self stated - so this doesnt matter. > is how it works with prior mod_jk versions. With version 1.2.27 something > became broken. There's nothing broken, but instead there was code added with 1.2.26 which checks for duplicates of this direction. I have running 1.2.27 on a public webserver with GroupWise, and have just build 1.2.28 and tested on a fresh NW65SP8 installation, and both work fine. > Do you want me to post http.conf here? I did not modify a single line in it? > Standard Novell distribution. no need, I have. Since I dont see the issue it must certainly come from another non-standard product's include file. Please check every additional conf files which get loaded via 'include ' from your sys:/apache2/cond/httpd.conf; a very first candidate is the GroupWise include conf. Once you figured out from where the duplicate came please update the BZ here, and then you might also want to use latest version: http://people.apache.org/~fuankg/mod_jk/1.2.28/ -- 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-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 47121] mod_jk 1.2.27 produces "JkWorkersFile only allowed once" on Netware 6.5
https://issues.apache.org/bugzilla/show_bug.cgi?id=47121 --- Comment #2 from Vladimir Mikhelson 2009-05-14 14:46:07 PST --- No I do not have duplicates. NetWare loads the second instance by design. This is how it works with prior mod_jk versions. With version 1.2.27 something became broken. Do you want me to post http.conf here? I did not modify a single line in it? Standard Novell distribution. -- 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-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 47121] mod_jk 1.2.27 produces "JkWorkersFile only allowed once" on Netware 6.5
https://issues.apache.org/bugzilla/show_bug.cgi?id=47121 --- Comment #1 from Rainer Jung 2009-05-14 14:00:50 PST --- The version seems to work in principal also on Netware. Please double check, whether you have two times JkWorkersFile defined, maybe once in a separate file included into your main httpd.conf, like a mod_jk.conf or similar. -- 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-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org