You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Jasper Michalczik <ja...@gmx.net> on 2004/06/18 15:17:46 UTC
merging to webapps
Hello,
I currently have to webapps running which are exactly the same. I've put
them in to different folders in the webapp folder of Tomcat.
Now I experienced some severe performance losses when running a third or
fourth application which are again only copies of the first one.
I did this because the sitemap is selecting the content (the xml-files)
depending on the folder the application is put into. So if the folder is
calles app1, the content is taken form "../webdav/app1/content". I
receive the value for "app1" with the variable {request:contextPath}.
No I'd like to merge the webapps - but it should still be possible to
enter "http://localhost/app1" and get the rendered content from the
webdav/app1 folder. Also the authentication data is stored there and
should be independent.
Any suggestions?
Thanks,
Jasper Michalczik
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: merging to webapps
Posted by Joerg Heinicke <jo...@gmx.de>.
On 18.06.2004 15:17, Jasper Michalczik wrote:
> Hello,
>
> I currently have to webapps running which are exactly the same. I've put
> them in to different folders in the webapp folder of Tomcat.
>
> Now I experienced some severe performance losses when running a third or
> fourth application which are again only copies of the first one.
>
> I did this because the sitemap is selecting the content (the xml-files)
> depending on the folder the application is put into. So if the folder is
> calles app1, the content is taken form "../webdav/app1/content". I
> receive the value for "app1" with the variable {request:contextPath}.
>
> No I'd like to merge the webapps - but it should still be possible to
> enter "http://localhost/app1" and get the rendered content from the
> webdav/app1 folder. Also the authentication data is stored there and
> should be independent.
>
> Any suggestions?
Yes, that should be easy using different sub sitemaps mounted correctly.
Joerg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org