Appreciations accepted

Vladlen Litvinov, the author: If you have some job offer for me, I'm ready to discuss it. View Vladlen Litvinov's profile on LinkedIn

Password

Friday, April 19, 2013

BPM 8: The snapshot ... is already present on this server

I've recently tried to install a snapshot on offline Process Server.
The first attempt has finished incorrectly and I tried to do this one more time.




./wsadmin.sh -conntype SOAP -port 8880 -host bpm-tst1-ps1 -user was_admin -password password
WASX7209I: Connected to process "BPMAPS.AppTarget.PServer01.0" on node PServer01 using SOAP connector;  The type of process is: ManagedProcess
WASX7029I: For help, enter: "$Help help"


wsadmin>$AdminTask BPMInstallOfflinePackage {-inputFile /opt/ibm/Distr/075.zip}
WASX7015E: Exception running command: "$AdminTask BPMInstallOfflinePackage {-inputFile /opt/ibm/Distr/075.zip}"; exception information:
 java.lang.Exception: java.lang.Exception: The snapshot with name 8.0.1.1 of project application Content Management is already present on this server


It's rather interesting. And what? Cannot BPM to fix this? It's very good that BPM version 8 permits to delete snapshots. Let's try.

wsadmin>$AdminTask BPMDeleteSnapshot {-containerAcronym SYSCM -containerSnapshotAcronyms 8.0.1.1}
WASX7015E: Exception running command: "$AdminTask BPMDeleteSnapshot {-containerAcronym SYSCM -containerSnapshotAcronyms 8.0.1.1}"; exception information:
 java.lang.Exception: java.lang.Exception: You must have Repository Admin privileges to delete a snapshot. Please refer to the help information about BPMDeleteSnapshot in the Info Centre.


It's logical. I must use tw_admin (as Repository Admin).

wsadmin>exit

./wsadmin.sh -conntype SOAP -port 8880 -host bpm-tst1-ps1 -user tw_admin -password password
WASX7209I: Connected to process "BPMAPS.AppTarget.PServer01.0" on node PServer01 using SOAP connector;  The type of process is: ManagedProcess
WASX7029I: For help, enter: "$Help help"


wsadmin>$AdminTask BPMDeleteSnapshot {-containerAcronym SYSCM -containerSnapshotAcronyms 8.0.1.1}
BPMDeleteSnapshot passed.


Good news. The snapshot was deleted.

wsadmin>$AdminTask BPMInstallOfflinePackage {-inputFile /opt/ibm/Distr/075.zip}
BPMInstallOfflinePackage passed.
wsadmin>exit


 The new snapshot was installed. Applause.


No comments:

Post a Comment