19

Following error is encountered when trying to start Oracle Weblogic Server:

<Info> <Management> <BEA-141297> <Could not get the server file lock. Ensure that another server is not running in the same directory. Retrying for another 60 seconds.>

How do I overcome this error and start the server?

sampathsris
  • 21,564
  • 12
  • 71
  • 98
Catalin Ciolocoiu
  • 542
  • 1
  • 6
  • 15

1 Answers1

36

The error means that there is a file lock that could not be released, as the server was previously not shut down correctly.

In this case you must follow the next steps:

  • Navigate to tmp folder in your $DOMAIN_HOME directory. (for example: C:\Oracle\Middleware\Oracle_Home\user_projects\domains\mydomain\servers\AdminServer\tmp)
  • Delete the lock file for the server instance, AdminServer.lok
  • Check if there are any java.exe processes are running, which should not be there. If there are any, they would have to be killed.
  • Restart your server
sampathsris
  • 21,564
  • 12
  • 71
  • 98