Thursday, November 21, 2013

Weblogic Startup Error : command not found

If you get following error message while starting Weblogic Admin server (or) Manager servers using startWebLogic.sh (or) startManagedWebLogic.sh, create a boot.properties file under security folder of each server.

Error:
<Security> <BEA-090065> <Getting boot identity from user.>
Enter username to boot WebLogic server:weblogic
-bash: weblogic: command not found

Fix:
1. Go to <DOMAIN_HOME>/servers/<ServerName>/security directory(If security folder is not available, create a folder)
 
2. create a file named boot.properties
Unix: vi boot.properties

3 Add username & password to the file and save it.
username=weblogic
password=welcome

4. Try executing scripts 
nohup ./startWebLogic.sh &
(or) 
nohup ./startManagedWebLogic.sh ManagedServer1 &

5. Once server started, the boot.properties file content will be encrypted.

No comments:

Post a Comment

Provide your thoughts !