啟動和關閉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]$


 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM