struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "starki78" <stark...@libero.it>
Subject Re:problem deployin webapplication in Tomcat 5.5
Date Fri, 02 Jun 2006 06:54:04 GMT
Have you checked the web.xml and the struts-config?
I downloaded the struts-blank.war as a start
and deployment always worked!


---------- Initial Header -----------

>From      : "Anil Kumar Pippalapalli" apippalapalli@yahoo.co.in
To          : user@struts.apache.org
Cc          : 
Date      : Fri, 2 Jun 2006 07:43:22 +0100 (BST)
Subject : problem deployin webapplication in Tomcat 5.5







> hi all,
>       iam gettin following error when iam tryin to deploy a simple webapp in tomcat web
server.
>    
>   Jun 1, 2006 2:13:42 PM org.apache.coyote.http11.Http11Protocol init
> INFO: Initializing Coyote HTTP/1.1 on http-7070
> Jun 1, 2006 2:13:43 PM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 5848 ms
> Jun 1, 2006 2:13:43 PM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> Jun 1, 2006 2:13:44 PM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.5.7
> Jun 1, 2006 2:13:44 PM org.apache.catalina.core.StandardHost start
> INFO: XML validation enabled
> Jun 1, 2006 2:13:56 PM org.apache.catalina.core.ApplicationContext log
> INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain:
[org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL:
http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param
name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule:
Redirect URL: http://jakarta.apache.org]]
> Jun 1, 2006 2:14:01 PM org.apache.catalina.core.ApplicationContext log
> INFO: ContextListener: contextInitialized()
> Jun 1, 2006 2:14:01 PM org.apache.catalina.core.ApplicationContext log
> INFO: SessionListener: contextInitialized()
> Jun 1, 2006 2:14:09 PM org.apache.tomcat.util.digester.Digester error
> SEVERE: Parse Error at line 22 column 10: cvc-elt.1: Cannot find the declaration of element
'web-app'.
> org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'web-app'.
>  at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
>  at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:172)
>  at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:382)
>  at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
>  at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1944)
>  at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:705)
>  at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java:798)
>  at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:330)
>  at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(XMLNSDocumentScannerImpl.java:779)
>  at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1794)
>  at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
>  at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
>  at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
>  at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
>  at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
>  at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
>  at org.apache.catalina.startup.ContextConfig.applicationWebConfig(ContextConfig.java:302)
>  at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:959)
>  at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:249)
>  at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>  at org.apache.catalina.core.StandardContext.start(StandardContext.java:4020)
>  at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
>  at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
>  at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
>  at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:909)
>  at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:872)
>  at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
>  at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1106)
>  at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
>  at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1019)
>  at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
>  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1011)
>  at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:440)
>  at org.apache.catalina.core.StandardService.start(StandardService.java:450)
>  at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
>  at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
>  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:585)
>  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
>  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
> Jun 1, 2006 2:14:10 PM org.apache.catalina.startup.ContextConfig start
> SEVERE: Marking this application unavailable due to previous error(s)
> Jun 1, 2006 2:14:10 PM org.apache.catalina.core.StandardContext start
> SEVERE: Error getConfigured
> Jun 1, 2006 2:14:10 PM org.apache.catalina.core.StandardContext start
> SEVERE: Context startup failed due to previous errors
> Jun 1, 2006 2:14:18 PM org.apache.coyote.http11.Http11Protocol start
> INFO: Starting Coyote HTTP/1.1 on http-7070
> Jun 1, 2006 2:14:20 PM org.apache.jk.common.ChannelSocket init
> INFO: JK2: ajp13 listening on /0.0.0.0:8009
> Jun 1, 2006 2:14:20 PM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/241  config=null
> Jun 1, 2006 2:14:21 PM org.apache.catalina.storeconfig.StoreLoader load
> INFO: Find registry server-registry.xml at classpath resource
> Jun 1, 2006 2:14:22 PM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 39427 ms
> Jun 1, 2006 2:17:28 PM org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive struts-blank.war
> Jun 1, 2006 2:17:32 PM org.apache.tomcat.util.digester.Digester error
> SEVERE: Parse Error at line 9 column 9: cvc-elt.1: Cannot find the declaration of element
'taglib'.
> org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'taglib'.
>  at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
>  at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:172)
>  at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:382)
>  at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
>  at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1944)
>  at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:705)
>  at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java:798)
>  at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:330)
>  at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(XMLNSDocumentScannerImpl.java:779)
>  at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1794)
>  at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
>  at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
>  at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
>  at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
>  at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
>  at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
>  at org.apache.catalina.startup.TldConfig.tldScanStream(TldConfig.java:513)
>  at org.apache.catalina.startup.TldConfig.tldScanTld(TldConfig.java:545)
>  at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:300)
>  at org.apache.catalina.core.StandardContext.processTlds(StandardContext.java:4162)
>  at org.apache.catalina.core.StandardContext.start(StandardContext.java:4016)
>  at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
>  at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
>  at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
>  at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:800)
>  at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:695)
>  at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
>  at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1169)
>  at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:292)
>  at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>  at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1301)
>  at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1561)
>  at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1570)
>  at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1550)
>  at java.lang.Thread.run(Thread.java:595)
> Jun 1, 2006 2:18:33 PM org.apache.catalina.startup.ContextConfig start
> SEVERE: Marking this application unavailable due to previous error(s)
> Jun 1, 2006 2:18:33 PM org.apache.catalina.core.StandardContext start
> SEVERE: Error getConfigured
> Jun 1, 2006 2:18:33 PM org.apache.catalina.core.StandardContext start
> SEVERE: Context startup failed due to previous errors
> 
>    
>   i think problem is with parser,any help would be great for me.
>    
>   bye,
>   anil.
>    
> 
> 				
> ---------------------------------
>   Yahoo! India Answers: Share what you know. Learn something new Click here
>  Send free SMS to your Friends on Mobile from your Yahoo! Messenger Download now
> 				
> ---------------------------------
>   Yahoo! India Answers: Share what you know. Learn something new Click here
>  Send free SMS to your Friends on Mobile from your Yahoo! Messenger Download now


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


Mime
View raw message