File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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

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

raymonddd luo

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 and put 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.


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 file entries, since that is where you define the tomcat server location.


SCJP2, BEA WLS 6.0, DB2 UDB 7.1
I agree. Here's the link:
subject: Apache 2.0.52 +Tomcat 5.0.28 via mod_jk1.2.x on linux
Similar Threads
jsp not running in linux
Apache + Tomcat Configuration Problem
simple jsp:JasperException
Apache-Tomcat integration issues
The Apache2 service terminated error