tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maninder S Batth <anywherei...@netscape.net>
Subject Re: My Start and Stop Tomcat windows do not stay up
Date Sun, 20 Oct 2002 22:47:18 GMT

i get this error when my server.xml is not properly configuered. did u 
add context element to ur server.xl ?????
if i am correct, this exception is saying that your server.xml doesnt 
adheres to dtd. so pls check it



AnnWenzel@aol.com wrote:

>Hi
>
>I have installed Tomcat 4.1.12 on my XP machine.  I got the screen telling me 
>that Tomcat was installed successfully.  However, neither the Start or Stop 
>DOS windows stay up.  I understand that this problem could be overcome by 
>increasing Initial Environment field to 4096.  In order to do this, I need to 
>right click the DOS window and click on Properties and then the Memory tab.  
>In Windows XP right clicking on the DOS window and clicking on properties 
>does not bring up a Memory tab.  How do I increase the Initial Environment in 
>XP?
>
>Also, I checked the logs folder to see if I could get some further 
>information on the state of Tomcat and found the following in the stderr 
>file.  Can you tell me what this means and how I can correct it?  
>
>It appears that logs are written whenever I do a cold start of my PC.  Is 
>this correct? 
>
>Thanks - I am a new user of Tomcat and am taking a course on Internet Server 
>Programming so any help you can give me would be greatly appreciated.
>
>Ann 
>
>
>Oct 20, 2002 12:53:44 PM org.apache.commons.digester.Digester error
>SEVERE: Parse Error at line 17 column 11: The content of element type 
>"web-app" must match 
>"(icon?,display-name?,description?,distributable?,context-param*,filter*,filte
>
>r-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,w
>
>elcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security
>
>-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)"
>
>.
>org.xml.sax.SAXParseException: The content of element type "web-app" must 
>match 
>"(icon?,display-name?,description?,distributable?,context-param*,filter*,filte
>
>r-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,w
>
>elcome-file-list?,error-page*,taglib*,res
>ource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*
>
>,env-entry*,ejb-ref*,ejb-local-ref*)".
>    at 
>org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandle
>
>rWrapper.java:232)
>    at 
>org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:173)
>
>    at 
>org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:362)
>
>    at 
>org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:296)
>
>    at 
>org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.ja
>
>va:1953)
>    at 
>org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:878
>
>)
>    at 
>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndElement(XMLDocu
>
>mentFragmentScannerImpl.java:1144)
>    at 
>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocume
>
>ntFragmentScannerImpl.java:987)
>    at 
>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatche
>
>r.dispatch(XMLDocumentFragmentScannerImpl.java:1445)
>    at 
>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocument
>
>FragmentScannerImpl.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.java:1169)
>
>    at org.apache.commons.digester.Digester.parse(Digester.java:1495)
>    at 
>org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.java
>
>:282)
>    at 
>org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:639)
>    at 
>org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:24
>
>3)
>    at 
>org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.
>
>java:166)
>    at 
>org.apache.catalina.core.StandardContext.start(StandardContext.java:3493)
>    at 
>org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821
>
>)
>    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(StandardHostDeployer.jav
>
>a:257)
>    at org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
>    at 
>org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:569)
>    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:411)
>    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:879)
>    at 
>org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:368)
>    at 
>org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.
>
>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:2189)
>    at 
>org.apache.catalina.startup.CatalinaService.start(CatalinaService.java:271)
>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>    at 
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>    at 
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.j
>
>ava:25)
>    at java.lang.reflect.Method.invoke(Method.java:324)
>    at 
>org.apache.catalina.startup.BootstrapService.start(BootstrapService.java:245)
>    at 
>org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:307)
>Oct 20, 2002 12:53:44 PM org.apache.coyote.http11.Http11Protocol start
>INFO: Starting Coyote HTTP/1.1 on port 80
>Oct 20, 2002 12:53:44 PM org.apache.jk.common.ChannelSocket init
>INFO: JK2: ajp13 listening on tcp port 8009
>Oct 20, 2002 12:53:44 PM org.apache.jk.server.JkMain start
>INFO: Jk running ID=0 time=15/31  config=C:\Tomcat\Tomcat 
>4.1\conf\jk2.properties
>
>  
>

-- 
Your favorite stores, helpful shopping tools and great gift ideas. 
Experience the convenience of buying online with Shop@Netscape! 
http://shopnow.netscape.com/



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


Mime
View raw message