tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gould, Troy" <tgo...@PathTech.COM>
Subject RE: Tomcat - Apache on solaris 7
Date Wed, 10 May 2000 18:28:47 GMT
Try this:

This should be the proper path to your servlets/jsp.
If this works, then skip to step 2, otherwise keep reading....

Try the following:
look inside your TOMCAT_HOME/conf/server.xml file for "port" and you should
see two values.  One will be 8007 and the other will probably be 8088.

Then do this

If the servlet/jsp file runs then you know that tomcat is running, it just
isn't properly setup to run as a part of apache. (Ask for more help on

Step 2:
To turn off tomcat stand-alone and only allow it to work with apache,
comment out with <!-- and --> between the <Connector...> and </Connector>
for the xml tag containing <Parameter name="port" value="8088">

Hope this helps.
Troy Gould
Software Engineering Consultant
Pathtech Software Solutions, Inc.
a Strategic Technologies Company, Inc.

-----Original Message-----
From: []
Sent: Wednesday, May 10, 2000 2:12 PM
Subject: Tomcat - Apache on solaris 7

Hello Everyone,

I have been trying to configure tomcat 1.0  to co-operate with the Apache
web server 1.3.6 on Solaris 7
with both tomcat and Apache running on the same host. i build
on solaris 7 with the tomcat
source. Here i am trying to configure Apache to send any
request for a resource that starts with the /examples prefix to be served to
Tomcat. With this set up
i could see only static web pages being served. Serving of all the files
with jsp extension is failing.
I have followed the setup steps provided in tomcat_ug.html. Please let me
what could be the reason for Apache to fail serving *.jsp files.

The last line of htpd.conf contains the following line

include ./conf/tomcat.conf

Apache error_log contains following statements
[Wed May 10 11:36:38 2000] [notice] Apache/1.3.6 (Unix) tomcat/1.0
configured -- resuming normal operations

tomcat.conf - created by tomcat as jakarta-tomcat.conf
LoadModule jserv_module libexec/
ApJServManual on
ApJServDefaultProtocol ajpv12
ApJServMountCopy on
ApJServLogLevel debug

ApJServDefaultPort 8007

AddType examples/jsp .jsp
AddHandler jserv-servlet .jsp

Alias /examples /usr/local/apache/tmp/jakarta-tomcat/webapps/examples
<Directory "/usr/local/apache/tmp/jakarta-tomcat/webapps/examples">
    Options Indexes FollowSymLinks
ApJServMount /examples/servlet /examples

<Location /examples/WEB-INF/ >
    AllowOverride None
    deny from all

Alias /test /usr/local/apache/tmp/jakarta-tomcat/webapps/test
<Directory "/usr/local/apache/tmp/jakarta-tomcat/webapps/test">
    Options Indexes FollowSymLinks
ApJServMount /test/servlet /test
<Location /test/WEB-INF/ >
    AllowOverride None
    deny from all

ApJServMount /servlet /ROOT

To unsubscribe, email:
For additional commmands, email:

View raw message