On Wed, 18 Jun 2003, Bertrand Delacretaz wrote:

> Le Mardi, 17 juin 2003, ΰ 20:07 Europe/Zurich, Ramsey, Alan a ιcrit :
>
> > ...We don't mind installing "some" software on the clients computers,
> > but we obviously want to minimize its complexity as much as possible.?
> > Installing a JVM is probably reasonable, and
> > since Cocoon seems pretty "tightly packaged" installing it doesn't
> > seem too extensive either...
>
> Actually you don't need to "install" anything (in the sense of messing
> with Registry settings under Windows for example) to run Cocoon, simply
> copying the directories that contain the JDK, Cocoon and the servlet
> engine to a hard disk will do, provided you setup the environment
> correctly and provided there is a writable temporary directory for work
> files.
>

maybe (i'm not sure i'll try) this approach will work

create a CDROM with JDK, and cocoon
in CDROM the startup script will set JAVA_HOME to point in cdrom's jdk dir
and then start cocoon as servlet

i have try something similar just copying (without any instalation
procedure) all this from a pc to another, set JAVA_HOME from command line
and run "cocoon serlvet" so why dont work from CDROM?

i think that this script can keep all ready JAVA_HOME value in a
JAVA_HOME_TEMP var and at the end restore the content of JAVA_HOME with
the default value (if its exist)

the only thing i dont know how to do is how the script can undestrand the
CDROM letter d: or e: etc


--- stavros


> There might be licensing problems with this approach though, you'd have
> to check about JDK and servlet engine redistribution rights.
>
> > ...So the question is: how do I best package Cocoon for the CD
> > deployed applications?...
>
> You could certainly run it directly from CD, started from a
> platform-specific wrapper that would
> -find a writable temporary directory
> -setup the environment
> -maybe check for available TCP/IP ports and manipulate configs
> accordingly
> -start Cocoon using the JDK that is found on the CD (assuming licensing
> is ok) and a lightweight servlet engine (Jetty for example) also found
> on the CD
> -launch a browser on the appropriate URL
>
> I'm pretty sure this works without having to install anything, or by
> just copying files to the user's hard disk if one wants to get rid of
> the CD
>
> --
>    Bertrand Delacretaz
>    independent consultant, Lausanne, Switzerland
>    http://cvs.apache.org/~bdelacretaz/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-- 
Stavros S. Kounis
Development & Research Department
Osmosis - networks & consulting services

web:    http://www.osmosis.gr
email:  [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to