Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-2473

upgrade saxon from saxon8.jar to saxon9he.jar

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Critical
    • Resolution: Won't Fix
    • 2.3.1AS
    • 2.4.0AS
    • Async Scaleout

    Description

      code :
      System.setProperty("defaultBrokerURL", url);
      Map<String,Object> appCtx = new HashMap<String,Object>();
      appCtx.put(UimaAsynchronousEngine.DD2SpringXsltFilePath, "resources/uima/dd2spring.xsl");
      appCtx.put(UimaAsynchronousEngine.SaxonClasspath, "file:../com.ibm.deepqa.runtime.lib/lib/saxon/saxon8.jar");

      appCtx.put(UimaAsynchronousEngine.ServerUri, url);
      UimaAsynchronousEngine engine = new BaseUIMAAsynchronousEngine_impl();
      engine.deploy("resources/uima/Deploy_TLA.xml", appCtx);

      Has following error:

      INFO: UIMA-AS version 2.3.1
      Error
      net.sf.saxon.event.MessageEmitter is not a Receiver
      Transformation failed: Run-time errors were reported

      Because saxon8 has no source code in sf.net know . have no way to figure out .

      So suggest to upgrade to saxon9he.jar.

      Attachments

        Activity

          People

            cwiklik Jaroslaw Cwiklik
            huiwenhan Han Hui Wen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified