ADFアプリケーションのデプロイメント用のWebLogicの構成

ADF Business ComponentsまたはADF TopLinkプロジェクトをWebLogicサーバーにデプロイする前に、サーバーで次の操作を事前に実行していることを確認してください。

  1. サーバーにADFランタイム・ライブラリをインストールします。
  2. WebLogic上の分散トランザクションのJDBCデータソースを定義します。

    Oracleデータベースの接続プールを作成するには、次のサンプルのような接続情報を追加します。

    
        Connection Pool Name : orclConnectionpool
    
          URL : jdbc:oracle:thin:username/password@hostname:1521:orcl
    
          Driver Classname : oracle.jdbc.driver.OracleDriver
    
          Properties : dll=ocijdbc9 protocol=thin        

    注意: ORACLE_HOME/binがパスに含まれることを確認します。また、URLの値では大文字と小文字が区別されるため、接続ウィザードを使用してURLをテストしてもよいでしょう。カスタムJDBC URLの使用の詳細は、接続ウィザードの状況依存ヘルプを参照してください。

    データソースを作成するには、次のサンプルを使用します。前のサンプルの接続プール名に注意してください。

    
        Datasource Name : orclDatasource JNDI Name : jdbc/OracleDS Pool
    
        Name : orclConnectionpool
    
              

    詳細は、次のURLにある『WebLogic Server Administration Guide』を参照してください。
    e-docs.bea.com

  3. WebLogicアプリケーション・サーバーを起動する前に、ADFライブラリをWebLogicサーバーのクラスパスに設定する必要があります。 コールのsetupadf.cmd行をWebLogicコマンド・スクリプトのstartWebLogic.cmdに挿入すると、このタスクを簡単に実行できます。
    
        echo off
    
        SETLOCAL
    
    
    
        @rem ADF JAR setup
    
        call setupadf.cmd
    
    
    
        @rem Initialize the common environment.
    
        set WL_HOME=D:\bea\weblogic81
    
        @rem Set Production Mode.  When this is set to true, the server starts up in
    
        @rem production mode.  When set to false, the server starts up in development
    
        @rem mode.  If it is not set, it will default to false.
    
        set PRODUCTION_MODE=
    
        ...        
  4. 変更したstartWebLogic.cmdを使用して、WebLogicアプリケーション・サーバーを起動します。

関連項目

ADF Business Componentsのデプロイメントについて

 

Copyright © 1997, 2004, Oracle. All rights reserved.