You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Boris Althaus <bo...@petra-productions.de> on 2003/06/17 21:51:19 UTC
multiple cocoons in tomcat
Hallo Cocoonlist,
what would be the right approach to have different undependent cocoonsites?
1. To copy all cocoon-classes in every webapp or
2. to copy the cocoon-classes into catalina_home/common/lib or
Does have somebody experiences in this term.
Thanks in advance
Boris Althaus
Re: multiple cocoons in tomcat
Posted by Mathias Wiegard <Ma...@student.uni-ulm.de>.
Hi,
I know definitely, that the first approach (e.g. copying and renaming the
whole webapp in the webapps-folder) will function ;)
Mat
> Von: "Boris Althaus" <bo...@petra-productions.de>
> Organisation: PetraProductions GmbH
> Antworten an: cocoon-users@xml.apache.org
> Datum: Tue, 17 Jun 2003 21:51:19 +0200
> An: <co...@xml.apache.org>
> Betreff: multiple cocoons in tomcat
>
> Hallo Cocoonlist,
>
> what would be the right approach to have different undependent cocoonsites?
>
> 1. To copy all cocoon-classes in every webapp or
> 2. to copy the cocoon-classes into catalina_home/common/lib or
>
> Does have somebody experiences in this term.
>
> Thanks in advance
> Boris Althaus
>
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org
Re: multiple cocoons in tomcat
Posted by Boris Althaus <bo...@petra-productions.de>.
Yes, this sounds reasonable!
May be I try a combination of multiple sub-sitemaps and different tomcat-instances, in order to keep memoryusage small and to have a complete separation between some applications
Thanks
Boris
----- Original Message -----
From: Alexander Schatten
To: cocoon-users@xml.apache.org
Sent: Wednesday, June 18, 2003 12:04 AM
Subject: Re: multiple cocoons in tomcat
Boris Althaus wrote:
> Hello Stavros,
>
> I thought about this solution too, it seemed not separated enough to
> me. Or is this no problem?
> 128 RAM is quite small. Do you have problems with MemoryOverflow or
> Sitemap is null exceptions?
I believe, that 128 MB is not very much; I had it on e headless Linux
server, but it was close. I suggest more.
however there is another solution to really keep things separate, which
can be useful in some cases. e.g. to separate experimental with
production server: to start two or more tomcats on different ports.
this works fine, and has the advantage contrary to your solution, that
you can easily start and stop those tomcats separatly.
you just have to take care to modify all relevant port settings in the
tomcat configuration. otherwise you can run into problems with shutting
down or starting the separated instances.
Alex
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org
Re: multiple cocoons in tomcat
Posted by Alexander Schatten <al...@gmx.at>.
Boris Althaus wrote:
> Hello Stavros,
>
> I thought about this solution too, it seemed not separated enough to
> me. Or is this no problem?
> 128 RAM is quite small. Do you have problems with MemoryOverflow or
> Sitemap is null exceptions?
I believe, that 128 MB is not very much; I had it on e headless Linux
server, but it was close. I suggest more.
however there is another solution to really keep things separate, which
can be useful in some cases. e.g. to separate experimental with
production server: to start two or more tomcats on different ports.
this works fine, and has the advantage contrary to your solution, that
you can easily start and stop those tomcats separatly.
you just have to take care to modify all relevant port settings in the
tomcat configuration. otherwise you can run into problems with shutting
down or starting the separated instances.
Alex
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org
Re: multiple cocoons in tomcat
Posted by Boris Althaus <bo...@petra-productions.de>.
Thank you, i am looking forward!
boris
----- Original Message -----
From: Stavros Kounis
To: cocoon-users@xml.apache.org
Sent: Wednesday, June 18, 2003 12:37 AM
Subject: Re: multiple cocoons in tomcat
On Tue, 17 Jun 2003, Boris Althaus wrote:
> Hello Stavros,
>
> I thought about this solution too, it seemed not separated enough to me. Or is this no problem?
> 128 RAM is quite small. Do you have problems with MemoryOverflow or Sitemap is null exceptions?
i use to get outOfMemory error messages, or blank pages without error
message when i modify something in
sub-sitemaps but only when i ask content through wrapConnection, asking
content directly from tomcat (8080) everything are ok but this box need
some time to compile sitemaps (first time). i'm talking about a 2 years
old box serving several sites (virtual hosting)
next days we will test a new linux box with 1GB RAM
i'll report my experiences then in this thread
-- stavros
> ----- Original Message -----
> From: Stavros Kounis
> To: cocoon-users@xml.apache.org
> Sent: Tuesday, June 17, 2003 10:40 PM
> Subject: Re: multiple cocoons in tomcat
>
>
>
> we use the same cocoon instance to serve up to 10 web sites using sub
site
> map for each one on a PII 650 Linux server with 128MB ram (an upgrade is
> now in progress)
>
> the only problem we have is with warpConnection
> now we consider to leave warp solution for mod proxy
> to have apache at front
>
> i think that multiple cocoon instances will cause more load to our box
> than
> one with multiple sub-sitemaps
>
> --stavros
>
> On Tue, 17 Jun 2003, Boris Althaus wrote:
>
> > Hallo Cocoonlist,
> >
> > what would be the right approach to have different undependent cocoonsites?
> >
> > 1. To copy all cocoon-classes in every webapp or
> > 2. to copy the cocoon-classes into catalina_home/common/lib or
> >
> > Does have somebody experiences in this term.
> >
> > Thanks in advance
> > Boris Althaus
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org
Re: multiple cocoons in tomcat
Posted by Stavros Kounis <go...@osmosis.gr>.
On Tue, 17 Jun 2003, Boris Althaus wrote:
> Hello Stavros,
>
> I thought about this solution too, it seemed not separated enough to me. Or is this no problem?
> 128 RAM is quite small. Do you have problems with MemoryOverflow or Sitemap is null exceptions?
i use to get outOfMemory error messages, or blank pages without error
message when i modify something in
sub-sitemaps but only when i ask content through wrapConnection, asking
content directly from tomcat (8080) everything are ok but this box need
some time to compile sitemaps (first time). i'm talking about a 2 years
old box serving several sites (virtual hosting)
next days we will test a new linux box with 1GB RAM
i'll report my experiences then in this thread
-- stavros
> ----- Original Message -----
> From: Stavros Kounis
> To: cocoon-users@xml.apache.org
> Sent: Tuesday, June 17, 2003 10:40 PM
> Subject: Re: multiple cocoons in tomcat
>
>
>
> we use the same cocoon instance to serve up to 10 web sites using sub
site
> map for each one on a PII 650 Linux server with 128MB ram (an upgrade is
> now in progress)
>
> the only problem we have is with warpConnection
> now we consider to leave warp solution for mod proxy
> to have apache at front
>
> i think that multiple cocoon instances will cause more load to our box
> than
> one with multiple sub-sitemaps
>
> --stavros
>
> On Tue, 17 Jun 2003, Boris Althaus wrote:
>
> > Hallo Cocoonlist,
> >
> > what would be the right approach to have different undependent cocoonsites?
> >
> > 1. To copy all cocoon-classes in every webapp or
> > 2. to copy the cocoon-classes into catalina_home/common/lib or
> >
> > Does have somebody experiences in this term.
> >
> > Thanks in advance
> > Boris Althaus
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org
Re: multiple cocoons in tomcat
Posted by Boris Althaus <bo...@petra-productions.de>.
Hello Stavros,
I thought about this solution too, it seemed not separated enough to me. Or is this no problem?
128 RAM is quite small. Do you have problems with MemoryOverflow or Sitemap is null exceptions?
----- Original Message -----
From: Stavros Kounis
To: cocoon-users@xml.apache.org
Sent: Tuesday, June 17, 2003 10:40 PM
Subject: Re: multiple cocoons in tomcat
we use the same cocoon instance to serve up to 10 web sites using sub site
map for each one on a PII 650 Linux server with 128MB ram (an upgrade is
now in progress)
the only problem we have is with warpConnection
now we consider to leave warp solution for mod proxy
to have apache at front
i think that multiple cocoon instances will cause more load to our box
than
one with multiple sub-sitemaps
--stavros
On Tue, 17 Jun 2003, Boris Althaus wrote:
> Hallo Cocoonlist,
>
> what would be the right approach to have different undependent cocoonsites?
>
> 1. To copy all cocoon-classes in every webapp or
> 2. to copy the cocoon-classes into catalina_home/common/lib or
>
> Does have somebody experiences in this term.
>
> Thanks in advance
> Boris Althaus
>
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org
Re: multiple cocoons in tomcat
Posted by Stavros Kounis <go...@osmosis.gr>.
On Mon, 23 Jun 2003, Boris Althaus wrote:
> but with mod_proxy you can avoid ports (:8080) in the url?
> Or do you use mod_rewrite too.
http://www.megabag.gr
or
http://athena.osmosis.gr:8080/cocoon/megabag.gr/
there is a configuration file for apache for each virtual hosted domain
with the entries:
ProxyPass / http://localhost:8080/cocoon/megabag.gr/
ProxyPassReverse / http://localhost:8080/cocoon/megabag.gr/
thats all
>
> Boris
> ----- Original Message -----
> From: Stavros Kounis
> To: cocoon-users@xml.apache.org
> Sent: Sunday, June 22, 2003 1:50 PM
> Subject: Re: multiple cocoons in tomcat
>
>
>
> On Tue, 17 Jun 2003, Mathias Wiegard wrote:
>
> >
> > >
> > > the only problem we have is with warpConnection
> > > now we consider to leave warp solution for mod proxy
> > > to have apache at front
> >
> > Yeah, warpConnection is really the best solution for this purpose...
> > Matze
>
> we use to have memory problems using warpConnection when the number of sub
> sitemaps grow up
>
> testing mod proxy i dont have see any of memory problems yet, so now i
> think that mod proxy is a better approach.
>
>
> stavros
>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> > For additional commands, e-mail: cocoon-users-help@xml.apache.org
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>
>
--
Stavros S. Kounis
Development & Research Department
Osmosis - networks & consulting services
web: http://www.osmosis.gr
email: info@osmosis.gr
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org
Re: multiple cocoons in tomcat
Posted by Boris Althaus <bo...@petra-productions.de>.
but with mod_proxy you can avoid ports (:8080) in the url?
Or do you use mod_rewrite too.
Boris
----- Original Message -----
From: Stavros Kounis
To: cocoon-users@xml.apache.org
Sent: Sunday, June 22, 2003 1:50 PM
Subject: Re: multiple cocoons in tomcat
On Tue, 17 Jun 2003, Mathias Wiegard wrote:
>
> >
> > the only problem we have is with warpConnection
> > now we consider to leave warp solution for mod proxy
> > to have apache at front
>
> Yeah, warpConnection is really the best solution for this purpose...
> Matze
we use to have memory problems using warpConnection when the number of sub
sitemaps grow up
testing mod proxy i dont have see any of memory problems yet, so now i
think that mod proxy is a better approach.
stavros
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org
Re: multiple cocoons in tomcat
Posted by Stavros Kounis <go...@osmosis.gr>.
On Tue, 17 Jun 2003, Mathias Wiegard wrote:
>
> >
> > the only problem we have is with warpConnection
> > now we consider to leave warp solution for mod proxy
> > to have apache at front
>
> Yeah, warpConnection is really the best solution for this purpose...
> Matze
we use to have memory problems using warpConnection when the number of sub
sitemaps grow up
testing mod proxy i dont have see any of memory problems yet, so now i
think that mod proxy is a better approach.
stavros
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org
Re: multiple cocoons in tomcat
Posted by Mathias Wiegard <Ma...@student.uni-ulm.de>.
>
> the only problem we have is with warpConnection
> now we consider to leave warp solution for mod proxy
> to have apache at front
Yeah, warpConnection is really the best solution for this purpose...
Matze
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org
Re: multiple cocoons in tomcat
Posted by Stavros Kounis <go...@osmosis.gr>.
we use the same cocoon instance to serve up to 10 web sites using sub site
map for each one on a PII 650 Linux server with 128MB ram (an upgrade is
now in progress)
the only problem we have is with warpConnection
now we consider to leave warp solution for mod proxy
to have apache at front
i think that multiple cocoon instances will cause more load to our box
than
one with multiple sub-sitemaps
--stavros
On Tue, 17 Jun 2003, Boris Althaus wrote:
> Hallo Cocoonlist,
>
> what would be the right approach to have different undependent cocoonsites?
>
> 1. To copy all cocoon-classes in every webapp or
> 2. to copy the cocoon-classes into catalina_home/common/lib or
>
> Does have somebody experiences in this term.
>
> Thanks in advance
> Boris Althaus
>
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org