I am running Tomcat 3.2.3. When my application starts, I instantiate a few objects. Now I explicitly change the system on my machine and the references of the objects I previously created are nullified i.e. they no longer point to the objects anymore and when I try to print them on the console, a 'null' is displayed.
I think there is a setting in the JVM or Tomcat which claims all object references after a certain period of time, but am not sure. Also, it doesn't look like the objects are being garbage collected on changing the dates, as I have placed debug messages in finalize() method, which are NOT displayed when the date is changed.
Can anyone please shed some light on what might be happening?