This discussion is archived
0 Replies Latest reply: Feb 1, 2011 12:58 PM by 835651 RSS

Apache Pivot 2.0 in APEX: class does not match trust level

835651 Newbie
Currently Being Moderated
Hi,
I'm trying to launch an Apache pivot 2.0 application from APEX using an applet.
When I export all my libraries into one jar, sign it, then it works in APEX.

But when I export my libraries into a folder, sign all of them,
I get the following exception in APEX:

...
p_fname=pivot-wtk-2.0.jar
java.lang.reflect.InvocationTargetException
at com.sun.deploy.util.DeployAWTUtil.invokeAndWait(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.runOnEDT(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.SecurityException: class "org.apache.pivot.collections.HashMap" does not match trust level of other classes in the same package
at com.sun.deploy.security.CPCallbackHandler$ChildElement.checkResource(Unknown Source)

Does anyone know what does that mean?

Thanks.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points