Rapha�l Luta wrote:

> DIAGNOSIS:
> You can check that by looking in your cache directory for the
> defaultPortlets.xml
> cache version and check if there's Cocoon processing comment at the end and
> if there's an HTML doctype declaration at the start
>

YES!  I had the happy Cocoon processing comment at the end of the cached file.

>
> FIX:
> - use complete file URLs in your properties file, thus giving:
> portletmarkup.default=file:///<mypathtojetspeed>/content/xml/defaultPortlets.xml
> portletmarkup.all=file:///<mypathtojetspeed>/content/xml/allPortlets.xml
>

I double checked my URL's and noticed that in the JetSpeedResources.properties file,
the property for the defaultPortlets.xml is portlet.default.url.  All Porlets is:
portlet.allportlets.url  Am I setting the wrong/old property?  I am not using the
bleeding edge code from CVS.  Just the d/l from java.apache.org/jetspeed/dist.


> - or disable Cocoon processing of xml extension for your web site

Yes, I have done this:  I changed xml -> cxml extension.  This did the trick!  Once
I changed the extention, the defaultPortlets.xml file was processed and I was
treated to a new portal sight.

The only last nagging issue to getting this all working is that the Example Cocoon
portlet is giving me this: "Could not render content" instead of "This is a test of
Cocoon".  I'm sure it has something to with the fact that I have Cocoon 1.7.0
previously installed.

At this point, is it best to try on run Jetspeed without Cocoon?  Raphael, do you
have the two project co-existing ok?

FYI:  when the portlet is created, make sure that you have an image called
"bullet.gif" in this path:  <Web server DocumentRoot>/images/bullet.gif.  It will
make the defaultPortlet site much more purty.  :)  I pulled mine right off of
Kevin's demo site:  http://relativity.yi.org:8080/servlets/jetspeed


> - or switch to Cocoon 2.0-alpha which doesn't handle every *.xml files :)

:)  Yes, this is probably the direction I will go.  Have you found that
Cocoon2.0-alpha builds ok?  Have you run into any problems with 2.0 and Jetspeed
co-existing together?

Whew!  Thanks to Dieter, Raphael, and Kevin!  I'm off to write some docs into Jyve!

Thanks!

Mark Nickel



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to