Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tomcat 4 - apache - mod_webapp problem

 
Markus Kramer
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I'm unable to connect apache with my tomcat server.
I've installed apache(1.3.x) and tomcat(4.0 final) as stand-alone. they work fine.
I've added the mod_webapp.so and the following to my configuration:
--- httpd.conf ---------------------------------------
# WARP Connection to Tomcat 4
LoadModule webapp_module /usr/lib/apache/mod_webapp.so
AddModule mod_webapp.c
WebAppConnection warpConnection warp localhost:8008
WebAppDeploy examples warpConnection /examples/
------------------------------------------------------
--- server.xml ---------------------------------------
<Service name="Tomcat-Apache">
<Connector className="org.apache.catalina.connector.warp.WarpConnector"
port="8008" minProcessors="5" maxProcessors="75"
enableLookups="true"
acceptCount="10" debug="0"/>
<Engine className="org.apache.catalina.connector.warp.WarpEngine"
name="Apache" debug="0" appBase="webapps">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="apache_log." suffix=".txt"
timestamp="true"/>
<Realm className="org.apache.catalina.realm.MemoryRealm" />
</Engine>
</Service>
------------------------------------------------------
If I call http://localhost/examples
apache should forward this request to tomcat,
but apache says: "Not Found"
Can anybody help me, please?

ciao Markus
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic