tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 4334] New: - ServerName in httpd.conf vs. defaultHost in server.xml Error: addChild: Child name 'hostname.myserver.com' is not unique
Date Mon, 22 Oct 2001 14:51:59 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4334>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4334

ServerName in httpd.conf vs. defaultHost in server.xml Error: addChild:  Child name 'hostname.myserver.com'
is not unique

           Summary: ServerName in httpd.conf vs. defaultHost in server.xml
                    Error: addChild:  Child name 'hostname.myserver.com' is
                    not unique
           Product: Tomcat 4
           Version: 4.0.1 Final
          Platform: All
        OS/Version: Solaris
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Connectors
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: pkhalife@dinmar.com


When ServerName and defaultHost are the same (As requested by documentation)

This error is not consitent, and does not always happen, but when is does, the 
temporary fix to this problem, is making the ServerName (httpd.conf) an IP 
address instead of a hostname.

This is what's thrown in the WrapEngine log files:

[org.apache.catalina.connector.warp.WarpConfigurationHandler]
java.lang.IllegalArgumentException: addChild:  Child name 'xxx.home.com' is
not unique at org.apache.catalina.core.ContainerBase.addChil 
(ContainerBase.java)
at org.apache.catalina.core.StandardEngine.addChild(StandardEngine.java)
 at org.apache.catalina.connector.warp.WarpConfigurationHandler.deploy
(WarpConfigurationHandler.java)
at org.apache.catalina.connector.warp.WarpConfigurationHandler.handle
(WarpConfigurationHandler.java)
at org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java)
at java.lang.Thread.run(Thread.java:484)
...

Mime
View raw message