Tuesday, January 23, 2018

WebLogic stopManagedWeblogic.sh script prompts for username and password for shutting down managed server

Leave a Comment

The managed server created in the WebLogic 12c environment is prompting for the username and password when stopping the managed server with stopManagedWeblogic.sh script even when boot.properties file is present with correct credentials.

The boot.properties file configured in some other accessible location whose path is specified using -Dweblogic.system.BootIdentityFile java option

I've observed below strange behavior

  • It's not prompting for username and password when starting the managed server with startManagedWeblogic.sh script(I suppose it's looking into boot.properties file).
  • It's not prompting for username and password when starting and stopping admin server

It's prompting for username and password only in case of managed server shutdown using stopManagedWeblogic.sh script.

Is passwordless managed server shutdown not supported in WebLogic ?, as I don't want username and password specified as a parameter to stop script.

1 Answers

Answers 1

I faced a similar issue and could resolve it by trying the following:

  1. create the directory <domain_home>/servers/<managed_server>/security
  2. create boot.properties in the above directory with the below values:
    username=<username>
    password=<password>

Now, start/stopManagedWeblogic.sh would work without prompting for credentials.

If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment