Jump to content
Changes to the Jaspersoft community edition download ×

HELP : Cannot print jasper report from applet


Recommended Posts

By: NHTAn - deeprot

HELP : Cannot print jasper report from applet

2006-02-15 02:17

I am trying to setup a web application with Tomcat. Everything is executing smoothly except one thing is that my web application cannot print a jasper report object from an applet!

Though my application does call up a jasper report to show on the screen succcessfully (using JWViewer), but when clicking the button for printing, the system throws an AccessControlException: "java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.awt.windows)"

I searched on this forum and on the Internet and found some solutions as in :

http://sourceforge.net/forum/message.php?msg_id=3520036

and in :

https://sourceforge.net/forum/message.php?msg_id=3393010

As the solutions, I've successfully signed the jar file containing the applet (which cause the system displays a confirmation pane when starting to execute the applet) and also modified the server policy file as indicated, but still it doesn't work. The system still throws an AccessControlException.

Does anybody have any ideas on how to get this applet to work? The following are my system concepts :

- server application : Tomcat

- server policy file : $CATALINA_HOME/conf/catalina.policy

- signing tool : keytool, jar, jarsigner (source : http://www-personal.umich.edu/~lsiden/tutorials/signed-applet/signed-applet.html)

- browser : IE 6.0

- jasper report version : 1.2.0

Thanks much for all your supporting.

Regards,

Thien An

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...