tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard Lewis Ship" <hls...@gmail.com>
Subject Fwd: T5 JBoss Exception Redeploy Exception
Date Sat, 03 Mar 2007 15:37:06 GMT
Ugly, and certainly a class loader problem.  So you had a running
application, and you created and deployed a new .war on top of the old
one.

On 3/2/07, Todd Orr <torr0101@gmail.com> wrote:
> My problem happens after an exception occurs. Firstly, my tapestry
> example deploys fine. If any exception occurs I make the appropriate
> changes and then redeploy to jboss. Then I get the following error
> when trying to resolve a page.
>
> stack trace:
>
> 20:15:29,077 ERROR [ExceptionReport] Render queue error in
> BeginRender[org.apache.tapestry.corelib.pages.ExceptionReport:loop]:
> No object of type org.apache.tapestry.services.Heartbeat is available
> from the Environment.  Available types are
> org.apache.tapestry.MarkupWriter,
> org.apache.tapestry.ValidationDecorator,
> org.apache.tapestry.dom.Document,
> org.apache.tapestry.services.Heartbeat,
> org.apache.tapestry.services.PageRenderSupport.
> java.lang.RuntimeException: No object of type
> org.apache.tapestry.services.Heartbeat is available from the
> Environment.  Available types are org.apache.tapestry.MarkupWriter,
> org.apache.tapestry.ValidationDecorator,
> org.apache.tapestry.dom.Document,
> org.apache.tapestry.services.Heartbeat,
> org.apache.tapestry.services.PageRenderSupport.
>         at org.apache.tapestry.internal.services.EnvironmentImpl.peekRequired(EnvironmentImpl.java:73)
>         at $Environment_110852b4624.peekRequired($Environment_110852b4624.java)
>         at $Environment_110852b45c9.peekRequired($Environment_110852b45c9.java)
>         at org.apache.tapestry.corelib.components.Loop._$environment_read_heartbeat(Loop.java)
>         at org.apache.tapestry.corelib.components.Loop.startHeartbeat(Loop.java:302)
>         at org.apache.tapestry.corelib.components.Loop.begin(Loop.java:297)
>         at org.apache.tapestry.corelib.components.Loop.beginRender(Loop.java)
>         at org.apache.tapestry.internal.structure.ComponentPageElementImpl$10$1.run(ComponentPageElementImpl.java:334)
>         at org.apache.tapestry.internal.structure.ComponentPageElementImpl.invoke(ComponentPageElementImpl.java:931)
>         at org.apache.tapestry.internal.structure.ComponentPageElementImpl.access$100(ComponentPageElementImpl.java:68)
>         at org.apache.tapestry.internal.structure.ComponentPageElementImpl$10.render(ComponentPageElementImpl.java:338)
>         at org.apache.tapestry.internal.services.RenderQueueImpl.run(RenderQueueImpl.java:57)
>         at org.apache.tapestry.internal.services.PageMarkupRendererImpl.renderPageMarkup(PageMarkupRendererImpl.java:40)
>         at $PageMarkupRenderer_110852b4621.renderPageMarkup($PageMarkupRenderer_110852b4621.java)
>         at org.apache.tapestry.internal.services.PageResponseRendererImpl.renderPageResponse(PageResponseRendererImpl.java:45)
>         at $PageResponseRenderer_110852b45e1.renderPageResponse($PageResponseRenderer_110852b45e1.java)
>         at org.apache.tapestry.internal.services.DefaultRequestExceptionHandler.handleRequestException(DefaultRequestExceptionHandler.java:56)
>         at $RequestExceptionHandler_110852b45b8.handleRequestException($RequestExceptionHandler_110852b45b8.java)
>         at org.apache.tapestry.services.TapestryModule$6.service(TapestryModule.java:523)
>         at $RequestHandler_110852b45f4.service($RequestHandler_110852b45f4.java)
>         at org.apache.tapestry.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:56)
>         at $RequestHandler_110852b45f4.service($RequestHandler_110852b45f4.java)
>         at org.apache.tapestry.internal.services.LocalizationFilter.service(LocalizationFilter.java:43)
>         at $RequestHandler_110852b45f4.service($RequestHandler_110852b45f4.java)
>         at org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:91)
>         at org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:82)
>         at org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.withRead(ConcurrentBarrier.java:77)
>         at org.apache.tapestry.internal.services.CheckForUpdatesFilter.service(CheckForUpdatesFilter.java:104)
>         at $RequestHandler_110852b45f4.service($RequestHandler_110852b45f4.java)
>         at $RequestHandler_110852b45ef.service($RequestHandler_110852b45ef.java)
>         at org.apache.tapestry.services.TapestryModule$3.service(TapestryModule.java:402)
>         at $HttpServletRequestHandler_110852b45ee.service($HttpServletRequestHandler_110852b45ee.java)
>         at org.apache.tapestry.TapestryFilter.doFilter(TapestryFilter.java:114)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
>         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>         at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
>         at java.lang.Thread.run(Thread.java:595)
> 20:15:29,080 ERROR [PagePool] Page
> Page[org.apache.tapestry.corelib.pages.ExceptionReport en] is dirty,
> and will be discarded (rather than returned to the page pool).
> 20:15:29,080 ERROR [[default]] Servlet.service() for servlet default
> threw exception
> java.lang.RuntimeException: No object of type
> org.apache.tapestry.services.Heartbeat is available from the
> Environment.  Available types are org.apache.tapestry.MarkupWriter,
> org.apache.tapestry.ValidationDecorator,
> org.apache.tapestry.dom.Document,
> org.apache.tapestry.services.Heartbeat,
> org.apache.tapestry.services.PageRenderSupport.
>         at org.apache.tapestry.internal.services.EnvironmentImpl.peekRequired(EnvironmentImpl.java:73)
>         at $Environment_110852b4624.peekRequired($Environment_110852b4624.java)
>         at $Environment_110852b45c9.peekRequired($Environment_110852b45c9.java)
>         at org.apache.tapestry.corelib.components.Loop._$environment_read_heartbeat(Loop.java)
>         at org.apache.tapestry.corelib.components.Loop.startHeartbeat(Loop.java:302)
>         at org.apache.tapestry.corelib.components.Loop.begin(Loop.java:297)
>         at org.apache.tapestry.corelib.components.Loop.beginRender(Loop.java)
>         at org.apache.tapestry.internal.structure.ComponentPageElementImpl$10$1.run(ComponentPageElementImpl.java:334)
>         at org.apache.tapestry.internal.structure.ComponentPageElementImpl.invoke(ComponentPageElementImpl.java:931)
>         at org.apache.tapestry.internal.structure.ComponentPageElementImpl.access$100(ComponentPageElementImpl.java:68)
>         at org.apache.tapestry.internal.structure.ComponentPageElementImpl$10.render(ComponentPageElementImpl.java:338)
>         at org.apache.tapestry.internal.services.RenderQueueImpl.run(RenderQueueImpl.java:57)
>         at org.apache.tapestry.internal.services.PageMarkupRendererImpl.renderPageMarkup(PageMarkupRendererImpl.java:40)
>         at $PageMarkupRenderer_110852b4621.renderPageMarkup($PageMarkupRenderer_110852b4621.java)
>         at org.apache.tapestry.internal.services.PageResponseRendererImpl.renderPageResponse(PageResponseRendererImpl.java:45)
>         at $PageResponseRenderer_110852b45e1.renderPageResponse($PageResponseRenderer_110852b45e1.java)
>         at org.apache.tapestry.internal.services.DefaultRequestExceptionHandler.handleRequestException(DefaultRequestExceptionHandler.java:56)
>         at $RequestExceptionHandler_110852b45b8.handleRequestException($RequestExceptionHandler_110852b45b8.java)
>         at org.apache.tapestry.services.TapestryModule$6.service(TapestryModule.java:523)
>         at $RequestHandler_110852b45f4.service($RequestHandler_110852b45f4.java)
>         at org.apache.tapestry.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:56)
>         at $RequestHandler_110852b45f4.service($RequestHandler_110852b45f4.java)
>         at org.apache.tapestry.internal.services.LocalizationFilter.service(LocalizationFilter.java:43)
>         at $RequestHandler_110852b45f4.service($RequestHandler_110852b45f4.java)
>         at org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:91)
>         at org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:82)
>         at org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.withRead(ConcurrentBarrier.java:77)
>         at org.apache.tapestry.internal.services.CheckForUpdatesFilter.service(CheckForUpdatesFilter.java:104)
>         at $RequestHandler_110852b45f4.service($RequestHandler_110852b45f4.java)
>         at $RequestHandler_110852b45ef.service($RequestHandler_110852b45ef.java)
>         at org.apache.tapestry.services.TapestryModule$3.service(TapestryModule.java:402)
>         at $HttpServletRequestHandler_110852b45ee.service($HttpServletRequestHandler_110852b45ee.java)
>         at org.apache.tapestry.TapestryFilter.doFilter(TapestryFilter.java:114)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
>         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>         at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
>         at java.lang.Thread.run(Thread.java:595)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


-- 
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

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


Mime
View raw message