From: Sebastian K. <seb...@mu...> - 2002-10-31 22:38:20
|
On Thursday 31 October 2002 00:30, Eric B.Ridge wrote: > On Wednesday, October 30, 2002, at 06:19 PM, Jian Liu wrote: > > I am a student in UTD. I am trying to use webmacro with j2ee. i just > > added the webmacro.jar and webmacro.properties files into the WAR > > components. But when I run=A0the servlet, it gave me such an error > > message: > > =A0 > > java.lang.ExceptionInInitializerError: > > java.security.AccessControlException: access denied > > (java.lang.RuntimePermission getClassLoader) > > at > > java.security.AccessControlContext.checkPermission(AccessControlConte= xt > > .java:272) The problem seems to be, that WebMacro is run under a restrictive securi= ty=20 manager, that forbids getClassLoader-calls. You'll have to add appropriat= e=20 permissions to the security configuration of your app-server. ciao Sebastian |