Changes in class file not reflected on server
Hi,
I am using Java 1.5 and Tomcat 4.1. I am using URL to read a file from the remote server. Now the problem is that when I make some change in my code and regenerate classfile and keep it on the server the changed version is not running. Rather the older version runs.
Plz tell me what could be the problem and solution too. Is is related to clearing of caches or something?
thanx in anticipation.
[424 byte] By [
Bool-a] at [2007-10-2 7:31:25]

> I am using Java 1.5 and Tomcat 4.1. I am using URL to
> read a file from the remote server. Now the problem
> is that when I make some change in my code and
> regenerate classfile and keep it on the server the
> changed version is not running. Rather the older
> version runs.
> Plz tell me what could be the problem and solution
> too. Is is related to clearing of caches or
> something?
You need to redeploy the application or set the context to reloadable. Refer to the Tomcat documentation for the latter.