Weblogic Parallel Applications Deployment

Ace picture Ace · Nov 27, 2013 · Viewed 12.1k times · Source

By parallel applications deployment, I'm talking about getting rid of the edit lock error in Weblogic deployment.

[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. -> [Help 1]

I've done my research through google, stackoverflow and oracle itself and got nothing.

I believed AS powerful like Weblogic should have covered this feature, could anyone help me out here?

**EDIT 1: ** I am doing deployment via some Ant scripts, so parallel deployment is really what i need.

**EDIT 2: ** I need to do parallel deployment via some automation like Ant or Maven, so unlock manually is really not my option...

Answer

peter.nagy picture peter.nagy · Feb 18, 2014

It seems previous modification of the configuration was not committed. It can happen if you modified the configuration e.g. through console but forget to commit.

Open the admin console (default - http://localhost:7101/console) log in. After successful login look in the upper left corner. There you see a button where you can activate pending changes (or revoke them). Then retry the deployment.

Peter