Start a Conversation

Unsolved

This post is more than 5 years old

2279

February 22nd, 2011 17:00

AuthenticationExpiredException

Hi,

Browsing through the org.snia.xam Java API, a lot of methods can throw an AuthenticationExpiredException (eg, XSystem object's createXSet(String createMode) method.  However, I can't find anywhere to either get or set what the expiration time might be?  Should I be disconnecting and reconnecting on a regular basis?  If so, how often?

Cheers,

Keith.

2 Intern

 • 

417 Posts

March 15th, 2011 04:00

A Centera XAM connection is unlikely to throw that error, as the underlying Pool Connection is designed to be very long-lived. You cannnot get or set the value, you just have to be prepared to handle it (however unlikely) and reconnect only when necessary.

March 15th, 2011 16:00

Ah, so are you saying that the AuthenticationExpiredException isn't caused

by a fixed time length expiring, but by an unusual or unpredictable event

happening?

2 Intern

 • 

417 Posts

March 29th, 2011 05:00

Correct - the connection should normally stay open assuming there are no infrastrucure issues.

No Events found!

Top