This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Apache 2.0.52 +Tomcat 5.0.28 via mod_jk1.2.x on linux Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Apache 2.0.52 +Tomcat 5.0.28 via mod_jk1.2.x on linux" Watch "Apache 2.0.52 +Tomcat 5.0.28 via mod_jk1.2.x on linux" New topic
Author

Apache 2.0.52 +Tomcat 5.0.28 via mod_jk1.2.x on linux

raymonddd luo
Greenhorn

Joined: Oct 06, 2007
Posts: 1
Hi there,

I'd like to access tomcat webapps/jsp-examples/ through apache via mod_jk in my simple example. I found it works once I add the *Alias* part below into the apache httpd.conf.
Alias /jsp-examples "/usr/local/tomcat/webapps/jsp-examples/"

I even don't create workers.properties and put mod_jk.so into the apache/modules directory. Why does it work?

Does anybody tell me what wrong with it?

btw,I follow the article below to setup it.
http://agiletesting.blogspot.com/2005/10/configuring-apache-2-and-tomcat-55.html

Thanks,

Ray
Tualha Khan
Ranch Hand

Joined: Nov 22, 2000
Posts: 287
thats surprising. Are you sure you are really viewing the actual JSP/compiled output rather than the source file.


as per my understanding it should not work without the workers.properties file entries, since that is where you define the tomcat server location.

hth,
tualha


SCJP2, BEA WLS 6.0, DB2 UDB 7.1
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Apache 2.0.52 +Tomcat 5.0.28 via mod_jk1.2.x on linux
 
Similar Threads
Apache-Tomcat integration issues
Apache + Tomcat Configuration Problem
jsp not running in linux
simple jsp:JasperException
The Apache2 service terminated error