dcsimg
JSP Source Code being displayed instead of being executed in a TOMCAT 4.0 + Apache + mod_jk installation !
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Al_Ricafort
Posted On:   Sunday, April 14, 2002 02:51 AM

I have installed TOMCAT 4.0 and now I'm trying to integrate it with Apache. I have done all the suggested steps but when I try to execute the sample JSPs, the source codes are being displayed instead. I looked in all the log files and I cant't find any error messages. Excerpts from my configuration files are as follows: httpd.conf: *********** Include /usr/local/jakarta-tomcat-4.0.3/conf/auto/mod_jk.conf Changes to the original server.xml: ************************************ mod_jk.conf: ************* LoadModule jk_module /usr/lib/apache/mod_jk.so JkWorkersFile "/usr/local/jakarta-tomcat-4.0.3/conf/jk/worke   More>>

I have installed TOMCAT 4.0 and now I'm trying to integrate it with Apache. I have done all the suggested steps but when I try to execute the sample JSPs, the source codes are being displayed instead. I looked in all the log files and I cant't find any error messages.


Excerpts from my configuration files are as follows:

			
httpd.conf:
***********

Include /usr/local/jakarta-tomcat-4.0.3/conf/auto/mod_jk.conf

Changes to the original server.xml:
************************************



mod_jk.conf:
*************


LoadModule jk_module /usr/lib/apache/mod_jk.so


JkWorkersFile "/usr/local/jakarta-tomcat-4.0.3/conf/jk/workers.properties"
JkLogFile "/usr/local/jakarta-tomcat-4.0.3/logs/mod_jk.log"

JkLogLevel emerg

workers.properties:
********************

workers.tomcat_home=/usr/local/jakarta-tomcat-4.0.3
workers.java_home=/usr/share/java/j2sdk1.4.0
ps=/
worker.list=ajp12, ajp13

# Definition for Ajp13 worker
#
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13

   <<Less
About | Sitemap | Contact