You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by fr...@virgilio.it on 2001/06/07 22:58:03 UTC

C2: it works w/ Tomcat 4

Hi,
I've successfully installed C2 on my Linux
box (Red Hat 6.2) with Tomcat 4.0 m5.

Steps needed:

mkdir /opt/cocoon2
cp Cocoon-2.0b1.tar.gz /opt/cocoon2
cd /opt/cocoon2
tar xzvf Cocoon-2.01.tar.gz
chmod 755 ./build.sh
cp ant_1_3-optional.jar $ANT_HOME/lib
./build.sh -Dinclude.webapp.libs=yes webapp
BUILD SUCCESSFULL
cp ./build/cocoon/cocoon.war $TOMCAT_HOME/webapps/
$TOMCAT_HOME/bin/catalina.sh start
lynx http://localhost:8080/cocoon returns 404 error
$TOMCAT_HOME/bin/catalina.sh stop
cd $TOMCAT_HOME/webapps/ROOT
ln -s ../cocoon ./cocoon 
$TOMCAT_HOME/bin/catalina.sh start
lynx http://localhost:8080/cocoon returns \
Cocoon's directory files. I think this is ok.

Only a doubt: not all .xml and .xsl files are
visible on browser (I tried with lynx and Netscape
4.72)...perhaps my setup lacks XSP support?

With many Regards, ciao
Francesco


Francesco Casalena
L.U.G. "Il Pinguino"
----------------------------------------------
Virgilio Mail - Il tuo indirizzo E-mail gratis
http://mail.virgilio.it


---------------------------------------------------------------------
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: it works w/ Tomcat 4

Posted by Drasko Kokic <dr...@yahoo.com>.
I think you got it slightly wrong ... you need to
check for cocoon/ URI (extra slash at the end!)


--- francesco.casalena@virgilio.it wrote:
> Hi,
> I've successfully installed C2 on my Linux
> box (Red Hat 6.2) with Tomcat 4.0 m5.
> 
> Steps needed:
> 
> mkdir /opt/cocoon2
> cp Cocoon-2.0b1.tar.gz /opt/cocoon2
> cd /opt/cocoon2
> tar xzvf Cocoon-2.01.tar.gz
> chmod 755 ./build.sh
> cp ant_1_3-optional.jar $ANT_HOME/lib
> ./build.sh -Dinclude.webapp.libs=yes webapp
> BUILD SUCCESSFULL
> cp ./build/cocoon/cocoon.war $TOMCAT_HOME/webapps/
> $TOMCAT_HOME/bin/catalina.sh start
> lynx http://localhost:8080/cocoon returns 404 error
> $TOMCAT_HOME/bin/catalina.sh stop
> cd $TOMCAT_HOME/webapps/ROOT
> ln -s ../cocoon ./cocoon 
> $TOMCAT_HOME/bin/catalina.sh start
> lynx http://localhost:8080/cocoon returns \
> Cocoon's directory files. I think this is ok.
> 
> Only a doubt: not all .xml and .xsl files are
> visible on browser (I tried with lynx and Netscape
> 4.72)...perhaps my setup lacks XSP support?
> 
> With many Regards, ciao
> Francesco
> 
> 
> Francesco Casalena
> L.U.G. "Il Pinguino"
> ----------------------------------------------
> Virgilio Mail - Il tuo indirizzo E-mail gratis
> http://mail.virgilio.it
> 
> 
>
---------------------------------------------------------------------
> 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>
> 


__________________________________________________
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>