You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Manie Coetzee <ma...@hemtech.co.za> on 2000/06/12 01:56:03 UTC

Apache + Tomcat

Hi

I am trying to set up Tomcat with Apache.  I can't seem to get the mount

points right.   Here is a snippet out of server.xml:

.................
.................
<Connector className="org.apache.tomcat.service.SimpleTcpConnector">
  <Parameter name="handler"
value="org.apache.tomcat.service.http.HttpConnectionHandler"/>
  <Parameter name="port" value="8007"/>
</Connector>

<Context path="/featuretest"
               docBase="/home/manie/build/featuretest"
               debug="0"
               reloadable="true"/>
...................
...................

and the snippet out oh httpd.conf

''
LoadModule jserv_module libexec/mod_jserv.sol
AddModule mod_jserv.c

<IfModule mod_jserv.c>

ApJServManual on
ApJServDefaultProtocol ajpv12
ApJServSecretKey DISABLED
ApJServMountCopy on
ApJServLogLevel notice

ApJServDefaultPort 8007
ApJServDefaultHost localhost

ApJServMount /featuretest ajpv12://localhost:8007/root
</IfModule>

That is what the Tomcat User Guide tells me.
When I type "localhost/featuretest", the web browser give an error.  If
I
look in the servlet.log file, it says "Bad servlet Headers".

When I type in "localhost:8007/featuretest" everything works fine
but it defies the whole purpose of using Apache.

I got it to run fine on WINNT but the exact same
setup does not work in Linux.  Could anybody
please help me out, I need this to work like yesterday

Regards
Manie Coetzee