You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Roman Dietrich <ro...@web.de> on 2004/01/19 00:15:49 UTC

Installation for Dummies

Hi,

I'm a bit stuck with the installation of Cocoon. I've tried
for more than 20 times with various versions of
"tomcat", "java-versions" and "cocoon(2.0/2.1)".
=> I have given up a bit.

Now I would just like to know if it is possible, to make
a really big tar-file with an actual version of cocoon and
a tomcat (if it is possible, even with a sun-java-version)
and put it on the cocoon-site so all the dummies like me
who get totally stuck can just download and unzip ...
and that's it.

I've Once Upon A Time managed to magically install
a version of it that runs smoothly but moving the
developed application to the destined server seems
not possible.

PS: It has become just a bit tricky with all the
different versions of components to get a working
combination together. Ok - not trivial after all.

Greetings from a desperate german student who has
obviously problems with the english language,

       Roman Dietrich

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Installation for Dummies

Posted by Lincoln <li...@linc.net.au>.
I have been trying to do the same thing for 3 days now and had a
breakthrough about 1hr ago.

All I did was download the Cocoon2.1.3 - unzipped it  - and followed the top
4 steps in  the "install.txt" file. Which are:

------------
1) Set your JAVA_HOME environment


You have to set your JAVA_HOME environment to point to the root directory of

the Java Virtual Machine (JDK 1.3.x or later) installed on your machine.

To do this simply type:


[unix] JAVA_HOME=/path/to/java/

[win32] SET JAVA_HOME=c:\path\to\java

your mileage may vary depending on your shell, but you know how to setup

environments, right?


2) Build Cocoon by typing "build" or "./build.sh"

3) Run Cocoon by typing "cocoon servlet" or "./cocoon.sh servlet"


4) Open http://localhost:8888/ with your browser

-------------


The install took about 19 mins.
To my surprise, I did not need Tomcat as the Cocoon install also installed
the Jetty servlet container.

NOTE: I am using JDK1.4.


I did not come across any info about Cocoon 2.1.3 being buddled with Jetty,
it maybe there somewhere but I never thought to look. Begginers really get a
tough time and often give up. Does anyone know where this is documented, or
have plans to document.


Linc



Lincoln Mitchell
hm: 618 9250 6772
mb: 0414 286 433
email: lincoln@linc.net.au
web: www.linc.net.au
----- Original Message -----
From: "Roman Dietrich" <ro...@web.de>
To: <us...@cocoon.apache.org>
Sent: Monday, January 19, 2004 7:15 AM
Subject: Installation for Dummies


> Hi,
>
> I'm a bit stuck with the installation of Cocoon. I've tried
> for more than 20 times with various versions of
> "tomcat", "java-versions" and "cocoon(2.0/2.1)".
> => I have given up a bit.
>
> Now I would just like to know if it is possible, to make
> a really big tar-file with an actual version of cocoon and
> a tomcat (if it is possible, even with a sun-java-version)
> and put it on the cocoon-site so all the dummies like me
> who get totally stuck can just download and unzip ...
> and that's it.
>
> I've Once Upon A Time managed to magically install
> a version of it that runs smoothly but moving the
> developed application to the destined server seems
> not possible.
>
> PS: It has become just a bit tricky with all the
> different versions of components to get a working
> combination together. Ok - not trivial after all.
>
> Greetings from a desperate german student who has
> obviously problems with the english language,
>
>        Roman Dietrich
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Installation for Dummies

Posted by Antonio Gallardo <ag...@agsoftware.dnsalias.com>.
Roman Dietrich dijo:
> Hi,
>
> I'm a bit stuck with the installation of Cocoon. I've tried
> for more than 20 times with various versions of
> "tomcat", "java-versions" and "cocoon(2.0/2.1)".
> => I have given up a bit.

Hi Roman:

I am using Jav Sun SDK 1.4.2_03, Tomcat 4.1.29 and Cocoon 2.1.4-dev (CVS).

But you can also use Cocoon 2.1.3 (download from the website).
>
> Now I would just like to know if it is possible, to make
> a really big tar-file with an actual version of cocoon and
> a tomcat (if it is possible, even with a sun-java-version)
> and put it on the cocoon-site so all the dummies like me
> who get totally stuck can just download and unzip ...
> and that's it.

This is not posible due some licence restrictions. Mainly on the
redistribution of the Java Sun SDK. Also because there could be
potentially many diferent builds that depends on what you want to use.
This is why Cocoon developers decided to not release a binary version of
cocoon.
>
> I've Once Upon A Time managed to magically install
> a version of it that runs smoothly but moving the
> developed application to the destined server seems
> not possible.

Try:

./build.sh war

The builded jar you can easily deploy on tomcat.


Best Regards,

Antonio Gallardo


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org