Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

System level deployment.properties file not available

843802Dec 7 2004 — edited Jan 23 2005
I am attempting to set up a system deployment.properties file to enable system level caching for a java web start application I already have sucessfully running with user level caching.

I have created a deployment.config file with the following entries

deployment.system.config=c\:\\temp\\deployment.properties
deployment.system.config.mandatory="true"

I have created a deployment.properties file in c:\temp with the following entry
deployment.system.cachedir=c\:\\Documents and Settings\\All Users\\Application Data\\cache"


I run the following from the command line
c:\Program Files\java\jdk1.5.0\bin\javaws -system <my-jnlp-file>

java web start starts and I get the following error in Java Web Start

An error occurred while launching/running the application.

Category: Launch File Error

You can not run this program because your system deployment.config file states that an enterprise configuration file is mandatory, and the required: c:\temp\deployment.properties is not available.

It seems like the deployment.properties file is not being found - I tried to put in on the server but I had the same result.
If I set the mandatory property to "false" then the user cached version starts up ok.

Any help with this much appreciated
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 20 2005
Added on Dec 7 2004
3 comments
1,804 views