JDK-4797383 : Regression: 4398496 reappears in 1.4.0_02 - Couldn't flush system prefs warning
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util
  • Affected Version: 1.4.1
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris_7
  • CPU: sparc
  • Submitted: 2002-12-23
  • Updated: 2008-11-05
  • Resolved: 2003-03-26
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.1_03 03Fixed
Related Reports
Relates :  
Relates :  
Description
Run the attached test, when finish, close window, the following message is thrown, and it continues, until you explicitly kill the process:

Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: 1.4.1_03 FIXED IN: 1.4.1_03 INTEGRATED IN: 1.4.1_03
14-06-2004

EVALUATION See comments.
11-06-2004

WORK AROUND There are several workarounds for this problem: 1)Create the standart system prefs directory <etc/.java/.systemPrefs> manually. 2)Specify an alternate system prefs directory where user has write permission, via the System Property java.util.prefs.systemRoot . 3)Reduce the frequency of the warnings with the System Property java.util.prefs.syncInterval(the sync interval in seconds, which defaults to 30).
11-06-2004