cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Graaf, Edgar de (fin)" <Edgar.de.Gr...@ordina.nl>
Subject RE: cocoon confustion again going insane now -- sorry for being a dumb ass but i need help please
Date Tue, 21 May 2002 08:23:33 GMT
Stephen,

I hope it helps. Read '->'

-----Oorspronkelijk bericht-----
Van: Stephen Smithstone [mailto:stephen.smithstone@btinternet.com]
Verzonden: maandag 20 mei 2002 22:46
Aan: cocoon-users@xml.apache.org
Onderwerp: cocoon confustion again going insane now -- sorry for being a
dumb ass but i need help please




I appericated that , but guess what its not workin :/

-> What error message do you get?

so i have enclosed both my projects sitemap.xmap and the cocoon
sitemap.xmap

i created a src dir under /var/tomcat/webapps/cocoon/lnxserv where i
put the projects sitemap.xmap

heres the sitemap.xmap for that

<?xml version="1.0"?>
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
        <map:components>
                <map:generators default="file"/>
                <map:transformers default="xslt"/>
                <map:readers default="resource"/>
                <map:serializers default="html"/>
                <map:matchers default="wildcard"/>
                <map:selectors default="browser"/>
        </map:components>

        <map:pipelines>
                <map:pipeline>
                        <map:match pattern="">
                                <map:redirect-to uri="index.html" />
                        </map:match>
                        <map:match pattern=*.html">
                                <map:read src="{1}.html"
mime-type="text/html" />
                        </map:match>
                </map:pipeline>
        </map:pipelines>
</map:sitemap>

-> So index.html is in the lnxservr directory and not in some subdirectory
('static/' ?)

and at the bottom of the cocoon site map i have added

in between the 
<map:pipelines>
	<map:pipeline>

	.. Other cocoon stuff already there

	<map:match pattern="lnxserv/**">
		<map:mount check-reload="yes" src="lnxserv/"
uri-prefix="lnxservr" />
	</map:match>
</map:pipelines>

->
	</map:match>
	</map:pipeline>
</map:pipelines>

But I guess this is a mistake in your email
<-


then when i got to localhost:8080/cocoon/lnxserv - nothing appears

in the cocoons site map do i have define another
<map:pipeline></map:pipeline> to contain just my new apps stuff or can i
just have then contained by the main ones

-> That is not needed


also i keep restarting tomcat i supppose thats correct

-> It okay, but  not needed. If you set sitemap to compile it takes a couple
of seconds before everything works....

is there any thing i need to change in the cocoon.xconf file i changed
the <sitemap check-reload="yes" file="sitemap.xmap" logger="sitemap"
reload-method="synchron" /> where the reload-method use to be asynchron 

-> I think not....







i running on port 8080 please have a look and see if u can spot the
errors

im u running tomcat 4.0 binary version , java jdk 1.3.1_01 and the
latest cocoon2.0.2 binary version 


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message