[Seasar-user:15055] Re: 複数DBへの接続
=?ISO-2022-JP?B?GyRCekk4NiEhNTFNOhsoQg==?=
[E-MAIL ADDRESS DELETED]
2008年 7月 16日 (水) 16:44:34 JST
桑原です。お世話になります。
中村さまの通りに削除すると、
dao-my.diconの1番目に来るincludeのdiconに定義されたDBも
エラーとなってしまいました。NoSuchMethodErrorですね。
2008-07-16 16:39:59,750 [http-8080-1] DEBUG
org.seasar.extension.jta.TransactionImpl - トランザクションを開始しまし
た。tx=[FormatId=4360, GlobalId=1216193996531/2, BranchId=]
2008-07-16 16:39:59,750 [http-8080-1] DEBUG
org.seasar.framework.container.util.S2ContainerUtil - クラス
(ordersheet.dao.PeopleDao[peopleDao])のコンポーネント定義を登録します
2008-07-16 16:39:59,765 [http-8080-1] DEBUG
org.seasar.framework.aop.interceptors.TraceInterceptor - BEGIN
ordersheet.dao.PeopleDao#getUserByLoginid(7777el00001)
2008-07-16 16:39:59,765 [http-8080-1] DEBUG
org.seasar.framework.aop.interceptors.TraceInterceptor - END
ordersheet.dao.PeopleDao#getUserByLoginid(7777el00001)
Throwable:java.lang.NoSuchMethodError:
ordersheet.dao.PeopleDao$$EnhancedByS2AOP$$1978e96.getUserByLoginid(java.lang.String)
2008-07-16 16:39:59,765 [http-8080-1] DEBUG
org.seasar.extension.jta.TransactionImpl - トランザクションをロールバッ
クしました。tx=[FormatId=4360, GlobalId=1216193996531/2, BranchId=]
2008-07-16 16:39:59,765 [http-8080-1] DEBUG
org.seasar.framework.aop.interceptors.TraceInterceptor - END
ordersheet.web.NewentrustPage#doShinseisyaSearch()
Throwable:java.lang.NoSuchMethodError:
ordersheet.dao.PeopleDao$$EnhancedByS2AOP$$1978e96.getUserByLoginid(java.lang.String)
2008-07-16 16:39:59,765 [http-8080-1] DEBUG
org.seasar.teeda.extension.util.TeedaExtensionErrorPageManagerImpl -
ordersheet.dao.PeopleDao$$EnhancedByS2AOP$$1978e96.getUserByLoginid(java.lang.String)
java.lang.NoSuchMethodError:
ordersheet.dao.PeopleDao$$EnhancedByS2AOP$$1978e96.getUserByLoginid(java.lang.String)
at
ordersheet.dao.PeopleDao$$EnhancedByS2AOP$$1978e96$$MethodInvocation$$getUserByLoginid0.proceed(MethodInvocationClassGenerator.java)
at
org.seasar.framework.aop.interceptors.TraceInterceptor.invoke(TraceInterceptor.java:73)
at
ordersheet.dao.PeopleDao$$EnhancedByS2AOP$$1978e96$$MethodInvocation$$getUserByLoginid0.proceed(MethodInvocationClassGenerator.java)
at
ordersheet.dao.PeopleDao$$EnhancedByS2AOP$$1978e96.getUserByLoginid(PeopleDao$$EnhancedByS2AOP$$1978e96.java)
at ordersheet.web.NewentrustPage.doShinseisyaSearch(NewentrustPage.java:63)
at
ordersheet.web.NewentrustPage$$EnhancedByS2AOP$$150bbc.$$doShinseisyaSearch$$invokeSuperMethod$$(NewentrustPage$$EnhancedByS2AOP$$150bbc.java)
at
ordersheet.web.NewentrustPage$$EnhancedByS2AOP$$150bbc$$MethodInvocation$$doShinseisyaSearch4.proceed(MethodInvocationClassGenerator.java)
at
org.seasar.extension.tx.DefaultTransactionCallback.execute(DefaultTransactionCallback.java:58)
at
org.seasar.extension.tx.adapter.JTATransactionManagerAdapter.required(JTATransactionManagerAdapter.java:65)
at
org.seasar.extension.tx.RequiredInterceptor.invoke(RequiredInterceptor.java:41)
at
ordersheet.web.NewentrustPage$$EnhancedByS2AOP$$150bbc$$MethodInvocation$$doShinseisyaSearch4.proceed(MethodInvocationClassGenerator.java)
at
org.seasar.framework.aop.interceptors.ThrowsInterceptor.invoke(ThrowsInterceptor.java:77)
at
ordersheet.web.NewentrustPage$$EnhancedByS2AOP$$150bbc$$MethodInvocation$$doShinseisyaSearch4.proceed(MethodInvocationClassGenerator.java)
at
org.seasar.framework.aop.interceptors.TraceInterceptor.invoke(TraceInterceptor.java:73)
at
ordersheet.web.NewentrustPage$$EnhancedByS2AOP$$150bbc$$MethodInvocation$$doShinseisyaSearch4.proceed(MethodInvocationClassGenerator.java)
at
ordersheet.web.NewentrustPage$$EnhancedByS2AOP$$150bbc.doShinseisyaSearch(NewentrustPage$$EnhancedByS2AOP$$150bbc.java)
Toshihiro Nakamura さんは書きました:
> 中村(taedium)です。
>
> custmizer.diconで次の設定が不要に思います。
> これを削除してみるとどうでしょう。
>
>> <initMethod name="addCustomizer">
>> <arg>s2DaoCustomizer</arg>
>> </initMethod>
>
>
Seasar-user メーリングリストの案内