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 David Botterill <Da...@Sun.COM> on 2005/10/04 03:09:58 UTC
Supporting web.xml with 2.4 XSD
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?
Also, what happened to the mailing list archives at
http://issues.apache.org/eyebrowse/SummarizeList?listName=pluto-user@portals.apache.org?
They don't seem to be there anymore.
Thanks!
-David
Re: Supporting web.xml with 2.4 XSD
Posted by Zhong ZHENG <he...@gmail.com>.
Hi, everyone,
Is this also an issue on the 1.1 branch? In the descriptors subproject, I
found only one castor config file which is for servlet 2.3 dtd. So if
someone is using 2.4 web.xml, will castor fail to load the servlet DD?
On 10/4/05, David Botterill <Da...@sun.com> wrote:
>
> 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/%3c40DBF604.8050203@gerardmason.com%3e
>
> 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
> >>>
>
--
ZHENG Zhong
1 Avenue Alphand
75116 Paris, France
+33 6 76 80 45 90
http://heavyz.sourceforge.net
http://heavyz.blogspot.com
http://spaces.msn.com/members/zhengzhong
Re: Supporting web.xml with 2.4 XSD
Posted by David Botterill <Da...@Sun.COM>.
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/%3c40DBF604.8050203@gerardmason.com%3e
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
>>>
Re: Supporting web.xml with 2.4 XSD
Posted by Elliot Metsger <em...@jhu.edu>.
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?
>
> 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
>>
Re: Supporting web.xml with 2.4 XSD
Posted by "David H. DeWolf" <dd...@apache.org>.
I don't think I've ever tried it. What is the error you're receiving?
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
>
Mailing Lists. . .(was Re: Supporting web.xml with 2.4 XSD)
Posted by "David H. DeWolf" <dd...@apache.org>.
David Botterill wrote:
>
> Also, what happened to the mailing list archives at
> http://issues.apache.org/eyebrowse/SummarizeList?listName=pluto-user@portals.apache.org?
> They don't seem to be there anymore.
>
Check out:
http://mail-archives.apache.org/mod_mbox/
>
> Thanks!
> -David
>