But tomcat should really try to do something about its exceptions. the error messages if existent at all besides merely an exception, leave lots to wish for. Especially the xml parsers that not even say what xml file is being parsed (like ok its probably a web.xml but which one?), let alone where in there the problem is.
I would say it's a blocker for next stable release! :p *my opinion* -----Original Message----- From: Schalk [mailto:[EMAIL PROTECTED] Sent: den 8 november 2003 02:26 To: 'Tomcat Users List' Subject: RE: Exception at Tomcat startup Het there You may want to have a look at this line in your web.xml: Child name 'ControlSer vlet' is not unique It seems that is should say ControlServlet and not ControlSer vlet Kind Regards Schalk Neethling Web Developer.Designer.Programmer.CEO Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL PROTECTED] web: www.volume4.co.za This message contains information that is considered to be sensitive or confidential and may not be forwarded or diclosed to any other party without the permission of the sender. If you received this message in error, please notify me immediately so that I can correct and delete the original email. Thank you. :: -----Original Message----- :: From: Rishikesh Tembe [mailto:[EMAIL PROTECTED] :: Sent: Saturday, November 08, 2003 3:09 AM :: To: [EMAIL PROTECTED] :: Subject: Exception at Tomcat startup :: :: Hi experts, :: :: This is the display I get when I start up Tomcat v4.1.27. As you can see :: an InvocationTargetException gets thrown. I did not make any changes :: anywhere. What could be the cause? :: Is this a known bug? I couldn't find a similar bug in BugZilla... :: :: --- :: Nov 7, 2003 4:51:28 PM org.apache.commons.modeler.Registry loadRegistry :: INFO: Loading registry information :: Nov 7, 2003 4:51:29 PM org.apache.commons.modeler.Registry getRegistry :: INFO: Creating new Registry instance :: Nov 7, 2003 4:51:30 PM org.apache.commons.modeler.Registry getServer :: INFO: Creating MBeanServer :: Nov 7, 2003 4:51:32 PM org.apache.coyote.http11.Http11Protocol init :: INFO: Initializing Coyote HTTP/1.1 on port 8080 :: Starting service Tomcat-Standalone :: Apache Tomcat/4.1.27 :: Nov 7, 2003 4:51:35 PM org.apache.commons.digester.Digester endElement :: SEVERE: End event threw exception :: java.lang.reflect.InvocationTargetException :: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) :: at :: sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. :: java:39) :: at :: sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces :: sorImpl.java:25) :: at java.lang.reflect.Method.invoke(Method.java:324) :: at :: org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.jav :: a:252) :: at :: org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256) :: at org.apache.commons.digester.Rule.end(Rule.java:276) :: at :: org.apache.commons.digester.Digester.endElement(Digester.java:1058) :: 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 :: S :: ource) :: 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$FragmentContent :: Dispatcher.dispatch(Unknown Source) :: at :: org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un :: known Source) :: at org.apache.xerces.parsers.XML11Configuration.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:1548) :: at :: org.apache.catalina.startup.ContextConfig.applicationConfig(ContextCo :: nfig.java:282) :: at :: org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:63 :: 9) :: at :: org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi :: g.java:243) :: at :: org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl :: eSupport.java:166) :: at :: org.apache.catalina.core.StandardContext.start(StandardContext.java:3 :: 568) :: 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:4 :: 97) :: at :: org.apache.catalina.core.StandardServer.start(StandardServer.java:219 :: 0) :: 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(DelegatingMethodAcces :: sorImpl.java:25) :: at java.lang.reflect.Method.invoke(Method.java:324) :: at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) :: Caused by: java.lang.IllegalArgumentException: addChild: Child name :: 'ControlSer :: vlet' is not unique :: at :: org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase :: .java:815) :: at :: org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:80 :: 7) :: at :: org.apache.catalina.core.StandardContext.addChild(StandardContext.jav :: a:1340) :: ... 39 more :: Nov 7, 2003 4:51:37 PM org.apache.struts.util.PropertyMessageResources :: <init> :: INFO: Initializing, config='org.apache.struts.util.LocalStrings', :: returnNull=tru :: e :: Nov 7, 2003 4:51:37 PM org.apache.struts.util.PropertyMessageResources :: <init> :: INFO: Initializing, config='org.apache.struts.action.ActionResources', :: returnNul :: l=true :: Nov 7, 2003 4:51:38 PM org.apache.struts.util.PropertyMessageResources :: <init> :: INFO: Initializing, :: config='org.apache.webapp.admin.ApplicationResources', retur :: nNull=true :: Nov 7, 2003 4:51:43 PM org.apache.coyote.http11.Http11Protocol start :: INFO: Starting Coyote HTTP/1.1 on port 8080 :: Nov 7, 2003 4:51:43 PM org.apache.jk.common.ChannelSocket init :: INFO: JK2: ajp13 listening on /0.0.0.0:8009 :: Nov 7, 2003 4:51:43 PM org.apache.jk.server.JkMain start :: INFO: Jk running ID=0 time=0/160 config=C:\Tomcat4.1\conf\jk2.properties :: ciao, :: Rishi :: ----- :: "Let's think the unthinkable, let's do the undoable, let's prepare to :: grapple with the ineffable itself... And see if we may not eff it after :: all." :: :: -- :: http://www.fastmail.fm - IMAP accessible web-mail :: :: --------------------------------------------------------------------- :: To unsubscribe, e-mail: [EMAIL PROTECTED] :: For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]