How to avoid NoSuchPortletException error in JBoss Enterprise Portal Platform 5.1?

Solution Verified - Updated -

Issue

  • When using context-root with a slash "/" in a simple Hello World Portlet 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 /WebappName.SamplePortlet.MyPortlet
    11:59:46,926 ERROR [STDERR] at org.gatein.pc.portlet.container.ContainerPortletInvoker.getPortlet(ContainerPortletInvoker.java:99)
    

Environment

  • JBoss Enterprise Portal Platform (EPP) 5.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.