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


I'm trying to get load balancing up and running under Redhat 6.0 using the
Blackdown JVM 1.2-pre2, Apache 1.1.9 and JServ 1.1b3. Upon trying to hit
my servlet, I get the following message in the mod_jserv.log:

[25/11/1999 21:32:48:712] (EMERGENCY) balance:  virtual host not specified

followed immediatly by the error_log reports:

[Thu Nov 25 21:32:49 1999] [notice] child pid 24379 exit signal
Segmentation fault (11)

Has anyone ever seen this?

The relevant part of my http.conf file is:

ServerType standalone
ServerRoot "/usr/local/apache"
LockFile /var/tmp/httpd.lock
PidFile /etc/httpd.pid

[snip]

NameVirtualHost 10.0.0.196

<VirtualHost zone_mprudhom.techtrader.com>
        DocumentRoot "/usr/local/apache/htdocs/zone_mprudhom"
        ServerName zone_mprudhom.techtrader.com
        ErrorLog /var/log/httpd/mprudhom.error_log
        CustomLog /var/log/httpd/zone_mprudhom.access_log common
        ApJServMount /s balance://balance_set/zone_mprudhom.techtrader.com
</VirtualHost>
<IfModule mod_jserv.c>
ApJServManual off
ApJServLogLevel debug
ApJServBalance balance_set JServ1 2
ApJServBalance balance_set JServ2 4
ApJServHost JServ1 ajpv12://localhost:8007
ApJServHost JServ2 ajpv12://localhost:10002
ApJServRoute JS1 JServ1
ApJServRoute JS2 JServ2
ApJServShmFile logs/jserv_shm
ApJServVMTimeout 300
ApJServProperties ./conf/jserv.properties
ApJServLogFile /var/log/httpd/mod_jserv.log
ApJServDefaultProtocol ajpv12
ApJServDefaultHost localhost
ApJServDefaultPort 8007
ApJServSecretKey DISABLED
ApJServMountCopy off
ApJServAction .ttml /s/com.techtrader.presentation.core.PresEngine
<Location /jserv/>
  SetHandler jserv-status
  order allow,deny
  allow from all
</Location>
</IfModule>

Any ideas what is going on? The JVM is being started up successfully (I
can telnet to port 8007) -- it looks like maybe the jserv_balance.c module
is not able to parse the configuration.

Thanks in advance,

------------------------------------------------------
Marc Prud'hommeaux        | http://www.techtrader.com
Software Engineer         | [EMAIL PROTECTED]
TechTrader, Inc.          | phone: 202-872-8550




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

Reply via email to