tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Hoare <jho...@ihug.com.au>
Subject Can't get webapps module to work
Date Sun, 22 Jul 2001 02:05:15 GMT
Hi,
I have built and installed the newset webapp module. However, when I try to 
access anything I get the following error. I get this error even trying the 
examples servlets. Is this a config problem? or have I missed something 
during in the build/deploy?
If I'm just viewing stuff its ok. Itrs seems that whenever some sort of 
request is made (like a post) the problem starts, and the module seems to 
just loop forever.

Error:
2001-07-22 11:44:06 [org.apache.catalina.connector.warp.WarpConnector] 
Connection from Robin.Batcave/192.168.2.3:32877 to 
Robin.Batcave/192.168.2.3:8008
2001-07-22 11:44:06 
[org.apache.catalina.connector.warp.WarpConfigurationHandler]
java.lang.IllegalArgumentException: addChild:  Child name 'robin.batcave' is 
not unique
        at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
        at 
org.apache.catalina.core.StandardEngine.addChild(StandardEngine.java:236)
        at 
org.apache.catalina.connector.warp.WarpConfigurationHandler.deploy(WarpConfigurationHandler.java:172)
        at 
org.apache.catalina.connector.warp.WarpConfigurationHandler.handle(WarpConfigurationHandler.java:110)
        at 
org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:189)
        at java.lang.Thread.run(Thread.java:484)

Server.xml:
  <!-- Define an Apache-Connector Service -->
  <Service name="Tomcat-Apache">  <--- should this end with />
 
    <Connector className="org.apache.catalina.connector.warp.WarpConnector"
     port="8008" minProcessors="5" maxProcessors="75"
     enableLookups="true"
     acceptCount="10" debug="0"/>
 
    <!-- Replace "localhost" with what your Apache "ServerName" is set to -->
    <Engine className="org.apache.catalina.connector.warp.WarpEngine"
     name="Apache" defaultHost="Robin.Batcave" debug="0" appBase="webapps">
 
      <!-- Global logger unless overridden at lower levels -->
      <Logger className="org.apache.catalina.logger.FileLogger"
              prefix="apache_log." suffix=".txt"
              timestamp="true"/>
 
      <!-- Because this Realm is here, an instance will be shared globally -->
      <Realm className="org.apache.catalina.realm.MemoryRealm" />
 
    </Engine>
 
  </Service>
 
</Server>

httpd.conf
####################################################
# Added for Tomcat Servlet engine
###################################################
LoadModule webapp_module /usr/lib/apache/mod_webapp.so
AddModule mod_webapp.c
WebAppConnection warpConnection warp Robin.Batcave:8008
WebAppDeploy examples warpConnection /examples/

Any help appreciated, gratefully appreciated

Jeff

Mime
View raw message