2008-10-20 14:32:00,046 [http-8080-1] DEBUG org.seasar.framework.container.hotdeploy.HotdeployBehavior - HOT deployを開始します 2008-10-20 14:32:00,203 [http-8080-1] DEBUG org.seasar.framework.container.util.S2ContainerUtil - クラス(s2dao.id.valuetype.test.web.TestPage[testPage])のコンポーネント定義を登録します 2008-10-20 14:32:00,718 [http-8080-1] DEBUG org.seasar.framework.container.util.S2ContainerUtil - クラス(s2dao.id.valuetype.test.dao.TestDao[testDao])のコンポーネント定義を登録します 2008-10-20 14:32:00,734 [http-8080-1] DEBUG org.seasar.framework.aop.interceptors.TraceInterceptor - BEGIN s2dao.id.valuetype.test.web.TestPage#doTest() 2008-10-20 14:32:00,750 [http-8080-1] DEBUG org.seasar.extension.jta.TransactionImpl - トランザクションを開始しました。tx=[FormatId=4360, GlobalId=1224480720750/0, BranchId=] 2008-10-20 14:32:00,750 [http-8080-1] DEBUG org.seasar.framework.aop.interceptors.TraceInterceptor - BEGIN s2dao.id.valuetype.test.dao.TestDao#insert(s2dao.id.valuetype.test.entity.Test@107587c) 2008-10-20 14:32:01,296 [http-8080-1] DEBUG org.seasar.extension.dbcp.impl.ConnectionPoolImpl - 物理的なコネクションを取得しました 2008-10-20 14:32:01,328 [http-8080-1] DEBUG org.seasar.extension.dbcp.impl.ConnectionPoolImpl - 論理的なコネクションを取得しました。tx=[FormatId=4360, GlobalId=1224480720750/0, BranchId=] 2008-10-20 14:32:01,328 [http-8080-1] DEBUG org.seasar.extension.dbcp.impl.ConnectionWrapperImpl - 論理的なコネクションを閉じました。tx=[FormatId=4360, GlobalId=1224480720750/0, BranchId=] 2008-10-20 14:32:01,328 [http-8080-1] DEBUG org.seasar.extension.dbcp.impl.ConnectionPoolImpl - 論理的なコネクションを取得しました。tx=[FormatId=4360, GlobalId=1224480720750/0, BranchId=] 2008-10-20 14:32:01,390 [http-8080-1] DEBUG org.seasar.framework.container.util.S2ContainerUtil - クラス(s2dao.id.valuetype.test.type.IdentityType[identityType])のコンポーネント定義を登録します 2008-10-20 14:32:01,468 [http-8080-1] DEBUG org.seasar.extension.dbcp.impl.ConnectionWrapperImpl - 論理的なコネクションを閉じました。tx=[FormatId=4360, GlobalId=1224480720750/0, BranchId=] 2008-10-20 14:32:01,484 [http-8080-1] DEBUG org.seasar.extension.dbcp.impl.ConnectionPoolImpl - 論理的なコネクションを取得しました。tx=[FormatId=4360, GlobalId=1224480720750/0, BranchId=] 2008-10-20 14:32:01,500 [http-8080-1] DEBUG org.seasar.extension.jdbc.impl.BasicHandler - INSERT INTO test (name, foreignid) VALUES ('ddd', 's2dao.id.valuetype.test.entity.Identity@932716') 2008-10-20 14:32:01,515 [http-8080-1] DEBUG org.seasar.extension.dbcp.impl.ConnectionPoolImpl - 論理的なコネクションを取得しました。tx=[FormatId=4360, GlobalId=1224480720750/0, BranchId=] 2008-10-20 14:32:01,515 [http-8080-1] DEBUG org.seasar.extension.jdbc.impl.BasicHandler - SELECT LAST_INSERT_ID() 2008-10-20 14:32:01,515 [http-8080-1] DEBUG org.seasar.extension.dbcp.impl.ConnectionWrapperImpl - 論理的なコネクションを閉じました。tx=[FormatId=4360, GlobalId=1224480720750/0, BranchId=] 2008-10-20 14:32:01,515 [http-8080-1] DEBUG org.seasar.extension.dbcp.impl.ConnectionWrapperImpl - 論理的なコネクションを閉じました。tx=[FormatId=4360, GlobalId=1224480720750/0, BranchId=] 2008-10-20 14:32:01,515 [http-8080-1] DEBUG org.seasar.framework.aop.interceptors.TraceInterceptor - END s2dao.id.valuetype.test.dao.TestDao#insert(s2dao.id.valuetype.test.entity.Test@107587c) Throwable:org.seasar.framework.beans.IllegalPropertyRuntimeException: [ESSR0059]クラス(s2dao.id.valuetype.test.entity.Test)のプロパティ(id)の設定に失敗しました。理由はorg.seasar.framework.exception.SIllegalArgumentException: [ESSR0094]IllegalArgumentExceptionがクラス(s2dao.id.valuetype.test.entity.Test)の型(class s2dao.id.valuetype.test.entity.Identity)のフィールド(id)に型(java.lang.Long)の値(5)を設定するときに発生しました。対象のクラスは(s2dao.id.valuetype.test.entity.Test)です。 2008-10-20 14:32:01,531 [http-8080-1] DEBUG org.seasar.extension.jta.TransactionImpl - トランザクションをロールバックしました。tx=[FormatId=4360, GlobalId=1224480720750/0, BranchId=] 2008-10-20 14:32:01,531 [http-8080-1] DEBUG org.seasar.framework.aop.interceptors.TraceInterceptor - END s2dao.id.valuetype.test.web.TestPage#doTest() Throwable:org.seasar.framework.beans.IllegalPropertyRuntimeException: [ESSR0059]クラス(s2dao.id.valuetype.test.entity.Test)のプロパティ(id)の設定に失敗しました。理由はorg.seasar.framework.exception.SIllegalArgumentException: [ESSR0094]IllegalArgumentExceptionがクラス(s2dao.id.valuetype.test.entity.Test)の型(class s2dao.id.valuetype.test.entity.Identity)のフィールド(id)に型(java.lang.Long)の値(5)を設定するときに発生しました。対象のクラスは(s2dao.id.valuetype.test.entity.Test)です。 2008-10-20 14:32:01,531 [http-8080-1] DEBUG org.seasar.teeda.extension.util.TeedaExtensionErrorPageManagerImpl - [ESSR0059]クラス(s2dao.id.valuetype.test.entity.Test)のプロパティ(id)の設定に失敗しました。理由はorg.seasar.framework.exception.SIllegalArgumentException: [ESSR0094]IllegalArgumentExceptionがクラス(s2dao.id.valuetype.test.entity.Test)の型(class s2dao.id.valuetype.test.entity.Identity)のフィールド(id)に型(java.lang.Long)の値(5)を設定するときに発生しました。対象のクラスは(s2dao.id.valuetype.test.entity.Test)です。 org.seasar.framework.beans.IllegalPropertyRuntimeException: [ESSR0059]クラス(s2dao.id.valuetype.test.entity.Test)のプロパティ(id)の設定に失敗しました。理由はorg.seasar.framework.exception.SIllegalArgumentException: [ESSR0094]IllegalArgumentExceptionがクラス(s2dao.id.valuetype.test.entity.Test)の型(class s2dao.id.valuetype.test.entity.Identity)のフィールド(id)に型(java.lang.Long)の値(5)を設定するときに発生しました。対象のクラスは(s2dao.id.valuetype.test.entity.Test)です。 at org.seasar.framework.beans.impl.PropertyDescImpl.setValue(PropertyDescImpl.java:251) at org.seasar.dao.id.AbstractIdentifierGenerator.setIdentifier(AbstractIdentifierGenerator.java:68) at org.seasar.dao.id.IdentityIdentifierGenerator.setIdentifier(IdentityIdentifierGenerator.java:42) at org.seasar.dao.impl.InsertAutoHandler.postUpdateBean(InsertAutoHandler.java:57) at org.seasar.dao.impl.AbstractAutoHandler.execute(AbstractAutoHandler.java:145) at org.seasar.dao.impl.AbstractAutoHandler.execute(AbstractAutoHandler.java:122) at org.seasar.dao.impl.InsertAutoDynamicCommand.execute(InsertAutoDynamicCommand.java:67) at org.seasar.dao.interceptors.S2DaoInterceptor.invoke(S2DaoInterceptor.java:53) at org.seasar.dao.pager.PagerS2DaoInterceptorWrapper.invoke(PagerS2DaoInterceptorWrapper.java:71) at s2dao.id.valuetype.test.dao.TestDao$$EnhancedByS2AOP$$d47c59$$MethodInvocation$$insert0.proceed(MethodInvocationClassGenerator.java) at org.seasar.framework.aop.interceptors.TraceInterceptor.invoke(TraceInterceptor.java:73) at s2dao.id.valuetype.test.dao.TestDao$$EnhancedByS2AOP$$d47c59$$MethodInvocation$$insert0.proceed(MethodInvocationClassGenerator.java) at s2dao.id.valuetype.test.dao.TestDao$$EnhancedByS2AOP$$d47c59.insert(TestDao$$EnhancedByS2AOP$$d47c59.java) at s2dao.id.valuetype.test.web.TestPage.doTest(TestPage.java:17) at s2dao.id.valuetype.test.web.TestPage$$EnhancedByS2AOP$$12685fb.$$doTest$$invokeSuperMethod$$(TestPage$$EnhancedByS2AOP$$12685fb.java) at s2dao.id.valuetype.test.web.TestPage$$EnhancedByS2AOP$$12685fb$$MethodInvocation$$doTest2.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 s2dao.id.valuetype.test.web.TestPage$$EnhancedByS2AOP$$12685fb$$MethodInvocation$$doTest2.proceed(MethodInvocationClassGenerator.java) at org.seasar.framework.aop.interceptors.ThrowsInterceptor.invoke(ThrowsInterceptor.java:77) at s2dao.id.valuetype.test.web.TestPage$$EnhancedByS2AOP$$12685fb$$MethodInvocation$$doTest2.proceed(MethodInvocationClassGenerator.java) at org.seasar.framework.aop.interceptors.TraceInterceptor.invoke(TraceInterceptor.java:73) at s2dao.id.valuetype.test.web.TestPage$$EnhancedByS2AOP$$12685fb$$MethodInvocation$$doTest2.proceed(MethodInvocationClassGenerator.java) at s2dao.id.valuetype.test.web.TestPage$$EnhancedByS2AOP$$12685fb.doTest(TestPage$$EnhancedByS2AOP$$12685fb.java) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.seasar.framework.util.MethodUtil.invoke(MethodUtil.java:93) at org.seasar.framework.beans.impl.BeanDescImpl.invoke(BeanDescImpl.java:213) at org.seasar.teeda.extension.html.impl.HtmlComponentInvokerImpl.invoke(HtmlComponentInvokerImpl.java:163) at org.seasar.teeda.extension.html.impl.HtmlActionListener.processAction(HtmlActionListener.java:71) at javax.faces.component.UICommand.broadcast(UICommand.java:149) at org.seasar.teeda.extension.component.html.THtmlCommandButton.broadcast(THtmlCommandButton.java:78) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:192) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:117) at org.seasar.teeda.core.lifecycle.impl.InvokeApplicationPhase.executePhase(InvokeApplicationPhase.java:29) at org.seasar.teeda.core.lifecycle.AbstractPhase.execute(AbstractPhase.java:57) at org.seasar.teeda.core.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:97) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:100) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.seasar.framework.container.hotdeploy.HotdeployFilter.doFilter(HotdeployFilter.java:63) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.seasar.framework.container.filter.S2ContainerFilter.doFilter(S2ContainerFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.seasar.extension.filter.EncodingFilter.doFilter(EncodingFilter.java:69) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Unknown Source) Caused by: org.seasar.framework.exception.SIllegalArgumentException: [ESSR0094]IllegalArgumentExceptionがクラス(s2dao.id.valuetype.test.entity.Test)の型(class s2dao.id.valuetype.test.entity.Identity)のフィールド(id)に型(java.lang.Long)の値(5)を設定するときに発生しました。対象のクラスは(s2dao.id.valuetype.test.entity.Test)です。 at org.seasar.framework.util.FieldUtil.set(FieldUtil.java:164) at org.seasar.framework.beans.impl.PropertyDescImpl.setValue(PropertyDescImpl.java:248) ... 61 more Caused by: java.lang.IllegalArgumentException: Can not set s2dao.id.valuetype.test.entity.Identity field s2dao.id.valuetype.test.entity.Test.id to java.lang.Long at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(Unknown Source) at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(Unknown Source) at sun.reflect.UnsafeObjectFieldAccessorImpl.set(Unknown Source) at java.lang.reflect.Field.set(Unknown Source) at org.seasar.framework.util.FieldUtil.set(FieldUtil.java:159) ... 62 more