When we try to open the document following error is thrown by the applet:
Caught exception while downloading file:
java.security.AccessControlException: access denied (java.net.SocketPermission : connect,resolve)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkConnect(Unknown Source)
at sun.net.
www.protocol.https.AbstractDelegateHttpsURLConnection.proxiedConnect(Unknown Source)
at sun.net.
www.protocol.http.HttpURLConnection.doTunneling(Unknown Source)
at sun.net.
www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.
www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
at sun.net.
www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
at com.imanage.workteam.filetransfer.Download.sendRequest(Download.java:163)
at com.imanage.workteam.filetransfer.Transfer.transferFilesImpl(Transfer.java:234)
at com.imanage.workteam.filetransfer.Transfer.run(Transfer.java:217)
at java.lang.Thread.run(Unknown Source)
liveconnect: Invoking method: public java.lang.String com.imanage.workteam.filetransfer.TransferClient.getJSCallBack()
liveconnect: Invoking method: public java.lang.String com.imanage.workteam.filetransfer.TransferClient.getJSCallBack()
liveconnect: Invoking method: public synchronized java.lang.String com.imanage.workteam.filetransfer.TransferClient.getError()
liveconnect: Invoking method: public synchronized java.lang.String com.imanage.workteam.filetransfer.TransferClient.getResponse()
This seems to happen when the browser is using proxy server for connection to the internet.
Issue is easily reproducible on JRE 1.5.0_x and I.E 6.0 on any test
environment by using proxy server to connect to the internet from browser.
Both JRE 1.5.0_x and I.E 6.0 are supported by B9. Functionality works with proxy on JRE 1.4.2_x
Therefore workarounds like – bypassing proxy, disabling applet are not acceptable. Even modifying the java.policy file for each client does not seem to be a feasible solution.
Any help on this will be surely appreciated.