× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



1252 on all three systems, per "Properties" looking at IFS through Ops Nav.
Larry

 --- On Tue 03/25, Kristen Henry < klhnry@xxxxxxxxxxxx > wrote:
From: Kristen Henry [mailto: klhnry@xxxxxxxxxxxx]
To: java400-l@xxxxxxxxxxxx
Date: Tue, 25 Mar 2003 10:51:04 -0700
Subject: Re: Tomcat & Apache on Three AS400's

Is the CCSID of the workers.properties file the same on the problem system as 
the other two? Probably want CCSID of 437 or 
819.<br><br>Kristen<br><br>Kristen<br><br>Larry wrote:<br><br>> I have Tomcat 
4.1.12 loaded on three AS400's teamed up with IBMs PTF distribution of Apache.  
I got Tomcat running on one as400 and then copied the tomcat directory to the 
other two AS400s.  On the original install and the third install everuthig 
works great.  But on the second install I can only get tomcat to work 
standalone.  It absolutely refuses to function with the Apache plugin.  When I 
install the apache-tomcat plugin module to the apache config, the Apache 
instance will not start.<br>><br>> I have had my Sys Admin guy scour the three 
400's for differences, but we can find none.  PTF levels are the same.  In one 
act of desparation we did a full backup of one of the working machines and 
restored it to the non-working machine and still ended up with the same result. 
 I am left confounded.  We called IBM support, but since we are using the 
Jakarta distribution of Tomcat they were less than helpful.<br>><br>> Anyone 
have any ideas what I can look for?  Any help 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 /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 on 
this machine will start up fine.<br>><br>> *****The apahce job tries to start 
and its job log prints out these errors a few times and then shutsdown 
completely:<br>> HTTP 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, Wrapped 0 times.<br>> --- 03/04/2003 11:57:02 
---<br>>   00000001:123896 Stack Dump For Current Thread<br>>   00000001:123920 
Stack:  os.c:ABORT OCCURED:<br>>   00000001:124048 Stack:  Library    / Program 
    Module      Stmt    Procedure<br>>   00000001:124072 Stack:  QSYS       / 
QP0ZPCP2    QP0ZPCP2    553   : _CXX_PEP<br>>   00000001:124088 Stack:  QSYS    
   / QP0ZPCP2    QP0ZPCP2    539   : main<br>>   00000001:124112 Stack:  QSYS   
    / QP0ZPCPN    QP0ZPCPN    813   : Qp0zNewProcess<br>>   00000001:124128 
Stack:  QSYS       / QP0ZPCPN    QP0ZPCPN    1580  : 
InvokeTargetPgm__FP11qp0z_pcp_cb<br>>   00000001:124152 Stack:  QHTTPSVR   / 
QZSRHTTP    QZSRMAIN    42    : _CXX_PEP<br>>   00000001:124168 Stack:  
QHTTPSVR   / QZSRHTTP    QZSRMAIN    28    : main<br>>   00000001:124184 Stack: 
 QHTTPSVR   / QZSRCORE    MAIN        685   : apache_main<br>>   
00000001:124208 Stack:  QHTTPSVR   / QZSRCORE    MPMT_PTHRE  18    : 
AS400_call_child_main<br>>   00000001:124224 Stack:  QHTTPSVR   / QZSRCORE    
MPMT_PTHRE  11    : child_main<br>>   00000001:124240 Stack:  QHTTPSVR   / 
QZSRCORE    HTTP_CONFI  5     : ap_run_child_init<br>>   00000001:124256 Stack: 
 QHTTPSVR   / QZTCJK      MOD_JK      22    : jk_child_init<br>>   
00000001:124272 Stack:  QHTTPSVR   / QZTCJK      MOD_JK      7     : 
jk_error_exit<br>>   00000001:124296 Stack:  QHTTPSVR   / QZSRCORE    OS        
  33    : ap_abort<br>>   00000001:124312 Stack:  QHTTPSVR   / QZSRAPR     
OS400TRACE  1     : apr_dstack<br>>   00000001:124328 Stack:  QSYS       / 
QP0ZCPA     QP0ZUDBG    477   : Qp0zDumpStack<br>>   00000001:124344 Stack:  
QSYS       / QP0ZSCPA    QP0ZSCPA    852   : Qp0zSUDumpStack<br>>   
00000001:124360 Stack:  QSYS       / QP0ZSCPA    QP0ZSCPA    863   : 
Qp0zSUDumpTargetStack<br>>   00000001:124360 Stack:  Completed<br>>   
00000001:124432 apr_dump_trace(): dump for job 009803/QTMHHTTP/PUB<br>>         
                                           TRCTCPAPP 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 workers<br>> [Tue Mar 25 10:36:16 2003] [emerg] Error while opening 
the workers<br>> [Tue Mar 25 10:36:16 2003] [emerg] Error while opening the 
workers<br>> [Tue Mar 25 10:37:16 2003] [emerg] Error while opening the 
workers<br>> [Tue Mar 25 10:37:17 2003] [emerg] Error while opening the 
workers<br>><br>> For testing, I made workers.properties have full access 
rights to public, with the same result.  I also replaced workers.properties 
with a copy from one of the working machines with no result.  So I do not 
believe it is a security issue.<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 / 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><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 thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.