Jump to content
We've recently updated our Privacy Statement, available here ×

java.security.AccessControlException Problem


Recommended Posts

By: legion - cajinadiaz

java.security.AccessControlException Problem

2006-03-20 15:27

Hi..

I try to run the webapp sample included in jasperreports-1.2.0-project . When the applet application try to run .. appears a mesaage:

java.security.AccessControllException : access denied (java.io.FilePermissions c:/Mis... read)

 

I try to solve it signig the jasper and thougth the java.policy file... but it's dont work..

 

Please tell the steps for running a jasperreport on applet..

 

Thanks..

Link to comment
Share on other sites

  • 2 months later...
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

  • 10 months later...

to run the printing applet sample , we have to sign the applet.first compile all PrinterApplet.java and all other releated files inside applets folder and then add all those class files to jasperreports-1.2.7-applet.jar using this command

 

jar uf jasperreports-1.2.7-applet.jar *.class

 

and then we have to sign the applet.how to sign applet is give in the following two links.

 

http://java.sun.com/developer/technicalArticles/Security/Signed/

 

http://sharko23.wordpress.com/2007/04/10/jasper-report-and-applet-local-printing/

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...