The other day one of my patients contacted me, and was very desperate. He deployed a snapshot from his Process Center to his Process Server via
an online deployment, however, shortly after the deployment finished, the Snapshot was gone from the Process Server.
He contacted me for advice, and I thought I'd share the idea on how to tackle these kind of issues with you.
For deployments, the best first step is always to gather a deployment trace, which is:
*=info: WLE.*=all: WAS.clientinfopluslogging=all: com.ibm.bpm.fds.*=all:ProcessApplicationLifecycle=all
Please set it on the PC as well as on the PS side.If you could also gather the table dumps as per this mustgather, this would be great - we might need them later.
From the trace.log we can see:
[3/6/16 16:55:02:800 IST] 00000033 clientinfoplu < rollback Exit
[3/6/16 16:55:02:879 IST] 00000033 FfdcProvider W
com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident
emitted on /opt/ibm/BPM/v7.5/profiles/myprofile/logs/ffdc/MyPSAppTarget.MyNode_55885588_16.03.08_13.55.02.8341129661212487538345.txt
Looking further into the FFDC we see:
[3/6/16 16:55:02:834 IST] FFDC
So, the transaction is being rolled back. We have no further indications on what might have caused this transaction rollback from the trace. So in general, we would now have to look at the database side of things and the db trace, to see what is going on there.
However - and this is where my over 100 years of support experience come into play - I have seen a similar case where we ran into a timeout.
So we went on and checked the following settings:
In the WAS Console
Container Settings-> Container Services-> Transaction service -> Client inactivity timeout and Maximum transaction timeout .
We increased both to 1800 and retried the deployment.
This time it worked without any issues and/or transaction rollbacks.
Case solved, patient happy. So in general, if your newly deployed snapshot suddenly vanishes right after the deployment, check if the transaction was rolled back, look at the deployment trace for further clues and if you do not find anything, take two of these and call me in the morning.