--


There is one/two similar questions before but it does not help.  

I am using the following platform
   Solaris 2.5.1,
   Apache Web Server 1.3.6,
   Apache JServ Final 1.0
   JSDK 2.0

   load-balancing using 2 JServs (same host as Web Server) 

I have one particular zone, 
   WATER 

I keeping getting "NoClassDefFoundError: cWater" when this class 
"cWater.class" was called.

**** jserv.log *****
[01/07/1999 11:18:45:263] (ERROR) ajp11: Servlet Error: 
NoClassDefFoundError: cWater


I have no problem calling this class with no load-balancing. 

Is there any things that I should take notes of for JServ with load-
balancing and without load-balancing ?

Any help is appreciate ? 

Thank you.

Regards,
Yoke 

I have attached the jserv.conf,  jserv.properties and 
WATER.properties as follows:



############## jserv.conf ################

#################################################
##############################
#                     Apache JServ Configuration 
File                         #
#################################################
##############################

LoadModule jserv_module libexec/mod_jserv.so

ApJServManual on
ApJServProperties 
/usr3/local/apache136/jconf/jserv.properties

ApJServLogFile 
/usr3/local/apache136/logs/jserv.log

ApJServDefaultProtocol ajpv11

ApJServDefaultHost tango

ApJServDefaultPort 8807

ApJServSecretKey DISABLED


ApJServMount /example           
balance://set1/example
ApJServMount /WATER/servlets    
balance://set1/WATER

ApJServBalance set1 PII450-1
ApJServBalance set1 PII450-2

# same pc, 2 JServs
ApJServHost  PII450-1   ajpv11://localhost:8807
ApJServHost  PII450-2   ajpv11://localhost:8808

ApJServRoute sun1 PII450-1
ApJServRoute sun2 PII450-2

ApJServMountCopy on


# Enable the Apache JServ status handler with 
the URL of 
# "http://servername/jserv/" (note the trailing 
slash!)
# Change the ".your_domain.com" to match your 
domain to enable.
<Location /jserv/>
  SetHandler jserv-status
  
  order deny,allow
  deny from all
  allow from all
</Location>

# allow from localhost 127.0.0.1






########## jserv.properties ############

###################################
# Apache JServ Configuration File #
###################################

# Execution parameters
#######################

wrapper.bin=/usr3/local/java/bin/java

wrapper.class=org.apache.jserv.JServ

wrapper.path=/database/app/oracle/product/8.0.5/b
in
wrapper.path=/database/app/oracle/product/8.0.5/l
ib
wrapper.path=/usr3/local/wClasses

wrapper.classpath=/usr3/local/jserv1.0/lib/Apache
JServ.jar
wrapper.classpath=/usr3/local/JSDK2.0/lib/jsdk.ja
r
wrapper.classpath=/database/app/oracle/product/8.
0.5/jdbc/lib/classes111.zip
wrapper.classpath=/usr3/local/java/lib/classes.zi
p
wrapper.classpath=/usr3/web/wClasses/jweb.jar
wrapper.classpath=/usr3/web/wClasses/activation.j
ar
wrapper.classpath=/usr3/web/wClasses/mail.jar

wrapper.env=LD_LIBRARY_PATH=/database/app/oracle/
product/8.0.5/lib:.
wrapper.env=ORACLE_HOME=/database/app/oracle/prod
uct/8.0.5

# Protocol used for signal handling
# Syntax: wrapper.protocol=[name]
# Default: ajpv11

# General parameters
######################

port=8807

# Servlet Zones parameters
###########################

zones=example,WATER

example.properties=/usr3/local/apache136/jconf/ex
ample.properties
WATER.properties=/usr3/local/apache136/jconf/WATE
R.properties

# Security parameters
#####################

#security.selfservlet=true
security.maxConnections=50
security.allowedAddresses=127.0.0.1,tango
security.authentication=false
#security.secretKey=
security.challengeSize=5

# Logging parameters
####################

log=false
log.file=jserv.log

# Enable the timestamp before the log message
# Syntax: log.timestamp=[true,false] (boolean)
# Default: true
log.timestamp=true
log.dateFormat=[dd/MM/yyyy HH:mm:ss:SSS zz] 
log.channel.servletLog=true
log.channel.init=true
log.channel.terminate=true
log.channel.serviceRequest=true
log.channel.authentication=true
log.channel.requestData=true
log.channel.responseHeaders=true
log.channel.signal=true
log.channel.exceptionTracing=true
log.channel.servletManager=true




############ WATER.properties #############

#################################################
##############################
#                        Servlet Zone 
Configuration File                      #
#################################################
##############################
# List of Repositories
#######################

repositories=/usr3/local/apache136/servlets/WATER
,/usr3/local/apache136/servlets/WATER/server

# Classloader parameters
#########################

autoreload.classes=true

autoreload.file=true

init.timeout=10000

destroy.timeout=10000

session.timeout=1800000

session.checkFrequency=30000

# SingleThreadModel Servlets parameters
########################################

singleThreadModelServlet.initialCapacity=5

singleThreadModelServlet.incrementCapacity=5

singleThreadModelServlet.maximumCapacity=10

################### S E R V L E T    P A R A M E 
T E R S ######################







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