UNSOLVED

Kasbe_Prashant

updated

17 years ago

K

Kasbe_Prashant

1 Rookie

•

70 Posts

0

28161

March 9th, 2010 21:00

Error loading FPLibrary from local system

Hi Experts,

I have a  custom code which access Centera for getting some data, but getting  below error while executing.

Error loading FPLibrary or one of its  dependencies(-10027). ( Error occurs on the line of code as below

FPPool.setGlobalOption(FPLibraryConstants.FP_OPTION_OPENSTRATEGY,FPLibraryConstants.FP_LAZY_OPEN);)

I am not  having much information about Centera and hence need some guidance if I  need to install something to get this working. The same code works fine  on my colleagues system and some Centera system is installed on his  system.

Does  installing Centera Console make it work.

Please help me if already  experienced same problem.

Thanks

Prashant Kasbe

  • gstuartemc

    2 Intern

    •

    417 Posts

    1164

    1

    Posted March 10th, 2010 00:00

    Have you installed the full Centera SDK, including all the relevant DLL files? It looks like you are using the Java SDk and you probably don't have the underlying required C SDK libraries installed and on your PATH.

  • Kasbe_Prashant

    1 Rookie

    •

    70 Posts

    1164

    0

    Posted March 12th, 2010 01:00

    Thanks Graham for the post,

    I installed "CenteraTools_4_1_WIN.exe" and not the error message has changed to

    Failed to  authenticate PEA data(-10153)

    This is thrown at the  following line of code

    FPPool  thePool = new FPPool(poolAddress);

    Could you let me know the reason.

    Thanks in advance

    Prashant

  • khanz1

    2 Intern

    •

    136 Posts

    1164

    0

    Posted March 12th, 2010 08:00

    Hi Prashant,

    This error points to an issue with the PEA file you are using. Please check to make sure you are using a valid PEA profile or are using a valid name/secret combination. Which Centera cluster are you using to test? Did you get the PEA file from this list of available Centera clusters?

    Thanks,
    Zeeshan

  • mckeown_paul

    409 Posts

    1164

    0

    Posted May 3rd, 2010 06:00

    As long as they are on your PATH or in the processes current working directory when it runs, then thats fine

  • kjward1

    5 Posts

    1164

    0

    Posted May 3rd, 2010 06:00

    these?

    FPCore.dll

    FPLibrary.dll

    FPLibrary.lib

    fpos32.dll

    fpparser.dll

    FPStreams.dll

    FPUtils.dll

    FPXML.dll

    pai_module.dll

    do i need to install anything to get these in the right location, or can i simply copy them to a specific location?  would my deployment folder be a suitable place to park them, as long as that folder is in the PATH variable?

    thanks paul.

    -kevon

  • mckeown_paul

    409 Posts

    1164

    0

    Posted May 3rd, 2010 06:00

    Are the DLLs on your PATH on this server?

  • mckeown_paul

    409 Posts

    1164

    0

    Posted May 3rd, 2010 06:00

    yes you'll need all the files that are in the lib dir on the SDK download

  • kjward1

    5 Posts

    1164

    0

    Posted May 3rd, 2010 06:00

    hi paul-

    thanks for the quick response!  the only "centera" file that currently resides on that server is the fpsdk dll in my deployment folder.  i'm guessing i'll have to install others?

    thanks

  • kjward1

    5 Posts

    936

    0

    Posted May 3rd, 2010 06:00

    i copied them over and volia!  the sun is shining and the birds are chirping...all is well in centera-land!

    thanks ever so much for helping me get this back on track, paul.

    cheers

    -kevon

  • kjward1

    5 Posts

    1164

    0

    Posted May 3rd, 2010 06:00

    good morning graham-

    i find myself in a similar quandry.  i have developed an extensive centera "dashboard" in visual studio 2008 and c# using the most recent fpsdk (3.2.4.0 nov09).  everything is singin' and dancin' on my pc (xp sp3 x86).  i have specified in my .net solution to "copy local" the fpsdk dll upon deployment.

    now that i have deployed the exe to one of our x64 servers, i get the same "error loading fplibrary" complaint from the server.  i surmise there is more to supporting the deployment vis-a-vis the fpsdk than simply copying the dll to the deployment folder?  what will i have to do to satisfy the seemingly persnickity server?

    thanks graham.

    -kevon