tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tulan W. Hu" <>
Subject apache 1.3.22 + tomcat 4.0.1 + webapp 1.0.1
Date Tue, 15 Jan 2002 20:43:28 GMT
Sorry if the same question was asked before, but I just could not
find the answer I need. I'm wondering what was missed in my steps and
why my apache server did not pass the information to tomcat server.

I am on Solaris 8 platform with gcc 2.95.3.
My apache 1.3.22 built with the following:
$ configure --with-port=5000 --prefix=$HOME/apache-tomcat \
        --enable-module=so --enable-module=most --enable-rule=SHARED_CORE
$ make;make install

It works when I run

Tomcat runs ok on too.

I download the webapp1.0.1 and run
$ support/ --with-apxs=$HOME/apache-tomcat/bin/apxs
$ configure --with-apxs=$HOME/apache-tomcat/bin/apxs \
        --with-tomcat=$HOME/tomcat --enable-debug
$ make #successfully build under the apache1.3 directory as
    the document said.

I copied to $HOME/apache-tomcat/libexec and added
the following lines to the httpd.conf.
LoadModule webapp_module libexec/
AddModule mod_webapp.c # my httpd.conf does not have any other AddModule
        WebAppConnection warpConnection      warp
        WebAppInfo      /webapp-info
        WebAppDeploy     examples  warpConnection  /examples/

$ $HOME/apache-tomcat/bin/apachectl configtest # told me Syntax OK

I have changed the 'localhost' in the server.xml file to ''.
Both $CATALINA_HOME/bin/ and $HOME/apache-tomcat/apachectl start,
but I just cannot access http://myhost:5000/webapp-info.

The apache error file tells me that $APACHE_HOME/htdocs/webapp-info does
not found instead of passing it to the tomcat server.

What was missed from my tasks?

Furthermore, I got the following error message in the
tomcat/logs/apache*.txt when
I shutdown tomcat.
2002-01-15 12:47:22 [org.apache.catalina.connector.warp.WarpConnection]
Exception on socket Premature packet header end at
37) at
org.apache.catalina.connector.warp.WarpRequestHandler.handle(WarpRequestHand at

Any ideas?

Thanks in advance!

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message