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

1) make sure you are killing the JVm when you restart
2) The class might exist somewhere else in your path


-rick
----------
>From: Javier Iglesias <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Can't manage reloading to work properly
>Date: Mon, May 1, 2000, 11:04 AM
>

> ----------------------------------------------------------------
> 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!!!
> ----------------------------------------------------------------
>
> Hello all !
>
> I wrote a servlet that works fine whatever happens :
>  - the servlet works fine. Great.
>  - if I recompile it, changes do not apply...
>  - if I remove the '.class' file from the web
>    server, it keeps on working fine...
>  - even if I restart jserv, it works fine...
>  - even if I restart apache, it works fine...
>  - even if I reboot the server, it works fine...
>
> This looks like the class is *NOT* reloaded. I read in the FAQs that the
> cacheing was done in memory. How can the cached class survive to
> rebooting ??!!?
>
> Well. Problem is that I would like to make some changes to the servlet,
> to recompile it... and SEE THE RESULTS of the changes !!
>
> Does someone have a suggestion, knowing that :
>  - I'm using Apache1.3.6, JServ1.1 on Linux 2.2.14
>  - servlet is not in the classpath (nor in 'wrapper.classpath'...
>    but I start jserv by hand anyway)
>  - It's not the generated page that is cached, because
>    servlet prints a different random number for each call.
> 
>
> This is driving me mad.
>
> Help.
>
>   --javier
>
>
> --
> --------------------------------------------------------------
> 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]


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