Hi, I'm having a rather interesting problem.
I have an applet that uses org.apache.commons.net.ftp.FTPClient to get a list of files in a folder on an online directory.
When I run it on my local machine (contacting the external server), it works flawlessly. However, when I embedded the applet on the server in an html page and attempted to run the applet, I received the following exception:
Anyone have any thoughts? I find it extremely suspicious that it works while in my development environment (Springsource) but not on the server. Furthermore, all of the rest of my ftp calls (which do not use apache) work perfectly.java.security.AccessControlException: access denied (java.util.PropertyPermission org.apache.commons.net.ftp.systemType read)
at java.security.AccessControlContext.checkPermission (Unknown Source)
at java.security.AccessController.checkPermission(Unk nown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPropertyAccess(Unkn own Source)
at java.lang.System.getProperty(Unknown Source)
at org.apache.commons.net.ftp.FTPClient.initiateListP arsing(FTPClient.java:3055)
at org.apache.commons.net.ftp.FTPClient.listFiles(FTP Client.java:2731)
at org.apache.commons.net.ftp.FTPClient.listFiles(FTP Client.java:2778)
at airline.Connection.HttpCommunication.readCompanyNa meList(HttpCommunication.java:54)
at airline.UserApplet.AirlineGameApplet$1.run(Airline GameApplet.java:109)
at java.lang.Thread.run(Unknown Source)