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... )
Thanks in advance
PS:
It use to work whithout replicate (in testing environment) but then they changed the configuration, IPs and PEA file. Since then, it works "sometimes"...
My first guess was that from glassfish your PATH wasnt set properly so that finding the PEA was the issue, but then you said "sometimes"
Do you use the full pathname of the PEA file?
If you are on windows trying geting the processinfo tool (or is it called processmon) from www.sysinternals.com (I know msoft bought them but I only ever remember this URL it'll redirect) and watch to see what files your process attempts to open and fails with
if you arent windows there is probably similar tools for other operating systems.
Community challenge, guys what is it for linux's solaris etc?
mckeown_paul
409 Posts
1402
0
Posted July 18th, 2012 08:00
I hate it when it works "sometimes"
My first guess was that from glassfish your PATH wasnt set properly so that finding the PEA was the issue, but then you said "sometimes"
Do you use the full pathname of the PEA file?
If you are on windows trying geting the processinfo tool (or is it called processmon) from www.sysinternals.com (I know msoft bought them but I only ever remember this URL it'll redirect) and watch to see what files your process attempts to open and fails with
if you arent windows there is probably similar tools for other operating systems.
Community challenge, guys what is it for linux's solaris etc?