[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

apache <-> tomcat



   Hallo Gemeinde,

ich habe per apt-get einen Apache, Tomcat4 und libapache-mod-webapp installiert und laut Anleitung konfiguriert, will ich aber nun zu meinen connections eine Verbindung herstellen, dann erhalte ich folgende Fehlermeldung:

mod_webapp(warp) error
Unable to connect (-2) to Host: localhost (127.0.0.1) Port: 8008

http://localhost/examples/ oder
http://localhost/ROOT/index.html sind die URL die ich aufrufe

in der /etc/hosts steht folgendes;

172.0.0.1    coder001    localhost


hier meine anderen config files:

httpd.conf:
-----------
LoadModule webapp_module /usr/lib/apache/1.3/mod_webapp.so

<IfModule mod_webapp.c>

WebAppConnection warpConnection warp localhost:8008

WebAppMount examples warpConnection /examples/

WebAppMount ROOT warpConnection /ROOT/

</IfModule>


server.xml:
-----------

<Service name="Tomcat-Apache">

<Connector className="org.apache.catalina.connector.warp.WarpConnector"
port="8008" minProcessors="5" maxProcessors="75"
enableLookups="false" appBase="webapps"
acceptCount="10" debug="0"/>

<Engine className="org.apache.catalina.connector.warp.WarpEngine"
name="Apache" debug="0" DefaultName="127.0.0.1">

<Logger className="org.apache.catalina.logger.FileLogger"
prefix="apache_log." suffix=".txt"
timestamp="true"/>

<Realm className="org.apache.catalina.realm.MemoryRealm" />

</Engine>

</Service>

</Server>





Reply to: