Servlet classes are loaded from the directories/JAR files/ZIP files that
are listed as "repositories" in your zone repositories file.  Try adding
"/home/tommi/source/java to that configuration and restart Apache JServ.

Craig McClanahan


Tommi Penttilä wrote:

> Here's my predicament: JServ does not seem to pass wrapper.classpath
> values to JVM.
>
> I have a file:
> /home/tommi/source/java/com/hyperhouse/util/PropertiesCache.class
> which contains class PropertiesCache in package com.hyperhouse.util;
>
> In jserv.properties I have:  wrapper.classpath=/home/tommi/source/java
>
> Then I have a servlet, which has import clause:  import
> com.hypehouse.util.*;
> and instantiation: PropertiesCache propcache = new PropertiesCache()
> (also tested: com.hyperhouse.util.PropertiesCache = new
> com.hyperhouse.util.PropertiesCache())
>
> ...and kaboom:
> [05/05/1999 15:52:19:488] (ERROR) an error returned handling request via
> protocol "ajpv11"
> [05/05/1999 15:52:19:564] java.lang.NoClassDefFoundError:
> com/hyperhouse/tests/PropertiesCache
>
> http://localhost/jserv/engine/0/org.apache.jserv.JServ?status reports
> that all classpath settings from wrapper.classpaths are in effect.
>
> ServletRunner works just fine with CLASSPATH=/home/tommi/source/java
>
> What am I missing? Hopefully something ridiculously simple ;-)
> My setup: Linux 2.2.6, JServ 1.0b4, Apache 1.3.6, JDK 1.2a (Same result
> with JDK 1.17)
>
> Any help greatly appreciated (NT-users next door are laughing at my
> servlet-enthusiasm, not for long, I hope :-)
>
> Tommi Penttilä
> [EMAIL PROTECTED]
>
> ----------------------------------------------------------------
> 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]



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