tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: exception in deploying webapp in tomcat4.1
Date Wed, 03 Sep 2003 14:38:37 GMT

Howdy,
You need to make sure your web.xml file is compliant with the Servlet
Specification v2.3 DTD.  Post your web.xml and we can help you migrate
it.

In addition, I recommend you use the latest stable tomcat 4.1, which is
4.1.27, not 4.1.10 which you're using now.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Shailesh Modi [mailto:shmodi@cisco.com]
>Sent: Wednesday, September 03, 2003 10:38 AM
>To: tomcat-user@jakarta.apache.org
>Subject: exception in deploying webapp in tomcat4.1
>
>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
> java.lang.reflect.InvocationTargetException
> at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
> 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.java:
228)
>at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:260)
>at org.apache.commons.digester.Digester.endElement(Digester.java:1036)
>at
>org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParse
r.ja
>v
>a:579)
>at
>org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBinder
.jav
>a
>:646)
>at
>org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValid
ator
>.
>java:1972)
>at
>org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.j
ava:
>8
>78)
>at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndElemen
>t(XMLDocumentFragmentScannerImpl.java:1144)
>at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(
>XMLDocumentFragmentScannerImpl.java:987)
>at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
>Dispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1445)
>at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XM
>LDocumentFragmentScannerImpl.java:333)
>at
>org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:
524)
>at
>org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:
580)
>at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
>at
>org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.jav
a:11
>6
>9)
>at org.apache.commons.digester.Digester.parse(Digester.java:1495)
>at
>org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConf
ig.j
>a
>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(LifecycleS
uppo
>r
>t.java:166)
>at
>org.apache.catalina.core.StandardContext.start(StandardContext.java:349
3)
>at
>org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.j
ava:
>8
>21)
>at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
>at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
>at
>org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeplo
yer.
>j
>ava:257)
>at org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
>at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:502)
>at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:410)
>at org.apache.catalina.startup.HostConfig.start(HostConfig.java:879)
>at
>org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:3
68)
>at
>org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleS
uppo
>r
>t.java:166)
>at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
>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:2191)
>at org.apache.catalina.startup.Catalina.start(Catalina.java:510)
>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.ja
va:3
>9
>)
>at
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
rImp
>l
>.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
'jsp'
>is
>not unique
>at
>org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.j
ava:
>8
>15)
>at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
>at
>org.apache.catalina.core.StandardContext.addChild(StandardContext.java:
1321
>)
>... 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
>.1\conf\jk2.properties
>========================================
>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
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


Mime
View raw message