Re: Portlet Not Deploying: Pluto 1.1.3

sankarrv <[email protected]>
Newsgroups gmane.comp.jakarta.pluto.user
Message-ID <[email protected]>
Hi, Can you tell me what changes you made to the XML to overcome the
Nullpointer exception that you were getting? I am getting stuck at the same
place where none of the portlets are working.

Regards,
Sankar

For the good of the group:  The issue was the context-path in the portlet
and portlet-app elements was not correct.  Once I changed it, it all worked!


      <page name="MyHelloWorldPortlet"
uri="/WEB-INF/themes/pluto-default-theme.jsp"> 
          <portlet context="/MyHelloWorldPortlet"
name="MyHelloWorldPortlet"/> 
    </page>
  </render-config>
  
  <portlet-app>
      <context-path>/MyHelloWorldPortlet</context-path>
      <portlets>
        <portlet name="MyHelloWorldPortlet"/>
      </portlets>
  </portlet-app>
  
</pluto-portal-driver>


root cause 

java.lang.NullPointerException

org.apache.pluto.driver.services.impl.resource.SupportedModesServiceImpl.isPortletModeSupportedByPortlet(SupportedModesServiceImpl.java:107)

org.apache.pluto.driver.services.impl.resource.SupportedModesServiceImpl.isPortletModeSupported(SupportedModesServiceImpl.java:80)

org.apache.pluto.driver.config.impl.DriverConfigurationImpl.isPortletModeSupported
-- 
View this message in context: http://www.nabble.com/Portlet-Not-Deploying%3A-Pluto-1.1.3-tf3983539.html#a12053211
Sent from the Pluto - User mailing list archive at Nabble.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.