We have 2 applications running on the same server and accessing the same centera.
Both are java applications. One running as a "standard" java program and the second one running in an application server (glassfish).
No problem with the "standard" java application: we can connect, read, write.... No problem with JCenteraVerify...
With the glassfish application, we get the following error:
Error code: -10153
Error string: FP_AUTHENTICATION_FAILED_ERR
System error code: 4
com.filepool.fplibrary.FPLibraryException: Failed to authenticate PEA data
at com.filepool.fplibrary.FPPool. (Unknown Source)
The first strange thing is that sometimes it works...
The second strange thing is that if I give a unexisting PEA file in the connect string, I get the same error !
Both application use the same connect string and PEA file...
How to know the real reason of the error (differentiate a "file not found" or "real authentication failure") ? Does the error comes from the sdk or from centera server ? Can we see authentication failure (and reason) on some "audit logs" on centera box ?
Im not a centera specialist and I never had access to "real" centera box (I developed and tested with "online centera clusters")
I highly suspect a problem while loading the PEA file.
We asked our customer to activate the SDK logs and I will post it when I have it.... (Not easy to investigate as I dont have a remote access to their environment... )
Error Code "-10153" as informed is related to authentication issue. The issue could be due to several reasons from change in the IP address to pea file issues. I also found that as per the Primus ID "emc138065" the authentication error "-10153" could also happen if the Cluster is in replication environment and though the pool and profile might not be used for replication still has to be exported and imported on the Target and the source. Please try the same.
I asked the customer to enable the SDK debug and was lucky this time because it was working (no error when connecting) and I got the debug file...
Then I asked to restart the application server (Im interested in the debug file when it doesn't work). It didnt connect (Error Code "-10153") and the SDK debug log file is empty !
I attached the debug file that was procuded when it worked.
The MD5 and SHA256 dlls are optional platform-specific plugins that are not normally loaded, so these warnings are not really problems.
That IP address issue is just an artifact of how 'array' values are printed in the SDK logs; they are preceded with a length value (which is 2 in this case). So no problem there either.
We had seen issues a few years back with application servers attempting to load the SDK DLLs multiple times and having windows fail the subsequent load calls; I think these might have been addressed in SDK 3.2.705. It would be worth upgrading just to see if the behavior improves.
Would keep you posted once I get an update on the issue,could you also try posting the query under the Developer community where issues with SDK's are also discussed "ECN > Developer Network > Centera".
Acually, we are using a unix server (solaris 10 on sparc). They tried to use the latest SDK with no success...
What about the empty SDK debug file (the file is created, and we get the "FP_AUTHENTICATION_FAILED_ERR" but the file is empty...) ? I don't know how they are doing (I don't have access to the machine...)
Satish_Kutty
216 Posts
2536
0
Posted July 16th, 2012 02:00
Hi Patrick,
Error Code "-10153" as informed is related to authentication issue. The issue could be due to several reasons from change in the IP address to pea file issues. I also found that as per the Primus ID "emc138065" the authentication error "-10153" could also happen if the Cluster is in replication environment and though the pool and profile might not be used for replication still has to be exported and imported on the Target and the source. Please try the same.
Regards
Satish N Kutty