[ https://issues.apache.org/jira/browse/UIMA-6225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard Eckart de Castilho updated UIMA-6225: --------------------------------------------- Fix Version/s: 2.10.5SDK 3.2.0SDK > unable to install a pear package into a directory containing special > character like <,> or & > -------------------------------------------------------------------------------------------- > > Key: UIMA-6225 > URL: https://issues.apache.org/jira/browse/UIMA-6225 > Project: UIMA > Issue Type: Bug > Affects Versions: 2.10.3SDK > Reporter: Serge Démoulin > Assignee: Richard Eckart de Castilho > Priority: Major > Fix For: 3.2.0SDK, 2.10.5SDK > > Attachments: hello-world-pear-1.2.0.pear > > Original Estimate: 0.2h > Remaining Estimate: 0.2h > > If I try to install the attached pear I got an PackageInstallerException (see > under). > The following workaround did not work : > replacing the $main_root with the real path like > '/usr/local/tomcat/shared/pipelines/pears/<' produces the same error. > > > Caused by: org.apache.uima.pear.tools.PackageInstallerException: The > following error occurred during the installation verification of component > hello-world-pear-1.2.0: java.io.IOException: org.xml.sax.SAXParseException; > systemId: > file:/usr/local/tomcat/shared/pipelines/%3C/pears/hello-world-pear-1.2.0/metadata/install.xml; > lineNumber: 14; columnNumber: 46; The element type "DESC" must be terminated > by the matching end-tag "</DESC>".Caused by: > org.apache.uima.pear.tools.PackageInstallerException: The following error > occurred during the installation verification of component > hello-world-pear-1.2.0: java.io.IOException: org.xml.sax.SAXParseException; > systemId: > file:/usr/local/tomcat/shared/pipelines/%3C/pears/hello-world-pear-1.2.0/metadata/install.xml; > lineNumber: 14; columnNumber: 46; The element type "DESC" must be terminated > by the matching end-tag "</DESC>". at > org.apache.uima.pear.tools.PackageBrowser.getInstallationDescriptor(PackageBrowser.java:377) > at > org.apache.uima.pear.tools.InstallationController.verifyComponentInstallation(InstallationController.java:1092) > at > org.apache.uima.pear.tools.InstallationController.verifyComponent(InstallationController.java:1993) > at > org.apache.uima.pear.tools.PackageInstaller.installPackage(PackageInstaller.java:268) > at > org.apache.uima.pear.tools.PackageInstaller.installPackage(PackageInstaller.java:99) -- This message was sent by Atlassian Jira (v8.3.4#803005)