portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From z w <wzx...@hotmail.com>
Subject RE: Struts Bridge Jsr168Dispatcher problem: processAction() gets called, but not render()
Date Sun, 09 Nov 2008 13:33:23 GMT

Hi,
 
I'm propably wrong, but the error seems to be inside portlet container, who called Jsr168Dispatcher's
processAction(), but for some reason, didn't call its render(). So the normal thread inside
the portlet container is broken between the two calls. Can we be still in Jahia in this case
?
 
Thanks in advance,
 
wzx
> Date: Fri, 7 Nov 2008 13:41:12 -0600> From: ate@douma.nu> To: jetspeed-dev@portals.apache.org>
Subject: Re: Struts Bridge Jsr168Dispatcher problem: processAction() gets called, but not
render()> > Hi,> > Looking through your logs I can only see some Jahia warning
messages which makes no sense to me (I've never used Jahia).> As you say the portlet does
work on one page but not on another one, I'd suspect this is something you'll need to talk
about with the jahia > people, not the jetspeed developers. If you can reproduce this on
a standalone Jetspeed installation (not Jahia) of course we'd glad to help > you further
but as Jahia has its own Jetspeed wrapping/integration its simply impossible for us to tell
which is causing this.> > Regards,> > Ate> > z w wrote:> > The text
in my initial post is not well formed, I suppose it's because I've posted it in HTML format.>
> So I try it again in text format.> > > > Hi, > > I'm building a portlet
with Jahia (Jetspeed), Struts. > > This portlet runs normally in one portal page, but
in another portal page, I can only show the first "page", when clicking on a link for showing
a second page, the portlet shows nothing, so I get an empty box. > > The logs show that
in this case, only processAction() is called, no render() follows. We use org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher
as portlet wrapper of our Struts application: > > 2008-08-29 20:48:45,250: INFO [org.jahia.bin.Jahia]
- Processed [/jahia/Jahia/s > > ite/netfoo/op/edit/pid/604] user=[root] ip=[127.0.0.1]
in [719ms] > > Action parameter found. pathInfo = /site/netfoo/op/edit/_ns/YnNlcnZhaXJfYWxs
> > OjpTdHJ1dHMyIFRlc3QgUG9ydGxldDo6NjBjZDJmM2E6MTFjMGU3ZjViZjc6LTdmZWJ8YzB8ZDB8ZXN0
> > cnV0cy5wb3J0bGV0Lm1vZGU9MT12aWV3fGVzdHJ1dHMucG9ydGxldC5hY3Rpb249MT0vc2VydmFpci9z
> > ZXJ2YWlyVmlld3xldGVtcGxhdGVEaXI9MT10ZW1wbGF0ZXxldGhlbWU9MT1zaW1wbGU_/cache/bypas
> > s/j2action/true/appid/24288_166/pid/604 > > [DEBUG] Jsr168Dispatcher - Entering
processAction > > [DEBUG] PortletRequestMap - Dumping request parameters: > >
[DEBUG] PortletRequestMap - center = SIEGE > > [DEBUG] PortletRequestMap - struts.portlet.mode
= view > > [DEBUG] PortletRequestMap - struts.portlet.action = /foo/fooView > >
[DEBUG] PortletRequestMap - templateDir = template > > [DEBUG] PortletRequestMap - theme
= simple > > [DEBUG] PortletRequestMap - service = > > [DEBUG] PortletRequestMap
- lastname = > > [DEBUG] PortletRequestMap - firstname = > > [DEBUG] PortletRequestMap
- method:searchResult = Rechercher > > [DEBUG] PortletSessionMap - Dumping session info:
> > [DEBUG] Jsr168Dispatcher - serviceAction > > [DEBUG] Jsr168Dispatcher - Creating
action proxy for name = fooView, namespa > > ce = /foo > > [DEBUG] FileUploadInterceptor
- Bypassing /foo/ fooView > > [DEBUG] AnnotationValidationInterceptor - Validating /foo/fooView
with m > > ethod searchResult. > > **************** > > do searchResult
> > **************** > > it is done > > [DEBUG] PortletResult - Executing
result in Event phase > > [DEBUG] PortletResult - Setting event render parameter: /foo/resultview.jsp
> > [DEBUG] Jsr168Dispatcher - Leaving processAction > > 2008-08-29 20:48:52,718:
WARN [org.jahia.taglibs.resourcebundle.ResourceBundleT > > ag] - Error accessing resource
quickValidate.prompt in bundle jahiatemplates.com > > mon for locale fr:Can't find resource
for bundle java.util.PropertyResourceBundl > > e, key quickValidate.prompt > >
2008-08-29 20:48:52,734: WARN [org.jahia.taglibs.resourcebundle.ResourceBundleT > >
ag] - Error accessing resource quickValidate in bundle jahiatemplates.common for > >
locale fr:Can't find resource for bundle java.util.PropertyResourceBundle, key > > quickValidate
> > 2008-08-29 20:48:52,734: WARN [org.jahia.taglibs.resourcebundle.ResourceBundleT
> > ag] - Error accessing resource quickValidate in bundle jahiatemplates.common for
> > locale fr:Can't find resource for bundle java.util.PropertyResourceBundle, key >
> quickValidate > > 2008-08-29 20:48:52,734: WARN [org.jahia.taglibs.resourcebundle.ResourceBundleT
> > ag] - Error accessing resource quickValidate in bundle jahiatemplates.common for
> > locale fr:Can't find resource for bundle java.util.PropertyResourceBundle, key >
> quickValidate > > 2008-08-29 20:48:52,890: INFO [org.jahia.bin.Jahia] - Processed
[/jahia/Jahia/s > > ite/netfoo/op/edit/_ns/YnNlcnZhaXJfYWxsOjpTdHJ1dHMyIFRlc3QgUG9ydGxldDo6NjBjZ
> > DJmM2E6MTFjMGU3ZjViZjc6LTdmZWJ8YzB8ZDB8ZXN0cnV0cy5wb3J0bGV0Lm1vZGU9MT12aWV3fGVzd
> > HJ1dHMucG9ydGxldC5hY3Rpb249MT0vc2VydmFpci9zZXJ2YWlyVmlld3xldGVtcGxhdGVEaXI9MT10Z
> > W1wbGF0ZXxldGhlbWU9MT1zaW1wbGU_/cache/bypass/j2action/true/appid/24288_166/pid/6
> > 04] user=[root] ip=[127.0.0.1] in [640ms] > > 2008-08-29 20:48:52,953: WARN
[org.jahia.taglibs.resourcebundle.ResourceBundleT > > ag] - Error accessing resource
quickValidate.prompt in bundle jahiatemplates.com > > mon for locale fr:Can't find resource
for bundle java.util.PropertyResourceBundl > > e, key quickValidate.prompt > >
2008-08-29 20:48:52,953: WARN [org.jahia.taglibs.resourcebundle.ResourceBundleT > >
ag] - Error accessing resource quickValidate in bundle jahiatemplates.common for > >
locale fr:Can't find resource for bundle java.util.PropertyResourceBundle, key > > quickValidate
> > 2008-08-29 20:48:52,953: WARN [org.jahia.taglibs.resourcebundle.ResourceBundleT
> > ag] - Error accessing resource quickValidate in bundle jahiatemplates.common for
> > locale fr:Can't find resource for bundle java.util.PropertyResourceBundle, key >
> quickValidate > > 2008-08-29 20:48:52,953: WARN [org.jahia.taglibs.resourcebundle.ResourceBundleT
> > ag] - Error accessing resource quickValidate in bundle jahiatemplates.common for
> > locale fr:Can't find resource for bundle java.util.PropertyResourceBundle, key >
> quickValidate > > 2008-08-29 20:48:53,062: INFO [org.jahia.bin.Jahia] - Processed
[/jahia/Jahia/s > > ite/netfoo/op/edit/_ns/YXNlcnZhaXJfYWxsOjpTdHJ1dHMyIFRlc3QgUG9ydGxldDo6NjBjZ
> > DJmM2E6MTFjMGU3ZjViZjc6LTdmZWJ8YzB8ZDB8ZXN0cnV0cy5wb3J0bGV0Lm1vZGU9MT12aWV3fGVzd
> > HJ1dHMucG9ydGxldC5hY3Rpb249MT1yZW5kZXJEaXJlY3R8ZXN0cnV0cy5wb3J0bGV0LmV2ZW50QWN0a
> > W9uPTE9dHJ1ZQ__/cache/bypass/appid/24288_166/pid/604] user=[root] ip=[127.0.0.1]
> > in [125ms] > > That's all. > > Our struts.xml: > > > > >
> > > > > > > > > /foo/view_info_main.jsp > > /foo/resultview.jsp
> > > > > > > > > > > > Our portlet.xml: > > >
> > > > > Struts2 Test Portlet > > Struts2 Test Portlet > > >
> org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher > > > > > >
> > viewNamespace > > /foo > > > > > > > > > > defaultViewAction
> > fooView > > > > > > > > text/html > > view > >
> > > > Struts2 Test Portlet > > Struts2 Test Portlet > > Struts2
Test Portlet > > > > > > > > _________________________________________________________________>
> Découvrez Windows Live Spaces et créez votre site Web perso en quelques clics !>
> http://spaces.live.com/signup.aspx> > --------------------------------------------------------------------->
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org> > For additional
commands, e-mail: jetspeed-dev-help@portals.apache.org> > > > > > > >
---------------------------------------------------------------------> To unsubscribe,
e-mail: jetspeed-dev-unsubscribe@portals.apache.org> For additional commands, e-mail: jetspeed-dev-help@portals.apache.org>

_________________________________________________________________
Appelez vos amis de PC à PC -- C'EST GRATUIT
http://get.live.com/messenger/overview
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message