You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Erik Lotspeich <er...@elctech.com> on 2001/12/13 17:15:27 UTC

Tomcat 4 and mod_webapp

Hi,

I am successfully able to build Tomcat 4 from source and it works just
great.  I'm trying to get mod_webapp to work with Apache 1.3.22.  I've
built mod_webapp from the source that is distributed with the Tomcat 4
package and I've also tried a recent build
"webapp-module-20011211.tar.gz".  Both give the same results which are:

1. The mod_webapp Package builds successfully.
2. I add the following lines to the Apache configuration (per instructions
in the documentation):

LoadModule webapp_module libexec/mod_webapp.so
AddModule mod_webapp.c

<IfModule mod_webapp.c>
    WebAppConnection conn      warp  localhost:8008
    WebAppDeploy     examples  conn  /examples
</IfModule>

3. When I try to start Apache, it starts and quits right away.
Unfortunately when it quits, it quits before it is able to dump a core
file or print anything to the error log.  Also, no error messages are
printed to the logs inside of the tomcat directory structure.

Has anyone else experienced this problem?  Is something wrong with the
Apache configuration, or is this a bug in mod_webapp?  Did it get built
improperly (there were no error messages during the build)?

Any help would be greatly appreciated.

Thanks,

Erik.



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Tomcat 4 and mod_webapp

Posted by Craig McDaniel <cr...@nplus1.net>.
On Thu, Dec 13, 2001 at 08:15:27AM -0800, Erik Lotspeich wrote:
> Hi,
> 
> I am successfully able to build Tomcat 4 from source and it works just
> great.  I'm trying to get mod_webapp to work with Apache 1.3.22.  I've
> built mod_webapp from the source that is distributed with the Tomcat 4
> package and I've also tried a recent build
> "webapp-module-20011211.tar.gz".  Both give the same results which are:
> 
> 1. The mod_webapp Package builds successfully.
> 2. I add the following lines to the Apache configuration (per instructions
> in the documentation):
> 
> LoadModule webapp_module libexec/mod_webapp.so
> AddModule mod_webapp.c
> 
> <IfModule mod_webapp.c>
>     WebAppConnection conn      warp  localhost:8008
>     WebAppDeploy     examples  conn  /examples
> </IfModule>
> 
> 3. When I try to start Apache, it starts and quits right away.
> Unfortunately when it quits, it quits before it is able to dump a core
> file or print anything to the error log.  Also, no error messages are
> printed to the logs inside of the tomcat directory structure.

Try using --enable-debug with ./configure and rebuild the module. Now,
if i can just get mod_webapp to compile ;)

> Erik.

Later,
-- 
\ Craig "Cowboy" McDaniel
/_\ Software Engineer
/_/_\ n + 1, Inc.
/_/_/_\ craigm@nplus1.net
/_/_/_/_\ (502) 479-5557
 
MICROSOFT: Most Intelligent Customers Realize Our Software Only Fools Teenagers

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>