United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4933851 : Cannot deploy Java Web Start 1.4.2 in enterprise deployment

Details
Type:
Bug
Submit Date:
2003-10-07
Status:
Closed
Updated Date:
2004-04-28
Project Name:
JDK
Resolved Date:
2004-03-30
Component:
deploy
OS:
generic
Sub-Component:
webstart
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
1.4.2
Fixed Versions:
1.4.2_05 (05)

Related Reports

Sub Tasks

Description
In Java Web Start 1.2, javaws.cfg (the configuration file) was loaded from two locations.  One user-specific, and the other from the directory javaws was installed in.  In this way, and enterprise deployment of javaws (on a nfs mounted drive) can contain configuration entries (such as nfs mounted java versions) aplicable to everyone in the enterprise.

In Java Web Start 1.5, the enterprise config file (deployment.config) is looked for first in the platform specific $deployment.system.home directory, but if not there, it will be loaded from the lib directory of the jre.

In Java Web Start 1.4.2 the system configuration file (deployment.properties) is only loaded from platform specific $deployment.system.home directory.  If not found, none is used.  
It should also look in $JAVA_HOME/lib/javaws, to provide the same functionality available with earlier or later versions.

                                    

Comments
SUGGESTED FIX

modify ConfigProperties.getDeploymentSystemPropertiesFilePath() {

was:
    return home + File.separator + PROPERTIES_FILE;
make:
    String path = home + File.separator + PROPERTIES_FILE;
    if ((new File(path)).exists()) {
        return path;
    } else {
	return getApplicationHome() + File.separator + PROPERTIES_FILE;
    }
                                     
2004-08-31
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
1.4.2_05
generic

FIXED IN:
1.4.2_05

INTEGRATED IN:
1.4.2_05

VERIFIED IN:
1.4.2_05


                                     
2004-08-31
EVALUATION

This is trivial to fix (see suggested fix)
###@###.### 2003-11-04
                                     
2003-11-04



Hardware and Software, Engineered to Work Together