Weblogic8.1 设置boot.properties文件

来源:互联网 发布:js 身份证上传照片 编辑:程序博客网 时间:2024/05/16 02:13

作用是让server启动时自动从boot.properties文件中读取用户名和密码,并登录

以下是文档原文:

Setting the Boot Login for WebLogic Server

The WebLogic Server uses the login information contained in the boot.properties file to start the server. This file contains a usernameand password that must match a username and password in the configured authentication policy. The boot.properties file is located in the WebLogic Server domain directory on the machine on which the Security Service Module is installed, for example:

BEA_HOME/user_projects/domains/mydomain

If you used a username of system and a password of weblogic, then modify WebLogic Server boot.properties in the domain as follows:

user = systempassword = weblogic

The next time you start the WebLogic Server, the username and password you specified are encrypted.

上面的方式,适用于admin server,

若是managed server则要进入

BEA_HOME/user_projects/domains/mydomain
后,相应的managed server的相应目录

并创建boot.properties文件。