Author: hgomez
Date: Mon Mar 19 09:54:16 2007
New Revision: 520012

URL: http://svn.apache.org/viewvc?view=rev&rev=520012
Log:
The iSeries implementation need a different initialisation of jk log.
This fix is to be infestigated further with IBMer Rochester.

Modified:
    tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c

Modified: tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c?view=diff&rev=520012&r1=520011&r2=520012
==============================================================================
--- tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c (original)
+++ tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c Mon Mar 19 09:54:16 
2007
@@ -2785,7 +2785,22 @@
             for (; srv; srv = srv->next) {
                 jk_server_conf_t *sconf = (jk_server_conf_t 
*)ap_get_module_config(srv->module_config,
                                                                                
    &jk_module);
+/***
+ * on iSeries, the web server is 'HTTP Powered by Apache 2', as such it 
differs from the regular 
+ * implementations found on others boxes.
+ * 
+ * One of this difference is that the life cycle seems different and we 
discovered that on such platform
+ * we need to initialize the jk log with the plog instead of pconf.
+ * 
+ * We're waiting for more feedback from Rochester iSeries Labs... 
+ * 
+ ***/
+  
+#ifdef AS400
+                if (open_jklog(srv, plog))
+#else
                 if (open_jklog(srv, pconf))
+#endif
                     return HTTP_INTERNAL_SERVER_ERROR;
                 if (sconf) {
                     if (!uri_worker_map_alloc(&(sconf->uw_map),



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to