uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Himanshu Rathod (JIRA)" <uima-...@incubator.apache.org>
Subject [jira] Commented: (UIMA-1334) Sandbox - SimpleServer missing config-xml.jar
Date Fri, 24 Apr 2009 21:24:30 GMT

    [ https://issues.apache.org/jira/browse/UIMA-1334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702560#action_12702560
] 

Himanshu Rathod commented on UIMA-1334:
---------------------------------------


Thanks for the quick response.  I will verify that there is no xercesImpl.jar in the classpath.
 I've done a preliminary check by printing out the $CLASSPATH variable in in catalina.sh,
which shows this:

/usr/lib/jvm/java-1.5.0-sun/lib/tools.jar:/opt/cagrid/jakarta-tomcat-5.0.28/bin/bootstrap.jar:/opt/cagrid/jakarta-tomcat-5.0.28/bin/commons-logging-api.jar

However, I'll keep digging a bit.  

> Sandbox - SimpleServer missing config-xml.jar
> ---------------------------------------------
>
>                 Key: UIMA-1334
>                 URL: https://issues.apache.org/jira/browse/UIMA-1334
>             Project: UIMA
>          Issue Type: Bug
>          Components: Sandbox-SimpleServer
>         Environment: Ubuntu Linux 8.10, JDK 1.5.0_16.
>            Reporter: Himanshu Rathod
>
> 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)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message