|
Yes, there is some log activity, which you can see at the end of my original
message. But I also have thrown the jk_mod log line into debug mode. When I do
that, I get these error on jk_mod.log when I start an apache instance on the
one machine that does not work:
[jk_uri_worker_map.c (185)]: Into jk_uri_worker_map_t::uri_worker_map_alloc
[jk_uri_worker_map.c (236)]: Into jk_uri_worker_map_t::uri_worker_map_open
[jk_uri_worker_map.c (254)]: jk_uri_worker_map_t::uri_worker_map_open, rule map
size is 1
[jk_uri_worker_map.c (323)]: Into jk_uri_worker_map_t::uri_worker_map_open,
match rule /webpublic/=ajp13 was added
[jk_uri_worker_map.c (361)]: Into jk_uri_worker_map_t::uri_worker_map_open,
there are 1 rules
[jk_uri_worker_map.c (391)]: jk_uri_worker_map_t::uri_worker_map_open, done
[jk_uri_worker_map.c (185)]: Into jk_uri_worker_map_t::uri_worker_map_alloc
[jk_uri_worker_map.c (236)]: Into jk_uri_worker_map_t::uri_worker_map_open
[jk_uri_worker_map.c (254)]: jk_uri_worker_map_t::uri_worker_map_open, rule map
size is 1
[jk_uri_worker_map.c (323)]: Into jk_uri_worker_map_t::uri_worker_map_open,
match rule /webpublic/=ajp13 was added
[jk_uri_worker_map.c (361)]: Into jk_uri_worker_map_t::uri_worker_map_open,
there are 1 rules
[jk_uri_worker_map.c (391)]: jk_uri_worker_map_t::uri_worker_map_open, done
--- On Tue 03/25, Gary L Peskin < garyp@xxxxxxxxxxxx > wrote:
From: Gary L Peskin [mailto: garyp@xxxxxxxxxxxx]
To: java400-l@xxxxxxxxxxxx
Date: Tue, 25 Mar 2003 08:41:43 -0800
Subject: RE: Tomcat & Apache on Three AS400's
When you say the "Apache instance will not start". Are you seeing
any<br>messages in the job log or the Apache logs? Have you turned on
debugging<br>for Apache?<br><br>> -----Original Message-----<br>> From:
java400-l-bounces@xxxxxxxxxxxx <br>> [mailto:java400-l-bounces@xxxxxxxxxxxx] On
Behalf Of Alex Pinsky<br>> Sent: Tuesday, March 25, 2003 8:11 AM<br>> To: Java
Programming on and around the iSeries / AS400<br>> Subject: RE: Tomcat & Apache
on Three AS400's<br>> <br>> <br>> Check if you have JDK1.2 installed. For some
reason Apache <br>> might look for this version of JDK to start<br>> <br>>
-----Original Message-----<br>> From: Larry [mailto:larryhytail@xxxxxxxxx]<br>>
Sent: Tuesday, March 25, 2003 10:53 AM<br>> To: java400-l@xxxxxxxxxxxx<br>>
Subject: Tomcat & Apache on Three AS400's<br>> <br>> <br>> <br>> I have Tomcat
4.1.12 loaded on three AS400's teamed up with <br>> IBMs PTF distribution of
Apache. I got Tomcat running on one <br>> as400 and then copied the tomcat
directory to the other two <br>> AS400s. On the original install and the third
install <br>> everuthig works great. But on the second install I can only
<br>> get tomcat to work standalone. It absolutely refuses to <br>> function
with the Apache plugin. When I install the <br>> apache-tomcat plugin module
to the apache config, the Apache <br>> instance will not start.<br>> <br>> I
have had my Sys Admin guy scour the three 400's for <br>> differences, but we
can find none. PTF levels are the same. <br>> In one act of desparation we
did a full backup of one of the <br>> working machines and restored it to the
non-working machine <br>> and still ended up with the same result. I am left
<br>> confounded. We called IBM support, but since we are using <br>> the
Jakarta distribution of Tomcat they were less than helpful.<br>> <br>> Anyone
have any ideas what I can look for? Any help <br>> appreciated. Some more
details follow for those who are interested.<br>> <br>> Larry<br>> <br>>
Further details:<br>> <br>> *****Apache-Tomcat Plugin Configuration:<br>>
LoadModule jk_module /QSYS.LIB/QHTTPSVR.LIB/QZTCJK.SRVPGM<br>> #Tomcat Plugin
Method<br>> JkWorkersFile <br>>
/home/tomcat/jakarta-tomcat-4.1.12/conf/workers.properties<br>> JkLogFile
/www/pub/logs/jk.log<br>> JkLogLevel error<br>> JkMount /webpublic/* ajp13<br>>
<br>> If all of these lines are commented out, the apache instance <br>> on
this machine will start up fine.<br>> <br>> *****The apahce job tries to start
and its job log prints out <br>> these errors a few times and then shutsdown
completely: HTTP <br>> Server instance ARLOPUB, hot backup takeover.<br>> <br>>
*****The dump on the apache job looks like this:<br>> User Trace Dump for job
009803/QTMHHTTP/PUB. Size: 300K, <br>> Wrapped 0 times.
<br>> --- 03/04/2003 11:57:02 ---
<br>> <br>>
00000001:123896 Stack Dump For Current Thread <br>>
<br>> 00000001:123920 Stack: os.c:ABORT
OCCURED: <br>>
<br>> 00000001:124048 Stack: Library / Program Module <br>>
Stmt Procedure <br>> 00000001:124072
Stack: QSYS / QP0ZPCP2 QP0ZPCP2 <br>> 553 : _CXX_PEP
<br>> 00000001:124088 Stack: QSYS / QP0ZPCP2
QP0ZPCP2 <br>> 539 : main <br>>
00000001:124112 Stack: QSYS / QP0ZPCPN QP0ZPCPN <br>> 813 :
Qp0zNewProcess <br>> 00000001:124128 Stack: QSYS
/ QP0ZPCPN QP0ZPCPN <br>> 1580 : InvokeTargetPgm__FP11qp0z_pcp_cb
<br>> 00000001:124152 Stack: QHTTPSVR / QZSRHTTP QZSRMAIN
<br>> 42 : _CXX_PEP <br>>
00000001:124168 Stack: QHTTPSVR / QZSRHTTP QZSRMAIN <br>> 28 : main
<br>> 00000001:124184 Stack: QHTTPSVR
/ QZSRCORE MAIN <br>> 685 : apache_main
<br>> 00000001:124208 Stack: QHTTPSVR / QZSRCORE MPMT_PTHRE <br>> 18
: AS400_call_child_main <br>> 00000001:124224 Stack:
QHTTPSVR / QZSRCORE MPMT_PTHRE <br>> 11 : child_main
<br>> 00000001:124240 Stack: QHTTPSVR / QZSRCORE
HTTP_CONFI <br>> 5 : ap_run_child_init <br>>
00000001:124256 Stack: QHTTPSVR / QZTCJK MOD_JK <br>> 22 :
jk_child_init <br>> 00000001:124272 Stack:
QHTTPSVR / QZTCJK MOD_JK <br>> 7 : jk_error_exit
<br>> 00000001:124296 Stack: QHTTPSVR / QZSRCORE OS
<br>> 33 : ap_abort <br>>
00000001:124312 Stack: QHTTPSVR / QZSRAPR OS400TRACE <br>> 1 :
apr_dstack <br>> 00000001:124328 Stack: QSYS
/ QP0ZCPA QP0ZUDBG <br>> 477 : Qp0zDumpStack <br>>
00000001:124344 Stack: QSYS / QP0ZSCPA QP0ZSCPA <br>> 852 :
Qp0zSUDumpStack <br>> 00000001:124360 Stack: QSYS / QP0ZSCPA
QP0ZSCPA <br>> 863 : Qp0zSUDumpTargetStack <br>> 00000001:124360
Stack: Completed <br>>
<br>> 00000001:124432 apr_dump_trace(): dump for job <br>>
009803/QTMHHTTP/PUB <br>>
TRCTCPAPP <br>> Output <br>> <br>>
*****Workers.properties looks like:<br>>
workers.java_home=/QIBM/ProdData/Java400/jdk13 <br>>
workers.tomcat_home=/home/tomcat/jakarta-tomcat-4.1.12/<br>> ps=/
<br>> worker.list=ajp13
<br>> worker.ajp13.type=ajp13
<br>> worker.ajp13.host=LOCALHOST <br>>
worker.ajp13.port=8009 <br>> <br>> *****Basic
Error log looks like:<br>> [Tue Mar 25 10:35:12 2003] [emerg] Error while
opening the <br>> workers [Tue Mar 25 10:36:16 2003] [emerg] Error while <br>>
opening the workers [Tue Mar 25 10:36:16 2003] [emerg] Error <br>> while
opening the workers [Tue Mar 25 10:37:16 2003] [emerg] <br>> Error while
opening the workers [Tue Mar 25 10:37:17 2003] <br>> [emerg] Error while
opening the workers<br>> <br>> For testing, I made workers.properties have full
access <br>> rights to public, with the same result. I also replaced <br>>
workers.properties with a copy from one of the working <br>> machines with no
result. So I do not believe it is a security issue.<br>> <br>> <br>>
_______________________________________________<br>> No banners. No pop-ups. No
kidding.<br>> Introducing My Way - http://www.myway.com <br>>
_______________________________________________<br>> This is the Java
Programming on and around the iSeries / <br>> AS400 (JAVA400-L) mailing list To
post a message email: <br>> JAVA400-L@xxxxxxxxxxxx To subscribe, unsubscribe,
or change <br>> list options,<br>> visit:
http://lists.midrange.com/mailman/listinfo/java400-l<br>> or email:
JAVA400-L-request@xxxxxxxxxxxx<br>> Before posting, please take a moment to
review the archives<br>> at http://archive.midrange.com/java400-l.<br>> <br>>
<br>> _______________________________________________<br>> This is the Java
Programming on and around the iSeries / <br>> AS400 (JAVA400-L) mailing list To
post a message email: <br>> JAVA400-L@xxxxxxxxxxxx To subscribe, unsubscribe,
or change <br>> list options,<br>> visit:
http://lists.midrange.com/mailman/listinfo/java400-l<br>> or email:
JAVA400-L-request@xxxxxxxxxxxx<br>> Before posting, please take a moment to
review the archives<br>> at http://archive.midrange.com/java400-l.<br>>
<br><br>_______________________________________________<br>This is the Java
Programming on and around the iSeries / AS400 (JAVA400-L) mailing list<br>To
post a message email: JAVA400-L@xxxxxxxxxxxx<br>To subscribe, unsubscribe, or
change list options,<br>visit:
http://lists.midrange.com/mailman/listinfo/java400-l<br>or email:
JAVA400-L-request@xxxxxxxxxxxx<br>Before posting, please take a moment to
review the archives<br>at http://archive.midrange.com/java400-l.<br><br>
_______________________________________________
No banners. No pop-ups. No kidding.
Introducing My Way - http://www.myway.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.