I am using the EnginesPool from the java samples and during the initialization of the Engines Pool I got an exception like this:

Exception in thread "main" java.lang.UnsatisfiedLinkError: com.abbyy.FREngine.Engine.unload()V
    at com.abbyy.FREngine.Engine.unload(Native Method)
    at com.abbyy.FREngine.Engine.DeinitializeEngine(Engine.java:70)
    at com.snapaddy.ocr.server.scanner.EnginesPoolInit.GetAllowedCoresNumber(EnginesPoolInit.java:24)
    at com.snapaddy.ocr.server.scanner.EnginesPoolInit.initialize(EnginesPoolInit.java:32)
    at com.snapaddy.ocr.server.Main.main(Main.java:14) 

This exception doesn't cause serious issue at this moment, because my server works well, but in long term I would like to know what the issue can be.

Here is the code where the exception came :

private static int GetAllowedCoresNumber(String projectId) throws Exception {
        int cores = 0;
        // It's need to load FREngine instance to get information about license
        IEngine engine;
        try {
            engine = Engine.GetEngineObject(ScanningConfigs.getDllFolder(), "");
            ILicense license = engine.GetAvailableLicenses(projectId, "").Find(projectId);
            if (license == null) {
                throw new Exception("License " + projectId + " not found!");
            cores = license.getAllowedCoresCount();
        } finally {
        return cores;

The exception came from the Engine.DeinitializeEngine().

I am using FineReader Engine 11 on a Windows server.

Thanks for the help!

Regards, Franciska

asked 19 Sep '16, 11:24

FranciskaS's gravatar image


Kindly provide the following information to SDK_Support@abbyy.com:

  1. The serial number of your FREngine package.

  2. The build number of your FREngine distribution. To determine the build number please see the Readme.htm file.

  3. The FREngine log, which can be obtained by calling the Engine.StartLogging() method in your application right after the Engine object was created.

Thank you in advance!

(20 Sep '16, 11:44) Oksana Serdyuk ♦♦
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 19 Sep '16, 11:24

Seen: 427 times

Last updated: 20 Sep '16, 11:44

© 2016 ABBYY. All rights Reserved. www.ABBYY.com | Privacy Policy | Legal