You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Alejandro Raiczyk <al...@technisys.net> on 2002/09/16 20:49:41 UTC
Cocoon in multiple webapps
Hi people,
I have several webapps using cocoon under running in my tomcat, I want all
of them to use the same cocoon jars, so I don´t want to have the cocoon jars
in the WEB-INF/lib of each webapp.
I tried to put them under common/lib, but it didn´t work. Under lib it
didn´t work neither.
Does anybody knows how to configure this ?
I'm using tomcat 4.0.4 with Java 1.4.
Thanks in advance
Alejandro
Re: Cocoon in multiple webapps
Posted by Vadim Gritsenko <va...@verizon.net>.
Ryan Agler wrote:
>I wondered the same thing I was able to get this to work by putting
>all the cocoon jars in common/lib and, in each of my cocoon webapps,
>specifying the absolute path to each of those jars in the <param-value>
>section of <param-name>extra-classpath</param-name> in each web.xml
>file.
>
>Question for everyone else: does specifying the jars in
>"extra-classpath" give you the memory-saving benefit that comes with
>putting your jars in common/lib for use by multiple cocoon webapps??
>
extra-classpath is used only (IIRC) to build Javac classpath, so yes, it
should give you this memory saving benefit.
Vadim
>-----Original Message-----
>From: Alejandro Raiczyk [mailto:alejandror@technisys.net]
>Sent: Monday, September 16, 2002 12:50 PM
>To: 'cocoon-users@xml.apache.org'
>Subject: Cocoon in multiple webapps
>
>Hi people,
>I have several webapps using cocoon under running in my tomcat, I want
>all of them to use the same cocoon jars, so I don´t want to have the
>cocoon jars in the WEB-INF/lib of each webapp.
>I tried to put them under common/lib, but it didn´t work. Under lib it
>didn´t work neither.
>Does anybody knows how to configure this ?
>I'm using tomcat 4.0.4 with Java 1.4.
>Thanks in advance
>Alejandro
>
>
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: Cocoon in multiple webapps
Posted by Ryan Agler <ry...@hotmail.com>.
I wondered the same thing I was able to get this to work by putting
all the cocoon jars in common/lib and, in each of my cocoon webapps,
specifying the absolute path to each of those jars in the <param-value>
section of <param-name>extra-classpath</param-name> in each web.xml
file.
Question for everyone else: does specifying the jars in
"extra-classpath" give you the memory-saving benefit that comes with
putting your jars in common/lib for use by multiple cocoon webapps??
-----Original Message-----
From: Alejandro Raiczyk [mailto:alejandror@technisys.net]
Sent: Monday, September 16, 2002 12:50 PM
To: 'cocoon-users@xml.apache.org'
Subject: Cocoon in multiple webapps
Hi people,
I have several webapps using cocoon under running in my tomcat, I want
all of them to use the same cocoon jars, so I don´t want to have the
cocoon jars in the WEB-INF/lib of each webapp.
I tried to put them under common/lib, but it didn´t work. Under lib it
didn´t work neither.
Does anybody knows how to configure this ?
I'm using tomcat 4.0.4 with Java 1.4.
Thanks in advance
Alejandro
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>