The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
September 2001



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


java.lang.RuntimePermission modifyThreadGroup

Posted by Eric Chang on September 12, 2001 at 10:39 AM

I was wondering if anyone had experienced this problem before. I am attempt to call a "helper" class method from a .jsp page. This helper class has a method that will conduct a transform of a XML string that is passed in with an XSL file that exists locally. However, I can create the Transformer and all the Streams fine, but when I call the transform method from the Transformer class, I get this error:
javax.xml.transform.TransformerException: access denied (java.lang.RuntimePerfmission modifyThreadGroup)

Anyone know a way around this? I tried creating my own SecurityManager, but apparently, the browser itself creates a SecurityManager, and I'm fairly inexperienced with .jsp and security in general.


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us