#248 Error when calling the wiki from a network directory

open
nobody
None
5
2012-09-25
2012-09-25
Richard Wenzl
No

When the wiki is placed in a network directory which has both read and write permissions the exceptions below occur and the wiki cannot even be viewed.

Running it from a directory on a local hard disk works as expected.

After renaming the .html to a .hta file so that it is opened as a HTML application on Windows using mshta.exe the wiki works as expected. But this is only a workaround for Windows.

Windows 7 64bit SP1
Firefox 15.0.1
Internet Explorer 9.0.9
Java 1.7.0_07-b11

woas-0.12.0.min.html (Firefox)

error message:
WoaS Unhandled error
----
Save failure during integrity test
\\networkdrive\woas

debug console:
*** WoaS v0.12.0-r2239 started
Starting integrity test
NOTICE: exception while attempting to save:

Error: A script from "file://" was denied UniversalXPConnect privileges.
Failed reading file directly with Java: java.security.AccessControlException: access denied ("java.io.FilePermission" "\\networkdrive\woas\itest.bin" "write")

woas-0.12.0.min.html (Internet Explorer)

error message:
WoaS Unhandled error
----
Save failure during integrity test
\\networkdrive\woas

debug console:
*** WoaS v0.12.0-r2239 started
Starting integrity test
No JRE detected

The strange thing is that a missing JRE is reported although the verification of a working java installation using the following test is successful:
http://java.com/en/download/installed.jsp?detect=jre

Discussion