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]$


  • 相关阅读:
    HDOJ/HDU 2352 Verdis Quo(罗马数字与10进制数的转换)
    HDOJ/HDU 2203 亲和串(简单的判断~Java的indexOf()方法秒)
    HDOJ/HDU 2163 Palindromes(判断回文串~)
    js之函数
    js琐碎知识点
    position
    css属性background
    图片展示失效容错处理
    文字打点
    浮动的一些知识点
  • 原文地址:https://www.cnblogs.com/vmkash/p/6382319.html
Copyright © 2011-2022 走看看