WebLogic8 under Linux under the problem
Finally, it is necessary to upgrade the WebLogic7 used by the production environment to WebLogic8.
If we use scripts to launch WebLogic, we will add the following variables in the StartWebLogic.sh script, use as each startup system without repeating input passwords and user accounts.
# WLS_USER - CLEARTEXT User for Server Startup
# WLS_PW - Cleartext Password for Server Startup
This method can't be used, set a lot, then determine that there is no problem with the script without entry.
Check out the script of WebLogic8:
$ {JAVA_HOME} / bin / java $ {JAVA_VM} $ {MEM_ARGS} $ {JAVA_OPTIONS} -Dweblogic.Name = $ {SERVER_NAME} -Dweblogic.ProductionModeEnabled = $ {PRODUCTION_MODE} -Djava.security.policy = "$ {WL_HOME} /server/lib/weblogic.policy "WebLogic.Server
We can find that it is finally called to start WebLogic commands directly, and no use of any user account and password you defined in front.
We know that in WebLogic 7, StartWebLogic.sh is not directly called the command to start. Instead, I call the startwls.sh script. In this script, we can view his startup method:
$ {JAVA_HOME} / bin / java $ {JAVA_VM} $ {MEM_ARGS} $ {JAVA_OPTIONS} -Dweblogic.Name = $ {SERVER_NAME} -Dweblogic.ProductionModeEnabled = $ {PRODUCTION_MODE} -Djava.security.policy = "$ {WL_HOME} /server/lib/weblogic.policy "-dweblogic.management.username = $ {WLS_USER} -dweblogic.management.password = $ {WLS_PW} WebLogic.Server
Here, we can easily see that in 7 is actually used the user account and password, we modify the 8 script to 7, add:
-Dweblogic.management.username = $ {WLS_USER} -dweblogic.management.password = $ {WLS_PW}
Ok, now everything is OK.
Finally, it is in Windows, WLS8 does not have this request, we have no setup accounts and passwords at all. I don't know where WebLogic is read, and I haven't searched it in all WebLogic. information. Which person knows, please let me know.