読者です 読者をやめる 読者になる 読者になる

かとじゅんの技術日誌

技術の話をするところ

ひさびさにさわる

study-buriのほうを久々に動かしたのですが、以下のような例外に遭遇。なぜだろう。。。
DDLDMLは流したのですがCustomerテーブルはあるのですが、

DEBUG 2008-08-21 20:32:47,667 [http-8080-Processor24] トランザクションを開始しました。tx=[FormatId=4360, GlobalId=1219318267768/15, BranchId=]
DEBUG 2008-08-21 20:32:47,668 [http-8080-Processor24] トランザクションをコミットしました。tx=[FormatId=4360, GlobalId=1219318267768/15, BranchId=]
DEBUG 2008-08-21 20:32:47,668 [http-8080-Processor24] END example.org.escafe.buri.web.customer.CustomerSelectPage#initialize() : null
DEBUG 2008-08-21 20:32:47,668 [http-8080-Processor24] BEGIN example.org.escafe.buri.web.customer.CustomerSelectPage#prerender()
DEBUG 2008-08-21 20:32:47,668 [http-8080-Processor24] トランザクションを開始しました。tx=[FormatId=4360, GlobalId=1219318267768/16, BranchId=]
DEBUG 2008-08-21 20:32:47,668 [http-8080-Processor24] 論理的なコネクションを取得しました。tx=[FormatId=4360, GlobalId=1219318267768/16, BranchId=]
DEBUG 2008-08-21 20:32:47,669 [http-8080-Processor24] 論理的なコネクションを閉じました。tx=[FormatId=4360, GlobalId=1219318267768/16, BranchId=]
DEBUG 2008-08-21 20:32:47,669 [http-8080-Processor24] 論理的なコネクションを取得しました。tx=[FormatId=4360, GlobalId=1219318267768/16, BranchId=]
WARN  2008-08-21 20:32:47,678 [http-8080-Processor24] テーブル(Customer)が見つかりません
DEBUG 2008-08-21 20:32:47,679 [http-8080-Processor24] 論理的なコネクションを閉じました。tx=[FormatId=4360, GlobalId=1219318267768/16, BranchId=]
ERROR 2008-08-21 20:32:47,680 [http-8080-Processor24] 例外が発生しました。理由は[ESSR0308]既にロールバックとしてマークされています
org.seasar.framework.exception.SIllegalStateException: [ESSR0308]既にロールバックとしてマークされています
	at org.seasar.extension.jta.TransactionImpl.throwIllegalStateException(TransactionImpl.java:137)
	at org.seasar.extension.jta.TransactionImpl.assertActiveOrPreparingOrPrepared(TransactionImpl.java:438)
	at org.seasar.extension.jta.TransactionImpl.setRollbackOnly(TransactionImpl.java:426)
	at org.seasar.extension.jta.AbstractTransactionManagerImpl.setRollbackOnly(AbstractTransactionManagerImpl.java:118)
	at org.seasar.extension.jta.UserTransactionImpl.setRollbackOnly(UserTransactionImpl.java:68)
	at org.seasar.extension.tx.adapter.JTATransactionManagerAdapter.setRollbackOnly(JTATransactionManagerAdapter.java:120)
	at org.seasar.extension.tx.DefaultTransactionCallback.applyTxRule(DefaultTransactionCallback.java:85)
	at org.seasar.extension.tx.DefaultTransactionCallback.execute(DefaultTransactionCallback.java:60)
	at org.seasar.extension.tx.adapter.JTATransactionManagerAdapter.required(JTATransactionManagerAdapter.java:65)
	at org.seasar.extension.tx.RequiredInterceptor.invoke(RequiredInterceptor.java:41)
	at example.org.escafe.buri.web.customer.CustomerSelectPage$$EnhancedByS2AOP$$f2a026$$MethodInvocation$$prerender1.proceed(MethodInvocationClassGenerator.java)
	at org.seasar.framework.aop.interceptors.ThrowsInterceptor.invoke(ThrowsInterceptor.java:77)
	at example.org.escafe.buri.web.customer.CustomerSelectPage$$EnhancedByS2AOP$$f2a026$$MethodInvocation$$prerender1.proceed(MethodInvocationClassGenerator.java)
	at org.seasar.framework.aop.interceptors.TraceInterceptor.invoke(TraceInterceptor.java:73)
	at example.org.escafe.buri.web.customer.CustomerSelectPage$$EnhancedByS2AOP$$f2a026$$MethodInvocation$$prerender1.proceed(MethodInvocationClassGenerator.java)
	at example.org.escafe.buri.web.customer.CustomerSelectPage$$EnhancedByS2AOP$$f2a026.prerender(CustomerSelectPage$$EnhancedByS2AOP$$f2a026.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:159)
	at org.seasar.teeda.extension.html.impl.HtmlComponentInvokerImpl.invokePrerender(HtmlComponentInvokerImpl.java:134)
	at org.seasar.teeda.extension.render.TViewRootRenderer.invoke(TViewRootRenderer.java:312)
	at org.seasar.teeda.extension.render.TViewRootRenderer.invokeAll(TViewRootRenderer.java:292)
	at org.seasar.teeda.extension.render.TViewRootRenderer.encodeBegin(TViewRootRenderer.java:139)
	at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:330)
	at javax.faces.component.UIViewRoot.encodeBegin(UIViewRoot.java:100)
	at javax.faces.webapp.UIComponentTag.encodeBegin(UIComponentTag.java:240)
	at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:177)
	at org.seasar.teeda.extension.taglib.TViewTag.doStartTag(TViewTag.java:98)
	at org.seasar.teeda.extension.html.processor.ElementProcessorImpl.processTag(ElementProcessorImpl.java:145)
	at org.seasar.teeda.extension.html.processor.ElementProcessorImpl.process(ElementProcessorImpl.java:138)
	at org.seasar.teeda.extension.html.processor.ElementProcessorImpl.process(ElementProcessorImpl.java:119)
	at org.seasar.teeda.extension.html.impl.HtmlViewHandler.renderView(HtmlViewHandler.java:161)
	at org.seasar.teeda.extension.html.impl.HtmlViewHandler.renderView(HtmlViewHandler.java:141)
	at org.seasar.teeda.core.lifecycle.impl.RenderResponsePhase.executePhase(RenderResponsePhase.java:38)
	at org.seasar.teeda.core.lifecycle.AbstractPhase.execute(AbstractPhase.java:57)
	at org.seasar.teeda.core.lifecycle.LifecycleImpl.render(LifecycleImpl.java:131)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:95)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at org.seasar.teeda.core.filter.RequestDumpFilter.doFilter(RequestDumpFilter.java:125)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at org.seasar.framework.container.hotdeploy.HotdeployFilter.doFilter(HotdeployFilter.java:63)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at org.seasar.framework.container.filter.S2ContainerFilter.doFilter(S2ContainerFilter.java:77)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at org.seasar.extension.filter.EncodingFilter.doFilter(EncodingFilter.java:69)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
	at java.lang.Thread.run(Unknown Source)
DEBUG 2008-08-21 20:32:47,681 [http-8080-Processor24] トランザクションをロールバックしました。tx=[FormatId=4360, GlobalId=1219318267768/16, BranchId=]
DEBUG 2008-08-21 20:32:47,681 [http-8080-Processor24] END example.org.escafe.buri.web.customer.CustomerSelectPage#prerender() Throwable:org.seasar.dao.MethodSetupFailureRuntimeException: [EDAO0019]example.org.escafe.buri.dao.CustomerDaoのgetCustomerメソッドの初期化時に例外が発生しました。理由はorg.seasar.dao.NoPersistentPropertyTypeRuntimeException: [EDAO0017]SELECT項目がありません
DEBUG 2008-08-21 20:32:47,681 [http-8080-Processor24] [EDAO0019]example.org.escafe.buri.dao.CustomerDaoのgetCustomerメソッドの初期化時に例外が発生しました。理由はorg.seasar.dao.NoPersistentPropertyTypeRuntimeException: [EDAO0017]SELECT項目がありません
org.seasar.dao.MethodSetupFailureRuntimeException: [EDAO0019]example.org.escafe.buri.dao.CustomerDaoのgetCustomerメソッドの初期化時に例外が発生しました。理由はorg.seasar.dao.NoPersistentPropertyTypeRuntimeException: [EDAO0017]SELECT項目がありません
	at org.seasar.dao.impl.DaoMetaDataImpl.setupMethod(DaoMetaDataImpl.java:202)
	at org.seasar.dao.impl.DaoMetaDataImpl.setupMethod(DaoMetaDataImpl.java:172)
	at org.seasar.dao.impl.DaoMetaDataImpl.setupSqlCommand(DaoMetaDataImpl.java:166)
	at org.seasar.dao.impl.DaoMetaDataImpl.initialize(DaoMetaDataImpl.java:157)
	at org.seasar.dao.impl.DaoMetaDataFactoryImpl.createDaoMetaData(DaoMetaDataFactoryImpl.java:167)
	at org.seasar.dao.impl.DaoMetaDataFactoryImpl.getDaoMetaData(DaoMetaDataFactoryImpl.java:131)
	at org.seasar.dao.interceptors.S2DaoInterceptor.invoke(S2DaoInterceptor.java:51)
	at org.seasar.dao.pager.PagerS2DaoInterceptorWrapper.invoke(PagerS2DaoInterceptorWrapper.java:71)
	at example.org.escafe.buri.dao.CustomerDao$$EnhancedByS2AOP$$e2c05d$$MethodInvocation$$getAllCustomer4.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 example.org.escafe.buri.dao.CustomerDao$$EnhancedByS2AOP$$e2c05d$$MethodInvocation$$getAllCustomer4.proceed(MethodInvocationClassGenerator.java)
	at example.org.escafe.buri.dao.CustomerDao$$EnhancedByS2AOP$$e2c05d.getAllCustomer(CustomerDao$$EnhancedByS2AOP$$e2c05d.java)
	at example.org.escafe.buri.web.customer.CustomerSelectPage.prerender(CustomerSelectPage.java:98)
	at example.org.escafe.buri.web.customer.CustomerSelectPage$$EnhancedByS2AOP$$f2a026.$$prerender$$invokeSuperMethod$$(CustomerSelectPage$$EnhancedByS2AOP$$f2a026.java)
	at example.org.escafe.buri.web.customer.CustomerSelectPage$$EnhancedByS2AOP$$f2a026$$MethodInvocation$$prerender1.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 example.org.escafe.buri.web.customer.CustomerSelectPage$$EnhancedByS2AOP$$f2a026$$MethodInvocation$$prerender1.proceed(MethodInvocationClassGenerator.java)
	at org.seasar.framework.aop.interceptors.ThrowsInterceptor.invoke(ThrowsInterceptor.java:77)
	at example.org.escafe.buri.web.customer.CustomerSelectPage$$EnhancedByS2AOP$$f2a026$$MethodInvocation$$prerender1.proceed(MethodInvocationClassGenerator.java)
	at org.seasar.framework.aop.interceptors.TraceInterceptor.invoke(TraceInterceptor.java:73)
	at example.org.escafe.buri.web.customer.CustomerSelectPage$$EnhancedByS2AOP$$f2a026$$MethodInvocation$$prerender1.proceed(MethodInvocationClassGenerator.java)
	at example.org.escafe.buri.web.customer.CustomerSelectPage$$EnhancedByS2AOP$$f2a026.prerender(CustomerSelectPage$$EnhancedByS2AOP$$f2a026.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:159)
	at org.seasar.teeda.extension.html.impl.HtmlComponentInvokerImpl.invokePrerender(HtmlComponentInvokerImpl.java:134)
	at org.seasar.teeda.extension.render.TViewRootRenderer.invoke(TViewRootRenderer.java:312)
	at org.seasar.teeda.extension.render.TViewRootRenderer.invokeAll(TViewRootRenderer.java:292)
	at org.seasar.teeda.extension.render.TViewRootRenderer.encodeBegin(TViewRootRenderer.java:139)
	at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:330)
	at javax.faces.component.UIViewRoot.encodeBegin(UIViewRoot.java:100)
	at javax.faces.webapp.UIComponentTag.encodeBegin(UIComponentTag.java:240)
	at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:177)
	at org.seasar.teeda.extension.taglib.TViewTag.doStartTag(TViewTag.java:98)
	at org.seasar.teeda.extension.html.processor.ElementProcessorImpl.processTag(ElementProcessorImpl.java:145)
	at org.seasar.teeda.extension.html.processor.ElementProcessorImpl.process(ElementProcessorImpl.java:138)
	at org.seasar.teeda.extension.html.processor.ElementProcessorImpl.process(ElementProcessorImpl.java:119)
	at org.seasar.teeda.extension.html.impl.HtmlViewHandler.renderView(HtmlViewHandler.java:161)
	at org.seasar.teeda.extension.html.impl.HtmlViewHandler.renderView(HtmlViewHandler.java:141)
	at org.seasar.teeda.core.lifecycle.impl.RenderResponsePhase.executePhase(RenderResponsePhase.java:38)
	at org.seasar.teeda.core.lifecycle.AbstractPhase.execute(AbstractPhase.java:57)
	at org.seasar.teeda.core.lifecycle.LifecycleImpl.render(LifecycleImpl.java:131)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:95)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at org.seasar.teeda.core.filter.RequestDumpFilter.doFilter(RequestDumpFilter.java:125)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at org.seasar.framework.container.hotdeploy.HotdeployFilter.doFilter(HotdeployFilter.java:63)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at org.seasar.framework.container.filter.S2ContainerFilter.doFilter(S2ContainerFilter.java:77)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at org.seasar.extension.filter.EncodingFilter.doFilter(EncodingFilter.java:69)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
	at java.lang.Thread.run(Unknown Source)
Caused by: org.seasar.dao.NoPersistentPropertyTypeRuntimeException: [EDAO0017]SELECT項目がありません
	at org.seasar.dao.impl.BeanMetaDataImpl.setupAutoSelectList(BeanMetaDataImpl.java:405)
	at org.seasar.dao.impl.BeanMetaDataImpl.getAutoSelectList(BeanMetaDataImpl.java:362)
	at org.seasar.dao.dbms.Standard.getAutoSelectSql(Standard.java:64)
	at org.seasar.dao.impl.DaoMetaDataImpl.createSelectDynamicCommand(DaoMetaDataImpl.java:382)
	at org.seasar.dao.impl.DaoMetaDataImpl.setupQuerySelectMethodByAuto(DaoMetaDataImpl.java:697)
	at org.seasar.dao.impl.DaoMetaDataImpl.setupSelectMethodByAuto(DaoMetaDataImpl.java:680)
	at org.seasar.dao.impl.DaoMetaDataImpl.setupMethodByAuto(DaoMetaDataImpl.java:355)
	at org.seasar.dao.impl.DaoMetaDataImpl.setupMethod(DaoMetaDataImpl.java:199)
	... 76 more
DEBUG 2008-08-21 20:32:47,702 [http-8080-Processor24]