启动和关闭weblogic服务不再输入用户名和密码

 


 root 用户创建 /security/boot.properties 文件并编辑


 

进入到你新建的域中:cd /home/weblogic/Oracle/Middleware/user_projects/domains/base_domain/servers/AdminServer

然后在该文件夹下新建名为security的文件夹:mkdir security

在刚刚新建是文件夹中新建名为boot.properties文件:vi boot.properties

然后在该文件中输入:

username=weblogic

password=weblogic1036

保存后退出。

 

 


 

 

 

 


 [weblogic@CRRC bin]$ ./stopWebLogic.sh
Stopping Weblogic Server...

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

Connecting to t3://localhost:7001 with userid weblogic ...
Successfully connected to Admin Server 'AdminServer' that belongs to domain 'base_domain'.

Warning: An insecure protocol was used to connect to the
server. To ensure on-the-wire security, the SSL port or
Admin port should be used instead.

Shutting down the server AdminServer with force=false while connected to AdminServer ...
WLST lost connection to the WebLogic Server that you were
connected to, this may happen if the server was shutdown or
partitioned. You will have to re-connect to the server once the
server is available.
Disconnected from weblogic server: AdminServer
Disconnected from weblogic server:


Exiting WebLogic Scripting Tool.

Done
Stopping Derby Server...
[weblogic@CRRC bin]$


 

posted on 2017-02-09 15:24  vmkash  阅读(7067)  评论(0编辑  收藏  举报

导航