Operating System - HP-UX
1753418 Members
5128 Online
108793 Solutions
New Discussion

Re: apache-tomcat integration not happening

 
paramesh
Occasional Contributor

apache-tomcat integration not happening

Hi,
I am facing a problem while integrating Apache on Tomcat on the HP-UX 11.00 workstation.

I have compiled mod_jk.so and have included the same in my httpd.conf file in apache as
LoadModule jk_module mod_jk.so
AddModule mod_jk.c

Also have included the mod_jk.conf in the bottom of the httpd.conf file as:
Include /(my tomcat home)/conf/jk/mod_jk.conf.

and my mod_jk.conf file reads as

JkWorkersFile /home/agilent/tomcat/conf/jk/workers.properties


JkLogFile /home/agilent/tomcat/logs/jk.log

JkLogLevel emerg

JkMount /admin ajp13
JkMount /admin/* ajp13
JkMount /examples ajp13
JkMount /examples/* ajp13
JkMount /rsrm ajp13
JkMount /rsrm/* ajp13


With this setup I am trying to access tomcat with url:
http://(ip address)/examples/jsp/index.html
but I am getting an internal server error.

What else I need to configure???

I tried to include the following in my httpd.conf file:
JKWorkersFile /(tomcat home)/conf/jk/workers.properties while my workers.properties reads as

workers.tomcat_home=C:\jakarta-tomcat
workers.java_home=C:\jdk1.3.1_04
ps=worker.ajp12.port=8009
worker.ajp12.host=localhost
worker.ajp12.type=ajp13

With this setup I am getting an error in tomcat server saying

BAD packet 256
In : : [B@86df0f 4/843
01 00 03 47..... etc

and my catalina.log file reads as:
Ajp13Processor[8009] [Ajp13] incomplete read, waited # -1 got only 0

Can any one help me on this :-(

regards,
Paramesh



1 REPLY 1
Kyle Brown_1
New Member

Re: apache-tomcat integration not happening

I am having problems even getting apache to start using your same situation. Do you have any problems starting apache with the LoadModule mod_jk.so?

Kyle