You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Steve Barnes <st...@globaledit.co.uk> on 2002/02/04 18:29:32 UTC
Child name 'localhost' is not unique
Tomcat 4, Cocoon 2, Apache 1.3 on Red Hat 7.2
I've searched xml-cocoon-users at http://marc.theaimsgroup.com (and I've
searched and I've searched and ...)
So a request to those who've had this problem:
Apache won't deploy Cocoon and it seems to boil down to this error
message (where dell is the localhost name):
[org.apache.catalina.connector.warp.WarpConfigurationHandler]
java.lang.IllegalArgumentException: addChild: Child name 'dell' is not
unique
I suspect this is a regular stopper. I can find nothing applicable in
the archives, having searched on 'child name', 'localhost is not
unique', 'not unique', and lots of other imaginative combinations (plus
stop/starts with numerous variations of httpd.conf/server.xml).
I feel I'm just one step away from joining the select few who have
managed to get this combination working :)
Regards
SteveB
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Child name 'localhost' is not unique
Posted by Steve Barnes <st...@globaledit.co.uk>.
Re.
>> Apache won't deploy Cocoon and it seems to boil down to this error
>> message (where dell is the localhost name):
>>
>> [org.apache.catalina.connector.warp.WarpConfigurationHandler]
>> java.lang.IllegalArgumentException: addChild: Child name 'dell' is
>not
>> unique
For other strugglers who may have this error message, the problem was
that I did not have the line:
127.0.0.1 localhost
in my /etc/hosts file.
Now with
ServerName localhost
and
WebAppConnection warpConnection warp localhost:8008
in httpd.conf
AND with (as mentioned often elsewhere)
Xvfb :1 -screen 0 800x600x8 &
export DISPLAY=:1
at the start of the tomcat4 start script,
I'm actually (whoopee!) getting a connection to Cocoon.
All that's left now is to find out why the tomcat4 start script has
started giving the warning:
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing
from list
and why I'm getting:
DEBUG (2002-02-05) 12:53.59:902 [ ] (Unknown-URI)
Unknown-thread/LogKitLogger: added new LogTargetFactory of type cocoon
DEBUG (2002-02-05) 12:53.59:963 [ ] (Unknown-URI)
Unknown-thread/LogKitLogger: added new LogTarget of id core
and lots more of the same re. LogKitLogger
and why catalina.out is telling me:
Font specified in font.properties not found
[--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
Apart from all that, delirium reigns.
SteveB
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: Child name 'localhost' is not unique
Posted by Vadim Gritsenko <va...@verizon.net>.
> From: Steve Barnes [mailto:steveb@globaledit.co.uk]
>
> Tomcat 4, Cocoon 2, Apache 1.3 on Red Hat 7.2
>
> I've searched xml-cocoon-users at http://marc.theaimsgroup.com (and
I've
> searched and I've searched and ...)
>
> So a request to those who've had this problem:
>
> Apache won't deploy Cocoon and it seems to boil down to this error
> message (where dell is the localhost name):
>
> [org.apache.catalina.connector.warp.WarpConfigurationHandler]
> java.lang.IllegalArgumentException: addChild: Child name 'dell' is
not
> unique
>
> I suspect this is a regular stopper. I can find nothing applicable in
> the archives, having searched on 'child name', 'localhost is not
> unique', 'not unique', and lots of other imaginative combinations
(plus
> stop/starts with numerous variations of httpd.conf/server.xml).
>
> I feel I'm just one step away from joining the select few who have
> managed to get this combination working :)
Check server.xml... I guess you have something like this in the config
file:
<parent>
<child name="dell">
...
</child>
<child name="dell">
...
</child>
</parent>
PS: AFAIU, this is tomcat issue; or what's full stack trace? Does it
have Cocoon in the stack trace?
Vadim
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>