com.filepool.fplibrary.FPLibraryException: Failed to authenticate PEA data
at com.filepool.fplibrary.FPPool. (Unknown Source)
We have tried to generate a new pea file but the same error occurs. As the archiving of documents are done using the same pea file, we cant see if its a problem with the pea file.
Nevertheless we used the JCenteraVerify tool using the same pea file and it is able to write and read the files.
Please help me if you have come across similar issues or any possible solutions.
The solutionID emc151665 looks very similar, but we use SDK version 3.2.661.
@Holger: Yes its really strange that JCenteraVerify is ok and yet not able to retrieve the data! I am using the same pooladdress for write and read. Also, no firewall settings enabled.
Still debugging the issue, but since the error message clears shows FP_AUTHENTICATION_FAILED_ERR, we cant make sure if its Centera problem or configuration issue on the application side.
The software version on Centera cluster is following: 4.2.0-3881-0-0. All nodes are exactly on the same version. And the sdk used is Centera_SDK-3.2.661.
DJT mentions that there is a replica in the environment. Are you using a 'merged' PEA file? It's possible that your retrieval program is doing full authentication (rather than 'lazy' auth) upon connect where your other programs' behavior is being modified by an environment variable like FP_OPTION_OPENSTRATEGY=1 which select the 'lazy pool open' strategy. The FP_AUTH failure could actually be coming from the replica rather than the primary Centera.
Since it sounds like your retrieval program opens a new pool coinnection to Centera for every recall, setting this environment variable will significantly speed up the pool open time as the SDK will not probe the replica chain before returning the connection.
If your .pea works with JCenteraVerify then your .pea file is also not the problem.
Please compare the .pea File on the Application Server with the one that you are using with JCenteraVerify.
Are you sure your application correctly references the .pea file? Not that the path or filename is wrong.
You can also swith on debug logging (See Powerlink Support Section, search for enable Centera SDK Logging) and send the file to holger.jakob@informatio.ch. There we could see the connect string your application is using which may provide additional information.
an authentication failed also seems to indicate the .pea or the connect string are wrong (anonymous which is disabled or stuff like that). if a firewall would prevent connections we'd get a no pool error.
The SDK log shows missing MD5 libraries. These are reported missing prior to the pool open command that is launched with a reasonable IP?pea combination. Looks like the decryption of the secret already fails due to missing libraries.
---Here the the centera.log is written only when the conncetion works "sometimes". When the connection failes, the file centera.log is created but empty. This makes the debugging even more difficult.
Could you please give some possible reasons on why the centera.log is empty?
Satish_Kutty
216 Posts
1306
0
Posted June 22nd, 2012 02:00
Hi,
Please refer to the Primus solution ID "emc151665" which explains a similar scenario. Hope this helps.
Would keep you posted once I get more information on the issue.
Regards
Satish.N.Kutty