I could make my helloworld work after adding the page in the admin screen.
Wonder why no one mentioned that :-)

What is the difference between frames and containers? It seems whatever
is displayed on the Pluto portal can be done with frames. Am I missing
something? Can we layer containers one top of another?

Coming from a Tomcat 5.5.3 and JSP/Servlet background, Pluto 1.1.4 is
much better. So please don't get me wrong.

I'd appreciate if someone could answer my questions.

Thanks
Murthy

-----Original Message-----
From: Murthy Gandikota [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 04, 2007 8:05 PM
To: [email protected]
Subject: RE: Pluto 1.1.4 - java.lang.InstantiationException while deploying

I followed the steps indicated by
a) http://www.ociweb.com/jnb/jnbAug2006.html
b) http://portals.apache.org/pluto/v11/deploying.html

Successfully created the war file with maven and deployed without errors

I still see the exception given below.

The URL given in (a) uses JetSpeed2. Do I need that too?

Thanks
Murthy
-----Original Message-----
From: Murthy Gandikota [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 04, 2007 6:22 PM
To: [email protected]
Subject: RE: Pluto 1.1.4 - java.lang.InstantiationException while deploying

Ben Wrote:
>Probably the problem that you are having is related to:

>>       <servlet-class>javax.portlet.GenericPortlet
>>       </servlet-class>

>This is in an incorrect way to map the servlet.  This class should be
>org.apache.pluto.core.PortletServlet.

With the change done as suggested above the error now is:

SEVERE: Servlet.service() for servlet HelloWorld threw exception
java.lang.NullPointerException
        at 
org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:196)
        at org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:145)

I think the exception in the dispatch is because the following session 
variables are not set:

javax.portlet.response
javax.portlet.request
org.apache.pluto.core.method

The relevant code from PortletServlet.java

// Retrieve attributes from the servlet request.
        Integer methodId = (Integer) request.getAttribute(
            Constants.METHOD_ID);

        portletRequest = (InternalPortletRequest) request.getAttribute(
            Constants.PORTLET_REQUEST);

        portletResponse = (InternalPortletResponse) request.getAttribute(
            Constants.PORTLET_RESPONSE);


I'd appreciate some more help. May be someone can post the web.xml that works!

Thanks
Murthy

Reply via email to