You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Aleksey Globets <al...@ukrpost.net> on 2001/06/11 07:51:14 UTC
[C2] Newbie question again
Ok,
I will try to ask in another way. If I plan to create two contexts in Tomcat
pointed to different directories and to use Cocoon within it. So how I can
use it?
Do I need to copy and rename /cocoon directory or something else?
Best,
Aleksey Globets
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: [C2] Newbie question again
Posted by Drasko Kokic <dr...@yahoo.com>.
--- Giacomo Pati <gi...@apache.org> wrote:
> Quoting Aleksey Globets <al...@ukrpost.net>:
>
> > Ok,
> >
> > I will try to ask in another way. If I plan to
> create two contexts in
> > Tomcat
> > pointed to different directories and to use Cocoon
> within it. So how I
> > can
> > use it?
> > Do I need to copy and rename /cocoon directory or
> something else?
>
> Yes.
>
> Giacomo
>
But, I hope, it is still possible to move all the jar
files into the central lib directory and reduce the
disk space needed ... right?!
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: [C2] Newbie question again
Posted by Giacomo Pati <gi...@apache.org>.
Quoting Aleksey Globets <al...@ukrpost.net>:
> Ok,
>
> I will try to ask in another way. If I plan to create two contexts in
> Tomcat
> pointed to different directories and to use Cocoon within it. So how I
> can
> use it?
> Do I need to copy and rename /cocoon directory or something else?
Yes.
Giacomo
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: [C2] Newbie question again
Posted by Petteri Sulonen <pe...@seittipaja.fi>.
On Monday, June 11, 2001, at 08:51 AM, Aleksey Globets wrote:
> Ok,
>
> I will try to ask in another way. If I plan to create two contexts in
> Tomcat
> pointed to different directories and to use Cocoon within it. So how I
> can
> use it?
> Do I need to copy and rename /cocoon directory or something else?
Nope. You just add the context to the server.xml file, like this:
<Context path="/foo"
docBase="/path/to/foo"
debug="0"
reloadable="true">
</Context>
Then you need to copy the WEB-INF directory (with cocoon.properties and
web.xml) to the /path/to/foo directory. As long as the Cocoon jars are
in Tomcat's classpath, it'll work. Restart Tomcat, and you're in
business.
-- Petteri
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>