aspose file tools*
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "problem to starting server" Watch "problem to starting server" New topic
Author

problem to starting server

karthik rajakumaran
Greenhorn

Joined: May 27, 2007
Posts: 4
There are 1 nested errors:

weblogic.management.ManagementException: Unable to obtain lock on D:\Documentum\
bea9.2\domains\DctmDomain\.\servers\adminServer\tmp\adminServer.lok. Server may
already be running
at weblogic.management.internal.ServerLocks.getServerLock(ServerLocks.ja
va:159)
at weblogic.management.internal.ServerLocks.getServerLock(ServerLocks.ja
va:58)
at weblogic.management.internal.DomainDirectoryService.start(DomainDirec
toryService.java:75)
at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesMan
ager.java:374)
at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServ
icesManager.java:125)
at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:630)
at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:402)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
at weblogic.Server.main(Server.java:67)

>
<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
Hi,
Please kill all instances of Weblogic processes running on the system and then try starting the server again.
karthik rajakumaran
Greenhorn

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
Greenhorn

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
Greenhorn

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
Greenhorn

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
Bartender

Joined: Feb 24, 2006
Posts: 6657
    
    5

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
Greenhorn

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!!!

Thanks,
Raju
anandraj tadkal
Ranch Hand

Joined: Feb 22, 2011
Posts: 98

Raju,

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.

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

Restart the server.

Cheers,
Anandraj
http://weblogic-wonders.com


Regards,
Anandraj
http://weblogic-wonders.com
Follow us on facebook:
https://www.facebook.com/weblogicwonders
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem to starting server
 
Similar Threads
Problem regading Entity bean....
server startup issue
node manager can't start weblogic server in cluster
Getting error while starting weblogic 10.3 server from start\programs\oraweblogic\....
weblogic startup