Cosminexus V9 アプリケーションサーバ メッセージ(構築/運用/開発用)
KDJE50061-W
An user name and a password specified on the getConnection() method is ignored.
- 説明
- getConnection()メソッドに指定されたユーザ名とパスワードは無視され,コンテナ管理によるサインオンが行われます。EJBやServletのDeployment Descriptorでのリソースの参照定義で,<res-auth>タグにContainerを指定している場合に,DataSource.getConnection(String user, String password)を呼ぶと,このメッセージを出力します。
- 対処
- コンポーネント管理によるサインオンを行う場合は,EJBやServletのDeployment Descriptorでのリソースの参照定義で,<res-auth>タグにApplicationを指定してください。コンテナ管理によるサインオンを行う場合は,引数なしのDataSource.getConnection()を使用してください。
All Rights Reserved. Copyright (C) 2012, 2015, Hitachi, Ltd.