- - PR -
Eclipse+Weblogicで接続プールエラー
1
| 投稿者 | 投稿内容 |
|---|---|
|
投稿日時: 2003-11-14 15:45
こんにちは
初めて投稿します。 eclipse2.1.1 lomboz.211 Weblogic8.1 今回、eclipseを使用して開発を考えております。 しかし、eclipse上でWeblogicを起動するとJDBC driverエラーが 発生してします。 簡単なJsp、html、Servletは確認できたのですが DBをアクセスするものが試せません。 ちなみにドライバーはWeblogicの「Weblogic.jdbc.oci.Driver」を 使用しており eclipseを通さずに起動させると正しく動作します。 eclipseでWeblogicを起動する場合はWeblogicの起動シェルを 叩かないためクラスパスが設定されていないのかと思うのですが。。。 weblogic.jarのパスを通してあるため ビルドも通ります。 御力をお貸し下さい。 お願いします。 −−−−−−−−−−− <2003/11/14 15時27分41秒 JST> <Error> <JDBC> <BEA-001150> <接続プール "abcPool" のデプロイメントは次のエラーにより失敗しました。: 0: Could not load 'weblogic.jdbc.oci.Driver If this is a type-4 JDBC driver, it could occur if the JDBC driver is not in the system CLASSPATH. If this is a type-2 JDBC driver, it may also indicate that the Driver native layers(DBMS client lib or driver DLL) have not been installed properly on your system or in your PATH environment variable. This is most likely caused by one of the following: 1. The native layer SO, SL, or DLL could not be found. 2. The file permissions on the native layer SO, SL, or DLL have not been set properly. 3. The native layer SO, SL, or DLL exists, but is either invalid or corrupted. For more information, read the installation documentation for your JDBC Driver. |
|
投稿日時: 2003-11-14 17:42
はじめまして。
自分も気になりただいま実行してみましたが、うまく起動できました。 ・Windows2000 ・Weblogic8.1J ・eclipse2.1.1 ・lomboz 211 ・oracle 9i 使用しているドライバですが、hiroyukiさんとは違い、oracle.jdbc.driver.OracleDriver を使用しています。 この辺が原因なのかもしれません。 |
|
投稿日時: 2003-11-14 18:10
回答ありがとうございます。
eclipseを起動する際に Weblogicの環境変数シェル「commEnv.cmd」を実行すると うまくいきました。 PATHの問題かと思います。 もう一つ質問なんですが Weblogicの起動シェルにはオプションで「-Dlog4j.configuration」(Log4j)を 付けています。 eclipseでWeblogicの起動オプションを追加する際の方法を 教えて頂きたいのですが よろしくお願いします。 |
|
投稿日時: 2003-11-14 18:33
http://www.beasys.co.jp/dev2dev/resourcelibrary/untilitlestools/environment.html
ここに「WebLogic Plugin 1.0.0 for Eclipse」というWeblogic用のプラグインがおいて あります。 機能を見るとhiroyukiさんのやりたいことが出来そうです。 ただ、対応しているバージョンが6.1/7.0なんですよね・・・。 |
|
投稿日時: 2003-11-14 18:44
ちばさん
ありがとうございます。 −− WebLogic Plugin 1.0.0 for Eclipse このプラグインは、Weblogic 6.1/7.0インスタンスを管理できるようEclipse SDKを拡張するためのものです。提供される機能は以下のとおりです。 −− もう少しだったのに。。。 違う方向で調べてみます ありがとうございます。 |
1
