I don't think so.
i think that the repositories properties for jserv is the mounting point of
a servlet zone

i think that you should add a new line 'wrapper.classpath=path/to/class' in
the file jserv.properties in the Execution Parameter area

a+
john

-----Message d'origine-----
De : A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]De la part de Kell
Sønnichsen
Envoyé : lundi 26 mars 2001 15:30
À : [EMAIL PROTECTED]
Objet : Re: NoClassDefFoundError


On Mon, 26 Mar 2001, Dr. Muhammad Masroor Ali wrote:

> Hi,
> I am getting a NoClassDefFoundError for one of my classes in the servlet
> side during runtime. This is strange because that particular class (and
> .java) file is in the very same directory of the servlet file using it.
> Could you please point me to some checklist and/or suggestion which
> helps me finding my error. I am using Apache along with JServ.
>
> This error does not occur when the same class file is used by a
> notservlet program.
>
It sounds as if you have a CLASSPATH problem. You should make sure that
all your classes are in the CLASSPATH for the servlet. This is done by
adding the place where the class(es) are placed in the zone.properties
file for the particular servlet zone.
The property to set is 'repositories', e.g.:
repositories=/path/to/your/class

Regards,
/Kell Sønnichsen
--
>>  Kell Soennichsen, UNI-C, Olof Palmes Alle 38, DK-8200 Aarhus N.  <<
>>  phone: +45 8937 6666 / +45 8937 6674, fax: +45 8937 6677         <<
>>  email: [EMAIL PROTECTED], http://www.uni-c.dk             <<
>>     The two most common elements in the universe are hydrogen     <<
>>     -- and stupidity.                       -- Harlan Ellison     <<

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html


______________________________________________________________________________
ifrance.com, l'email gratuit le plus complet de l'Internet !
vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
http://www.ifrance.com/_reloc/email.emailif

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to