I have exactly the same problem as you.
And, I do not understand what your solution is.
I have tried the folowing tricks:
1.
My JAR archive (ftp.jar) contains two libraries:
- mine (com.xxx)
- edtftpj-1.5.3 (com.entreprise.dt.net, com.entreprise.dt.net.ftp, com.entreprise.dt.net, com.entreprise.dt.net.ftp.test, com.entreprise.dt.net.util.debug)
2.
My JAR archive only contains my librairy.
Here's my workspace root directory:
.
|-- class
| |-- com
| | `-- xxx ...
| `-- java.policy.applet
|-- ftp.jar
|-- index.html
|-- lib
| `-- edtftpj-1.5.3.jar
`-- src
`-- com
`-- xxx ...
The content of my HTML file is:
<html>
<body>
<applet archive="ftp.jar" code="com.xxx.MyApplet" width="150" height="20">
<param name="dossier" value="tt/" />
</applet>
</body>
</html>
And the error is:
Could not read property 'edtftp.log.level' due to security permissions
Could not read property 'edtftp.log.log4j' due to security permissions
java.security.AccessControlException: access denied (java.net.SocketPermission pixpoket.com resolve)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
at java.security.AccessController.checkPermission(AccessController.java:427)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.SecurityManager.checkConnect(SecurityManager.java:1031)
at java.net.InetAddress.getAllByName0(InetAddress.java:1117)
at java.net.InetAddress.getAllByName0(InetAddress.java:1098)
at java.net.InetAddress.getAllByName(InetAddress.java:1061)
at java.net.InetAddress.getByName(InetAddress.java:958)
at com.enterprisedt.net.ftp.FTPClient.setRemoteHost(FTPClient.java:842)
...
Is it important to specify the java.policy.applet file ?
Does anybody else have a solution?