[seasar-dotnet:1951] dbflute.netでVPNクライアントから起動できない。
八鍬達也
[E-MAIL ADDRESS DELETED]
2011年 3月 15日 (火) 10:00:09 JST
八鍬と申します。
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 メーリングリストの案内