Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
None
-
None
-
None
-
Ubuntu Linux 8.10, JDK 1.5.0_16.
Description
The SimpleServer tutorial mentions a config-xml.jar file to be copied into the CATALINA_HOME/shared/lib directory. However, that file does not exist when using a subversion checkout of the sandbox trunk. I am not sure if this is related, but starting the Tomcat instance without this file results in the following exception:
Apr 24, 2009 2:06:59 PM org.apache.uima.simpleserver.servlet.SimpleServerServlet initServer
SEVERE: UIMA Simple Service configuaration failed
org.apache.uima.pear.tools.PackageInstallerException: The following error occurred during the installation verification of component WhitespaceTokenizer: org.apache.uima.util.InvalidXMLException: Invalid descriptor at file:/opt/cagrid/jakarta-tomcat-5.0.28/webapps/uima/resources/./WhitespaceTokenizer/desc/WhitespaceTokenizer.xml.
at org.apache.uima.util.impl.XMLParser_impl.parse(XMLParser_impl.java:193)
at org.apache.uima.util.impl.XMLParser_impl.parseResourceManagerConfiguration(XMLParser_impl.java:760)
at org.apache.uima.util.impl.XMLParser_impl.parseResourceManagerConfiguration(XMLParser_impl.java:748)
at org.apache.uima.pear.util.UIMAUtil.identifyUimaComponentCategory(UIMAUtil.java:246)
at org.apache.uima.pear.util.UIMAUtil.identifyUimaComponentCategory(UIMAUtil.java:126)
at org.apache.uima.pear.tools.InstallationTester.<init>(InstallationTester.java:97)
at org.apache.uima.pear.tools.InstallationController.verifyComponentInstallation(InstallationController.java:1109)
at org.apache.uima.pear.tools.InstallationController.verifyComponent(InstallationController.java:1993)
at org.apache.uima.pear.tools.PackageInstaller.installPackage(PackageInstaller.java:233)
at org.apache.uima.pear.tools.PackageInstaller.installPackage(PackageInstaller.java:67)
at org.apache.uima.simpleserver.Service.loadPear(Service.java:294)
at org.apache.uima.simpleserver.Service.configurePear(Service.java:141)
at org.apache.uima.simpleserver.servlet.SimpleServerServlet.initServer(SimpleServerServlet.java:277)
at org.apache.uima.simpleserver.servlet.SimpleServerServlet.init(SimpleServerServlet.java:228)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:687)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:144)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to namespaces.
at org.apache.xml.utils.DOMBuilder.startElement(DOMBuilder.java:322)
at org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1020)
at org.apache.uima.util.impl.SaxDeserializer_impl.startElement(SaxDeserializer_impl.java:201)
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.scanRootElementHook(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.uima.util.impl.XMLParser_impl.parse(XMLParser_impl.java:176)
... 38 more
at org.apache.uima.pear.tools.PackageInstaller.installPackage(PackageInstaller.java:242)
at org.apache.uima.pear.tools.PackageInstaller.installPackage(PackageInstaller.java:67)
at org.apache.uima.simpleserver.Service.loadPear(Service.java:294)
at org.apache.uima.simpleserver.Service.configurePear(Service.java:141)
at org.apache.uima.simpleserver.servlet.SimpleServerServlet.initServer(SimpleServerServlet.java:277)
at org.apache.uima.simpleserver.servlet.SimpleServerServlet.init(SimpleServerServlet.java:228)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:687)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:144)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:595)
Attachments
Issue Links
- relates to
-
UIMA-2155 XALAN 2.6.0 overriding normal Java transformer factory in some JVMs causes UIMA XML parser failures
- Resolved