This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes got error while running weblogic from the unix environment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "got error while running weblogic from the unix environment" Watch "got error while running weblogic from the unix environment" New topic
Author

got error while running weblogic from the unix environment

Uma Mahi
Ranch Hand

Joined: Jan 11, 2006
Posts: 34
I went the folder where the weblogic resides and i run the startWeblogic.sh

while running weblogic from the unix server i got the error
"Exception raised: 'weblogic.server.ServiceFailureException: Could not obtain an exclusive lock to the embedded LDAP data files directory: ./adminserver/ldap/ldapfiles because another WebLogic Server is already using this directory. Ensure that the first WebLogic Server is completely shutdown and restart the server.'
Reason: weblogic.server.ServiceFailureException: Could not obtain an exclusive lock to the embedded LDAP data files directory: ./adminserver/ldap/ldapfiles because another WebLogic Server is already using this directory. Ensure that the first WebLogic Server is completely shutdown and restart the server.


Umaa Mahi<br />--SCJP1.4
Manhar Puri
Ranch Hand

Joined: Aug 23, 2005
Posts: 41
try the command ps | grep java or maybe ps -e | grep java.

There is another instance of weblogic running which you need to kill before being able to run your of weblogic.
Uma Mahi
Ranch Hand

Joined: Jan 11, 2006
Posts: 34
how to kill the weblogic instance which is already running?
Manhar Puri
Ranch Hand

Joined: Aug 23, 2005
Posts: 41
The ps command should give you the process id and then use the kill command.

If you gerp for java it should give all java processes, if there are more than one then i am not sure how you will determine which one is the weblogic instance you want to kill

kill -9 should kill the process, but please look up kill's manual for details.

-Manhar.
[ June 15, 2006: Message edited by: Manhar Puri ]
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: got error while running weblogic from the unix environment
 
jQuery in Action, 3rd edition