ADF Business ComponentsまたはADF TopLinkプロジェクトをWebLogicサーバーにデプロイする前に、サーバーで次の操作を事前に実行していることを確認してください。
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
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=
...
startWebLogic.cmd
を使用して、WebLogicアプリケーション・サーバーを起動します。
ADF Business Componentsのデプロイメントについて
Copyright © 1997, 2004, Oracle. All rights reserved.