AW: I cant get cocoon to process??

2003-01-28 Thread Marco Rolappe
hi richard,

well, you probably didn't find it, because your logging configuration seems
to be different (i.e. strange to me ;-). maybe that's normal for older
cocoon versions, I only know cocoon >= 2.0.3.

one issue (actually 3 ;-) I could find, which is an error in your
sitemap.xmap:





 





 


you tried to surround your single soundpool pipeline with a 'pipelines'
element. furthermore both are incorrectly nested (you should be editing with
an XML editor, which wouldn't allow this). third one: the namespace prefix
(map) on  is missing.

so, this fragment should look like:










there could be other issues (I got errors when trying with 2.0.3), but that
maybe my setup. or it maybe a cocoon 2.0 thing, with which I couldn't really
help.


I'd really recommend upgrading to cocoon 2.0.4 and tomcat >= 4.0.6.

> -Ursprungliche Nachricht-
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]Im
> Auftrag von Richard Cunliffe
> Gesendet: Mittwoch, 29. Januar 2003 01:19
> An: [EMAIL PROTECTED]
> Betreff: RE: I cant get cocoon to process??
>
>
> Marco,
>
> I have attached all the logs and my sitemap. I searched
> 'PreparableMatcher', but nothing came back.
>
> Thank you so much for taking a look at this for me!
>
> Richard.
>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




AW: I cant get cocoon to process??

2003-01-28 Thread Marco Rolappe
hi richard,

you could take a look at tomcat's logs ($TOMCAT_HOME/logs).

and look at cocoon's sitemap.log; around the end of the log search for
'PreparableMatcher' and the like. if there's nothing like that dealing with
the uri match pattern you specified in your sitemap, definitely didn't get
processed.

maybe it would be best if you send your logs (if they're not too big) and
sitemap in a .zip file.

> -Ursprungliche Nachricht-
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]Im
> Auftrag von Richard Cunliffe
> Gesendet: Dienstag, 28. Januar 2003 18:01
> An: [EMAIL PROTECTED]
> Betreff: RE: I cant get cocoon to process??
>
>
>
> Hussayn & Peter
>
> Ok I have everything you suggest setup, and it is still not coming out
> right!
>
> Can you suggest anything else - please don't give on me!!
>
> Richard
>
>
>
>
>
>
>
> -Original Message-
> From: Horsfield, Peter A. [mailto:[EMAIL PROTECTED]]
> Sent: 28 January 2003 16:26
> To: '[EMAIL PROTECTED]'
> Cc: '[EMAIL PROTECTED]'
> Subject: RE: I cant get cocoon to process??
>
> Hi Richard, Derek. Sorry to butt in, but heres my two cents:
>
>
>
> Tomcat/Cocoon is pulling your soundpool.xml file unchanged. This /could/
> be
> because
>
> tomcat is not forwarding the request to Cocoon, but I think that is
> unlikely.
>
>
>
> You can test it by renaming the soundpool.xml file to something else and
> trying the
>
> url http://192.168.0.5:8080/soundpool/soundpool.xml
>
>
>
> If you get a "Cocoon resource not found" error, then you can be sure the
> request is
>
> reaching Cocoon.
>
>
>
> *However* the map:match pattern you showed seems to indicate that
>
> you should be accessing the URL without the final .xml instead:
>
>
>
> http://192.168.0.5:8080/soundpool/soundpool
>
>
>
> I would guess some other part of the sitemap is setup to supply
>
> a .xml file directly if it is requested as such.
>
>
>
> --Pause-- :)
>
>
>
> Next, your serializer might need to look something like this:
>
>
>
> 
>
>
>
> Then you know you're getting the html serializer and not the
>
> xml serializer. It's important because the serializer defines
>
> the content-type that the browser sees.
>
>
>
> Oh, and I'm assuming that your xsl transform converts your soundpool.xml
>
> into valid html, correct? So you would have something like
>
>
>
> 
>
>  xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
>
>
>
> 
>
>
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
>
>
> 
>
>
>
> 
>
>
>
> Hope that's some help,
>
>
>
> Peter
>
>
>
> -Original Message-
>
> From: Richard Cunliffe [mailto:[EMAIL PROTECTED]]
>
> Sent: Tuesday, January 28, 2003 4:22 AM
>
> To: [EMAIL PROTECTED]
>
> Subject: RE: I cant get cocoon to process??
>
>
>
>
>
> Derek,
>
>
>
> Thank you for the big welcome!
>
>
>
> I have had a quick look at the logs, but to be honest I m not sure how
> to
> interrupt them.
>
>
>
> When I did the install examples I got cocoon to do the Hello world
> example.
> So yes that s working.
>
>
>
> Here is the pipeline I have created for a soundpool example (this will
> just
> show the word soundpool)
>
>
>
> 
>
>   
>
> 
>
> 
>
> 
>
>   
>
> 
>
>
>
> So when I type the my local address
> http://192.168.0.5:8080/soundpool/soundpool.xml this is what is
> displayed:
>
>
>
> 
>
> -   
>
> soundpool
>
> 
>
>
>
> It looks like tomcat is not forwarding the request to cocoon to me, what
> do
> you think?
>
>
>
>
>
> Richard.
>
>
>
>
>
>
>
>
>
>
>
> -Original Message-
>
> From: Derek Hohls [mailto:[EMAIL PROTECTED]]
>
> Sent: 28 January 2003 09:03
>
> To: [EMAIL PROTECTED]
>
> Subject: Re: I cant get cocoon to process??
>
>
>
> Richard
>
>
>
> Welcome to the wonderful world of Cocoon application
>
> debugging !
>
>
>
> First off, I assume that the Cocoon samples are up-and-
>
> running, so that you have tested that the Cocoon servlet
>
> as such is working OK.
>
>
>
> Next thing is to check the log files; you will find them
>
> located under the [cocoon] directory (which I guess you
>
> have installed somewhere under tomcat)  in a subdir
>
> called WEB-INF/logs.
>
>
>
> Finally - and this is the hard part! - you will need to try
>
> and understand what is causing the "missing link" -
>
> it *seems* like it might be the entry in your site map -
>
> perhaps you can post that part of the site map that
>
> should be doing the xml/xsl matching so we can try
>
> and figure where there might be an error.
>
>
>
> Derek
>
>
>
> >>> [EMAIL PROTECTED] 28/01/2003 10:40:03 >>>
>
> Apache -   v1.3
>
> Cocoon -   v2.0
>
> Tomcat -   v3.3a
>
> Jserv -   1.1.1
>
>
>
> Operating system -Windows XP
>
>
>
>
>
> I can not get cocoon to work. The problem I have is that when I try and
> load
> an xml page, it will not use the style sheet an