tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cost...@covalent.net
Subject Re: [5.0] Problems
Date Sun, 11 Aug 2002 18:46:56 GMT
I turned off schema and dtd validation, and disabled the JMX stuff - and
the startup time is down to earth ( 7 secs ). 

I'll try to do something about jmx ( put all the processing in a 
background thread ), the validation should be moved to a deploy 
stage.

The only issue that I can't solve without your help - I would like to 
do the webapp initilization in parallel. And I'm totally lost with the 
JNDI stuff ( it seems the thread is not bounded and I can't find the
right magic invocation :-)


Costin

On Sun, 11 Aug 2002, Remy Maucherat wrote:

> Hi,
> 
> I have been cleaning stuff in 5.0, and I have a few problems with the 
> current 5.0 code. The first two seem to be related to schema validation.
> - Startup time appears to be slower (relative to 4.1)
> - I get a lot (hundreds) of exception traces logged on startup (with an 
> old digester, the admin webapp didn't work at all); see below for the trace
> - The tree control in the admin webapp doesn't work anymore for some reason
> - The Windows installer is not using the launcher for the NT service 
> because the Windows NT service part of commons-daemon is not there yet; 
> is there anyone interested in doing it ?
> 
> Patrick, you committed most of the schema changes, could you comment on 
> the first two items ?
> 
> Thanks,
> Remy
> 
> 
> 11 ao?t 2002 16:07:36 org.apache.commons.digester.Digester warning
> GRAVE: Parse Warning at line 1966 column 20: schema_reference.4: Failed 
> to read schema document 'null', because 1) could
>   not find the document; 2) the document could not be read; 3) the root 
> element of the document is not <xsd:schema>.
> org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema 
> document 'null', because 1) could not find the
> document; 2) the document could not be read; 3) the root element of the 
> document is not <xsd:schema>.
>          at 
> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:232)
>          at 
> org.apache.xerces.util.ErrorHandlerWrapper.warning(ErrorHandlerWrapper.java:141)
>          at 
> org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:358)
>          at 
> org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:296)
>          at 
> org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaWarning(XSDHandler.java:1841)
>          at 
> org.apache.xerces.impl.xs.traversers.XSDHandler.getSchema(XSDHandler.java:1298)
>          at 
> org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(XSDHandler.java:392)
>          at 
> org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(XSDHandler.java:381)
>          at 
> org.apache.xerces.impl.xs.XMLSchemaValidator.parseSchema(XMLSchemaValidator.java:2250)
>          at 
> org.apache.xerces.impl.xs.XMLSchemaValidator.findSchemaGrammar(XMLSchemaValidator.java:2178)
>          at 
> org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1724)
>          at 
> org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:568)
>          at 
> org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(XMLNamespaceBinder.java:832)
>          at 
> org.apache.xerces.impl.XMLNamespaceBinder.startElement(XMLNamespaceBinder.java:568)
>          at 
> org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java:796)
>          at 
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:75
> 2)
>          at 
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentS
> cannerImpl.java:1454)
>          at 
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333)
>          at 
> org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:529)
>          at 
> org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:585)
>          at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
>          at 
> org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1148)
>          at org.apache.commons.digester.Digester.parse(Digester.java:1514)
>          at 
> org.apache.catalina.startup.ContextConfig.tldScanStream(ContextConfig.java:1050)
>          at 
> org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:994)
>          at 
> org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:941)
>          at 
> org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:720)
>          at 
> org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:247)
>          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.addChild(StandardHostDeployer.java:617)
>          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:324)
>          at 
> org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
>          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(AbstractSAXParser.java:559)
>          at 
> org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBinder.java:646)
>          at 
> org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java:2978)
>          at 
> org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:918)
>          at 
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndElement(XMLDocumentFragmentScannerImpl.java:11
> 45)
>          at 
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:988)
> 
>          at 
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentS
> cannerImpl.java:1446)
>          at 
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333)
>          at 
> org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:529)
>          at 
> org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:585)
>          at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
>          at 
> org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1148)
>          at org.apache.commons.digester.Digester.parse(Digester.java:1514)
>          at 
> org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:423)
>          at 
> org.apache.catalina.core.StandardHost.install(StandardHost.java:803)
>          at 
> org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:452)
>          at 
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:409)
>          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:2231)
>          at org.apache.catalina.startup.Catalina.start(Catalina.java:516)
>          at org.apache.catalina.startup.Catalina.execute(Catalina.java:402)
>          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(DelegatingMethodAccessorImpl.java:25)
>          at java.lang.reflect.Method.invoke(Method.java:324)
>          at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>
> 
> 


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


Mime
View raw message