tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregory, Carlton" <cgreg...@scn.spawar.navy.mil>
Subject java.lang.IllegalArgumentException: addChild: Child name 'defaul t' is not unique
Date Thu, 26 Jun 2003 15:04:59 GMT

Has anyone encountered the problem listed as my subject line before?

I do believe my tags are in the right order. I printed out the dtd frm Sun.

I just keep recieving http 404

Im running Tomcat 4.1.24 on Win3k Pro and Apache 2.0.45. I have cleared my
logs. Stopped Tomcat and Apache then restarted both.

Thanks for your time and help in advance.

2003-06-25 15:22:24 WebappLoader[/test]: Deploying class repositories to
work directory C:\Program
Files\jakarta-tomcat-4.1.24\work\Standalone\localhost\test
2003-06-25 15:22:24 WebappLoader[/test]: Deploy class files /WEB-INF/classes
to C:\Program
Files\jakarta-tomcat-4.1.24\bin\..\webapps\test\WEB-INF\classes
2003-06-25 15:22:24 WebappLoader[/test]: Reloading checks are enabled for
this Context
2003-06-25 15:22:24 StandardManager[/test]: Seeding random number generator
class java.security.SecureRandom
2003-06-25 15:22:24 StandardManager[/test]: Seeding of random number
generator has been completed
2003-06-25 15:22:24 StandardWrapper[/test:default]: Loading container
servlet default
2003-06-25 15:22:24 StandardWrapper[/test:invoker]: Loading container
servlet invoker
2003-06-25 15:22:25 WebappLoader[]: Deploying class repositories to work
directory C:\Program Files\jakarta-tomcat-4.1.24\work\Standalone\localhost\_
2003-06-25 15:22:25 WebappLoader[]: Deploy class files /WEB-INF/classes to
C:\Program Files\jakarta-tomcat-4.1.24\bin\..\webapps\ROOT\WEB-INF\classes
2003-06-25 15:22:25 ContextConfig[] Parse error in application web.xml
java.lang.IllegalArgumentException: addChild:  Child name 'default' is not
unique
	at
org.apache.commons.digester.Digester.createSAXException(Digester.java:2383)
	at
org.apache.commons.digester.Digester.createSAXException(Digester.java:2409)
	at
org.apache.commons.digester.Digester.endElement(Digester.java:1067)
	at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
Source)
	at
org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(Unknown Source)
	at
org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source)
	at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown
Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown
Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
	at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
	at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at org.apache.commons.digester.Digester.parse(Digester.java:1543)
	at
org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.ja
va:282)
	at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:639)
	at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:
243)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:166)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3567)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
	at
org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
	at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
	at
org.apache.catalina.core.StandardService.start(StandardService.java:497)
	at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
	at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
	at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

2003-06-25 15:22:25 ContextConfig[]: Occurred at line 57 column 15
2003-06-25 15:22:25 ContextConfig[]: Marking this application unavailable
due to previous error(s)
...........



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message