Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Kalle Korhonen <kalle.o.korhonen-Re5JQEeQqe8AvxtiuMwx3w <at> public.gmane.org>
Subject: Re: What version of tapestry-security and tynamo-federated accounts should I use with Tapestry 5.3?
Newsgroups: gmane.comp.java.tynamo.user
Date: Monday 3rd October 2011 23:42:34 UTC (over 5 years ago)
On Mon, Oct 3, 2011 at 2:41 PM, Greg Pagendam-Turner
<[email protected]> wrote:
> Well 5.3 will be released soon. How long do you think it will take to
> update tapestry-security to work with it?

AFAIK, tapestry-security works with 5.3 and we are running some
integration tests against T5.3 continuously. However, I suspect you
are hitting an issue with a combination of libraries and configuration
you have in use. I'm planning on releasing a new version of
tapestry-security shortly after a public version of T5.3 is available
(note that the current alpha, beta releases are only available from
Apache's staging repo which complicates things for CI systems). I'm
also holding on to hopefully be able to integrate Shiro 1.2 to the the
same release.

Kalle


> On 04/10/11 01:16, Kalle Korhonen wrote:
>> I'd generally steer away from using snapshots. While T5 is still a
>> beta without generally available releases, your mileage may vary. The
>> stack trace below might be related to colliding exception handlers.
>>
>> Kalle
>>
>>
>> On Fri, Sep 30, 2011 at 9:27 PM, Greg Pagendam-Turner
>> <[email protected]> wrote:
>>> Hi,
>>>
>>> I'm upgrading to tapestry beta 15
>>>
>>> What version of tapestry-security and tynamo-federated accounts should
I use
>>> with Tapestry 5.3?
>>>
>>> I'm currently using:
>>> 
>>> org.tynamo
>>> tapestry-security
>>> 0.4.1-SNAPSHOT
>>> 
>>> 
>>> org.tynamo.security
>>> tynamo-federatedaccounts
>>> 0.0.3-SNAPSHOT
>>> 
>>> 
>>> org.tynamo
>>> tapestry-hibernate-seedentity
>>> 0.1.0
>>> 
>>>
>>> but I'm getting:
>>>
>>> org.apache.shiro.subject.ExecutionException:
>>> org.apache.tapestry5.internal.services.RenderQueueException: Render
queue
>>> error in BeginRender[core/ExceptionReport:exceptiondisplay.loop]:
>>> org.apache.tapestry5.ioc.internal.util.TapestryException [at
>>> classpath:org/apache/tapestry5/corelib/components/ExceptionDisplay.tml,
line
>>> 3]
>>>    at
>>>
org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:346)
>>>    at
>>>
org.tynamo.security.services.impl.SecurityConfiguration.service(SecurityConfiguration.java:102)
>>>    at $HttpServletRequestFilter_3b3ab8c9fb130.service(Unknown Source)
>>>    at $HttpServletRequestHandler_3b3ab8c9fb136.service(Unknown
Source)
>>>    at $HttpServletRequestHandler_3b3ab8c9fb12e.service(Unknown
Source)
>>>    at
org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:171)
>>>    at
>>>
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1171)
>>>    at
>>>
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:421)
>>>    at
>>>
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:118)
>>>    at
>>>
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:490)
>>>    at
>>>
org.eclipse.jetty.server.session.SessionHandler.handle(SessionHandler.java:181)
>>>    at
>>>
org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:159)
>>>    at
>>>
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:913)
>>>    at
>>>
org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:138)
>>>    at
>>>
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:360)
>>>    at
>>>
org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:136)
>>>    at
>>>
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:859)
>>>    at
>>>
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:116)
>>>    at
>>>
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:243)
>>>    at
>>>
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126)
>>>    at
>>>
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:115)
>>>    at org.eclipse.jetty.server.Server.handle(Server.java:325)
>>>    at
>>>
org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:539)
>>>    at
>>>
org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:882)
>>>    at
org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:539)
>>>    at
org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:212)
>>>    at
>>> org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:398)
>>>    at
>>>
org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:423)
>>>    at
>>>
org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:404)
>>>    at java.lang.Thread.run(Thread.java:619)
>>> Caused by: org.apache.tapestry5.internal.services.RenderQueueException:
>>> Render queue error in
>>> BeginRender[core/ExceptionReport:exceptiondisplay.loop]:
>>> org.apache.tapestry5.ioc.internal.util.TapestryException [at
>>> classpath:org/apache/tapestry5/corelib/components/ExceptionDisplay.tml,
line
>>> 3]
>>>    at
>>>
org.apache.tapestry5.internal.services.RenderQueueImpl.run(RenderQueueImpl.java:81)
>>>    at
>>>
org.apache.tapestry5.internal.services.PageRenderQueueImpl.render(PageRenderQueueImpl.java:124)
>>>    at $PageRenderQueue_3b3ab8c9fb2c9.render(Unknown Source)
>>>    at $PageRenderQueue_3b3ab8c9fb2c8.render(Unknown Source)
>>>    at
>>>
org.apache.tapestry5.internal.services.MarkupRendererTerminator.renderMarkup(MarkupRendererTerminator.java:37)
>>>    at
>>>
org.got5.tapestry5.jquery.services.js.JSModule$1.renderMarkup(JSModule.java:40)
>>>    at $MarkupRenderer_3b3ab8c9fb2cd.renderMarkup(Unknown Source)
>>>    at
>>>
org.apache.tapestry5.services.TapestryModule$30.renderMarkup(TapestryModule.java:1989)
>>>    at $MarkupRenderer_3b3ab8c9fb2cd.renderMarkup(Unknown Source)
>>>    at
>>>
org.apache.tapestry5.services.TapestryModule$29.renderMarkup(TapestryModule.java:1973)
>>>    at $MarkupRenderer_3b3ab8c9fb2cd.renderMarkup(Unknown Source)
>>>    at
>>>
org.apache.tapestry5.services.TapestryModule$28.renderMarkup(TapestryModule.java:1955)
>>>    at $MarkupRenderer_3b3ab8c9fb2cd.renderMarkup(Unknown Source)
>>>    at
>>>
org.apache.tapestry5.services.TapestryModule$27.renderMarkup(TapestryModule.java:1940)
>>>    at $MarkupRenderer_3b3ab8c9fb2cd.renderMarkup(Unknown Source)
>>>    at
>>>
org.apache.tapestry5.services.TapestryModule$26.renderMarkup(TapestryModule.java:1926)
>>>    at $MarkupRenderer_3b3ab8c9fb2cd.renderMarkup(Unknown Source)
>>>    at
>>>
org.apache.tapestry5.services.TapestryModule$25.renderMarkup(TapestryModule.java:1908)
>>>    at $MarkupRenderer_3b3ab8c9fb2cd.renderMarkup(Unknown Source)
>>>    at
>>>
org.apache.tapestry5.services.TapestryModule$24.renderMarkup(TapestryModule.java:1889)
>>>    at $MarkupRenderer_3b3ab8c9fb2cd.renderMarkup(Unknown Source)
>>>    at $MarkupRenderer_3b3ab8c9fb2c7.renderMarkup(Unknown Source)
>>>    at
>>>
org.apache.tapestry5.internal.services.PageMarkupRendererImpl.renderPageMarkup(PageMarkupRendererImpl.java:47)
>>>    at $PageMarkupRenderer_3b3ab8c9fb2c4.renderPageMarkup(Unknown
Source)
>>>    at
>>>
org.apache.tapestry5.internal.services.PageResponseRendererImpl.renderPageResponse(PageResponseRendererImpl.java:67)
>>>    at $PageResponseRenderer_3b3ab8c9fb16e.renderPageResponse(Unknown
Source)
>>>    at
>>>
org.apache.tapestry5.internal.services.DefaultRequestExceptionHandler.handleRequestException(DefaultRequestExceptionHandler.java:85)
>>>    at
>>>
$RequestExceptionHandler_3b3ab8c9fb294.advised$handleRequestException_3b3ab8c9fb296(Unknown
>>> Source)
>>>    at
>>>
$RequestExceptionHandler_3b3ab8c9fb294$Invocation_handleRequestException_3b3ab8c9fb295.proceedToAdvisedMethod(Unknown
>>> Source)
>>>    at
>>>
org.apache.tapestry5.internal.plastic.AbstractMethodInvocation.proceed(AbstractMethodInvocation.java:84)
>>>    at
>>>
org.apache.tapestry5.ioc.internal.util.InternalUtils$18$1.proceed(InternalUtils.java:1299)
>>>    at
>>>
org.tynamo.security.services.SecurityModule$3.advise(SecurityModule.java:258)
>>>    at
>>>
org.apache.tapestry5.ioc.internal.util.InternalUtils$18.advise(InternalUtils.java:1368)
>>>    at
>>>
org.apache.tapestry5.internal.plastic.AbstractMethodInvocation.proceed(AbstractMethodInvocation.java:86)
>>>    at
$RequestExceptionHandler_3b3ab8c9fb294.handleRequestException(Unknown
>>> Source)
>>>    at
$RequestExceptionHandler_3b3ab8c9fb143.handleRequestException(Unknown
>>> Source)
>>>    at
>>>
org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:42)
>>>    at $RequestHandler_3b3ab8c9fb145.service(Unknown Source)
>>>    at
>>>
org.apache.tapestry5.services.TapestryModule$3.service(TapestryModule.java:892)
>>>    at $RequestHandler_3b3ab8c9fb145.service(Unknown Source)
>>>    at
>>>
org.apache.tapestry5.services.TapestryModule$2.service(TapestryModule.java:882)
>>>    at $RequestHandler_3b3ab8c9fb145.service(Unknown Source)
>>>    at
>>>
org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:90)
>>>    at $RequestHandler_3b3ab8c9fb145.service(Unknown Source)
>>>    at
>>>
org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:105)
>>>    at
>>>
org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:95)
>>>    at
>>>
org.apache.tapestry5.ioc.internal.util.ConcurrentBarrier.withRead(ConcurrentBarrier.java:85)
>>>    at
>>>
org.apache.tapestry5.internal.services.CheckForUpdatesFilter.service(CheckForUpdatesFilter.java:119)
>>>    at $RequestHandler_3b3ab8c9fb145.service(Unknown Source)
>>>    at $RequestHandler_3b3ab8c9fb134.service(Unknown Source)
>>>    at
>>>
org.apache.tapestry5.services.TapestryModule$HttpServletRequestHandlerTerminator.service(TapestryModule.java:248)
>>>    at
>>>
org.apache.tapestry5.internal.gzip.GZipFilter.service(GZipFilter.java:53)
>>>    at $HttpServletRequestHandler_3b3ab8c9fb136.service(Unknown
Source)
>>>    at
>>>
org.apache.tapestry5.upload.internal.services.MultipartServletRequestFilter.service(MultipartServletRequestFilter.java:44)
>>>    at $HttpServletRequestHandler_3b3ab8c9fb136.service(Unknown
Source)
>>>    at
>>>
org.got5.tapestry5.jquery.services.AjaxUploadServletRequestFilter.service(AjaxUploadServletRequestFilter.java:26)
>>>    at $HttpServletRequestHandler_3b3ab8c9fb136.service(Unknown
Source)
>>>    at
>>>
org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)
>>>    at $HttpServletRequestFilter_3b3ab8c9fb133.service(Unknown Source)
>>>    at $HttpServletRequestHandler_3b3ab8c9fb136.service(Unknown
Source)
>>>    at
>>>
org.apache.tapestry5.services.TapestryModule$1.service(TapestryModule.java:842)
>>>    at $HttpServletRequestHandler_3b3ab8c9fb136.service(Unknown
Source)
>>>    at
>>>
org.tynamo.security.services.impl.SecurityConfiguration$2.call(SecurityConfiguration.java:104)
>>>    at
>>>
org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
>>>    at
>>>
org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
>>>    at
>>>
org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:344)
>>>    ... 29 more
>>> Caused by: org.apache.tapestry5.ioc.internal.util.TapestryException [at
>>> classpath:org/apache/tapestry5/corelib/components/ExceptionDisplay.tml,
line
>>> 3]
>>>    at
>>>
org.apache.tapestry5.internal.structure.ComponentPageElementImpl$AbstractPhase.invoke(ComponentPageElementImpl.java:153)
>>>    at
>>>
org.apache.tapestry5.internal.structure.ComponentPageElementImpl$BeginRenderPhase.render(ComponentPageElementImpl.java:209)
>>>    at
>>>
org.apache.tapestry5.internal.services.RenderQueueImpl.run(RenderQueueImpl.java:72)
>>>    ... 94 more
>>> Caused by: java.lang.NullPointerException
>>>    at
org.apache.tapestry5.corelib.components.Loop.begin(Loop.java:386)
>>>    at
org.apache.tapestry5.corelib.components.Loop.beginRender(Loop.java)
>>>    at
>>>
org.apache.tapestry5.internal.structure.ComponentPageElementImpl$BeginRenderPhase.invokeComponent(ComponentPageElementImpl.java:202)
>>>    at
>>>
org.apache.tapestry5.internal.structure.ComponentPageElementImpl$AbstractPhase.invoke(ComponentPageElementImpl.java:133)
>>>    ... 96 more
>>>
>>>
>>> Regards,
>>>
>>> Greg.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe from this list, please visit:
>>>
>>>   http://xircles.codehaus.org/manage_email
>>>
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>     http://xircles.codehaus.org/manage_email
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>
 
CD: 3ms