Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Deploy to Weblogic 14.1.2 fails due to lock, no console available

RigasJan 16 2025

Hello all,

I have a SpringBoot 3.4.1 API (Java 21.0.5) and I want to deploy to the latest Weblogic 14.1.2.0.0, following the documentation as found in
https://docs.oracle.com/en/middleware/fusion-middleware/weblogic-server/14.1.2/wlprg/maven.html#GUID-C6FC7582-2D1C-4EA5-B000-71AE9A2F2B05

My deployment fails with exception:
weblogic.management.ManagementException: [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 therefore cannot proceed. If using "Automatically Aquire Lock and Activate Changes" in the Administration Console, then the lock will expire shortly, so retry this operation.

I tried by both using attribute usenonexclusivelock value true in my pom weblogic plugin (as found in the above documentation).

The weblogic was started and no further action nor login to the Remote Console is executed, so the first question is where this lock is coming from?
Also, Weblogic Console is no longer available in 14.1.2.0.0 so I cannot use Administration Console and release lock. I have search the documentation for Weblogic Remote Console 2.4.14 ( https://docs.oracle.com/en/middleware/fusion-middleware/weblogic-remote-console/ ) but i cannot seem to find either why a lock is active by default or how to release locks. Remember that in previous Console it was easy enough with a lock/release button on the upper left corner.

Finally, i don't find any folder or lock file in directory \user_projects\applications\DefaultDomain so that i could maybe delete it.

Does anyone have an idea on how to proceed?

Thank you

This post has been answered by Rigas on Jan 27 2025
Jump to Answer

Comments

Hiroshi Tonegawa May 31 2024

追加情報です。

リスナーからエラーメッセージでておりました。ただどうしたら良いのかわかりません。

そのlog(TNSLSNR.log)を添付しました。ここから原因、また対処法など解析できませんでしょうか?

大変困っております。よろしくお願いいたします。

TNSLSNR_496.log

1 - 1

Post Details

Added on Jan 16 2025
3 comments
249 views