From: Tony C. <ct...@ih...> - 2003-07-19 07:39:56
|
Hi Wolfgang, At first, thankyou for your reply. Now, i am able to find the original exception stacktrace, which then i looked at it. But i still cant really understand what i should do about it. So the following are those stacktrace: Full exception chain stacktrace: (the first half) Original exception : java.lang.ClassCastException: org.apache.xalan.res.XSLTErrorResources_zh_TW at org.apache.xalan.res.XSLMessages.createMessage(XSLMessages.java:285) at org.apache.xalan.processor.StylesheetHandler.error(StylesheetHandler.java:97 6) at org.apache.xalan.processor.XSLTElementProcessor.setPropertiesFromAttributes( XSLTElementProcessor.java:360) at org.apache.xalan.processor.XSLTElementProcessor.setPropertiesFromAttributes( XSLTElementProcessor.java:311) at org.apache.xalan.processor.ProcessorStylesheetElement.startElement(Processor StylesheetElement.java:139) at org.apache.xalan.processor.StylesheetHandler.startElement(StylesheetHandler. java:658) at org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown Source) at org.apache.cocoon.components.language.markup.Logicsheet$SaveNamespaceFilter. startElement(Logicsheet.java:206) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRoot ElementHook(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc her.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.avalon.excalibur.xml.JaxpParser.parse(JaxpParser.java:269) at org.apache.avalon.excalibur.xml.JaxpParser.parse(JaxpParser.java:226) at org.apache.cocoon.components.source.AbstractStreamSource.toSAX(AbstractStrea mSource.java:206) at org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler(XS LTProcessorImpl.java:268) at org.apache.cocoon.components.language.markup.Logicsheet.getTransformerHandle r(Logicsheet.java:160) at org.apache.cocoon.components.language.markup.Logicsheet.getNamespaceURIs(Log icsheet.java:142) at org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.addLogic sheetToList(AbstractMarkupLanguage.java:466) at org.apache.cocoon.components.language.markup.CocoonMarkupLanguage.addLogicsh eetToList(CocoonMarkupLanguage.java:157) at org.apache.cocoon.components.language.markup.AbstractMarkupLanguage$Transfor merChainBuilderFilter.startElement(AbstractMarkupLanguage.java:623) at org.apache.cocoon.components.language.markup.CocoonMarkupLanguage$CocoonTran sformerChainBuilderFilter.startElement(CocoonMarkupLanguage.java:430) at org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown Source) at org.apache.cocoon.components.language.markup.CocoonMarkupLanguage$PreProcess Filter.startElement(CocoonMarkupLanguage.java:279) at org.apache.cocoon.components.language.markup.xsp.XSPMarkupLanguage$PreProces sFilter.startElement(XSPMarkupLanguage.java:126) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc her.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown Source) at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown Source) at org.apache.cocoon.components.language.markup.LogicsheetCodeGenerator.generat eCode(LogicsheetCodeGenerator.java:173) at org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.generate Code(AbstractMarkupLanguage.java:390) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat eResource(ProgramGeneratorImpl.java:370) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR esource(ProgramGeneratorImpl.java:333) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr ogramGeneratorImpl.java:292) at org.apache.cocoon.generation.ServerPagesGenerator.setup(ServerPagesGenerator .java:198) at org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipeline(Ab stractEventPipeline.java:202) and Stacktrace: (the first potion) org.apache.cocoon.ProcessingException: Exception during processing of jar:file:/C:/Tomcat/webapps/exist/WEB-INF/lib/exist.jar!/org/exist/xmldb.xsl : java.lang.ClassCastException: org.apache.xalan.res.XSLTErrorResources_zh_TW at org.apache.cocoon.components.source.AbstractStreamSource.toSAX(AbstractStrea mSource.java:211) at org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler(XS LTProcessorImpl.java:268) at org.apache.cocoon.components.language.markup.Logicsheet.getTransformerHandle r(Logicsheet.java:160) at org.apache.cocoon.components.language.markup.Logicsheet.getNamespaceURIs(Log icsheet.java:142) at org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.addLogic sheetToList(AbstractMarkupLanguage.java:466) at org.apache.cocoon.components.language.markup.CocoonMarkupLanguage.addLogicsh eetToList(CocoonMarkupLanguage.java:157) at org.apache.cocoon.components.language.markup.AbstractMarkupLanguage$Transfor merChainBuilderFilter.startElement(AbstractMarkupLanguage.java:623) at org.apache.cocoon.components.language.markup.CocoonMarkupLanguage$CocoonTran sformerChainBuilderFilter.startElement(CocoonMarkupLanguage.java:430) at org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown Source) at org.apache.cocoon.components.language.markup.CocoonMarkupLanguage$PreProcess Filter.startElement(CocoonMarkupLanguage.java:279) at org.apache.cocoon.components.language.markup.xsp.XSPMarkupLanguage$PreProces sFilter.startElement(XSPMarkupLanguage.java:126) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc her.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) Thankyou very much Tony ----- Original Message ----- From: "Wolfgang Meier" <me...@if...> To: <exi...@li...> Sent: Wednesday, July 16, 2003 9:37 PM Subject: Re: [Exist-open] xmldb:logicsheet error > Unfortunately, the error message doesn't say anything about the cause of the > exception. The Xalan > XSLT processor tries to load localized error messages for your locale, but it > can't find them. You > should be able to find the original exception stacktrace in one of the log > files in directory > webapp/WEB-INF/logs. > > Wolfgang > > > Hi all, > > > > I am new to eXist 0.9.1. I would like to use xml:db logicsheet to connect to > > the DB. > > I have checked the email archive about this. There was one post talked about > > the logicsheet, but the error i got is different. > > > > I am trying to make the example1.xsp example work, but when i use the XSP > > with the XML:DB logicsheet it gives the following error message: > > > > The org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode notifies > > that org.apache.cocoon.ProcessingException says: > > Exception during processing of > > jar:file:/C:/Tomcat/webapps/exist/WEB-INF/lib/exist.jar!/org/exist/xmldb.xsl > > > > More precisely: > > > > org.apache.cocoon.ProcessingException: Exception during processing of > > jar:file:/C:/Tomcat/webapps/exist/WEB-INF/lib/exist.jar!/org/exist/xmldb.xsl > > : java.lang.ClassCastException: > > org.apache.xalan.res.XSLTErrorResources_zh_TW > > > > and so, i tried to run the one already written which comes with the > > distribution, the "xquery.xsp", and it gives the same error. > > > > How could i make this work? > > Thanks a lot for your help. > > > > P.S. I am using eXist 0.9.1 , cocoon 2.0.3 and tomcat 4.0.1. > > > > Regards, > > Tony > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Parasoft > > Error proof Web apps, automate testing & more. > > Download & eval WebKing and get a free book. > > www.parasoft.com/bulletproofapps1 > > _______________________________________________ > > Exist-open mailing list > > Exi...@li... > > https://lists.sourceforge.net/lists/listinfo/exist-open > > > -- > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > > |