--

[EMAIL PROTECTED] wrote:

> --
>
> How do I configure a zone to run under a particular JVM version ?
> Thanx
> Mohan
>

You will need to create a shell script to start each of the two Apache JServ
instances.  In each script, the key command is something like:

    java org.apache.jserv.JServ

Just make sure that the environment in each script is set up to point to the Java
runtime environment you want that instance to run under (PATH, CLASSPATH, and so
on).

Note that this has nothing directly to do with zones -- you could just as easily
run multiple zones in one JVM.  The only reason for going through all of this is
that you needed two different JVM versions, which requires you to run two different
JVM instances -- since you cannot mix Java 1.1.x and Java 1.2.x in the same JVM.
So, what we are doing here is setting up two zones that run in different JVMs --
the fact that one is JDK 1.1 and one is JDK 1.2 is something that you know, but the
servlet engine doesn't, because it runs equally well under either.

See the installation documents, and the FAQ-O-MATIC, for more information about
configuring Apache JServ for manual startup.  There was also an article on
ServletCentral (http://www.servletcentral.com) about configuing Apache JServ that
you might find useful.

Craig McClanahan





--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to