Re: PLuto portlet deployment problem

Elliot Metsger <[email protected]>
Newsgroups gmane.comp.jakarta.pluto.user
Message-ID <[email protected]>
Hi Ludovic,

A couple questions/comments inline:

Ludovic DAUCHY wrote:
> -->First issue

<snip>

> the error message says :
> "28 avr. 2006 16:35:05 org.apache.commons.digester.Digester error
> GRAVE: Parse Error at line 6 column 39: The content of element type
> "distributable" must match "EMPTY".
> org.xml.sax.SAXParseException: The content of element type "distributable" must
> match "EMPTY".
>         at
> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
> Source)
>         at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
>         at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
> ..."

<snip>

When do you receive this error?

How are you deploying your portlet (e.g. are you using the Maven deploy 
goal, the admin portlet, or something else?)

Also, can you provide the full stack trace?

> Has someone already encountered this problem ?

Probably this is the same issue: 
http://issues.apache.org/jira/browse/PLUTO-219

I think the patch that is attached to PLUTO-219 is only a partial fix - 
I'm working on getting it up to snuff for a Pluto 1.0.2 release but I 
have little time right now (spending all my weekends away from a 'puter).

If you could try this patch in your environment and provide feedback on 
the issue that would be helpful.

> --> Second issue
> I created my Portlet, put it in a new context called "portletsDemo" and change
> the XML files to refer it. But it doesn't run in the portal.
> However, if I put the same portlet in the pluto context, it run well.
> I don't understand why.

<snip snip>

I didn't read all of your configs, but based on the error my guess is 
that you need to enable cross context dispatch for the pluto webapp.
See:
http://localhost:8080/tomcat-docs/config/context.html#Attributes

HTH,
Elliot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.