----------------------------------------------------------------
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!!!
----------------------------------------------------------------

you will need to have a second jserv running. jserv must be started in
manual mode from the command prompt (like "java -cp blabla
org.apache.jserv.JServ /your/path/to/jserv.properties"). configure the
second jserv to be on another port (not 8007) than the first one. then
you'll have to tell apache to connect to this second jserv (in jserv.conf).
jserv.conf does not exist twice, but jserv.properties does. you cannot set
the classpath in jserv.properties in manual mode, it will be ignored. so
just write a little unix script with the command that will start jserv in
manual mode. i use nohup to ensure jserv runs in the background. ("nohup
java blabla &")

i know it sounds confusing, but it's really simlple from the time on you'll
get it working the first time

michael

---

in jserv.conf:
#the second jserv is mounted in /srv, it was run with port 8008 at localhost
ApJServMount /srv ajpv12://localhost:8008/root

in jserv.properties:
# Set the port Apache JServ listens to.
# Syntax: port=[1024,65535] (int)
# Default: 8007
port=8008
# List of servlet zones Apache JServ manages
# Syntax: zones=[servlet zone],[servlet zone]... (Comma separated list of
String)
# Default: NONE
zones=root
# Configuration file for each servlet zone (one per servlet zone)
# Syntax: [servlet zone name as on the zones list].properties=[full path to
configFile] (String)
# Default: NONE
# Note: if the file could not be opened, try using absolute paths.
root.properties=/your/path/to/zone.properties




-----Original Message-----
From: Michael Remme [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 05, 2000 9:51 AM
To: Java Apache Users
Subject: zones with different JServ


----------------------------------------------------------------
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!!!
----------------------------------------------------------------

Hi all,

using apache 1.3, with JServ 1.1.2 under Linux

in an apache i created 2 zones with different tasks. I want to reach, that
each zone is using its own JServ, each within its own jdk. After reading a
lot of stuff and trying a lot of things i don't get it. Do i have to use the
load-balancing or can i do it without?

Thank you in advance

Michael




========================================
Michael Remme
BrainT@GS GmbH
Neuhofstr. 48
D-41061 Mönchengladbach
Tel. 02161-243 136
Mobile: 0175-12 66 716



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives: 
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to