discuss_ja@glassfish.java.net

Re: トラブルシューティングガイド一日一膳

From: Tomonori Shioda <tomonori.shioda_at_gmail.com>
Date: Wed, 3 Sep 2008 15:55:17 +0900

あと、JDBC connection pool を作る際にですが

https://glassfish.dev.java.net/issues/show_bug.cgi?id=5596

も気をつけた方が良さそうですね。b23 では直るみたいですが。

もとの質問としては

https://glassfish.dev.java.net/issues/show_bug.cgi?id=5805

が該当しますね。Sahoo の回答だと (domain)/lib に置くのが常道
だけど、現在は 5596 があるもので、CLI から ping-connection-pool
すると動かないということになるようです。

shioda

2008/09/03 15:40 Tomonori Shioda <tomonori.shioda_at_gmail.com>:
>> JDBC ドライバーの置き場所、知らない人いたのですね。
>> 一応小職の方で、レス返しておきましたが、既に問題は
>> 解決された後かもです。
>> https://glassfish.dev.java.net/servlets/ReadMsg?list=users&msgNo=23500
>> Judy からお礼のメール受け取って、それのレスの文面を考え中・・・
>> もっと迅速に英文かけるようになりたいなぁ >+○バタ!
>
> 竹内さん、FishCAT プログラムでの活躍ありがとございます。
> すばらしいです!
>
> JDBC driver の置き場所なんですが、実際のところ明示的にドキュメント
> されていませんね。
>
> http://docs.sun.com/app/docs/doc/820-4495/ablih?a=view
>
> には
>
> Make the JAR file for the JDBC driver accessible to the domain server instance.
>
> としか書いていないし、
>
> http://docs.sun.com/app/docs/doc/820-4496/beade?l=ja&a=view
> http://docs.sun.com/app/docs/doc/820-4496/beamn?l=ja&a=view
>
> には
>
> The Application Server Parent class loader loads classes in the
> domain-dir/lib/classes directory, followed by JAR files in the
> domain-dir/lib directory.
>
> To integrate the JDBC driver into a Application Server domain, copy
> the JAR files into the domain-dir/lib directory, then restart the
> server.
>
> と書いてありますが、そのディレクトリは存在しないし、自分で作ってもだめだし。
> jvm option 変えればできますけど...
>
> しかも、このドキュメントは TP2 のときのものだし、OSGi が default になった
> GFv3 Prelude で class lorder がどうインプリされているのか、わからない
> 部分はたしかにありますね。この件については、
>
> https://glassfish.dev.java.net/issues/show_bug.cgi?id=5783
>
> が出ていますが、こんな感じでまだいろいろ問題があると思います。おかしな
> ところがありましたら、今後ともメーリングリストへのメールやバグレポート、よろしく
> お願いします。
>
> shioda
>