Am 11.10.13 13:52, schrieb Dmitry Gusev:
java.lang.**IllegalStateException: Failed to create EntityManagerFactory
for persistence unit 'de.aeits_TapestryWeb_war_1.0-**SNAPSHOTPU'

there should be "Caused by:" part of this stacktrace -- can you share that
too?

 From my understanding of the docu, i only have to add the persistence
class to the entities package, right?

Right, but you don't even have to put your entities to the "entities"
package provided that you specify your persisted classes in your
persistence.xml. Which you actually did, but you also have this line in
there:

<exclude-unlisted-classes>**false</exclude-unlisted-**classes>

which is not necessary if you specified full list of persisted classes
there. I'd say more, that having this exclude-unlisted-**classes=false may
increase start-up time for your application significantly.

Thanks for that.

Here is the full stacktrace:

java.lang.IllegalStateException: Failed to create EntityManagerFactory for persistence unit 'de.aeits_TapestryWeb_war_1.0-SNAPSHOTPU' at org.apache.tapestry5.internal.jpa.EntityManagerSourceImpl.createEntityManagerFactory(EntityManagerSourceImpl.java:212) at org.apache.tapestry5.internal.jpa.EntityManagerSourceImpl.getEntityManagerFactory(EntityManagerSourceImpl.java:185) at org.apache.tapestry5.internal.jpa.EntityManagerSourceImpl.create(EntityManagerSourceImpl.java:276)
        at $EntityManagerSource_132c0c615bb9bda5.create(Unknown Source)
at org.apache.tapestry5.internal.jpa.EntityManagerManagerImpl.getOrCreateEntityManager(EntityManagerManagerImpl.java:78) at org.apache.tapestry5.internal.jpa.EntityManagerManagerImpl.getEntityManager(EntityManagerManagerImpl.java:51)
        at $EntityManagerManager_132c0c615bb9bda4.getEntityManager(Unknown 
Source)
        at $EntityManagerManager_132c0c615bb9bda3.getEntityManager(Unknown 
Source)
at org.apache.tapestry5.internal.jpa.JpaInternalUtils.getEntityManager(JpaInternalUtils.java:85) at org.apache.tapestry5.internal.jpa.PersistenceContextWorker$1.get(PersistenceContextWorker.java:50) at de.aeits.tapestryweb.pages.Customers.conduit_get_entityManager(Customers.java) at de.aeits.tapestryweb.pages.Customers.advised$getCustomers_132c0c615bb9bde5(Customers.java:34) at de.aeits.tapestryweb.pages.Customers$Invocation_getCustomers_132c0c615bb9bde4.proceedToAdvisedMethod(Unknown Source) at org.apache.tapestry5.internal.plastic.AbstractMethodInvocation.proceed(AbstractMethodInvocation.java:84) at org.apache.tapestry5.ioc.internal.services.LoggingAdvice.advise(LoggingAdvice.java:45) at org.apache.tapestry5.internal.plastic.AbstractMethodInvocation.proceed(AbstractMethodInvocation.java:86)
        at de.aeits.tapestryweb.pages.Customers.getCustomers(Customers.java)
        at $InternalPropertyConduit_132c0c615bb9be59.get(Unknown Source)
at org.apache.tapestry5.internal.bindings.PropBinding.get(PropBinding.java:59) at org.apache.tapestry5.internal.transform.ParameterWorker$3$1.readFromBinding(ParameterWorker.java:254) at org.apache.tapestry5.internal.transform.ParameterWorker$3$1.get(ParameterWorker.java:372) at org.apache.tapestry5.corelib.components.Grid.conduit_get_source(Grid.java) at org.apache.tapestry5.corelib.components.Grid.setupDataSource(Grid.java:461)
        at 
org.apache.tapestry5.corelib.components.Grid.setupRender(Grid.java:447)
        at org.apache.tapestry5.corelib.components.Grid.setupRender(Grid.java)
at org.apache.tapestry5.internal.structure.ComponentPageElementImpl$SetupRenderPhase.invokeComponent(ComponentPageElementImpl.java:174) at org.apache.tapestry5.internal.structure.ComponentPageElementImpl$AbstractPhase.invoke(ComponentPageElementImpl.java:133) at org.apache.tapestry5.internal.structure.ComponentPageElementImpl$SetupRenderPhase.render(ComponentPageElementImpl.java:181) at org.apache.tapestry5.internal.services.RenderQueueImpl.run(RenderQueueImpl.java:72) at org.apache.tapestry5.internal.services.PageRenderQueueImpl.render(PageRenderQueueImpl.java:124)
        at $PageRenderQueue_132c0c615bb9be64.render(Unknown Source)
        at $PageRenderQueue_132c0c615bb9be63.render(Unknown Source)
at org.apache.tapestry5.internal.services.MarkupRendererTerminator.renderMarkup(MarkupRendererTerminator.java:37) at org.apache.tapestry5.services.TapestryModule$30.renderMarkup(TapestryModule.java:1979)
        at $MarkupRenderer_132c0c615bb9be67.renderMarkup(Unknown Source)
at org.apache.tapestry5.services.TapestryModule$29.renderMarkup(TapestryModule.java:1963)
        at $MarkupRenderer_132c0c615bb9be67.renderMarkup(Unknown Source)
at org.apache.tapestry5.services.TapestryModule$28.renderMarkup(TapestryModule.java:1945)
        at $MarkupRenderer_132c0c615bb9be67.renderMarkup(Unknown Source)
at org.apache.tapestry5.services.TapestryModule$27.renderMarkup(TapestryModule.java:1930)
        at $MarkupRenderer_132c0c615bb9be67.renderMarkup(Unknown Source)
at org.apache.tapestry5.services.TapestryModule$26.renderMarkup(TapestryModule.java:1916)
        at $MarkupRenderer_132c0c615bb9be67.renderMarkup(Unknown Source)
at org.apache.tapestry5.services.TapestryModule$25.renderMarkup(TapestryModule.java:1898)
        at $MarkupRenderer_132c0c615bb9be67.renderMarkup(Unknown Source)
at org.apache.tapestry5.services.TapestryModule$24.renderMarkup(TapestryModule.java:1879)
        at $MarkupRenderer_132c0c615bb9be67.renderMarkup(Unknown Source)
        at $MarkupRenderer_132c0c615bb9be62.renderMarkup(Unknown Source)
at org.apache.tapestry5.internal.services.PageMarkupRendererImpl.renderPageMarkup(PageMarkupRendererImpl.java:47)
        at $PageMarkupRenderer_132c0c615bb9be60.renderPageMarkup(Unknown Source)
at org.apache.tapestry5.internal.services.PageResponseRendererImpl.renderPageResponse(PageResponseRendererImpl.java:67) at $PageResponseRenderer_132c0c615bb9bded.renderPageResponse(Unknown Source) at org.apache.tapestry5.internal.services.PageRenderRequestHandlerImpl.handle(PageRenderRequestHandlerImpl.java:64) at org.apache.tapestry5.services.TapestryModule$37.handle(TapestryModule.java:2207)
        at $PageRenderRequestHandler_132c0c615bb9bdef.handle(Unknown Source)
        at $PageRenderRequestHandler_132c0c615bb9bde9.handle(Unknown Source)
at org.apache.tapestry5.internal.services.ComponentRequestHandlerTerminator.handlePageRender(ComponentRequestHandlerTerminator.java:48) at org.apache.tapestry5.services.InitializeActivePageName.handlePageRender(InitializeActivePageName.java:47) at $ComponentRequestHandler_132c0c615bb9bdea.handlePageRender(Unknown Source) at $ComponentRequestHandler_132c0c615bb9bdbe.handlePageRender(Unknown Source) at org.apache.tapestry5.internal.services.PageRenderDispatcher.dispatch(PageRenderDispatcher.java:45)
        at $Dispatcher_132c0c615bb9bdc1.dispatch(Unknown Source)
        at $Dispatcher_132c0c615bb9bdbb.dispatch(Unknown Source)
at org.apache.tapestry5.services.TapestryModule$RequestHandlerTerminator.service(TapestryModule.java:302)
        at de.aeits.tapestryweb.services.AppModule$1.service(AppModule.java:84)
        at $RequestFilter_132c0c615bb9bdba.service(Unknown Source)
        at $RequestHandler_132c0c615bb9bdbc.service(Unknown Source)
at org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:26)
        at $RequestHandler_132c0c615bb9bdbc.service(Unknown Source)
at org.apache.tapestry5.services.TapestryModule$3.service(TapestryModule.java:902)
        at $RequestHandler_132c0c615bb9bdbc.service(Unknown Source)
at org.apache.tapestry5.services.TapestryModule$2.service(TapestryModule.java:892)
        at $RequestHandler_132c0c615bb9bdbc.service(Unknown Source)
at org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:90)
        at $RequestHandler_132c0c615bb9bdbc.service(Unknown Source)
        at $RequestHandler_132c0c615bb9bdb0.service(Unknown Source)
at org.apache.tapestry5.services.TapestryModule$HttpServletRequestHandlerTerminator.service(TapestryModule.java:253) at org.apache.tapestry5.internal.gzip.GZipFilter.service(GZipFilter.java:53)
        at $HttpServletRequestHandler_132c0c615bb9bdb2.service(Unknown Source)
at org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)
        at $HttpServletRequestFilter_132c0c615bb9bdae.service(Unknown Source)
        at $HttpServletRequestHandler_132c0c615bb9bdb2.service(Unknown Source)
at org.apache.tapestry5.services.TapestryModule$1.service(TapestryModule.java:852)
        at $HttpServletRequestHandler_132c0c615bb9bdb2.service(Unknown Source)
        at $HttpServletRequestHandler_132c0c615bb9bdad.service(Unknown Source)
        at org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:171)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:316) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:160) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:734) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:67]]

[2013-10-11T14:35:17.239+0200] [glassfish 4.0] [INFO] [] [] [tid: _ThreadID=76 _ThreadName=Thread-3] [timeMillis: 1381494917239] [levelValue: 800] [[
  3)
        at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:99)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:174) at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:357) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:260) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:188) at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:191) at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:168) at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:189) at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119) at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:288) at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:206) at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:136) at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:114) at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77) at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:838) at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:113) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:564) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:544)
        at java.lang.Thread.run(Thread.java:724)]]

[2013-10-11T14:35:17.262+0200] [glassfish 4.0] [INFO] [] [] [tid: _ThreadID=76 _ThreadName=Thread-3] [timeMillis: 1381494917262] [levelValue: 800] [[ [ERROR] pages.Customers Render queue error in SetupRender[Customers:grid]: Failure reading parameter 'source' of component Customers:grid: Failed to create EntityManagerFactory for persistence unit 'de.aeits_TapestryWeb_war_1.0-SNAPSHOTPU' org.apache.tapestry5.ioc.internal.util.TapestryException: Failure reading parameter 'source' of component Customers:grid: Failed to create EntityManagerFactory for persistence unit 'de.aeits_TapestryWeb_war_1.0-SNAPSHOTPU' [at classpath:de/aeits/tapestryweb/pages/Customers.tml, line 12] at org.apache.tapestry5.internal.structure.ComponentPageElementImpl$AbstractPhase.invoke(ComponentPageElementImpl.java:153) at org.apache.tapestry5.internal.structure.ComponentPageElementImpl$SetupRenderPhase.render(ComponentPageElementImpl.java:181) at org.apache.tapestry5.internal.services.RenderQueueImpl.run(RenderQueueImpl.java:72) at org.apache.tapestry5.internal.services.PageRenderQueueImpl.render(PageRenderQueueImpl.java:124)
        at $PageRenderQueue_132c0c615bb9be64.render(Unknown Source)
        at $PageRenderQueue_132c0c615bb9be63.render(Unknown Source)
at org.apache.tapestry5.internal.services.MarkupRendererTerminator.renderMarkup(MarkupRendererTerminator.java:37) at org.apache.tapestry5.services.TapestryModule$30.renderMarkup(TapestryModule.java:1979)
        at $MarkupRenderer_132c0c615bb9be67.renderMarkup(Unknown Source)
at org.apache.tapestry5.services.TapestryModule$29.renderMarkup(TapestryModule.java:1963)
        at $MarkupRenderer_132c0c615bb9be67.renderMarkup(Unknown Source)
at org.apache.tapestry5.services.TapestryModule$28.renderMarkup(TapestryModule.java:1945)
        at $MarkupRenderer_132c0c615bb9be67.renderMarkup(Unknown Source)
at org.apache.tapestry5.services.TapestryModule$27.renderMarkup(TapestryModule.java:1930)
        at $MarkupRenderer_132c0c615bb9be67.renderMarkup(Unknown Source)
at org.apache.tapestry5.services.TapestryModule$26.renderMarkup(TapestryModule.java:1916)
        at $MarkupRenderer_132c0c615bb9be67.renderMarkup(Unknown Source)
at org.apache.tapestry5.services.TapestryModule$25.renderMarkup(TapestryModule.java:1898)
        at $MarkupRenderer_132c0c615bb9be67.renderMarkup(Unknown Source)
at org.apache.tapestry5.services.TapestryModule$24.renderMarkup(TapestryModule.java:1879)
        at $MarkupRenderer_132c0c615bb9be67.renderMarkup(Unknown Source)
        at $MarkupRenderer_132c0c615bb9be62.renderMarkup(Unknown Source)
at org.apache.tapestry5.internal.services.PageMarkupRendererImpl.renderPageMarkup(PageMarkupRendererImpl.java:47)
        at $PageMarkupRenderer_132c0c615bb9be60.renderPageMarkup(Unknown Source)
at org.apache.tapestry5.internal.services.PageResponseRendererImpl.renderPageResponse(PageResponseRendererImpl.java:67) at $PageResponseRenderer_132c0c615bb9bded.renderPageResponse(Unknown Source) at org.apache.tapestry5.internal.services.PageRenderRequestHandlerImpl.handle(PageRenderRequestHandlerImpl.java:64) at org.apache.tapestry5.services.TapestryModule$37.handle(TapestryModule.java:2207)
        at $PageRenderRequestHandler_132c0c615bb9bdef.handle(Unknown Source)
        at $PageRenderRequestHandler_132c0c615bb9bde9.handle(Unknown Source)
at org.apache.tapestry5.internal.services.ComponentRequestHandlerTerminator.handlePageRender(ComponentRequestHandlerTerminator.java:48) at org.apache.tapestry5.services.InitializeActivePageName.handlePageRender(InitializeActivePageName.java:47) at $ComponentRequestHandler_132c0c615bb9bdea.handlePageRender(Unknown Source) at $ComponentRequestHandler_132c0c615bb9bdbe.handlePageRender(Unknown Source) at org.apache.tapestry5.internal.services.PageRenderDispatcher.dispatch(PageRenderDispatcher.java:45)
        at $Dispatcher_132c0c615bb9bdc1.dispatch(Unknown Source)
        at $Dispatcher_132c0c615bb9bdbb.dispatch(Unknown Source)
at org.apache.tapestry5.services.TapestryModule$RequestHandlerTerminator.service(TapestryModule.java:302)
        at de.aeits.tapestryweb.services.AppModule$1.service(AppModule.java:84)
        at $RequestFilter_132c0c615bb9bdba.service(Unknown Source)
        at $RequestHandler_132c0c615bb9bdbc.service(Unknown Source)
at org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:26)
        at $RequestHandler_132c0c615bb9bdbc.service(Unknown Source)
at org.apache.tapestry5.services.TapestryModule$3.service(TapestryModule.java:902)
        at $RequestHandler_132c0c615bb9bdbc.service(Unknown Source)
at org.apache.tapestry5.services.TapestryModule$2.service(TapestryModule.java:892)
        at $RequestHandler_132c0c615bb9bdbc.service(Unknown Source)
at org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:90)
        at $RequestHandler_132c0c615bb9bdbc.service(Unknown Source)
        at $RequestHandler_132c0c615bb9bdb0.service(Unknown Source)
at org.apache.tapestry5.services.TapestryModule$HttpServletRequestHandlerTerminator.service(TapestryModule.java:253) at org.apache.tapestry5.internal.gzip.GZipFilter.service(GZipFilter.java:53)
        at $HttpServletRequestHandler_132c0c615bb9bdb2.service(Unknown Source)
at org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)
        at $HttpServletRequestFilter_132c0c615bb9bdae.service(Unknown Source)
        at $HttpServletRequestHandler_132c0c615bb9bdb2.service(Unknown Source)
at org.apache.tapestry5.services.TapestryModule$1.service(TapestryModule.java:852)
        at $HttpServletRequestHandler_132c0c615bb9bdb2.service(Unknown Source)
        at $HttpServletRequestHandler_132c0c615bb9bdad.service(Unknown Source)
        at org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:171)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:316) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:160) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:734) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:673)
        at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:99)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:174) at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:357) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:260) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:188) at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:191) at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:168) at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:189) at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119) at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:288) at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:206) at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:136) at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:114) at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77) at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:838) at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:113) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:564) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:544)
        at java.lang.Thread.run(Thread.java:724)
Caused by: org.apache.tapestry5.ioc.internal.util.TapestryException: Failure reading parameter 'source' of component Customers:grid: Failed to create EntityManagerFactory for persistence]]

[2013-10-11T14:35:17.262+0200] [glassfish 4.0] [INFO] [] [] [tid: _ThreadID=76 _ThreadName=Thread-3] [timeMillis: 1381494917262] [levelValue: 800] [[ unit 'de.aeits_TapestryWeb_war_1.0-SNAPSHOTPU' [at classpath:de/aeits/tapestryweb/pages/Customers.tml, line 12] at org.apache.tapestry5.internal.transform.ParameterWorker$3$1.readFromBinding(ParameterWorker.java:259) at org.apache.tapestry5.internal.transform.ParameterWorker$3$1.get(ParameterWorker.java:372) at org.apache.tapestry5.corelib.components.Grid.conduit_get_source(Grid.java) at org.apache.tapestry5.corelib.components.Grid.setupDataSource(Grid.java:461)
        at 
org.apache.tapestry5.corelib.components.Grid.setupRender(Grid.java:447)
        at org.apache.tapestry5.corelib.components.Grid.setupRender(Grid.java)
at org.apache.tapestry5.internal.structure.ComponentPageElementImpl$SetupRenderPhase.invokeComponent(ComponentPageElementImpl.java:174) at org.apache.tapestry5.internal.structure.ComponentPageElementImpl$AbstractPhase.invoke(ComponentPageElementImpl.java:133)
        ... 87 more
Caused by: org.apache.tapestry5.ioc.internal.util.TapestryException: Failed to create EntityManagerFactory for persistence unit 'de.aeits_TapestryWeb_war_1.0-SNAPSHOTPU' [at classpath:de/aeits/tapestryweb/pages/Customers.tml, line 12] at org.apache.tapestry5.internal.bindings.PropBinding.get(PropBinding.java:63) at org.apache.tapestry5.internal.transform.ParameterWorker$3$1.readFromBinding(ParameterWorker.java:254)
        ... 94 more
Caused by: java.lang.IllegalStateException: Failed to create EntityManagerFactory for persistence unit 'de.aeits_TapestryWeb_war_1.0-SNAPSHOTPU' at org.apache.tapestry5.internal.jpa.EntityManagerSourceImpl.createEntityManagerFactory(EntityManagerSourceImpl.java:212) at org.apache.tapestry5.internal.jpa.EntityManagerSourceImpl.getEntityManagerFactory(EntityManagerSourceImpl.java:185) at org.apache.tapestry5.internal.jpa.EntityManagerSourceImpl.create(EntityManagerSourceImpl.java:276)
        at $EntityManagerSource_132c0c615bb9bda5.create(Unknown Source)
at org.apache.tapestry5.internal.jpa.EntityManagerManagerImpl.getOrCreateEntityManager(EntityManagerManagerImpl.java:78) at org.apache.tapestry5.internal.jpa.EntityManagerManagerImpl.getEntityManager(EntityManagerManagerImpl.java:51)
        at $EntityManagerManager_132c0c615bb9bda4.getEntityManager(Unknown 
Source)
        at $EntityManagerManager_132c0c615bb9bda3.getEntityManager(Unknown 
Source)
at org.apache.tapestry5.internal.jpa.JpaInternalUtils.getEntityManager(JpaInternalUtils.java:85) at org.apache.tapestry5.internal.jpa.PersistenceContextWorker$1.get(PersistenceContextWorker.java:50) at de.aeits.tapestryweb.pages.Customers.conduit_get_entityManager(Customers.java) at de.aeits.tapestryweb.pages.Customers.advised$getCustomers_132c0c615bb9bde5(Customers.java:34) at de.aeits.tapestryweb.pages.Customers$Invocation_getCustomers_132c0c615bb9bde4.proceedToAdvisedMethod(Unknown Source) at org.apache.tapestry5.internal.plastic.AbstractMethodInvocation.proceed(AbstractMethodInvocation.java:84) at org.apache.tapestry5.ioc.internal.services.LoggingAdvice.advise(LoggingAdvice.java:45) at org.apache.tapestry5.internal.plastic.AbstractMethodInvocation.proceed(AbstractMethodInvocation.java:86)
        at de.aeits.tapestryweb.pages.Customers.getCustomers(Customers.java)
        at $InternalPropertyConduit_132c0c615bb9be59.get(Unknown Source)
at org.apache.tapestry5.internal.bindings.PropBinding.get(PropBinding.java:59)
        ... 95 more]]

[2013-10-11T14:35:17.263+0200] [glassfish 4.0] [INFO] [] [] [tid: _ThreadID=76 _ThreadName=Thread-3] [timeMillis: 1381494917263] [levelValue: 800] [[
  [INFO] AppModule.TimingFilter Request time: 2173 ms]]

[2013-10-11T14:35:17.269+0200] [glassfish 4.0] [INFO] [] [] [tid: _ThreadID=76 _ThreadName=Thread-3] [timeMillis: 1381494917269] [levelValue: 800] [[ [ERROR] TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Render queue error in SetupRender[Customers:grid]: Failure reading parameter 'source' of component Customers:grid: Failed to create EntityManagerFactory for persistence unit 'de.aeits_TapestryWeb_war_1.0-SNAPSHOTPU' org.apache.tapestry5.internal.services.RenderQueueException: Render queue error in SetupRender[Customers:grid]: Failure reading parameter 'source' of component Customers:grid: Failed to create EntityManagerFactory for persistence unit 'de.aeits_TapestryWeb_war_1.0-SNAPSHOTPU' [at classpath:de/aeits/tapestryweb/pages/Customers.tml, line 12] at org.apache.tapestry5.internal.services.RenderQueueImpl.run(RenderQueueImpl.java:81) at org.apache.tapestry5.internal.services.PageRenderQueueImpl.render(PageRenderQueueImpl.java:124)
        at $PageRenderQueue_132c0c615bb9be64.render(Unknown Source)
        at $PageRenderQueue_132c0c615bb9be63.render(Unknown Source)
at org.apache.tapestry5.internal.services.MarkupRendererTerminator.renderMarkup(MarkupRendererTerminator.java:37) at org.apache.tapestry5.services.TapestryModule$30.renderMarkup(TapestryModule.java:1979)
        at $MarkupRenderer_132c0c615bb9be67.renderMarkup(Unknown Source)
at org.apache.tapestry5.services.TapestryModule$29.renderMarkup(TapestryModule.java:1963)
        at $MarkupRenderer_132c0c615bb9be67.renderMarkup(Unknown Source)
at org.apache.tapestry5.services.TapestryModule$28.renderMarkup(TapestryModule.java:1945)
        at $MarkupRenderer_132c0c615bb9be67.renderMarkup(Unknown Source)
at org.apache.tapestry5.services.TapestryModule$27.renderMarkup(TapestryModule.java:1930)
        at $MarkupRenderer_132c0c615bb9be67.renderMarkup(Unknown Source)
at org.apache.tapestry5.services.TapestryModule$26.renderMarkup(TapestryModule.java:1916)
        at $MarkupRenderer_132c0c615bb9be67.renderMarkup(Unknown Source)
at org.apache.tapestry5.services.TapestryModule$25.renderMarkup(TapestryModule.java:1898)
        at $MarkupRenderer_132c0c615bb9be67.renderMarkup(Unknown Source)
at org.apache.tapestry5.services.TapestryModule$24.renderMarkup(TapestryModule.java:1879)
        at $MarkupRenderer_132c0c615bb9be67.renderMarkup(Unknown Source)
        at $MarkupRenderer_132c0c615bb9be62.renderMarkup(Unknown Source)
at org.apache.tapestry5.internal.services.PageMarkupRendererImpl.renderPageMarkup(PageMarkupRendererImpl.java:47)
        at $PageMarkupRenderer_132c0c615bb9be60.renderPageMarkup(Unknown Source)
at org.apache.tapestry5.internal.services.PageResponseRendererImpl.renderPageResponse(PageResponseRendererImpl.java:67) at $PageResponseRenderer_132c0c615bb9bded.renderPageResponse(Unknown Source) at org.apache.tapestry5.internal.services.PageRenderRequestHandlerImpl.handle(PageRenderRequestHandlerImpl.java:64) at org.apache.tapestry5.services.TapestryModule$37.handle(TapestryModule.java:2207)
        at $PageRenderRequestHandler_132c0c615bb9bdef.handle(Unknown Source)
        at $PageRenderRequestHandler_132c0c615bb9bde9.handle(Unknown Source)
at org.apache.tapestry5.internal.services.ComponentRequestHandlerTerminator.handlePageRender(ComponentRequestHandlerTerminator.java:48) at org.apache.tapestry5.services.InitializeActivePageName.handlePageRender(InitializeActivePageName.java:47) at $ComponentRequestHandler_132c0c615bb9bdea.handlePageRender(Unknown Source) at $ComponentRequestHandler_132c0c615bb9bdbe.handlePageRender(Unknown Source) at org.apache.tapestry5.internal.services.PageRenderDispatcher.dispatch(PageRenderDispatcher.java:45)
        at $Dispatcher_132c0c615bb9bdc1.dispatch(Unknown Source)
        at $Dispatcher_132c0c615bb9bdbb.dispatch(Unknown Source)
at org.apache.tapestry5.services.TapestryModule$RequestHandlerTerminator.service(TapestryModule.java:302)
        at de.aeits.tapestryweb.services.AppModule$1.service(AppModule.java:84)
        at $RequestFilter_132c0c615bb9bdba.service(Unknown Source)
        at $RequestHandler_132c0c615bb9bdbc.service(Unknown Source)
at org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:26)
        at $RequestHandler_132c0c615bb9bdbc.service(Unknown Source)
at org.apache.tapestry5.services.TapestryModule$3.service(TapestryModule.java:902)
        at $RequestHandler_132c0c615bb9bdbc.service(Unknown Source)
at org.apache.tapestry5.services.TapestryModule$2.service(TapestryModule.java:892)
        at $RequestHandler_132c0c615bb9bdbc.service(Unknown Source)
at org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:90)
        at $RequestHandler_132c0c615bb9bdbc.service(Unknown Source)
        at $RequestHandler_132c0c615bb9bdb0.service(Unknown Source)
at org.apache.tapestry5.services.TapestryModule$HttpServletRequestHandlerTerminator.service(TapestryModule.java:253) at org.apache.tapestry5.internal.gzip.GZipFilter.service(GZipFilter.java:53)
        at $HttpServletRequestHandler_132c0c615bb9bdb2.service(Unknown Source)
at org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)
        at $HttpServletRequestFilter_132c0c615bb9bdae.service(Unknown Source)
        at $HttpServletRequestHandler_132c0c615bb9bdb2.service(Unknown Source)
at org.apache.tapestry5.services.TapestryModule$1.service(TapestryModule.java:852)
        at $HttpServletRequestHandler_132c0c615bb9bdb2.service(Unknown Source)
        at $HttpServletRequestHandler_132c0c615bb9bdad.service(Unknown Source)
        at org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:171)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:316) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:160) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:734) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:673)
        at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:99)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:174) at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:357) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:260) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:188) at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:191) at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:168) at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:189) at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119) at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:288) at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:206) at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:136) at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:114) at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77) at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:838) at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:113) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:564) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:544)
        at java.lang.Thread.run(Thread.java:724)
Caused by: org.apache.tapestry5.ioc.internal.util.TapestryException: Failure reading parameter 'source' of component Customers:grid: Failed to create EntityManagerFactory for persistence unit 'de.aeits_TapestryWeb_war_1.0-SNAPSHOTPU' [at classpath:de/aeits/tapestryweb/pages/Customers.tml, line 12]
        at org.ap]]

[2013-10-11T14:35:17.269+0200] [glassfish 4.0] [INFO] [] [] [tid: _ThreadID=76 _ThreadName=Thread-3] [timeMillis: 1381494917269] [levelValue: 800] [[

ache.tapestry5.internal.structure.ComponentPageElementImpl$AbstractPhase.invoke(ComponentPageElementImpl.java:153)
at org.apache.tapestry5.internal.structure.ComponentPageElementImpl$SetupRenderPhase.render(ComponentPageElementImpl.java:181) at org.apache.tapestry5.internal.services.RenderQueueImpl.run(RenderQueueImpl.java:72)
        ... 85 more
Caused by: org.apache.tapestry5.ioc.internal.util.TapestryException: Failure reading parameter 'source' of component Customers:grid: Failed to create EntityManagerFactory for persistence unit 'de.aeits_TapestryWeb_war_1.0-SNAPSHOTPU' [at classpath:de/aeits/tapestryweb/pages/Customers.tml, line 12] at org.apache.tapestry5.internal.transform.ParameterWorker$3$1.readFromBinding(ParameterWorker.java:259) at org.apache.tapestry5.internal.transform.ParameterWorker$3$1.get(ParameterWorker.java:372) at org.apache.tapestry5.corelib.components.Grid.conduit_get_source(Grid.java) at org.apache.tapestry5.corelib.components.Grid.setupDataSource(Grid.java:461)
        at 
org.apache.tapestry5.corelib.components.Grid.setupRender(Grid.java:447)
        at org.apache.tapestry5.corelib.components.Grid.setupRender(Grid.java)
at org.apache.tapestry5.internal.structure.ComponentPageElementImpl$SetupRenderPhase.invokeComponent(ComponentPageElementImpl.java:174) at org.apache.tapestry5.internal.structure.ComponentPageElementImpl$AbstractPhase.invoke(ComponentPageElementImpl.java:133)
        ... 87 more
Caused by: org.apache.tapestry5.ioc.internal.util.TapestryException: Failed to create EntityManagerFactory for persistence unit 'de.aeits_TapestryWeb_war_1.0-SNAPSHOTPU' [at classpath:de/aeits/tapestryweb/pages/Customers.tml, line 12] at org.apache.tapestry5.internal.bindings.PropBinding.get(PropBinding.java:63) at org.apache.tapestry5.internal.transform.ParameterWorker$3$1.readFromBinding(ParameterWorker.java:254)
        ... 94 more
Caused by: java.lang.IllegalStateException: Failed to create EntityManagerFactory for persistence unit 'de.aeits_TapestryWeb_war_1.0-SNAPSHOTPU' at org.apache.tapestry5.internal.jpa.EntityManagerSourceImpl.createEntityManagerFactory(EntityManagerSourceImpl.java:212) at org.apache.tapestry5.internal.jpa.EntityManagerSourceImpl.getEntityManagerFactory(EntityManagerSourceImpl.java:185) at org.apache.tapestry5.internal.jpa.EntityManagerSourceImpl.create(EntityManagerSourceImpl.java:276)
        at $EntityManagerSource_132c0c615bb9bda5.create(Unknown Source)
at org.apache.tapestry5.internal.jpa.EntityManagerManagerImpl.getOrCreateEntityManager(EntityManagerManagerImpl.java:78) at org.apache.tapestry5.internal.jpa.EntityManagerManagerImpl.getEntityManager(EntityManagerManagerImpl.java:51)
        at $EntityManagerManager_132c0c615bb9bda4.getEntityManager(Unknown 
Source)
        at $EntityManagerManager_132c0c615bb9bda3.getEntityManager(Unknown 
Source)
at org.apache.tapestry5.internal.jpa.JpaInternalUtils.getEntityManager(JpaInternalUtils.java:85) at org.apache.tapestry5.internal.jpa.PersistenceContextWorker$1.get(PersistenceContextWorker.java:50) at de.aeits.tapestryweb.pages.Customers.conduit_get_entityManager(Customers.java) at de.aeits.tapestryweb.pages.Customers.advised$getCustomers_132c0c615bb9bde5(Customers.java:34) at de.aeits.tapestryweb.pages.Customers$Invocation_getCustomers_132c0c615bb9bde4.proceedToAdvisedMethod(Unknown Source) at org.apache.tapestry5.internal.plastic.AbstractMethodInvocation.proceed(AbstractMethodInvocation.java:84) at org.apache.tapestry5.ioc.internal.services.LoggingAdvice.advise(LoggingAdvice.java:45) at org.apache.tapestry5.internal.plastic.AbstractMethodInvocation.proceed(AbstractMethodInvocation.java:86)
        at de.aeits.tapestryweb.pages.Customers.getCustomers(Customers.java)
        at $InternalPropertyConduit_132c0c615bb9be59.get(Unknown Source)
at org.apache.tapestry5.internal.bindings.PropBinding.get(PropBinding.java:59)
        ... 95 more]]

--
ae | Andreas Ernst | IT Spektrum
Postfach 5, 65612 Beselich
Schupbacher Str. 32, 65614 Beselich, Germany
Tel: +49-6484-91002 Fax: +49-6484-91003
a...@ae-online.de | www.ae-online.de
www.tachyon-online.de

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to