Forum Stats

  • 3,768,728 Users
  • 2,252,841 Discussions
  • 7,874,698 Comments

Discussions

Getting EnvironmentLockedException when redeploying a war file

Neelkamal-Oracle
Neelkamal-Oracle Member Posts: 15
edited Dec 8, 2016 12:08PM in Berkeley DB Java Edition

Hello,

We are running into  EnvironmentLockedException  when trying to redeploy an ear file in weblogic server

we are using force stop before redeploying but looks like that's not closing all the berkeley db handles.

One of the workaround seems to be getting rid of je.lck file before opening the environment as suggested below

( http://stackoverflow.com/questions/8612659/berkeley-db-error-the-je-lck-file-could-not-be-locked )

I just wanted to check if and how can i  force close all the db handles ?

Thanks,

Neel

Answers

This discussion has been closed.