mercoledì 8 novembre 2017

IBM WebSphere 9 Java 8.0 Service Refresh 5 e problemi di sync allo scadere del token LTPA , come risolvere

Durante le ultime settimane , lavorando ad una nuova installazione di WebSphere Portal 9 su WebSphere Application server 9.0 FP4 mi sono imbattuto in strani problemi di sincronizzazione della cella WebSphere che accadevano dopo alcune ore di utilizzo.

Dopo alcune analisi ho verificato che il problema accadeva allo scadere della durata del token LTPA e dopo aver inserito alcune trace abbiamo verificato questi tipi di errore

Sul Node Agent:
[11/3/17 17:05:35:849 CET] 0000006b AdminServiceI 3   invoke method throws exception
                                 com.ibm.websphere.management.exception.AdminException: javax.management.JMRuntimeException: ADMN0022E: Access is denied for the isNodeSynchronized operation on NodeSync MBean because of insufficient or empty credentials.

Sul DMGR
[11/3/17 17:05:52:651 CET] 00000105 SecurityHelpe >  isCertPathValidatorException Entry
                                 com.ibm.websphere.security.auth.WSLoginFailedException: Validation of LTPA token failed due to invalid keys or token type.


Dopo aver raccolto i log come indicato qui      il supporto IBM ci ha fornito il link al seguente APAR con Workaround annesso (per fortuna !)

IJ00732: JAVA JIT: INCORRECT RESULTS FOR PATTERNS OF SHIFTED AND OR'D BYTES
http://www.ibm.com/support/docview.wss?uid=swg1IJ00732
Due to this JIT failure, sudden LTPA toke validation issue happens and it results into the  synchronization issue.

Would it be possible to see if the issue can be avoided by the JVM entiry?
System administration > Deployment manager > Process definition  > Environment Entries
Name: TR_DisableIORByteSwap
Value: 1

Dopo aver impostato la variabile di ambiente nelle JVM come indicato ed aver riavviato il problema si è risolto.

Il problema verrà risolto nella prossima JVM 8.0.5.5  che al momento è schedulata per il rilascio il 13 di Novembre 2017 .


Nessun commento:

Posta un commento