• <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>
    • 軟件測試技術
    • 軟件測試博客
    • 軟件測試視頻
    • 開源軟件測試技術
    • 軟件測試論壇
    • 軟件測試沙龍
    • 軟件測試資料下載
    • 軟件測試雜志
    • 軟件測試人才招聘
      暫時沒有公告

    字號: | 推薦給好友 上一篇 | 下一篇

    solaris下weblogic使用技巧點滴

    發布: 2007-6-08 22:43 | 作者: seanhe | 來源: | 查看: 21次 | 進入軟件測試論壇討論

    領測軟件測試網
    solaris下weblogic使用技巧點滴
    說明:服務器硬件:sun fire 280R
          weblogic軟件:weblogic 8.1 sp3

    本人聲明如需轉載請保留如下信息: 
    作者:SOLARIS小兵
    MAIL:solarisxb@hotmail.com
    FROM:WWW.CHINAUNIX.NET
          
    一、在solaris字符界面創建weblogic域方法:
    * 到weblogic的安裝目錄下:
     。d /export/home/bea/weblogic81/common/bin
    * 執行./config.sh命令
     #./config.sh
    * 字符界面如下:
    Unable to instantiate GUI, defaulting to console mode.

    <-----------BEA WebLogic Configuration Wizard ------->

    Create or Extend a Configuration:
    ---------------------------------
    Choose between creating and extending a configuration. Based on your 
    selection, the Configuration Wizard guides you through the steps to 
    generate a new or extend an existing configuration.
     ->1|Create a new WebLogic configuration
        |    Start here to create a WebLogic configuration in your projects 
        |directory. 

       2|Extend an existing WebLogic configuration
        |    Start here to extend an existing WebLogic configuration.  Use this     |option to add 

    applications and services, including Database access 
        |(JDBC) and Messaging (JMS). This option also enables you to extend 
      |functionality by enabling WebLogic Workshop.
      Enter index number to select OR [Exit][Next]> 1
      
      <----------BEA WebLogic Configuration Wizard ------------------->
    * 選擇要創建的域:
    Select a Domain Template:
    -------------------------

    Please select a template from the list or select another directory of 
    templates.

        * [/export/home/bea/weblogic81/common/templates/domains]

       1|WebLogic Server Examples Domain 8.1.3.0
        |  BEA Systems, Inc.
        |  Create the WebLogic Server Examples domain in a directory outside of     |the installed 

    kit.  The Examples domain contains a collection of 
        |examples to show best practices for coding individual J2EE APIs.

     ->2|Basic WebLogic Server Domain 8.1.3.0
        |  BEA Systems, Inc.
        |  Create a basic WebLogic Server domain without installing sample 
        |applications.

       3|Basic WebLogic Workshop Domain 8.1.3.0
        |  BEA Systems, Inc.
        |  Create a basic WebLogic Workshop domain, without installing sample 
        |applications.   Domains created from this template will support the 
        |WebLogic Server and WebLogic Workshop runtime functionality, including     |support for J2EE 

    applications, Web applications, Web Services and 
        |custom controls.  Use domains created from this template for 
        |development of WebLogic Workshop applications.

       4|Avitek Medical Records Sample Domain 8.1.3.0

    Enter index number to select OR [Down][Exit][Previous][Next]> 2
    <------------------- BEA WebLogic Configuration Wizard ------------------->

    Choose Configuration Option:
    ----------------------------
        *Do you want to run the wizard in express mode?

     ->1|Yes

       2|No

    Enter index number to select OR [Exit][Previous][Next]> 1
    * 創建weblogic管理用戶和密碼:
    <------------------- BEA WebLogic Configuration Wizard ------------------->

    Configure Administrative Username and Password:
    -----------------------------------------------

    Create a user automatically assigned to the Administrative Role. This user 
    is the default administrator used to start development mode servers.

        |          Name           |              Value              |
       _|_________________________|_________________________________|
       1|       *User name:       |            weblogic             |
       2|     *User password:     |                                 |
       3| *Confirm user password: |                                 |
       4|      Description:       | The default administration user |

    Select Option:
        1 - Modify "User name"
        2 - Modify "User password"
        3 - Modify "Confirm user password"
        4 - Modify "Description"

    Enter option number to select OR [Exit][Previous][Next]> 2

    <------------------- BEA WebLogic Configuration Wizard ------------------->

    Configure Administrative Username and Password:
    -----------------------------------------------

    Create a user automatically assigned to the Administrative Role. This user 
    is the default administrator used to start development mode servers.

        "*User password:" = []

    Input new *User password: OR [Exit][Reset][Accept]> 

    <------------------- BEA WebLogic Configuration Wizard ------------------->

    Configure Administrative Username and Password:
    -----------------------------------------------

    Create a user automatically assigned to the Administrative Role. This user 
    is the default administrator used to start development mode servers.

        |          Name           |              Value              |
       _|_________________________|_________________________________|
       1|       *User name:       |            weblogic             |
       2|     *User password:     |           **********            |
       3| *Confirm user password: |                                 |
       4|      Description:       | The default administration user |

    Select Option:
        1 - Modify "User name"
        2 - Modify "User password"
        3 - Modify "Confirm user password"
        4 - Modify "Description"
        5 - Discard Changes

    Enter option number to select OR [Exit][Previous][Next]> 3

    <------------------- BEA WebLogic Configuration Wizard ------------------->

    Configure Administrative Username and Password:
    -----------------------------------------------

    Create a user automatically assigned to the Administrative Role. This user 
    is the default administrator used to start development mode servers.

        "*Confirm user password:" = []

    Input new *Confirm user password: OR [Exit][Reset][Accept]> 


    <------------------- BEA WebLogic Configuration Wizard ------------------->

    Configure Administrative Username and Password:
    -----------------------------------------------

    Create a user automatically assigned to the Administrative Role. This user 
    is the default administrator used to start development mode servers.

        |          Name           |              Value              |
       _|_________________________|_________________________________|
       1|       *User name:       |            weblogic             |
       2|     *User password:     |           **********            |
       3| *Confirm user password: |           **********            |
       4|      Description:       | The default administration user |

    Select Option:
        1 - Modify "User name"
        2 - Modify "User password"
        3 - Modify "Confirm user password"
        4 - Modify "Description"
        5 - Discard Changes

    Enter option number to select OR [Exit][Previous][Next]> 

    <------------------- BEA WebLogic Configuration Wizard ------------------->
    * 選擇要創建域Domain的模式:選擇Production Mode模式
    Domain Mode Configuration:
    --------------------------

    Enable Development or Production Mode for this domain. 

     ->1|Development Mode

       2|Production Mode

    Enter index number to select OR [Exit][Previous][Next]> 2

    <------------------- BEA WebLogic Configuration Wizard ------------------->
    * Java環境選擇:Java SDK Selection
    Java SDK Selection:
    -------------------
     ->1|JRockit SDK 1.4.2_04-8130 @ /export/home/bea/jrockit81sp3_142_04
       2|Sun SDK 1.4.2_04 @ /export/home/bea/jdk142_04
       3|Other Java SDK

    Enter index number to select OR [Exit][Previous][Next]> 2

    <------------------- BEA WebLogic Configuration Wizard ------------------->
    * 選擇domain的創建目錄:
    注:目錄路徑不需要寫domain的名稱,要不目錄會重。
    Select the target domain directory for this configuration:
    ----------------------------------------------------------

        "Target Location" = [/export/home/bea/user_projects/domains]

    Input new Target Location OR [Exit][Previous][Next]> /export/home/bea

    <------------------- BEA WebLogic Configuration Wizard ------------------->

    Edit Domain Information:
    ------------------------

        |  Name  |  Value   |
       _|________|__________|
       1| *Name: | mydomain |

    Enter value for "Name" OR [Exit][Previous][Next]>
    * 開始創建domain:
    <------------------- BEA WebLogic Configuration Wizard ------------------->

    Creating Domain...

    0%          25%          50%          75%          100%
    [------------|------------|------------|------------]
    [***************************************************]


    **** Domain Created Successfully! ****

    * 備注:要是安裝失敗,會有提示的。
    二、weblogic啟動密碼自動添加
    1、存儲加密后的用戶身份,使用boot.properties文件來避免啟動腳本中出現硬編碼的用戶身份。創建密碼啟動文件:boot.properties
    #cd /export/home/bea/mydomain
       2、寫入登陸用戶、密碼:
    # vi boot.properties
       password=system
       username=manager
    3、系統會自動加密用戶名和密碼:
    # vi boot.properties
       #Thu Jun 16 12:01:02 CST 2005
       password={3DES}rS5f2/lJowyEnrkv5Q14tA\=\=
       username={3DES}RKPFkGopsVaY6aFXkOuAAA\=\=~
    三、nohup方式自啟動weblogic
    1、在Unix中,使用 'nohup' 運行 WebLogic Server啟動腳本,以保證即使您注銷以后,服務器依然在后臺運行。為了防止weblogic啟動以后,退出登陸窗口weblogic會停止,所以使用nohup方式。
    2、在startWebLogic.sh文件中添加nohup和&后臺符號。
    # more startWebLogic.sh
    nohup ${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} ${JAVA_OPTIONS}
             -Dweblogic.Name=${SERVER_NAME}
             -Dweblogic.ProductionModeEnabled=${PRODUCTION_MODE}
             -Djava.security.policy="${WL_HOME}/server/lib/weblogic.policy"
             weblogic.Server&
    四、weblogic配置維護:
    1、維護配置:
     Weblogic的console是在瀏覽器中實現的訪問方法
       http://127.0.0.1:7001/console,如果需要登錄的話
       用戶名:system
       密碼:manager

     東方蜘蛛 回復于:2005-06-16 16:01:45
    呵呵,好文,順便也把安裝過程貼出來學習下!

     ninedot 回復于:2005-06-16 16:54:31
    頂一個,支持,學習!

     solaris小兵 回復于:2005-08-16 21:45:45
    不知不覺多了一篇精華。!
    精華來的太晚了!

     C.Arthur 回復于:2005-08-17 09:34:46
    呵呵,原創精華,當然是不錯的好東西啊,呵呵

     jackiliu2 回復于:2005-08-17 21:20:01
    真巧 我剛好在找這些資料 感謝大大

    延伸閱讀

    文章來源于領測軟件測試網 http://www.kjueaiud.com/


    關于領測軟件測試網 | 領測軟件測試網合作伙伴 | 廣告服務 | 投稿指南 | 聯系我們 | 網站地圖 | 友情鏈接
    版權所有(C) 2003-2010 TestAge(領測軟件測試網)|領測國際科技(北京)有限公司|軟件測試工程師培訓網 All Rights Reserved
    北京市海淀區中關村南大街9號北京理工科技大廈1402室 京ICP備2023014753號-2
    技術支持和業務聯系:info@testage.com.cn 電話:010-51297073

    軟件測試 | 領測國際ISTQBISTQB官網TMMiTMMi認證國際軟件測試工程師認證領測軟件測試網

    老湿亚洲永久精品ww47香蕉图片_日韩欧美中文字幕北美法律_国产AV永久无码天堂影院_久久婷婷综合色丁香五月

  • <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>