Hello!
 In my application   I'm using gate.uima.GATEApplicationAnnotator. I packed
my application  as "pear" file. When trying to install the PEAR file, the
PEAR file launcher bumps  into the above exception.
I've checked out my CLASSPATH by looking for wstx-lgpl-3.2.3.jar file that
contains the expected class com.ctc.wstx.stax.WstxInputFactory, and the jar
file is mentioned to be in the classpath. The classpath of the application
is mentioned in the file <application_install_folder>/metadata/install.xml.

<PROCESS>
            <ACTION>set_env_variable</ACTION>
            <PARAMETERS>
                <VAR_VALUE>D:/MyApp/lib/wstx-lgpl-3.2.3.jar</VAR_VALUE>
                <COMMENTS>component classpath setting</COMMENTS>
                <VAR_NAME>classpath</VAR_NAME>
            </PARAMETERS>

The AE is started and works fine If I'm running the application with the
runRemoteAsynchAE. But as I said at the installation time with
runPearInstaller I'm getting into the  mentioned exception. Can you please
explain how can I overpass it?
Also I would like to know if there is non GUI pear installer for the UIMA
(via command line). The current installer tries also to instantiate the
components and there can be some problems at class loading.

I look forward for your answers .*
*Thank you.

Regards,
  Florin
*Exception

Verification of entity.extraction failed =>
 javax.xml.stream.FactoryConfigurationError: Requested factory
com.ctc.wstx.stax.WstxInputFactory cannot be located.  Classloader
=sun.misc.Launcher$AppClassLoader@6d6f0472
    at javax.xml.stream.FactoryLocator.loadFactory(FactoryLocator.java:120)
    at javax.xml.stream.FactoryLocator.locate(FactoryLocator.java:109)
    at javax.xml.stream.FactoryLocator.locate(FactoryLocator.java:54)
    at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:41)
    at
gate.util.persistence.PersistenceManager.loadObjectFromUrl(PersistenceManager.java:712)
    at
gate.uima.GATEApplicationAnnotator.initialize(GATEApplicationAnnotator.java:213)
    at*

Reply via email to