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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content