File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes BEA/Weblogic and the fly likes problem to starting server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "problem to starting server" Watch "problem to starting server" New topic

problem to starting server

karthik rajakumaran

Joined: May 27, 2007
Posts: 4
There are 1 nested errors: Unable to obtain lock on D:\Documentum\
bea9.2\domains\DctmDomain\.\servers\adminServer\tmp\adminServer.lok. Server may
already be running
at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesMan
at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServ
at weblogic.t3.srvr.T3Srvr.initializeStandby(
at weblogic.t3.srvr.T3Srvr.startup(
at weblogic.Server.main(

<Apr 10, 2007 12:52:56 PM GMT+05:30> <Notice> <WebLogicServer> <BEA-000365> <Ser
ver state changed to FAILED>
<Apr 10, 2007 12:52:56 PM GMT+05:30> <Error> <WebLogicServer> <BEA-000383> <A cr
itical service failed. The server will shut itself down>
<Apr 10, 2007 12:52:56 PM GMT+05:30> <Notice> <WebLogicServer> <BEA-000365> <Ser
ver state changed to FORCE_SHUTTING_DOWN>

how do i start serve? pls comment on this.
Shekar Atmakur
Ranch Hand

Joined: Oct 24, 2003
Posts: 36
Please kill all instances of Weblogic processes running on the system and then try starting the server again.
karthik rajakumaran

Joined: May 27, 2007
Posts: 4
Thanks shekar,
I shut down the alreday running java.exe processes by using task manager.
Then I started weblogic server sucessfully.

Thanks for your reply,

Karthik Rajakumaran
Madusudhanan Ragothaman

Joined: Dec 19, 2007
Posts: 6
seems like another instance of weblogic is running.

if you are running in a unix box do a

ps -ef | grep "java" or ps -ef | grep "weblogic" or ps -ef | grep "you istance name" and kill everything .

if windows , Say ctrl + alt + delete , kill all javac instance, and restart weblogic.

You should be fine
karthik rajakumaran

Joined: May 27, 2007
Posts: 4
Thanks madhusudhanan,
I've did same as you scrabed.It starts fine.
Thanks for your reply.

Karthik Rajakumaran.
hazari yuvraj

Joined: Sep 30, 2009
Posts: 1
In unix env use command ps -ef|grep java to find java running process,kill the same.
restart the server.

Sunil Singh Yuvraj
Deepak Bala

Joined: Feb 24, 2006
Posts: 6662

This thread is around 2 years old. I doubt the OP is still around to read your reply, but thanks for posting your thoughts

SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
Rajukpo kumar

Joined: Dec 31, 2010
Posts: 9
Hello All,

May i know why this error is coming...?

I am using netbeans and weblogic. I am getting this error many times, 5-6 times a day. And whenever error occurred IDE will be strucked without any response.
So it is wasting my time a lot.

Any help!!!

anandraj tadkal
Ranch Hand

Joined: Feb 22, 2011
Posts: 98


This error occurs in two scenarios:
1. If the server is already running.
2. If the server is not properly killed and at times it does retain some references to the .lok file under the tmp directory of the DOMAIN/server folder and the lok file is not relinquished totally.

When the server starts it checks if any .lok file in present in the tmp file.
If yes, it would try to acquire a lock on that one.

If the lock is already held by some other process, then it would throw this error.

Check the running processes which can acquire lock on the .lok files and kill them.

Restart the server.


Follow us on facebook:
I agree. Here's the link:
subject: problem to starting server
It's not a secret anymore!