> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: ajp_read_header: ajp_ilink_receive failed
> 
> > [r...@mda-services ~]# rpm -qa | grep java
> > java-1.4.2-gcj-compat-devel-1.4.2.0-40jpp.115
> > gcc-java-4.1.2-42.el5
> > java-1.4.2-gcj-compat-1.4.2.0-40jpp.115
> 
> Hmm... it's probably /not/ your problem, here

Actually, if Tomcat is crashing, it likely *is* the problem.  gcj has never 
really made it beyond the toy stage, so that's the first thing to replace.
 
> I would recommend using Sun's Java. I'd also recommend a newer version
> (they're on 1.6 these days... 1.4 is a dinosaur).

Definitely.  Make sure when moving up to a real JVM that you remove the Tomcat 
compatibility package that's used only with 1.4 JVMs.  Since you're using a 
3rd-party repackaged Tomcat, that may be difficult to find; on a real Tomcat, 
the compatibility files are stored in the follow locations:

$CATALINA_HOME/bin/jmx.jar
$CATALINA_HOME/common/endorsed/xercesImpl.jar
$CATALINA_HOME/xml-apis.jar

While you're upgrading to proper levels of httpd and the JVM, consider 
installing a real Tomcat from tomcat.apache.org; the 3rd-party ones have files 
scattered all over, and sometimes change the configuration to the point where 
behavior is quite different from the standard version.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

Reply via email to