[seasar-dotnet:1952] Re: dbflute.netでVPNクライアントから起動できない。

kubo [E-MAIL ADDRESS DELETED]
2011年 3月 15日 (火) 12:00:14 JST


久保(jflute)です。

八鍬さん、こんにちは
DBFluteの話ができるのがとてもうれしいです。

と言いつつも、ちょっと原因は全くの不明です。
こういうときは決まって、消去法で原因領域を
狭めていくのがよいかと思います。

ADO.NET を直接使って、ログイン情報を取得する
だけの本当に簡易なアプリで作って、試してみると
良いと思います。それで再現するかしないかで、
アプローチする領域が変わってくるのかなと。

2011/3/15 八鍬達也 <[E-MAIL ADDRESS DELETED]>:
> 八鍬と申します。
>
> dbflute.net×CSharpで、WindowsFormアプリケーションを作成しています。
>
> 特定の環境下で、アプリケーションが起動しない問題が起きています。
> (アプリケーションエラーにもならず、ウィンドウが立ち上がらない)
> DBFluteのログを確認したのですが、
> データベースへの接続の前に処理が中断されているようでした。
>
> サーバローカル上にEXEを配置した場合は、問題なく起動できたので、
> dbfluteが直接関係しているとは考えにくいのですが。。。
>
> データベースの接続については、
> クライアントからマネージメントスタジオでの接続、
> sqlcmdによる接続を確認しています。
> また、TCPポート1433については開放してあります。
>
> 気になる点としては、サーバ、クライアントともにOSが英語版であるため、
> ロケーションによる問題が発生しないか?という点と
> 失敗している環境下では、VPNを使用しているという点です。
>
> 原因について、どのようなことが考えられるか、
> ご教授いただけないでしょうか??
>
>
> 以下、詳細になります。
> --
> DBfluteのバーション:dbflute-0.8.9.22
> データベース:SQLSQEVER2005(英語版)
> クライアント:winXP(英語版)
> .NetFramework3.5SP1
>
>
>
> 接続に失敗する環境下で
> DBFluteのログをみると、
>
> ******************************
> 2011-03-14 15:13:51,933 [1] INFO  Seasar.Quill.QuillConfig - Quill
> configuration file path:C:\Documents and
> Settings\XXXXXX\Desktop\exec\Seasar.Quill.dll.config
> 2011-03-14 15:13:51,949 [1] INFO  Seasar.Quill.QuillContainer - Quill
> configuration file (exist = true, none = false):True
> 2011-03-14 15:13:51,949 [1] INFO  Seasar.Quill.QuillConfig - There is
> no additional assembly.
> 2011-03-14 15:13:51,949 [1] INFO  Seasar.Quill.QuillConfig - The data
> source is generated by using the setting of the Quill configuration
> file.
> ******************************
>
> で止まっています。
>
>
>
> 通常(接続できる)は、
> ******************************
> 2011-03-11 14:27:19,230 [1] INFO  Seasar.Quill.QuillConfig - Quill
> configuration file
> path:C:\Users\XXXXX\Documents\Works\WorkXXXX\Release\2011-03-11_1425\exec\Seasar.Quill.dll.config
> 2011-03-11 14:27:19,235 [1] INFO  Seasar.Quill.QuillContainer - Quill
> configuration file (exist = true, none = false):True
> 2011-03-11 14:27:19,236 [1] INFO  Seasar.Quill.QuillConfig - There is
> no additional assembly.
> 2011-03-11 14:27:19,244 [1] INFO  Seasar.Quill.QuillConfig - The data
> source is generated by using the setting of the Quill configuration
> file.
> 2011-03-11 14:27:19,549 [1] DEBUG
> MsiNet.AllowanceCalculation.Dbflute.AllCommon.S2Dao.S2DaoMetaDataFactoryImpl
> - ...Creating daoMetaData for 'LoginInfoDao'.
> 2011-03-11 14:27:19,777 [1] DEBUG
> XXXXX.XXXXX.Dbflute.AllCommon.S2Dao.S2DaoMetaDataExtension -
> ...Initializing sqlCommand for SelectList().
> 2011-03-11 14:27:19,825 [1] DEBUG XXXXX.XXXXX.Dbflute.AllCommon.XLog -
> SqlCommand Initialization Cost: [00m00s275ms]
> 2011-03-11 14:27:19,835 [1] DEBUG XXXXX.XXXXX.Dbflute.AllCommon.XLog -
> /================================================================================
> 2011-03-11 14:27:19,835 [1] DEBUG XXXXX.XXXXX.Dbflute.AllCommon.XLog -
>
> LoginInfoBhv.SelectEntity()
> 2011-03-11 14:27:19,835 [1] DEBUG XXXXX.XXXXX.Dbflute.AllCommon.XLog -
>
> ==========================/
> 2011-03-11 14:27:19,839 [1] DEBUG XXXXX.XXXXX.Dbflute.AllCommon.XLog -
> SystemServiceImpl.Login() --> LoginInfoBhv.SelectEntity() --> ...
> 2011-03-11 14:27:20,073 [1] DEBUG Seasar.Framework.Util.DataSourceUtil
> - Logical connection got
> 2011-03-11 14:27:20,074 [1] DEBUG
> MsiNet.AllowanceCalculation.Dbflute.AllCommon.QLog -
> select  dfloc.id as c0, dfloc.login_id as c1, dfloc.login_pw as c2,
> dfloc.user_nm as c3
>  from login_info dfloc
>  where dfloc.login_id = 'XXXXX'
> 2011-03-11 14:27:20,144 [1] DEBUG Seasar.Framework.Util.ConnectionUtil
> - Logical connection closed
> 2011-03-11 14:27:20,150 [1] DEBUG XXXXX.XXXXX.Dbflute.AllCommon.XLog -
> ===========/ [00m00s306ms (1) result={5, XXXXX, , , , , , }]
> 2011-03-11 14:27:20,150 [1] DEBUG XXXXX.XXXXX.Dbflute.AllCommon.XLog -
>
> ******************************
>
> となり、ログインに関する情報を取得するのですが。。。
>
>
> データベースへ接続できない場合(DBユーザのパスワードのあやまりなど)は、
> ******************************
> 2011-03-11 14:42:01,081 [1] INFO  Seasar.Quill.QuillConfig - Quill
> configuration file
> path:C:\Users\XXXXX\Documents\Works\WorkXXXXX\Release\2011-03-11_1425\exec\Seasar.Quill.dll.config
> 2011-03-11 14:42:01,085 [1] INFO  Seasar.Quill.QuillContainer - Quill
> configuration file (exist = true, none = false):True
> 2011-03-11 14:42:01,086 [1] INFO  Seasar.Quill.QuillConfig - There is
> no additional assembly.
> 2011-03-11 14:42:01,094 [1] INFO  Seasar.Quill.QuillConfig - The data
> source is generated by using the setting of the Quill configuration
> file.
> 2011-03-11 14:42:01,376 [1] DEBUG
> XXXXX.XXXXX.Dbflute.AllCommon.S2Dao.S2DaoMetaDataFactoryImpl -
> ...Creating daoMetaData for 'LoginInfoDao'.
> 2011-03-11 14:42:01,430 [1] DEBUG
> XXXXX.XXXXX.Dbflute.AllCommon.S2Dao.S2DaoMetaDataExtension -
> ...Initializing sqlCommand for SelectList().
> 2011-03-11 14:42:01,447 [1] DEBUG XXXXX.XXXXX.Dbflute.AllCommon.XLog -
> SqlCommand Initialization Cost: [00m00s071ms]
> 2011-03-11 14:42:01,455 [1] DEBUG XXXXX.XXXXX.Dbflute.AllCommon.XLog -
> /================================================================================
> 2011-03-11 14:42:01,455 [1] DEBUG XXXXX.XXXXX.Dbflute.AllCommon.XLog -
>
> LoginInfoBhv.SelectEntity()
> 2011-03-11 14:42:01,455 [1] DEBUG XXXXX.XXXXX.Dbflute.AllCommon.XLog -
>
> ==========================/
> 2011-03-11 14:42:01,458 [1] DEBUG XXXXX.XXXXX.Dbflute.AllCommon.XLog -
> SystemServiceImpl.Login() --> LoginInfoBhv.SelectEntity() --> ...
>
> ******************************
>
> となっています。
> _______________________________________________
> seasar-dotnet mailing list
> [E-MAIL ADDRESS DELETED]
> https://ml.seasar.org/mailman/listinfo/seasar-dotnet
>


seasar-dotnet メーリングリストの案内