JDK-4421552 : Jaws1.0.1-ea build 06 on JRE1.4.0-beta-build 54 on Solaris 8 64-bit seems DOA
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util
  • Affected Version: 1.0.1
  • Priority: P1
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_8
  • CPU: sparc
  • Submitted: 2001-03-05
  • Updated: 2001-04-25
  • Resolved: 2001-03-17
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.0 betaFixed
Related Reports
Relates :  
Description
After launching Jaws1.0.1-ea application manager and then checking for update of jaws i get following exceptions followed by GUI freeze and misbehaviour !

Mar 5, 2001 12:31:34 AM java.util.prefs.FileSystemPreferences$6 run
WARNING: Chmod failed on /tmp/.java/prefs Unix error code 1
Mar 5, 2001 12:31:34 AM java.util.prefs.FileSystemPreferences$7 run
WARNING: java.io.IOException: Permission denied
Mar 5, 2001 12:31:34 AM java.util.prefs.FileSystemPreferences$8 run
WARNING: java.io.IOException: Permission denied
java.lang.SecurityException: Could not lockUser prefs.Lock file access denied.
        at java.util.prefs.FileSystemPreferences.checkLockFile0ErrorCode(FileSystemPreferences.java:902)
        at java.util.prefs.FileSystemPreferences.lockFile(FileSystemPreferences.java:891)
        at java.util.prefs.FileSystemPreferences.sync(FileSystemPreferences.java:690)
        at java.util.prefs.FileSystemPreferences.flush(FileSystemPreferences.java:781)
        at java.util.prefs.FileSystemPreferences.syncWorld(FileSystemPreferences.java:448)
        at java.util.prefs.FileSystemPreferences.access$1200(FileSystemPreferences.java:35)
        at java.util.prefs.FileSystemPreferences$9.run(FileSystemPreferences.java:433)
        at java.util.TimerThread.mainLoop(Timer.java:435)
        at java.util.TimerThread.run(Timer.java:385)
java.lang.SecurityException: Could not lockUser prefs.Lock file access denied.
        at java.util.prefs.FileSystemPreferences.checkLockFile0ErrorCode(FileSystemPreferences.java:902)
        at java.util.prefs.FileSystemPreferences.lockFile(FileSystemPreferences.java:891)
        at java.util.prefs.FileSystemPreferences.sync(FileSystemPreferences.java:690)
        at java.util.prefs.FileSystemPreferences.flush(FileSystemPreferences.java:781)
        at java.util.prefs.FileSystemPreferences.syncWorld(FileSystemPreferences.java:448)
        at java.util.prefs.FileSystemPreferences.access$1200(FileSystemPreferences.java:35)
        at java.util.prefs.FileSystemPreferences$10.run(FileSystemPreferences.java:441)




Again after launching the remote application the gui freezes badly and get same set of exceptions 
i think jaws is trying to read a user prefernce role but unable to do so 
OR there could be a problem in Merlin1.4.0-beta-build 54 also !!

Updating the bug after getting mails from conerned Engineers

> >Hi Andy/Scott,
> >
> >
> >This is to inform again the platform specific and JRE related info
> >
> >JRE 1.4.0-beta-build-54


> Andy,
> 
> My Configuration is Solaris Sparc 8  ,
> JaWS 1.0.1 - build 07 
> JDk1.4.0-beta -build 54
> 
> I am testing this on Solaris Sparc only so did not check for WinNT
> 
> 
> Thanks,

Thanks Viney;
         I'm installing 1.4 b54 now - I'll let you know what I see.

Andy Herrick
Sun Microsystems
Java Web Start Engineering
> >JaWS1.0.1-ea-build-07
> >Solaris Sparc 8 , 64 bit
> >
> >
> >
> >Thanks,
> >Viney
> >


This bug is repeating on following configuration after being verified by me :-
JRE 1.4.0 - b58 mixed mode
JaWS1.0.1-build 09
Solaris Sparc 8

Following are the exceptions:-
javasoft4:/home/vv121044/jaws 101 % javaws/javaws
javasoft4:/home/vv121044/jaws 102 % Apr 2, 2001 12:59:34 PM java.util.prefs.FileSystemPreferences$7 run
WARNING: java.io.IOException: Permission denied


These are the steps to reproduce:-
1.Install JRE1.4.0 build 58 in your root (i installed it in /downloads which is one of the partitions on my machine)
2.java -version gives ouput:-java version "1.4.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b58)
Java HotSpot(TM) Client VM (build 1.4.0-beta-b58, mixed mode)
3.Either install a fresh javaws or change javaws.cfg to point to JRE1.4.0-b58
4.Launch Jaws it launches with following exception on terminal window
javasoft4:/home/vv121044/jaws 101 % javaws/javaws
javasoft4:/home/vv121044/jaws 102 % Apr 2, 2001 12:59:34 PM java.util.prefs.FileSystemPreferences$7 run
WARNING: java.io.IOException: Permission denied

P.S:- This time closing jaws did not log-off Xsession instead the prompt did not return to normal so Ctrl + C got the prompt back , also there was no running java thread .
See here:-
javasoft4:/home/vv121044/jaws 105 % javaws
javasoft4:/home/vv121044/jaws 106 % Apr 2, 2001 2:32:59 PM java.util.prefs.FileSystemPreferences$7 run
WARNING: java.io.IOException: Permission denied
^C
javasoft4:/home/vv121044/jaws 106 % 



Could not reproduce the samae problem on other machine .
Installed jdk and javaws on other solaris sparc machine viz. xanadu and tested
bug , The bug did not reproduce . This time installation (both jdk and javaws) was done in home directory viz. /home/ra122198/ and the bug did not reproduce.

While filing the bug for first time also i could not reproduce this on this xanadu's machine whereas on other machine javasoft27 this bug was being reproduced ! Could not analyse the reason of inconsistency of reproducibility of this bug !!

if possible do advise me how to eliminate this problem from my machine since i have uninstalled all the version of jdks from my machine and install again to retest this bug . Same query has been raised earlier to andy herrick .



viney.verma@India 2001-03-14
viney.verma@India 2001-04-02
viney.verma@India 2001-04-02

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: merlin-beta FIXED IN: merlin-beta INTEGRATED IN: merlin-beta VERIFIED IN: merlin-beta
14-06-2004

SUGGESTED FIX I think some problem is in reading user preference Lock file OR the problem is with JDK1.4.0-build 54 , since in earlier versions of jaws also using merlin as JRE used to hang the systems while using JRE1.3.0 had no problems
11-06-2004

PUBLIC COMMENTS This problem was due to insufficient permissions on preferences lock directory, which was in /tmp/java/. Now we moved the lock files to corresponding system and user roots so this problem should dissapear. konstantin.kladko@Eng 2001-03-14
14-03-2001

EVALUATION stack trace shown is entirely in java - no javaws involved. problem only occurs on java merlin b54. - not a java web start problem - merlin bug andy.herrick@East 2001-03-12 This problem is due to unsufficient permissions on /tmp/.java/prefs directory. As we are going to move user lock files from /tmp to userRoot directory, this problem should be removed. konstantin.kladko@Eng 2001-03-12
12-03-2001