Hi,
> 1) Which kind of Linux is used successfully with WO Deployment.
> Background: I recently
> did deploy WO on Debian Linux but could not find a means to get WO
> starting automatically
> on server start, which is a bad thing really. It also does not support to
> store variables
> like NEXT_ROOT on the system permanently.
>
I got it running under Gentoo with debian tools in startup scripts :
variables:
NEXT_ROOT="/..../webobjects-5.3.3"
WOTASKD_PIDFILE="/var/run/wotaskd.pid"
WOTASKD_USER="woappsrv"
WOTASKD_GROUP="apple"
WOTASKD_LOG="/var/log/wotaskd.log"
WOTASKD_OPT=" -WOPort 1085"
WOTASKD_DIR="Library/WebObjects/JavaApplications/wotaskd.woa"
WOTASKD_PLATFORM="UNIX"
WOTASKD_BIN="wotaskd"
WOTASKD_CMD="$NEXT_ROOT/$WOTASKD_DIR/$WOTASKD_BIN"
WOTASKD_ARG=" $WOTASKD_OPT >> $WOTASKD_LOG 2>&1 "
for starting:
export NEXT_ROOT=$NEXT_ROOT
exec start-stop-daemon --start --background --chuid
${WOTASKD_USER}:${WOTASKD_GROUP} --make-pidfile --pidfile
${WOTASKD_PIDFILE} --exec ${WOTASKD_CMD} --$WOTASKD_ARG
for stoping:
start-stop-daemon --stop --signal INT --quiet --pidfile ${WOTASKD_PIDFILE}
Under debian use update-rc.d to add the startup script in init.d to the
runlevels or do symlinks manualy un /etc/rc.d/...
> So those of you, who do have Linux Deployments running, on which flavour
> of Linux do they
> run?
>
first I will not chose any rpm based distrubition, rpm dependencies give
me headheach, realy boring, just losing time.
I will not chose a distribution where I can't have my hands everywhere,
have freedom and understand how it works.
So my first choice is Gentoo/Linux* due to customisability, up to date
packages, packages integration, init system... tools provided just helps.
Second choice would be Debian for apt-get, quality of pkg and total time
to have it run from scratch.
(*: Gentoo isn't only Linux centric)
> Any comments why (if not personal preference)?
>
> 2) I suppose running on Linux is the cheaper way to get an App up and
> running. Is that true or are there other upsides in behalve of Linux.
>
The main cost is the time, it depends on the OS tools (must work for you
and save your time) and on your knowledge of the OS.
It tooks me half an hour to a have a minimal debian running and
configured with a net install CD. And a bit less with one of my Gentoo
stage.
So chose a unix distribution ( linux darwin *bsd ...) thats meets your
needs and doesn't eat your time.
> 3) Do you have high traffic apps on LInux as well or would it be better to
> have a high
> traffic app running on Mac hardware?
As Quinton says it's the same hardware (x86 intel core duo/quatro), so
the only difference is the Kernel (and the JVM). I think context
switching performance and process scheduling with lots of apps running
is important, memory management too.
But most kernels scale well, so when having load, first I check how apps
works, what they do (sql...) then I tell the devs what's wrong and for
heavy apps I do load balancing on low cost x86 servers.
Aurelien Minet
--
------------------
Direction des systèmes d'information
Université Paris Descartes
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]