----------------------------------------------------------------
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!!!
----------------------------------------------------------------
on 7/11/2000 10:39 AM, "Mark Sealey" <[EMAIL PROTECTED]> wrote:
>> Since it's still down, please forgive me for posting this simple question here:
>>
>>Solaris 2.7
>>Apache 1.3.1
>>Jserv 1.1.2
>>Oracle 8.1.6
>>JDBC 1.1.1
>>standard JSDK
>> Which settings in which (conf and/or properties) file(s) allow me to automatically
>reload classes (into the Apache JVM)
>> so that I do not have to do a httpd - restart every time I change a java source
>file?
>that doesn't excuse you for not reading the old faq...
I'm sorry. Sure. I took a look and learnt that CLASSPATH should not be set anywhere
(especially in Unix environment variables or classpath.wrapper) except implicitly as a
repositories setting in zone.properties. I cannot get this combination to work.
I made sure $CLASSPATH (Unix) did not have the path to my servlets in it.
These are my settings:
in zone.properties
==============
repositories=/usr/local/apache2/servlets
in jserv.properties I have commented classpath out
========================================
#wrapper.classpath=/usr/local/apache2/servlets
but I get this error in mod_jserv.log when I try to call the bookForm.class
[11/07/2000 14:41:19:579] (INFO) wrapper classpath:
/usr/local/jserv/libexec/ApacheJServ.jar:/usr/local/JSDK2.0/lib/jsdk.jar:/apps/oracle/product/8.1.6/jdbc/lib/classes111.zip:/local/jdbc/lib/classes111.zip
[11/07/2000 14:41:19:580] (INFO) wrapper: Java VM spawned (PID=29113, PPID=29112)
[11/07/2000 14:41:23:786] (ERROR) ajp12: Servlet Error: ClassNotFoundException:
bookForm
If I put:
wrapper.classpath=/usr/local/apache2/servlets
back in jserv.properties, it works again but I have to restart Apache each time I
change the class.
Any ideas? TIA
--
best, Mark Sealey - Web Developer
The Getty, Los Angeles CA
(+1 310) 440 6526 www.getty.edu
--
--------------------------------------------------------------
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]