Alberto Bolchini wrote: > > Hi all. > > I've been searching for soultins around but haven't come up with > anything working yet. > > I have a x86 Linux/Suse7.2 box with Apache 1.3.19 and Tomcat 4.0.1 > installed. > I have downloaded the binary version of mod_webapp.so and configured > apache's httpd.conf as below: > > [...] > LoadModule ... > [...] > LoadModule webapp_module /usr/lib/apache/mod_webapp.so > [...] > ClearModuleList > AddModule ... > [...] > AddModule mod_webapp.c > [...] > Port 80 > [...] > ServerName localhost > [...] > #----------------------------------------------- > # mod_webapp > WebAppConnection conn warp localhost:8008 > WebAppDeploy examples conn /examples/ > WebAppInfo /webapp-info > > I have left server.xml "out-of-the-box", which seems to be as follows: > > [...] > <!-- Define an Apache-Connector Service --> > <Service name="Tomcat-Apache"> > <Connector className="org.apache.catalina.connector.warp.WarpConnector" > port="8008" minProcessors="5" maxProcessors="75" > enableLookups="true" > acceptCount="10" debug="0"/> > <!-- Replace "localhost" with what your Apache "ServerName" is set to > --> > <Engine className="org.apache.catalina.connector.warp.WarpEngine" > name="Apache" debug="0" appBase="webapps"> > <!-- Global logger unless overridden at lower levels --> > <Logger className="org.apache.catalina.logger.FileLogger" > prefix="apache_log." suffix=".txt" > timestamp="true"/> > <!-- Because this Realm is here, an instance will be shared globally > --> > <Realm className="org.apache.catalina.realm.MemoryRealm" /> > </Engine> > </Service> > > Well: on the StandAlone Tomcat Service on port 8180 everything works > fine, while I get a "java.io.IOException: Premature packet header end" > Exception each time i try to access http://localhost/examples/. > > I cannot find any working solution to the problem. From my > understanding, the directives in httpd.conf are handled correctly, which > is the GET is handled to localhost:8008 (which has someone listening > from an nmap scan) through the Warp connector. > On the other side the WarpConnection.recv isn't complete, and thus the > exceptions. > WHose fault is it? Apache's, mod_webapp's, Tomcat's or MINE?
Any things in apache_log._date_.txt (TC) or in error_log (httpd)? > > Thanx. > > a. > > Alberto Bolchini > Engitel s.r.l. > C.so Buenos Aires 79 > 20124 MILANO > tel. +39 02 6693337 > fax. +39 02 67077880 > http://www.engitel.com > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
