Hi,

I'm trying to embed Pluto in Jetty (I'm working on a portlet plugin for
Grails) at the moment and am having the same problem.

I've tried the descriptor-impl jar from the 1.1.4 current bundle but still
get the error:

[4156] mapping.Mapping Loading mapping descriptors from
jar:file:/D:/work/portlet-test/plugins/portl
ets-0.1/lib/pluto-descriptor-impl-1.1.4.jar!/org/apache/pluto/descriptors/services/castor/castor-por
tlet-xml-mapping.xml
[4406] core.PortletContextManager Portlet Context '/pluto' registered.
[4406] core.PortletContextManager Registered portlet application with
application id '/pluto'
[4406] core.PortletContextManager Registering 0 portlets for context /pluto
[4406] core.PortletContextManager Unable to locate portlet config
[applicationId=/pluto]/[AboutPortl
et].
2007-11-21 19:49:31.538::WARN:  failed AboutPortlet
javax.servlet.ServletException: java.lang.NullPointerException
        at
org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:437)
        at
org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:256)

...

Caused by: java.lang.NullPointerException
        at
org.apache.pluto.core.PortletServlet.init(PortletServlet.java:106)
        at javax.servlet.GenericServlet.init(GenericServlet.java:241)
        at
org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:433)
        ... 239 more

does anyone know more detail as to why castor can't resolve the DTD?

cheers

Lee 

David Grant-2 wrote:
> 
> It turns out the problem was due to the portlets.xml descriptor
> included in the descriptor-impl jar (v1.1.4) not being parsed
> correctly by Castor (it couldn't retrieve the DTD).
> 
> The problem went away when I used the jar from the current bundle, so
> I assume the URI for the DTDs differ...
> 

-- 
View this message in context: 
http://www.nabble.com/Problems-parsing-portlet.xml-tf4473040.html#a13874230
Sent from the Pluto - User mailing list archive at Nabble.com.

Reply via email to