[ http://issues.apache.org/jira/browse/PLUTO-277?page=comments#action_12458477 ] Daniel Krieg commented on PLUTO-277: ------------------------------------
I agree that it works in the testsuite environement. This is error only produced when the pluto is ran as a single webapp. I will create a patch that you can use to reproduce the error. Basically when you use pluto-portal as a 'starter webapp' and deploy it to a standard Tomcat install will the error reveal itself. > Castor improperly unmarshals from portlet.xml when <portlet-app> contains > attributes. > ------------------------------------------------------------------------------------- > > Key: PLUTO-277 > URL: http://issues.apache.org/jira/browse/PLUTO-277 > Project: Pluto > Issue Type: Bug > Affects Versions: Current CVS > Reporter: Daniel Krieg > > Running pluto-portal as a standard 'starter' webapp with all dependencies > deployed as JAR files in /WEB-INF/lib the Castor Mapping does not properly > handle the unmarshalling of the portlet.xml file when namespace attributes > are included on the root element as such: > <portlet-app> > ... instead of ... > <portlet-app > xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" > version="1.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd > > http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"> > By omitting these attributes, the unmarshalling works. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
