JDK-4933851 : Cannot deploy Java Web Start 1.4.2 in enterprise deployment
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 1.4.2
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2003-10-07
  • Updated: 2004-04-28
  • Resolved: 2004-03-30
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.
1.4.2_05 05Fixed
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.

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

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; }

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