Date: Fri, 29 Aug 2003 23:42:09 +0200 From: "Georg-W. Koltermann" <g.w.k@web.de> To: deischen@freebsd.org Cc: java@freebsd.org Subject: Re: Native jdk1.4.1 working Message-ID: <1062193328.1241.23.camel@hunter.muc.eu.mscsoftware.com> In-Reply-To: <Pine.GSO.4.10.10308281531530.4610-100000@pcnet5.pcnet.com> References: <Pine.GSO.4.10.10308281531530.4610-100000@pcnet5.pcnet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This may have been explained already and I missed it. In case it wasn't: You are using system preferences in the java.util.prefs API. System preferences by default are persisted somewhere in $JAVA_HOME. chown(1) $JAVA_HOME to your user, run the program once again and do a find(1) for the new file(s). You may then chown $JAVA_HOME back to bin and just leave the preferences directory writable by you (or world). I don't know what the proper fix is. The linux JDK 1.4.2 from ports has the same behavior. -- Regards, Georg. On Do, 2003-08-28 at 21:37, Daniel Eischen wrote: > So we've got this home-grown java application here at work > and I'm now running it under native jdk1.4.1 and it works. > Great job guys! > > A question, though. When the application first started > I get these messages: > > Aug 28, 2003 11:14:40 AM java.util.prefs.FileSystemPreferences$3 run > WARNING: Could not create system preferences directory. System preferences are unusable. > Aug 28, 2003 11:14:40 AM java.util.prefs.FileSystemPreferences$5 run > INFO: Created user preferences directory. > > After that, at every 30 second or so interval, I get: > > Aug 28, 2003 11:15:12 AM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode > WARNING: Could not lock System prefs.Unix error code 671660902. > Aug 28, 2003 11:15:12 AM java.util.prefs.FileSystemPreferences syncWorld > WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't get file lock. > Aug 28, 2003 11:15:42 AM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode > WARNING: Could not lock System prefs.Unix error code 671660902. > Aug 28, 2003 11:15:42 AM java.util.prefs.FileSystemPreferences syncWorld > WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't get file lock. > > Last 4 lines repeat every 30 seconds. > > What is it trying to tell me?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1062193328.1241.23.camel>