The Artima Developer Community
Sponsored Link

Java Answers Forum
Effedct of changing system time on currently active applications

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
nisheet

Posts: 1
Nickname: nish
Registered: Aug, 2002

Effedct of changing system time on currently active applications Posted: Aug 5, 2002 2:56 PM
Reply to this message Reply
Advertisement
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?

thanx so much

Topic: Server Side Forward Object Previous Topic   Next Topic Topic: getRuntime().exec(cmdline) hangs subprocess

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use