You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-user@portals.apache.org by Endre Stølsvik <En...@Stolsvik.com> on 2004/01/29 15:34:57 UTC
Re: Troubles with Pluto
On Thu, 29 Jan 2004, Craig Walls wrote:
|
| All,
|
| A couple of months ago, I successfully built and installed Pluto without
| a hitch. Today I'm trying to do that again with the latest stuff from
| CVS and I'm not having as much luck.
|
| I'm following the instructions from GETTING_STARTED.html to the letter.
| I'm doing the "fullDeployment" build (although I've had similar
| experiences when doing a portal build and then a test suite build).
|
| The build works fine right up until it is at the "prepare web archive
| 'testsuite'" step. After that I get a SAXException saying it couldn't
| find the configuration DTD (portlet-app_1_0.xsd). The build then
| completes successfully. (I'm not too worried about this exception, but I
| thought I'd note it anyway).
|
| When I run Tomcat and then access the portal, everything seems to work
| and I see the link for "Test". But, when I click on the link, I only get
| the box for the portlet and I get a nasty NullPointerException:
|
| java.lang.NullPointerException
| at
| org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:138)
|
| at
| org.apache.pluto.invoker.impl.PortletInvokerImpl.load(PortletInvokerImpl.java:108)
|
| at
| org.apache.pluto.PortletContainerImpl.portletLoad(PortletContainerImpl.java:289)
|
| at
| org.apache.pluto.portalImpl.core.PortletContainerWrapperImpl.portletLoad(PortletContainerWrapperImpl.java:132)
|
| at
| org.apache.pluto.portalImpl.aggregation.PortletFragment.service(PortletFragment.java:125)
|
| at
| org.apache.jsp.ColumnFragment_jsp._jspService(ColumnFragment_jsp.java:64)
|
| at
| org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
| (SNIP--it goes on much longer after this)
Might be TC5? I had some similar Exceptions - can be that it doesn't find
the Context for testsuite, although that exception you mention first seems
worrisome.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25128
Endre.
Re: Troubles with Pluto
Posted by Stephan Hesmer <sh...@apache.org>.
Endre,
I actuall ythink the reason for your problem could be the first DTD
error. Can you paste the portlet.xml and web.xml of your portlet AFTER
it has been deployed ?
Stephan
Endre Stølsvik wrote:
> On Thu, 29 Jan 2004, Craig Walls wrote:
>
> |
> | All,
> |
> | A couple of months ago, I successfully built and installed Pluto without
> | a hitch. Today I'm trying to do that again with the latest stuff from
> | CVS and I'm not having as much luck.
> |
> | I'm following the instructions from GETTING_STARTED.html to the letter.
> | I'm doing the "fullDeployment" build (although I've had similar
> | experiences when doing a portal build and then a test suite build).
> |
> | The build works fine right up until it is at the "prepare web archive
> | 'testsuite'" step. After that I get a SAXException saying it couldn't
> | find the configuration DTD (portlet-app_1_0.xsd). The build then
> | completes successfully. (I'm not too worried about this exception, but I
> | thought I'd note it anyway).
> |
> | When I run Tomcat and then access the portal, everything seems to work
> | and I see the link for "Test". But, when I click on the link, I only get
> | the box for the portlet and I get a nasty NullPointerException:
> |
> | java.lang.NullPointerException
> | at
> | org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:138)
> |
> | at
> | org.apache.pluto.invoker.impl.PortletInvokerImpl.load(PortletInvokerImpl.java:108)
> |
> | at
> | org.apache.pluto.PortletContainerImpl.portletLoad(PortletContainerImpl.java:289)
> |
> | at
> | org.apache.pluto.portalImpl.core.PortletContainerWrapperImpl.portletLoad(PortletContainerWrapperImpl.java:132)
> |
> | at
> | org.apache.pluto.portalImpl.aggregation.PortletFragment.service(PortletFragment.java:125)
> |
> | at
> | org.apache.jsp.ColumnFragment_jsp._jspService(ColumnFragment_jsp.java:64)
> |
> | at
> | org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
> | at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> | (SNIP--it goes on much longer after this)
>
> Might be TC5? I had some similar Exceptions - can be that it doesn't find
> the Context for testsuite, although that exception you mention first seems
> worrisome.
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25128
>
> Endre.
>
>
>
Re: Troubles with Pluto
Posted by Craig Walls <wa...@michaels.com>.
> Might be TC5? I had some similar Exceptions - can be that it doesn't find
> the Context for testsuite, although that exception you mention first seems
> worrisome.
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25128
>
That's what I thought at first, too. But the same thing happens on Tomcat 4.1.27.