H
Honglin Ye
Hi,
I need to feed a data file to a dataset in a web start application. The program runs fine on local.
In the jnlp,
(1) if set security element to j2ee-application-client-permissions,
I got "ava.security.AccessControlException: access denied (java.util.PropertyPermission user.dir read)"
(2) if set security element to all-permissions
I got "java.io.FileNotFoundException: C:\Documents and Settings\hye\Desktop\file:\C:\Program Files\Java Web
Start\.javaws\cache\http\Dbernoulli.aoc.nrao.edu\P80\DMe2e\DMcalib3\RMCalib3.jar!\calib3\src_parm_pos_datafile.txt (The filename, directory name, or volume label syntax is
incorrect)
It seems the class loader picked up an extra prefix "C:\Documents and Settings\hye\Desktop" for the file.
Any one know why? Thanks
Honglin Ye
I need to feed a data file to a dataset in a web start application. The program runs fine on local.
In the jnlp,
(1) if set security element to j2ee-application-client-permissions,
I got "ava.security.AccessControlException: access denied (java.util.PropertyPermission user.dir read)"
(2) if set security element to all-permissions
I got "java.io.FileNotFoundException: C:\Documents and Settings\hye\Desktop\file:\C:\Program Files\Java Web
Start\.javaws\cache\http\Dbernoulli.aoc.nrao.edu\P80\DMe2e\DMcalib3\RMCalib3.jar!\calib3\src_parm_pos_datafile.txt (The filename, directory name, or volume label syntax is
incorrect)
It seems the class loader picked up an extra prefix "C:\Documents and Settings\hye\Desktop" for the file.
Any one know why? Thanks
Honglin Ye