[JBoss JIRA] (GTNPORTAL-2775) lack of logging when error "org.gatein.pc.api.NoSuchPortletException: No such portlet xxx" occurs
by Peter Palaga (JIRA)
Peter Palaga created GTNPORTAL-2775:
---------------------------------------
Summary: lack of logging when error "org.gatein.pc.api.NoSuchPortletException: No such portlet xxx" occurs
Key: GTNPORTAL-2775
URL: https://issues.jboss.org/browse/GTNPORTAL-2775
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Peter Palaga
Some times the following errors occur:
ERROR [STDERR] (ajp-10.5.38.13-8009-85) org.gatein.pc.api.NoSuchPortletException: No such portlet /xxxxx
.headerImports
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.gatein.pc.portlet.container.ContainerPortletInvoker.getPortlet(ContainerPortletInvoker.java:113)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.gatein.pc.portlet.PortletInvokerInterceptor.getPortlet(PortletInvokerInterceptor.java:83)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.gatein.pc.portlet.state.producer.ProducerPortletInvoker._getPortlet(ProducerPortletInvoker.java:202)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.gatein.pc.portlet.state.producer.ProducerPortletInvoker.getPortlet(ProducerPortletInvoker.java:119)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.gatein.pc.federation.impl.FederatedPortletInvokerService.getPortlet(FederatedPortletInvokerService.java:110)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.gatein.pc.federation.impl.FederatingPortletInvokerService.getPortlet(FederatingPortletInvokerService.java:231)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.gatein.pc.portlet.PortletInvokerInterceptor.getPortlet(PortletInvokerInterceptor.java:83)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.gatein.pc.portlet.PortletInvokerInterceptor.getPortlet(PortletInvokerInterceptor.java:83)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.gatein.pc.portlet.PortletInvokerInterceptor.getPortlet(PortletInvokerInterceptor.java:83)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.exoplatform.portal.webui.application.UIPortlet.setState(UIPortlet.java:939)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.exoplatform.portal.webui.util.PortalDataMapper.toUIPortlet(PortalDataMapper.java:246)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.exoplatform.portal.webui.util.PortalDataMapper.buildUIContainer(PortalDataMapper.java:402)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.exoplatform.portal.webui.util.PortalDataMapper.toUIContainer(PortalDataMapper.java:314)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.exoplatform.portal.webui.util.PortalDataMapper.buildUIContainer(PortalDataMapper.java:419)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.exoplatform.portal.webui.util.PortalDataMapper.toUIContainer(PortalDataMapper.java:314)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.exoplatform.portal.webui.util.PortalDataMapper.buildUIContainer(PortalDataMapper.java:419)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.exoplatform.portal.webui.util.PortalDataMapper.toUIContainer(PortalDataMapper.java:314)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.exoplatform.portal.webui.util.PortalDataMapper.buildUIContainer(PortalDataMapper.java:419)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.exoplatform.portal.webui.util.PortalDataMapper.toUIContainer(PortalDataMapper.java:314)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.exoplatform.portal.webui.util.PortalDataMapper.buildUIContainer(PortalDataMapper.java:419)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.exoplatform.portal.webui.util.PortalDataMapper.toUIContainer(PortalDataMapper.java:314)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.exoplatform.portal.webui.util.PortalDataMapper.buildUIContainer(PortalDataMapper.java:419)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.exoplatform.portal.webui.util.PortalDataMapper.toUIContainer(PortalDataMapper.java:314)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.exoplatform.portal.webui.util.PortalDataMapper.toUIContainer(PortalDataMapper.java:291)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.exoplatform.portal.webui.util.PortalDataMapper.toUIPage(PortalDataMapper.java:320)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.exoplatform.portal.webui.page.UIPageBody.getUIPage(UIPageBody.java:148)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.exoplatform.portal.webui.page.UIPageBody.setPageBody(UIPageBody.java:78)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.exoplatform.portal.webui.portal.UIPortal.refreshUIPage(UIPortal.java:238)
...
It indicates that the logged portlet somehow is not recognized by EPP. To fix this issue we have to drop the portlet from the problematic page and re-add it again.
However, the errors don't show what page is having this problem. We have to identify the pages by checking the timestamps.
We would like the EPP code could add more logging here to show the specific page info if such error pops up.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months
[JBoss JIRA] (GTNPORTAL-2775) lack of logging when error "org.gatein.pc.api.NoSuchPortletException: No such portlet xxx" occurs
by Peter Palaga (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2775?page=com.atlassian.jira.pl... ]
Peter Palaga reassigned GTNPORTAL-2775:
---------------------------------------
Assignee: Peter Palaga
> lack of logging when error "org.gatein.pc.api.NoSuchPortletException: No such portlet xxx" occurs
> -------------------------------------------------------------------------------------------------
>
> Key: GTNPORTAL-2775
> URL: https://issues.jboss.org/browse/GTNPORTAL-2775
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Peter Palaga
> Assignee: Peter Palaga
>
> Some times the following errors occur:
> ERROR [STDERR] (ajp-10.5.38.13-8009-85) org.gatein.pc.api.NoSuchPortletException: No such portlet /xxxxx
> .headerImports
> 2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.gatein.pc.portlet.container.ContainerPortletInvoker.getPortlet(ContainerPortletInvoker.java:113)
> 2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.gatein.pc.portlet.PortletInvokerInterceptor.getPortlet(PortletInvokerInterceptor.java:83)
> 2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.gatein.pc.portlet.state.producer.ProducerPortletInvoker._getPortlet(ProducerPortletInvoker.java:202)
> 2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.gatein.pc.portlet.state.producer.ProducerPortletInvoker.getPortlet(ProducerPortletInvoker.java:119)
> 2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.gatein.pc.federation.impl.FederatedPortletInvokerService.getPortlet(FederatedPortletInvokerService.java:110)
> 2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.gatein.pc.federation.impl.FederatingPortletInvokerService.getPortlet(FederatingPortletInvokerService.java:231)
> 2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.gatein.pc.portlet.PortletInvokerInterceptor.getPortlet(PortletInvokerInterceptor.java:83)
> 2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.gatein.pc.portlet.PortletInvokerInterceptor.getPortlet(PortletInvokerInterceptor.java:83)
> 2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.gatein.pc.portlet.PortletInvokerInterceptor.getPortlet(PortletInvokerInterceptor.java:83)
> 2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.exoplatform.portal.webui.application.UIPortlet.setState(UIPortlet.java:939)
> 2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.exoplatform.portal.webui.util.PortalDataMapper.toUIPortlet(PortalDataMapper.java:246)
> 2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.exoplatform.portal.webui.util.PortalDataMapper.buildUIContainer(PortalDataMapper.java:402)
> 2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.exoplatform.portal.webui.util.PortalDataMapper.toUIContainer(PortalDataMapper.java:314)
> 2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.exoplatform.portal.webui.util.PortalDataMapper.buildUIContainer(PortalDataMapper.java:419)
> 2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.exoplatform.portal.webui.util.PortalDataMapper.toUIContainer(PortalDataMapper.java:314)
> 2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.exoplatform.portal.webui.util.PortalDataMapper.buildUIContainer(PortalDataMapper.java:419)
> 2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.exoplatform.portal.webui.util.PortalDataMapper.toUIContainer(PortalDataMapper.java:314)
> 2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.exoplatform.portal.webui.util.PortalDataMapper.buildUIContainer(PortalDataMapper.java:419)
> 2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.exoplatform.portal.webui.util.PortalDataMapper.toUIContainer(PortalDataMapper.java:314)
> 2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.exoplatform.portal.webui.util.PortalDataMapper.buildUIContainer(PortalDataMapper.java:419)
> 2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.exoplatform.portal.webui.util.PortalDataMapper.toUIContainer(PortalDataMapper.java:314)
> 2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.exoplatform.portal.webui.util.PortalDataMapper.buildUIContainer(PortalDataMapper.java:419)
> 2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.exoplatform.portal.webui.util.PortalDataMapper.toUIContainer(PortalDataMapper.java:314)
> 2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.exoplatform.portal.webui.util.PortalDataMapper.toUIContainer(PortalDataMapper.java:291)
> 2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.exoplatform.portal.webui.util.PortalDataMapper.toUIPage(PortalDataMapper.java:320)
> 2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.exoplatform.portal.webui.page.UIPageBody.getUIPage(UIPageBody.java:148)
> 2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.exoplatform.portal.webui.page.UIPageBody.setPageBody(UIPageBody.java:78)
> 2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at org.exoplatform.portal.webui.portal.UIPortal.refreshUIPage(UIPortal.java:238)
> ...
> It indicates that the logged portlet somehow is not recognized by EPP. To fix this issue we have to drop the portlet from the problematic page and re-add it again.
> However, the errors don't show what page is having this problem. We have to identify the pages by checking the timestamps.
> We would like the EPP code could add more logging here to show the specific page info if such error pops up.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months
[JBoss JIRA] (GTNWSRP-340) WS ports link to individual nodes' URL instead of loadbalancer
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/GTNWSRP-340?page=com.atlassian.jira.plugi... ]
RH Bugzilla Integration commented on GTNWSRP-340:
-------------------------------------------------
Boleslaw Dawidowicz <bdawidow(a)redhat.com> made a comment on [bug 880729|https://bugzilla.redhat.com/show_bug.cgi?id=880729]
I don't think we can do anything on our side - patch need to be provided and it is beyond JPP Dev team to provide proper EAP one.
I'm reassigning to Honza as there is nothing more that Chris can help with.
Honza let us know if you need any more assistance from us. I'm not sure who should be exactly in charge to arrange the patch.
> WS ports link to individual nodes' URL instead of loadbalancer
> --------------------------------------------------------------
>
> Key: GTNWSRP-340
> URL: https://issues.jboss.org/browse/GTNWSRP-340
> Project: GateIn WSRP
> Issue Type: Sub-task
> Security Level: Public(Everyone can see)
> Components: Consumer, Producer
> Affects Versions: 2.2.0.Final
> Reporter: Chris Laprun
> Assignee: Chris Laprun
> Fix For: 2.2.1.Final
>
>
> This results in failover problems when a producer node is taken down since the port on the consumer side might refer to the node URL that is down.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months
[JBoss JIRA] (GTNPORTAL-2767) Error Messages when using forward
by Gregory SEBERT (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2767?page=com.atlassian.jira.pl... ]
Gregory SEBERT commented on GTNPORTAL-2767:
-------------------------------------------
Just add it.
Regards.
> Error Messages when using forward
> ---------------------------------
>
> Key: GTNPORTAL-2767
> URL: https://issues.jboss.org/browse/GTNPORTAL-2767
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Common integration
> Affects Versions: 3.5.0.Beta02
> Environment: Gate In 3.5.0 Beta02 on top of EAP6
> Reporter: Frederic Hornain
> Attachments: error.log
>
>
> Indeed, the customer portal team has an issue regarding the navigation in portal.
> They are currently trying navigation.
> They would to go to another page by using a forward:
> private void executeNavigation(String nodeURL) {
> PortalRequestContext requestContext = null;
> ServletRequest request = null;
> ServletResponse response = null;
> String requestContextPath = null;
> String trimmedNodeURL = null;
> RequestDispatcher dispatcher = null;
> requestContext = Util.getPortalRequestContext();
> request = requestContext.getRequest();
> response = requestContext.getResponse();
> requestContextPath = requestContext.getPortalContextPath();
> // Remove the portal context path from the nodeURL
> // e.g. if nodeURL = "/portal/hello", and portal context path = "/portal" then trimmedNodeURL = "/hello"
> trimmedNodeURL = nodeURL.substring(requestContextPath != null ? requestContextPath.length() : 0);
> dispatcher = request.getRequestDispatcher(trimmedNodeURL);
> try {
> dispatcher.forward(request, response);
> } catch (Exception e) {
> // TODO
> }
> }
> It works and they are well redirected to the corresponding page.
> However, customer receive an error (see attached log file).
> Then would it be possible to fix this issue ?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months
[JBoss JIRA] (GTNPORTAL-2767) Error Messages when using forward
by Gregory SEBERT (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2767?page=com.atlassian.jira.pl... ]
Gregory SEBERT updated GTNPORTAL-2767:
--------------------------------------
Attachment: error.log
> Error Messages when using forward
> ---------------------------------
>
> Key: GTNPORTAL-2767
> URL: https://issues.jboss.org/browse/GTNPORTAL-2767
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Common integration
> Affects Versions: 3.5.0.Beta02
> Environment: Gate In 3.5.0 Beta02 on top of EAP6
> Reporter: Frederic Hornain
> Attachments: error.log
>
>
> Indeed, the customer portal team has an issue regarding the navigation in portal.
> They are currently trying navigation.
> They would to go to another page by using a forward:
> private void executeNavigation(String nodeURL) {
> PortalRequestContext requestContext = null;
> ServletRequest request = null;
> ServletResponse response = null;
> String requestContextPath = null;
> String trimmedNodeURL = null;
> RequestDispatcher dispatcher = null;
> requestContext = Util.getPortalRequestContext();
> request = requestContext.getRequest();
> response = requestContext.getResponse();
> requestContextPath = requestContext.getPortalContextPath();
> // Remove the portal context path from the nodeURL
> // e.g. if nodeURL = "/portal/hello", and portal context path = "/portal" then trimmedNodeURL = "/hello"
> trimmedNodeURL = nodeURL.substring(requestContextPath != null ? requestContextPath.length() : 0);
> dispatcher = request.getRequestDispatcher(trimmedNodeURL);
> try {
> dispatcher.forward(request, response);
> } catch (Exception e) {
> // TODO
> }
> }
> It works and they are well redirected to the corresponding page.
> However, customer receive an error (see attached log file).
> Then would it be possible to fix this issue ?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months