zonker harris wrote:
> Hey all,
>
> I've set up Tomcat, I've put mod_webapp.so into apache's libexec
> directory and after i restart Tomcat, when I restart apache it throws
> this error.
>
> # ../bin/apachectl start
> Syntax error on line 1159 of /usr/local/apache/conf/httpd.conf:
> Invalid command 'WebAppMount', perhaps mis-spelled or defined by a
> module not included in the server configuration
> ../bin/apachectl start: httpd could not be started
>
> this is the relevant section of the httpd.conf
> LoadModule webapp_module libexec/mod_webapp.so
> WebAppConnection warpConnection warp 64.105.155.196:8008
> WebAppMount examples warpConnection /examples
>
> if i comment out WebAppMount, apache will start (but not talk to tomcat)
>
> Apache version
> Server version: Apache/1.3.22 (Unix)
> Server built: Oct 10 2001 14:50:42
>
> Tomcat version
> 4.0-B3
>
> I am sure I am just missing something stupid, any assist toward
> enlightenment would be appreciated
>
> thanks
>
> zonker
> [EMAIL PROTECTED]
>
I had trouble starting Apache 1.3 on FreeBSd until I changed my
server.xml :
<!-- 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" appBase="webapps"
acceptCount="10" debug="0"/>
<!-- Replace "localhost" with what your Apache "ServerName" is set to
-->
<Engine className="org.apache.catalina.connector.warp.WarpEngine"
name="localhost" debug="0">
^^^^^^
Only when I put my real servername instead of localhost did mine start
to work.
Like I said , this may not be your problem, just an idea.
Adrian
>
> --
> 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]>