During OBIEE upgrade i faced this issue
$ ./upgradenonj2eeapp.sh -oracleInstance /u01/TEST/admin/instances/TEST_obiee -adminHost test.obiee.com -adminPort 7001 -adminUsername weblogic
“[Deployer:149163]The domain edit lock is owned by another session in non-exclusive mode – this deployment operation requires exclusive
access to the edit lock and hence cannot proceed.
If you are using “Automatically Aquire Lock and Activate Changes” in the console, then the lock will expire shortly so retry this operation.”
Cause:
In weblogic console “lock % edit Button is disabled ”
Solution:
$ ./opmnctl redeploy -oracleInstance /u01/TEST/admin/instances/TEST_obiee -adminHost test.obiee.com -adminPort 7001 -adminUsername weblogic
$ ./opmnctl registerinstance -oracleInstance /u01/TEST/admin/instances/TEST_obiee -adminHost test.obiee.com -adminPort 7001 -adminUsername weblogic
after completion of both you can run the below command
$ ./upgradenonj2eeapp.sh -oracleInstance /u01/TEST/admin/instances/TEST_obiee -adminHost test.obiee.com -adminPort 7001 -adminUsername weblogic