You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by James Carman <ja...@carmanconsulting.com> on 2007/01/01 01:45:38 UTC

Re: ServletException with acegi tapestry

Yeah, I've seen that before.  I was able to work around it because it
was an actual programming error in my case.  But, the whole thing is
quite brittle, as you've figured out! :-)  There needs to be better
error-handling, IMHO.

On 12/31/06, Henry Chen <he...@gmail.com> wrote:
> I'm using tapernate and it is tapestry-acegi integration. Everything works
> fine until recently I found the following error message.
>
> It only happens when I open my application a while ago and back to click
> some link or button on the webpage. The whole web application is then
> "dead". (Tomcat is still alive.) I have to restart the application.
>
> Does anybody have this problem too? It has been really a headache now.
> Thanks advance for any help.
>
>
>
>
> ----------------------------------------------------------------------------
> --------------------------------------------------
>
> javax.servlet.ServletException: Transaction is already completed - do not
> call commit or rollback more than once per transaction
>
> org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service(W
> ebRequestServicerPipelineBridge.java:65)
>
> $ServletRequestServicer_10fd892ca53.service($ServletRequestServicer_10fd892c
> a53.java)
>
> org.apache.tapestry.request.DecodedRequestInjector.service(DecodedRequestInj
> ector.java:55)
>
> $ServletRequestServicerFilter_10fd892ca4f.service($ServletRequestServicerFil
> ter_10fd892ca4f.java)
>
> $ServletRequestServicer_10fd892ca55.service($ServletRequestServicer_10fd892c
> a55.java)
>
> com.javaforge.tapestry.acegi.filter.FilterChainAdapter.doFilter(FilterChainA
> dapter.java:43)
>
> org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(Ano
> nymousProcessingFilter.java:125)
>         $Filter_10fd892ca4d.doFilter($Filter_10fd892ca4d.java)
>
> com.javaforge.tapestry.acegi.filter.ServletRequestServicerFilterAdapter.serv
> ice(ServletRequestServicerFilterAdapter.java:42)
>
> $ServletRequestServicer_10fd892ca55.service($ServletRequestServicer_10fd892c
> a55.java)
>
> com.javaforge.tapestry.acegi.filter.FilterChainAdapter.doFilter(FilterChainA
> dapter.java:43)
>
> org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFil
> ter.java:216)
>         $FormProcessor_10fd892ca4b.doFilter($FormProcessor_10fd892ca4b.java)
>
> com.javaforge.tapestry.acegi.filter.ServletRequestServicerFilterAdapter.serv
> ice(ServletRequestServicerFilterAdapter.java:42)
>
> $ServletRequestServicer_10fd892ca55.service($ServletRequestServicer_10fd892c
> a55.java)
>
> org.apache.tapestry.multipart.MultipartDecoderFilter.service(MultipartDecode
> rFilter.java:52)
>
> $ServletRequestServicerFilter_10fd892ca43.service($ServletRequestServicerFil
> ter_10fd892ca43.java)
>
> $ServletRequestServicer_10fd892ca55.service($ServletRequestServicer_10fd892c
> a55.java)
>
> org.apache.tapestry.services.impl.SetupRequestEncoding.service(SetupRequestE
> ncoding.java:53)
>
> $ServletRequestServicerFilter_10fd892ca51.service($ServletRequestServicerFil
> ter_10fd892ca51.java)
>
> $ServletRequestServicer_10fd892ca55.service($ServletRequestServicer_10fd892c
> a55.java)
>
> com.javaforge.tapestry.acegi.filter.FilterChainAdapter.doFilter(FilterChainA
> dapter.java:43)
>
> org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpS
> essionContextIntegrationFilter.java:195)
>         $Filter_10fd892ca45.doFilter($Filter_10fd892ca45.java)
>
> com.javaforge.tapestry.acegi.filter.ServletRequestServicerFilterAdapter.serv
> ice(ServletRequestServicerFilterAdapter.java:42)
>
> $ServletRequestServicer_10fd892ca55.service($ServletRequestServicer_10fd892c
> a55.java)
>
> $ServletRequestServicer_10fd892ca3d.service($ServletRequestServicer_10fd892c
> a3d.java)
>
> org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:123
> )
>
> org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:104)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         org.apache.tapestry.RedirectFilter.doFilter(RedirectFilter.java:103)
>
>
>
>
>

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


Re: ServletException with acegi tapestry

Posted by James Carman <ja...@carmanconsulting.com>.
Great!  I might tell the folks at work to upgrade too.  Thanks for the heads up!

On 1/2/07, Henry Chen <he...@gmail.com> wrote:
> I found out this is a serialization bug in Acegi 1.0 which is used by
> tapernate. I downloaded Acegi 1.0.3 and it got fixed.
>
>
> -----Original Message-----
> From: jwcarman@gmail.com [mailto:jwcarman@gmail.com] On Behalf Of James
> Carman
> Sent: Sunday, December 31, 2006 6:46 PM
> To: Tapestry users
> Subject: Re: ServletException with acegi tapestry
>
> Yeah, I've seen that before.  I was able to work around it because it
> was an actual programming error in my case.  But, the whole thing is
> quite brittle, as you've figured out! :-)  There needs to be better
> error-handling, IMHO.
>
> On 12/31/06, Henry Chen <he...@gmail.com> wrote:
> > I'm using tapernate and it is tapestry-acegi integration. Everything works
> > fine until recently I found the following error message.
> >
> > It only happens when I open my application a while ago and back to click
> > some link or button on the webpage. The whole web application is then
> > "dead". (Tomcat is still alive.) I have to restart the application.
> >
> > Does anybody have this problem too? It has been really a headache now.
> > Thanks advance for any help.
> >
> >
> >
> >
> >
> ----------------------------------------------------------------------------
> > --------------------------------------------------
> >
> > javax.servlet.ServletException: Transaction is already completed - do not
> > call commit or rollback more than once per transaction
> >
> >
> org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service(W
> > ebRequestServicerPipelineBridge.java:65)
> >
> >
> $ServletRequestServicer_10fd892ca53.service($ServletRequestServicer_10fd892c
> > a53.java)
> >
> >
> org.apache.tapestry.request.DecodedRequestInjector.service(DecodedRequestInj
> > ector.java:55)
> >
> >
> $ServletRequestServicerFilter_10fd892ca4f.service($ServletRequestServicerFil
> > ter_10fd892ca4f.java)
> >
> >
> $ServletRequestServicer_10fd892ca55.service($ServletRequestServicer_10fd892c
> > a55.java)
> >
> >
> com.javaforge.tapestry.acegi.filter.FilterChainAdapter.doFilter(FilterChainA
> > dapter.java:43)
> >
> >
> org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(Ano
> > nymousProcessingFilter.java:125)
> >         $Filter_10fd892ca4d.doFilter($Filter_10fd892ca4d.java)
> >
> >
> com.javaforge.tapestry.acegi.filter.ServletRequestServicerFilterAdapter.serv
> > ice(ServletRequestServicerFilterAdapter.java:42)
> >
> >
> $ServletRequestServicer_10fd892ca55.service($ServletRequestServicer_10fd892c
> > a55.java)
> >
> >
> com.javaforge.tapestry.acegi.filter.FilterChainAdapter.doFilter(FilterChainA
> > dapter.java:43)
> >
> >
> org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFil
> > ter.java:216)
> >
> $FormProcessor_10fd892ca4b.doFilter($FormProcessor_10fd892ca4b.java)
> >
> >
> com.javaforge.tapestry.acegi.filter.ServletRequestServicerFilterAdapter.serv
> > ice(ServletRequestServicerFilterAdapter.java:42)
> >
> >
> $ServletRequestServicer_10fd892ca55.service($ServletRequestServicer_10fd892c
> > a55.java)
> >
> >
> org.apache.tapestry.multipart.MultipartDecoderFilter.service(MultipartDecode
> > rFilter.java:52)
> >
> >
> $ServletRequestServicerFilter_10fd892ca43.service($ServletRequestServicerFil
> > ter_10fd892ca43.java)
> >
> >
> $ServletRequestServicer_10fd892ca55.service($ServletRequestServicer_10fd892c
> > a55.java)
> >
> >
> org.apache.tapestry.services.impl.SetupRequestEncoding.service(SetupRequestE
> > ncoding.java:53)
> >
> >
> $ServletRequestServicerFilter_10fd892ca51.service($ServletRequestServicerFil
> > ter_10fd892ca51.java)
> >
> >
> $ServletRequestServicer_10fd892ca55.service($ServletRequestServicer_10fd892c
> > a55.java)
> >
> >
> com.javaforge.tapestry.acegi.filter.FilterChainAdapter.doFilter(FilterChainA
> > dapter.java:43)
> >
> >
> org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpS
> > essionContextIntegrationFilter.java:195)
> >         $Filter_10fd892ca45.doFilter($Filter_10fd892ca45.java)
> >
> >
> com.javaforge.tapestry.acegi.filter.ServletRequestServicerFilterAdapter.serv
> > ice(ServletRequestServicerFilterAdapter.java:42)
> >
> >
> $ServletRequestServicer_10fd892ca55.service($ServletRequestServicer_10fd892c
> > a55.java)
> >
> >
> $ServletRequestServicer_10fd892ca3d.service($ServletRequestServicer_10fd892c
> > a3d.java)
> >
> >
> org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:123
> > )
> >
> > org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:104)
> >         javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> >         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> >
> org.apache.tapestry.RedirectFilter.doFilter(RedirectFilter.java:103)
> >
> >
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

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


RE: ServletException with acegi tapestry

Posted by Henry Chen <he...@gmail.com>.
Hi James,

Good to know that you have seen this before. How did you work around it? Can
you share a little bit? Where should I do a better error-handling? Thanks a
lot! I really don't know what to do without your help.



-----Original Message-----
From: jwcarman@gmail.com [mailto:jwcarman@gmail.com] On Behalf Of James
Carman
Sent: Sunday, December 31, 2006 6:46 PM
To: Tapestry users
Subject: Re: ServletException with acegi tapestry

Yeah, I've seen that before.  I was able to work around it because it
was an actual programming error in my case.  But, the whole thing is
quite brittle, as you've figured out! :-)  There needs to be better
error-handling, IMHO.

On 12/31/06, Henry Chen <he...@gmail.com> wrote:
> I'm using tapernate and it is tapestry-acegi integration. Everything works
> fine until recently I found the following error message.
>
> It only happens when I open my application a while ago and back to click
> some link or button on the webpage. The whole web application is then
> "dead". (Tomcat is still alive.) I have to restart the application.
>
> Does anybody have this problem too? It has been really a headache now.
> Thanks advance for any help.
>
>
>
>
>
----------------------------------------------------------------------------
> --------------------------------------------------
>
> javax.servlet.ServletException: Transaction is already completed - do not
> call commit or rollback more than once per transaction
>
>
org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service(W
> ebRequestServicerPipelineBridge.java:65)
>
>
$ServletRequestServicer_10fd892ca53.service($ServletRequestServicer_10fd892c
> a53.java)
>
>
org.apache.tapestry.request.DecodedRequestInjector.service(DecodedRequestInj
> ector.java:55)
>
>
$ServletRequestServicerFilter_10fd892ca4f.service($ServletRequestServicerFil
> ter_10fd892ca4f.java)
>
>
$ServletRequestServicer_10fd892ca55.service($ServletRequestServicer_10fd892c
> a55.java)
>
>
com.javaforge.tapestry.acegi.filter.FilterChainAdapter.doFilter(FilterChainA
> dapter.java:43)
>
>
org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(Ano
> nymousProcessingFilter.java:125)
>         $Filter_10fd892ca4d.doFilter($Filter_10fd892ca4d.java)
>
>
com.javaforge.tapestry.acegi.filter.ServletRequestServicerFilterAdapter.serv
> ice(ServletRequestServicerFilterAdapter.java:42)
>
>
$ServletRequestServicer_10fd892ca55.service($ServletRequestServicer_10fd892c
> a55.java)
>
>
com.javaforge.tapestry.acegi.filter.FilterChainAdapter.doFilter(FilterChainA
> dapter.java:43)
>
>
org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFil
> ter.java:216)
>
$FormProcessor_10fd892ca4b.doFilter($FormProcessor_10fd892ca4b.java)
>
>
com.javaforge.tapestry.acegi.filter.ServletRequestServicerFilterAdapter.serv
> ice(ServletRequestServicerFilterAdapter.java:42)
>
>
$ServletRequestServicer_10fd892ca55.service($ServletRequestServicer_10fd892c
> a55.java)
>
>
org.apache.tapestry.multipart.MultipartDecoderFilter.service(MultipartDecode
> rFilter.java:52)
>
>
$ServletRequestServicerFilter_10fd892ca43.service($ServletRequestServicerFil
> ter_10fd892ca43.java)
>
>
$ServletRequestServicer_10fd892ca55.service($ServletRequestServicer_10fd892c
> a55.java)
>
>
org.apache.tapestry.services.impl.SetupRequestEncoding.service(SetupRequestE
> ncoding.java:53)
>
>
$ServletRequestServicerFilter_10fd892ca51.service($ServletRequestServicerFil
> ter_10fd892ca51.java)
>
>
$ServletRequestServicer_10fd892ca55.service($ServletRequestServicer_10fd892c
> a55.java)
>
>
com.javaforge.tapestry.acegi.filter.FilterChainAdapter.doFilter(FilterChainA
> dapter.java:43)
>
>
org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpS
> essionContextIntegrationFilter.java:195)
>         $Filter_10fd892ca45.doFilter($Filter_10fd892ca45.java)
>
>
com.javaforge.tapestry.acegi.filter.ServletRequestServicerFilterAdapter.serv
> ice(ServletRequestServicerFilterAdapter.java:42)
>
>
$ServletRequestServicer_10fd892ca55.service($ServletRequestServicer_10fd892c
> a55.java)
>
>
$ServletRequestServicer_10fd892ca3d.service($ServletRequestServicer_10fd892c
> a3d.java)
>
>
org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:123
> )
>
> org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:104)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
org.apache.tapestry.RedirectFilter.doFilter(RedirectFilter.java:103)
>
>
>
>
>

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


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


RE: ServletException with acegi tapestry

Posted by Henry Chen <he...@gmail.com>.
I found out this is a serialization bug in Acegi 1.0 which is used by
tapernate. I downloaded Acegi 1.0.3 and it got fixed.


-----Original Message-----
From: jwcarman@gmail.com [mailto:jwcarman@gmail.com] On Behalf Of James
Carman
Sent: Sunday, December 31, 2006 6:46 PM
To: Tapestry users
Subject: Re: ServletException with acegi tapestry

Yeah, I've seen that before.  I was able to work around it because it
was an actual programming error in my case.  But, the whole thing is
quite brittle, as you've figured out! :-)  There needs to be better
error-handling, IMHO.

On 12/31/06, Henry Chen <he...@gmail.com> wrote:
> I'm using tapernate and it is tapestry-acegi integration. Everything works
> fine until recently I found the following error message.
>
> It only happens when I open my application a while ago and back to click
> some link or button on the webpage. The whole web application is then
> "dead". (Tomcat is still alive.) I have to restart the application.
>
> Does anybody have this problem too? It has been really a headache now.
> Thanks advance for any help.
>
>
>
>
>
----------------------------------------------------------------------------
> --------------------------------------------------
>
> javax.servlet.ServletException: Transaction is already completed - do not
> call commit or rollback more than once per transaction
>
>
org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service(W
> ebRequestServicerPipelineBridge.java:65)
>
>
$ServletRequestServicer_10fd892ca53.service($ServletRequestServicer_10fd892c
> a53.java)
>
>
org.apache.tapestry.request.DecodedRequestInjector.service(DecodedRequestInj
> ector.java:55)
>
>
$ServletRequestServicerFilter_10fd892ca4f.service($ServletRequestServicerFil
> ter_10fd892ca4f.java)
>
>
$ServletRequestServicer_10fd892ca55.service($ServletRequestServicer_10fd892c
> a55.java)
>
>
com.javaforge.tapestry.acegi.filter.FilterChainAdapter.doFilter(FilterChainA
> dapter.java:43)
>
>
org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(Ano
> nymousProcessingFilter.java:125)
>         $Filter_10fd892ca4d.doFilter($Filter_10fd892ca4d.java)
>
>
com.javaforge.tapestry.acegi.filter.ServletRequestServicerFilterAdapter.serv
> ice(ServletRequestServicerFilterAdapter.java:42)
>
>
$ServletRequestServicer_10fd892ca55.service($ServletRequestServicer_10fd892c
> a55.java)
>
>
com.javaforge.tapestry.acegi.filter.FilterChainAdapter.doFilter(FilterChainA
> dapter.java:43)
>
>
org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFil
> ter.java:216)
>
$FormProcessor_10fd892ca4b.doFilter($FormProcessor_10fd892ca4b.java)
>
>
com.javaforge.tapestry.acegi.filter.ServletRequestServicerFilterAdapter.serv
> ice(ServletRequestServicerFilterAdapter.java:42)
>
>
$ServletRequestServicer_10fd892ca55.service($ServletRequestServicer_10fd892c
> a55.java)
>
>
org.apache.tapestry.multipart.MultipartDecoderFilter.service(MultipartDecode
> rFilter.java:52)
>
>
$ServletRequestServicerFilter_10fd892ca43.service($ServletRequestServicerFil
> ter_10fd892ca43.java)
>
>
$ServletRequestServicer_10fd892ca55.service($ServletRequestServicer_10fd892c
> a55.java)
>
>
org.apache.tapestry.services.impl.SetupRequestEncoding.service(SetupRequestE
> ncoding.java:53)
>
>
$ServletRequestServicerFilter_10fd892ca51.service($ServletRequestServicerFil
> ter_10fd892ca51.java)
>
>
$ServletRequestServicer_10fd892ca55.service($ServletRequestServicer_10fd892c
> a55.java)
>
>
com.javaforge.tapestry.acegi.filter.FilterChainAdapter.doFilter(FilterChainA
> dapter.java:43)
>
>
org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpS
> essionContextIntegrationFilter.java:195)
>         $Filter_10fd892ca45.doFilter($Filter_10fd892ca45.java)
>
>
com.javaforge.tapestry.acegi.filter.ServletRequestServicerFilterAdapter.serv
> ice(ServletRequestServicerFilterAdapter.java:42)
>
>
$ServletRequestServicer_10fd892ca55.service($ServletRequestServicer_10fd892c
> a55.java)
>
>
$ServletRequestServicer_10fd892ca3d.service($ServletRequestServicer_10fd892c
> a3d.java)
>
>
org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:123
> )
>
> org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:104)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
org.apache.tapestry.RedirectFilter.doFilter(RedirectFilter.java:103)
>
>
>
>
>

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


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