aspose file tools*
The moose likes Tomcat and the fly likes exception in deploying my webapp in tomcat4.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "exception in deploying my webapp in tomcat4.1" Watch "exception in deploying my webapp in tomcat4.1" New topic

exception in deploying my webapp in tomcat4.1

Shailesh Modi

Joined: Sep 27, 2002
Posts: 10
Hi All,
I just upgraded to tomcat 4.1 from tomcat 3.
I have installed & setup Tomcat 4.1 and its running fine with sample web applications.
When i put my web application's war file into webapps folder and try to start tomcat, it gives me following error.
Sep 3, 2003 7:19:09 PM org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
Sep 3, 2003 7:19:10 PM org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
Sep 3, 2003 7:19:10 PM org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
Sep 3, 2003 7:19:12 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.10
Sep 3, 2003 7:19:29 PM org.apache.commons.digester.Digester endElement
SEVERE: End event threw exception
at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
at java.lang.reflect.Method.invoke(
at org.apache.commons.beanutils.MethodUtils.invokeMethod(
at org.apache.commons.digester.SetNextRule.end(
at org.apache.commons.digester.Digester.endElement(
at org.apache.xerces.parsers.AbstractSAXParser.endElement(
at org.apache.xerces.impl.XMLNamespaceBinder.endElement(
at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(
at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndElemen
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XM
at org.apache.xerces.parsers.DTDConfiguration.parse(
at org.apache.xerces.parsers.DTDConfiguration.parse(
at org.apache.xerces.parsers.XMLParser.parse(
at org.apache.xerces.parsers.AbstractSAXParser.parse(
at org.apache.commons.digester.Digester.parse(
at org.apache.catalina.startup.ContextConfig.applicationConfig(
at org.apache.catalina.startup.ContextConfig.start(
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
at org.apache.catalina.core.StandardContext.start(
at org.apache.catalina.core.ContainerBase.addChildInternal(
at org.apache.catalina.core.ContainerBase.addChild(
at org.apache.catalina.core.StandardHost.addChild(
at org.apache.catalina.core.StandardHostDeployer.install(
at org.apache.catalina.core.StandardHost.install(
at org.apache.catalina.startup.HostConfig.deployWARs(
at org.apache.catalina.startup.HostConfig.deployApps(
at org.apache.catalina.startup.HostConfig.start(
at org.apache.catalina.startup.HostConfig.lifecycleEvent(
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
at org.apache.catalina.core.ContainerBase.start(
at org.apache.catalina.core.StandardHost.start(
at org.apache.catalina.core.ContainerBase.start(
at org.apache.catalina.core.StandardEngine.start(
at org.apache.catalina.core.StandardService.start(
at org.apache.catalina.core.StandardServer.start(
at org.apache.catalina.startup.Catalina.start(
at org.apache.catalina.startup.Catalina.execute(
at org.apache.catalina.startup.Catalina.process(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.apache.catalina.startup.Bootstrap.main(
Caused by: java.lang.IllegalArgumentException: addChild: Child name 'jsp' is not unique
at org.apache.catalina.core.ContainerBase.addChildInternal(
at org.apache.catalina.core.ContainerBase.addChild(
at org.apache.catalina.core.StandardContext.addChild(
... 48 more
Sep 3, 2003 7:19:34 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Sep 3, 2003 7:19:34 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on tcp port 8009
Sep 3, 2003 7:19:34 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=15/125 config=C:\Program Files\Apache Group\Tomcat 4
My web application uses struts 1.0,velocity 1.3. The same web application works fine in tomcat3 , but not in tomcat 4.1 .
Any pointers where am i doing wrong?
Thanks in advance.

Shailesh Modi, SCJP 2
It is not what the computer can do, it is what YOU can do with it
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12682
One possibility - Tomcat 4 has different rules for where it looks for application libraries. Look at the Class Loader How-To.

Java Resources at
I agree. Here's the link:
subject: exception in deploying my webapp in tomcat4.1
Similar Threads
Loading validatorPlugin fail ...
addChild: Child name 'jsp' is not unique
problem in tomcat something digester.Digester fatalError
Tomcat: The requested resource () is not available.
*listener* *listener-class*