zoukankan      html  css  js  c++  java
  • 启动和关闭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]$


  • 相关阅读:
    use tomcat to access the file cross the environment
    data audit on hadoop fs
    Good practice release jar to Nexus
    套路!从Ruby 到 Cocoapods的发布
    单元测试之NSNull 检测
    UIwebView 和 H5交互详情
    IT 需要知道的一些专业名词和解释 (长期更新)
    Git 操作 学习资源 网址
    GCD
    软件工程——个人总结
  • 原文地址:https://www.cnblogs.com/vmkash/p/6382319.html
Copyright © 2011-2022 走看看