aspose file tools
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
Register / Login


JavaRanch » Java Forums » Products » BEA/Weblogic
Reply 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 agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: got error while running weblogic from the unix environment
 
Similar Threads
wli7.0sp1 startup problem.. another one
Weblogic is not getting started
Weblogic server problem.
Need to deploy a war file in unix environment
Problem in running servlet in JBuilder