× 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.



When you say the "Apache instance will not start".  Are you seeing any
messages in the job log or the Apache logs?  Have you turned on debugging
for Apache?

> -----Original Message-----
> From: java400-l-bounces@xxxxxxxxxxxx 
> [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Alex Pinsky
> Sent: Tuesday, March 25, 2003 8:11 AM
> To: Java Programming on and around the iSeries / AS400
> Subject: RE: Tomcat & Apache on Three AS400's
> 
> 
> Check if you have JDK1.2 installed. For some reason Apache 
> might look for this version of JDK to start
> 
> -----Original Message-----
> From: Larry [mailto:larryhytail@xxxxxxxxx]
> Sent: Tuesday, March 25, 2003 10:53 AM
> To: java400-l@xxxxxxxxxxxx
> Subject: Tomcat & Apache on Three AS400's
> 
> 
> 
> 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.
> 
> 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.
> 
> Anyone have any ideas what I can look for?  Any help 
> appreciated.  Some more details follow for those who are interested.
> 
> Larry
> 
> Further details:
> 
> *****Apache-Tomcat Plugin Configuration:
> LoadModule jk_module /QSYS.LIB/QHTTPSVR.LIB/QZTCJK.SRVPGM
> #Tomcat Plugin Method
> JkWorkersFile 
> /home/tomcat/jakarta-tomcat-4.1.12/conf/workers.properties
> JkLogFile /www/pub/logs/jk.log
> JkLogLevel error
> JkMount /webpublic/* ajp13
> 
> If all of these lines are commented out, the apache instance 
> on this machine will start up fine.
> 
> *****The apahce job tries to start and its job log prints out 
> these errors a few times and then shutsdown completely: HTTP 
> Server instance ARLOPUB, hot backup takeover.
> 
> *****The dump on the apache job looks like this:
> User Trace Dump for job 009803/QTMHHTTP/PUB. Size: 300K, 
> Wrapped 0 times.                                    
> --- 03/04/2003 11:57:02 ---                                   
>                                                    
>   00000001:123896 Stack Dump For Current Thread               
>                                                    
>   00000001:123920 Stack:  os.c:ABORT OCCURED:                 
>                                                    
>   00000001:124048 Stack:  Library    / Program     Module     
>  Stmt    Procedure                                 
>   00000001:124072 Stack:  QSYS       / QP0ZPCP2    QP0ZPCP2   
>  553   : _CXX_PEP                                  
>   00000001:124088 Stack:  QSYS       / QP0ZPCP2    QP0ZPCP2   
>  539   : main                                      
>   00000001:124112 Stack:  QSYS       / QP0ZPCPN    QP0ZPCPN   
>  813   : Qp0zNewProcess                            
>   00000001:124128 Stack:  QSYS       / QP0ZPCPN    QP0ZPCPN   
>  1580  : InvokeTargetPgm__FP11qp0z_pcp_cb          
>   00000001:124152 Stack:  QHTTPSVR   / QZSRHTTP    QZSRMAIN   
>  42    : _CXX_PEP                                  
>   00000001:124168 Stack:  QHTTPSVR   / QZSRHTTP    QZSRMAIN   
>  28    : main                                      
>   00000001:124184 Stack:  QHTTPSVR   / QZSRCORE    MAIN       
>  685   : apache_main                               
>   00000001:124208 Stack:  QHTTPSVR   / QZSRCORE    MPMT_PTHRE 
>  18    : AS400_call_child_main                     
>   00000001:124224 Stack:  QHTTPSVR   / QZSRCORE    MPMT_PTHRE 
>  11    : child_main                                
>   00000001:124240 Stack:  QHTTPSVR   / QZSRCORE    HTTP_CONFI 
>  5     : ap_run_child_init                         
>   00000001:124256 Stack:  QHTTPSVR   / QZTCJK      MOD_JK     
>  22    : jk_child_init                             
>   00000001:124272 Stack:  QHTTPSVR   / QZTCJK      MOD_JK     
>  7     : jk_error_exit                             
>   00000001:124296 Stack:  QHTTPSVR   / QZSRCORE    OS         
>  33    : ap_abort                                  
>   00000001:124312 Stack:  QHTTPSVR   / QZSRAPR     OS400TRACE 
>  1     : apr_dstack                                
>   00000001:124328 Stack:  QSYS       / QP0ZCPA     QP0ZUDBG   
>  477   : Qp0zDumpStack             
>   00000001:124344 Stack:  QSYS       / QP0ZSCPA    QP0ZSCPA   
>  852   : Qp0zSUDumpStack           
>   00000001:124360 Stack:  QSYS       / QP0ZSCPA    QP0ZSCPA   
>  863   : Qp0zSUDumpTargetStack     
>   00000001:124360 Stack:  Completed                           
>                                    
>   00000001:124432 apr_dump_trace(): dump for job 
> 009803/QTMHHTTP/PUB                         
>                                                    TRCTCPAPP 
> Output     
> 
> *****Workers.properties looks like:
> workers.java_home=/QIBM/ProdData/Java400/jdk13         
> workers.tomcat_home=/home/tomcat/jakarta-tomcat-4.1.12/
> ps=/                                                   
> worker.list=ajp13                                      
> worker.ajp13.type=ajp13                                
> worker.ajp13.host=LOCALHOST                            
> worker.ajp13.port=8009                                 
> 
> *****Basic Error log looks like:
> [Tue Mar 25 10:35:12 2003] [emerg] Error while opening the 
> workers [Tue Mar 25 10:36:16 2003] [emerg] Error while 
> opening the workers [Tue Mar 25 10:36:16 2003] [emerg] Error 
> while opening the workers [Tue Mar 25 10:37:16 2003] [emerg] 
> Error while opening the workers [Tue Mar 25 10:37:17 2003] 
> [emerg] Error while opening the workers
> 
> 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.
> 
> 
> _______________________________________________
> No banners. No pop-ups. No kidding.
> Introducing My Way - http://www.myway.com 
> _______________________________________________
> This is the Java Programming on and around the iSeries / 
> AS400 (JAVA400-L) mailing list To post a message email: 
> JAVA400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change 
> list options,
> visit: http://lists.midrange.com/mailman/listinfo/java400-l
> or email: JAVA400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/java400-l.
> 
> 
> _______________________________________________
> This is the Java Programming on and around the iSeries / 
> AS400 (JAVA400-L) mailing list To post a message email: 
> JAVA400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change 
> list options,
> visit: http://lists.midrange.com/mailman/listinfo/java400-l
> or email: JAVA400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/java400-l.
> 


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.