----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
> > And how can i run a JVM with a spesific user(for example root) and bind some
> > zones to separate JVMs running with other users(which i give as parameter).
> > Thanks in advance.
>
> JServ by default starts one JVM automatically. You can
> start manually as many JVMs under separate users as you want,
> using something like:
>
> su -l user1 \
> -c "CLASSPATH=jsdk.jar:ApacheJServ.jar java org.apache.jserv.JServ
>jserv1.properties"
> su -l user2 \
> -c "CLASSPATH=jsdk.jar:ApacheJServ.jar java org.apache.jserv.JServ
>jserv2.properties"
>
> and in your jserv.conf mount these separate JVMs:
>
> ApJservMount /zone1 ajpv12://localhost:8008/zone1
> ApJservMount /zone2 ajpv12://localhost:8009/zone2
>
> Ports used by each JVM are specified in the jservN.properties files
> using
>
> jserv1.properties:
> port=8008
>
> jserv2.properties:
> port=8009
>
Martin,
Thanks for sharing this. I'm curious if you, or others, have some
thoughts on how reasonable this is, with respects to performance. Most of
the time the JVM remains idle, but it uses a bit of memory. Naturally
there are grave consequences to allowing any user the ability to affect
the whole engine for all users, but how feasible is it to do this for many
zones?
Duane
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]