This method does not work when you change the classes often. So better give the
directory of the servlet in the repositories section in the zone.properties (or
other as you have) and include the classpaths used by the servlet in the
wrapper.classpath section of jserv.properties

The classes you include in the wrapper.classpath is read only once when you
start the apache server. Whereas the classes in the repositories are looked into
when there is call for that class.
Stephen

"Dr. Dragomir D. Dimitrijevic" wrote:

> Defin it as wrapper.classpath=... in jserv.properties.
>
> DD
>
> ----------
> From:   Jerzy Brzezicki[SMTP:[EMAIL PROTECTED]]
> Sent:   Monday, January 03, 2000 09:09 PM
> To:     [EMAIL PROTECTED]
> Subject:        simple question
>
> I am new to servlets, trying to write some simple one.
> What I need to do is to create a servlet that uses some classes that are not
> deployed with sevlet.
> When I create servlet and run it with servletrunner it works ok,
> but when I deploy it to my Apache servlet directory (on NT machine) than I
> am getting
>  java.lang.ClassNotFoundException exception inside the sevlet.
>
> How to tell Apache JServ where it should look for existing classes. I have
> their location
> set in my CLASSPATH, but obviously JServ does not know about it, or maybe
> this is
> another issue ?
>
> Thanks for help.
>
> Jerzy
>
> ___________________________________________________________________________
> 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
>
> ___________________________________________________________________________
> 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

--
Stephen Raj Arokiasamy
Member Technical Staff              E-mail : [EMAIL PROTECTED]
Oracle Technology Network(OTN)      Tel : 91 (80) 2256099
Oracle Software India Ltd.          V.Mail : 91 (80) 2251590
Embassy Point                       Extn : 443
150, Infantry Road                  Fax : 91 (80) 2256207, 2251591
Bangalore 560 001

begin:vcard
n:Arokiasamy;Stephen Raj
tel;work:2256099 Ext:443
x-mozilla-html:FALSE
org:Oracle Software India;<br><a href="http://technet.oracle.com"><IMG SRC="http://technet.oracle.com/images/page_titles/otn_logo_75x44_xp.gif"border="0"></a><br>
version:2.1
email;internet:[EMAIL PROTECTED]
title:Member Technical Staff
adr;quoted-printable:;;Embassy Point=0D=0A150, Infantry Road=0D=0A;Bangalore;Karnataka;560 001;India
fn:Stephen Raj Arokiasamy
end:vcard

Reply via email to