This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes Getting error while starting weblogic 10.3 server from start\programs\oraweblogic\.... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Getting error while starting weblogic 10.3 server from start\programs\oraweblogic\...." Watch "Getting error while starting weblogic 10.3 server from start\programs\oraweblogic\...." New topic
Author

Getting error while starting weblogic 10.3 server from start\programs\oraweblogic\....

bhushan kumarsel
Greenhorn

Joined: Jul 24, 2007
Posts: 12
Hi I created a sample domain through weblogic configutration wizard.
Started the admin server for this domain(through user_prijects).Then stopped it.

Then i tried to start weblogic server (start\programs\oraweblogic\weblogic\weblogicserver icon)
But earolier it was starting well.

Now after creation of the domain. I am getting following error .

***************************************************
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
***************************************************
starting weblogic with Java version:
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
BEA JRockit(R) (build R27.6.0-50_o-100423-1.6.0_05-20080626-2105-windows-ia32, compiled mode)
Starting WLS with line:
C:\Bea10.3\JROCKI~1\bin\java -jrockit -Xms256m -Xmx512m -Dootb.examples.url.name=/index.jsp -Xverify:none -da -Dplatform.home=C:\Bea10.3\WLSERV~1.3 -Dwls.home=C:\Bea10.3\WLSERV~1.3\server -Dwe
<Jan 20, 2009 7:25:01 PM IST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with BEA JRockit(R) Version R27.6.0-50_o-100423-1.6.0_05-20080626-2105-windows-ia32 from BEA Systems,
><Jan 20, 2009 7:25:02 PM IST> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:

There are 1 nested errors:

weblogic.management.ManagementException: Unable to obtain lock on C:\Bea10.3\wlserver_10.3\samples\domains\wl_server\servers\examplesServer\tmp\examplesServer.lok. Server may already be running
at weblogic.management.internal.ServerLocks.getServerLock(ServerLocks.java:159)
at weblogic.management.internal.ServerLocks.getServerLock(ServerLocks.java:58)
at weblogic.management.internal.DomainDirectoryService.start(DomainDirectoryService.java:73)
at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesManager.java:459)
at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:164)
at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:711)
at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:482)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:440)
at weblogic.Server.main(Server.java:67)

>
<Jan 20, 2009 7:25:02 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
<Jan 20, 2009 7:25:02 PM IST> <Error> <WebLogicServer> <BEA-000383>
<Jan 20, 2009 7:25:02 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
Stopping PointBase server...
PointBase server stopped.

C:\Bea10.3\wlserver_10.3\samples\domains\wl_server>
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Moving to the correct forum

Eric
Renjan Thomas
Ranch Hand

Joined: Jan 09, 2009
Posts: 49

This exception is thrown when already a WLS process is running...try to kill all the WLS process running and restart the instance again.If it is a windows machine..use the process tab in task manager to see the java process running..and if it is unix machine please do a grep command to check the weblogic java process and kill it.
shimon ohayon
Greenhorn

Joined: Nov 04, 2009
Posts: 1
hi
i try to typr those commands:
ps -ef | grep "weblogic" Or ps -ef | grep "java" -> ther is no WLS instance
but i stiil got this error:
weblogic.management.ManagementException: Unable to obtain lock on /asmsuser06/amss/amss/abma51/ASMS/JEE/orchDomain__abma51/WLS/orchDomain__abma51ASMS/JEE/servers/orchServer__abma51/tmp/orchServer__abma51.lok. Server may already be running
at weblogic.management.internal.ServerLocks.getServerLock(ServerLocks.java:159)
at weblogic.management.internal.ServerLocks.getServerLock(ServerLocks.java:58)
at weblogic.management.internal.DomainDirectoryService.start(DomainDirectoryService.java:73)
at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesManager.java:459)
at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:164)
at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:711)
at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:482)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:440)
at weblogic.Server.main(Server.java:67)

please assit,
]Shimon
Renjan Thomas
Ranch Hand

Joined: Jan 09, 2009
Posts: 49

Then if you are so sure that your server is not running...try this :-

Delete the file AdminServer.lok

Go to
"your domain"\servers\AdminServer\tmp\

Delete the file AdminServer.lok.Then try starting the server.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Getting error while starting weblogic 10.3 server from start\programs\oraweblogic\....
 
Similar Threads
Weblogic server problem.
How to Configure WebLogic 10.0.3 with MyEclipse 8.0
**** ASSERTION FAILED **** Error while starting WebLogic 7
Problem in Starting Remote Managed Server in in wls8.1
Starting Weblogic server fine in Eclipse, but seems like project not being deployed.