Thanks for the replies! I found the answer in the archives thanks to David DeWolf's pointer to the archives. The start of the thread is at

http://mail-archives.apache.org/mod_mbox/portals-pluto-user/200406.mbox/[EMAIL 
PROTECTED]

The solution was to only put the version="2.4" attribute on the <web-app> tag and not the namespace information. Now I'll have to make sure everything else works without the namespace attributes.

Elliot Metsger wrote:

I experienced a problem with version 2.4... let me see if I can dig up what I did to work around that...

David H. DeWolf wrote:

I don't think I've ever tried it.  What is the error you're receiving?

java.lang.NullPointerException
at org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:109) at org.apache.pluto.invoker.impl.PortletInvokerImpl.load(PortletInvokerImpl.java:80)

But the real problem came from loading the web.xml. Here are the verbose outputs:

startElement: servlet
unable to find FieldDescriptor for 'servlet' in ClassDescriptor of web-app - ignoring extra element.
startElement: servlet-name
endElement: servlet-name
startElement: servlet-class
endElement: servlet-class
endElement: servlet
startElement: servlet
unable to find FieldDescriptor for 'servlet' in ClassDescriptor of web-app - ignoring extra element.
startElement: description
...

Thanks again!
-David


David

David Botterill wrote:

We've recently moved to a 2.4 version of the web.xml XSD and Pluto is no longer reading the web.xml correctly. Can someone tell me if 2.4 is supported?


. . .

Thanks!
-David

Reply via email to