[gatein-issues] [JBoss JIRA] Work stopped: (GTNPORTAL-1834) Portlet's context-root cannot contain slashes

Khoi Nguyen (JIRA) jira-events at lists.jboss.org
Tue May 24 05:12:01 EDT 2011


     [ https://issues.jboss.org/browse/GTNPORTAL-1834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on GTNPORTAL-1834 stopped by Khoi Nguyen.

> Portlet's context-root cannot contain slashes
> ---------------------------------------------
>
>                 Key: GTNPORTAL-1834
>                 URL: https://issues.jboss.org/browse/GTNPORTAL-1834
>             Project: GateIn Portal
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Thomas Heute
>            Assignee: Khoi Nguyen
>              Labels: done, portal-s53
>             Fix For: 3.2.0-GA
>
>   Original Estimate: 1 day
>  Remaining Estimate: 1 day
>
> I've tried to use a context-root with a slash "/" in a JSR-286 Hello World Portlet and it throws the following exception when trying to add it to a new page:
> 11:59:46,926 ERROR [STDERR] org.gatein.pc.api.NoSuchPortletException: No such portlet /oag.ade
> 11:59:46,926 ERROR [STDERR] at org.gatein.pc.portlet.container.ContainerPortletInvoker.getPortlet(ContainerPortletInvoker.java:99)
> Changing context-root to not contain slashes has fixed the problem.
> Problem happens when using slashes "/" in:
> application.xml of an .ear file
> <module>
> <web>
> <web-uri>seamBookingPortlet.war</web-uri>
> <context-root>/oag/ade</context-root>
> </web>
> </module>
> Changing it to <context-root>/oag-ade</context-root> fixes the problem
> jboss-web.xml of a .war file
> <?xml version="1.0" encoding="UTF-8"?>
> <jboss-web>
> <context-root>/LG_1648_1_WEB/SamplePortlet</context-root>
> </jboss-web>
> Changing it to <context-root>/LG_1648_1_WEB.SamplePortlet</context-root> fixes the problem.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the gatein-issues mailing list