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

Config:
        RedHat6.0
        Apache1.3.9
        Blackdown JDK1.2.2RC3
        JServ1.1 started manually.
        

Hi,

Repositories seem to not be acting like classpaths.

when i try to run a servlet foo.bar.servlet in the /repository/path/ I 
get a ClassDefNotFoundErr.

sticking a jar in the repository seems to work fine and so does 
sticking a class file directly into the repostitory but as soon as it 
packaged it does not work.

When i then put the /repository/path/ in the jvm classpath it works 
fine.But of course does not reload.

If i use Jserv1.1b3 the classes reload even though they are in the 
classpath as well as the respository. Although I think only 
intermittently.

Any help/comments much appreciated

Michael

to launch jserv i use...
-------------------------------
java -cp $classpath org.apache.jserv.JServ $properties $param

where $classpath includes jsdk.jar ApacheJserv.jar 
$properties is the jserv.properties file
$param is "" for start "-r" for restart "-s" 


# Zone properties file for 'michael'
# Created on Sat Jan 15 01:43:10 2000
#
singleThreadModelServlet.incrementCapacity=2
session.checkFrequency=30000
singleThreadModelServlet.initialCapacity=2
repositories=/home/zones/michael/lib
init.timeout=10000
session.timeout=1800000
singleThreadModelServlet.maximumCapacity=5
session.useCookies=true
autoreload.classes=true
autoreload.file=true
destroy.timeout=10000

# Jserv properties file for 'michael'
# Created on Sat Jan 15 01:43:10 2000
#
log=true
log.channel.critical=true
bindaddress=192.168.1.2
log.channel.info=true
log.timestamp=true
log.queue.maxsize=1000
port=8020
security.authentication=false
wrapper.bin=/home/zones/jdk/bin/java
log.channel=true
log.channel.servletException=true
pool.controller=org.apache.java.recycle.DefaultController
security.allowedAddresses=127.0.0.1,192.168.1.4,192.168.1.11,19
2.168.1.15
log.channel.warning=true
michael.properties=/home/zones/michael/etc/zone.properties
zones=michael
security.maxConnections=10
log.file=/home/zones/michael/var/jserv.log
log.channel.jservException=true
wrapper.classpath=/home/zones/lib/core.jar:/home/zones/lib/Apach
eJServ.jar:/home/zones/lib/jsdk.jar
security.selfservlet=true
log.queue.maxage=5000
pool.capacity=10
pool=false
log.channel.servletLog=true
log.channel.debug=true


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