Craig Setera at [EMAIL PROTECTED] wrote:
> Hoping someone can help me get this combination working correctly.
>
> I've downloaded the webapp module and Tomcat 4.0 RPMS and installed them on
> my Redhat 7.0 Linux machine. The details of my install:
>
> Redhat 7.0 Linux
> Apache 1.3.14
> mod_webapp-1.0-1.i386.rpm
> tomcat4-4.0-1.noarch.rpm
> Sun's JDK 1.3.1 (rpm installed)
>
> I've configured everything and it seems to actually work. The problem is
> that Apache and Tomcat are both spewing error messages like crazy. In the
> Apache log, I'm seeing tons of errors like this:
> [root@CB551857-B httpd]# tail -n 20 error_log
> [Thu Oct 18 15:55:03 2001] [error] Cannot deploy application WebMail
> [Thu Oct 18 15:55:03 2001] [error] Cannot deploy application WebMail
> [Thu Oct 18 15:55:03 2001] [error] Cannot deploy application WebMail
> [Thu Oct 18 15:55:03 2001] [error] Cannot deploy application WebMail
> [Thu Oct 18 15:55:03 2001] [error] Cannot read packet (pr_warp_config.c:139)
> [Thu Oct 18 15:55:03 2001] [error] Cannot configure connection
> "warpConnection"
> [Thu Oct 18 15:55:03 2001] [error] Cannot deploy application WebMail
> [Thu Oct 18 15:55:03 2001] [error] Cannot read packet (pr_warp_config.c:139)
> [Thu Oct 18 15:55:03 2001] [error] Cannot configure connection
> "warpConnection"
> [Thu Oct 18 15:55:03 2001] [error] Cannot read packet (pr_warp_config.c:139)
> [Thu Oct 18 15:55:03 2001] [error] Cannot configure connection
> "warpConnection"
> [Thu Oct 18 15:55:03 2001] [error] Cannot read packet (pr_warp_config.c:139)
> [Thu Oct 18 15:55:03 2001] [error] Cannot configure connection
> "warpConnection"
> [Thu Oct 18 15:55:03 2001] [error] Cannot read packet (pr_warp_config.c:139)
> [Thu Oct 18 15:55:03 2001] [error] Cannot configure connection
> "warpConnection"
> [Thu Oct 18 15:55:03 2001] [error] Cannot read packet (pr_warp_config.c:139)
> [Thu Oct 18 15:55:03 2001] [error] Cannot configure connection
> "warpConnection"
> [Thu Oct 18 15:55:03 2001] [error] Cannot read packet (pr_warp_config.c:139)
> [Thu Oct 18 15:55:03 2001] [error] Cannot shutdown "warpConnection"
> [Thu Oct 18 15:55:03 2001] [error] Cannot configure connection
> "warpConnection"
>
> In the Tomcat log file, I see tons of related errors:
>
> 2001-10-18 15:55:03
> [org.apache.catalina.connector.warp.WarpConfigurationHandler]
> java.lang.IllegalArgumentException: addChild: Child name 'xxx.home.com' is
> not unique
> at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java)
> at
> org.apache.catalina.core.StandardEngine.addChild(StandardEngine.java)
> at
> org.apache.catalina.connector.warp.WarpConfigurationHandler.deploy(WarpConfi
> gurationHandler.java)
> at
> org.apache.catalina.connector.warp.WarpConfigurationHandler.handle(WarpConfi
> gurationHandler.java)
> at
> org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java)
> at java.lang.Thread.run(Thread.java:484)
>
> 2001-10-18 15:55:03
> [org.apache.catalina.connector.warp.WarpConfigurationHandler] Error
> deploying web application "WebMail" under <http://xxx.home.com:80/WebMail/>
>
> Yet, at the beginning, the deployment seems to go just fine. Accessing the
> web application works... But the log files grow WAY too fast. It is as if
> Apache continually tries to deploy the web application over and over. I've
> looked through the sources for the Tomcat side of the configuration and I
> can't see a way that it should try to add the same host twice. I've looked
> at the sources for the Apache module and can't see why it would try to
> deploy the web app more than once. I can't see anything wrong with my
> config (syntax checks out ok). At this point, I've completely run out of
> ideas.
>
> Any help appreciated,
> Craig
Hard to see what's wrong without your server.xml and httpd.conf...
Pier