Hi Philip, I do not know the problem either, but as you said it is run inside restricted class access environment, so - Does it have contains any js, or external resources ? - Does it use any <use> element that refer to external doc ? - Does it use any dynamic element stuff ? - Could you test it using very simple svg, maybe just contains rectangle or line only ?
Regards Tonny Kohar -- Sketsa SVG Graphics Editor http://www.kiyut.com On Thu, 2006-04-20 at 05:58 -0400, [EMAIL PROTECTED] wrote: > Hi Philip, > > "Philip Feldman" <[EMAIL PROTECTED]> wrote on 04/19/2006 > 09:14:05 AM: > > > Here's the full trace: > > This lets me know a little more but I'm still baffled at the problem. > The only thing I can come up with is the fact that the runnable queue > tries to 'name' it's threads (line 112 in batik.util.RunnableQueue): > HaltingThread ht = new HaltingThread > (result, "RunnableQueue-" + threadCount++); > > This naming is optional you might try removing it (just pass 'result' > to the HaltingThread constructor). Otherwise I can't think what would > be a security problem in the thread constructor (too many threads?). > > > at java.lang.Thread.<init>(Unknown Source) > > at org.apache.batik.util.RunnableQueue.createRunnableQueue(Unknown > Source) > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, April 18, 2006 8:41 PM > > To: [email protected] > > Cc: [email protected] > > Subject: Re: GVTTreeBuilder security exception? > > > > Hi Phil, > > > > "Philip Feldman" <[EMAIL PROTECTED]> wrote on 04/18/2006 > > 05:09:37 PM: > > > > > I'm attempting to convert a working dynamic SVG app into an applet. It > > > > > runs in Eclipse with Restricted class acces, but when I try to run it > > > in IE and Firefox, it gets partially through the initialization and > > > throws the following exception: > > > > The snipped bit's might be useful, since I can't really tell what is > > causing the problem. AFAIK people have successfully run Batik in an > > Applet context... > > > > > java.security.AccessControlException: access denied > > > (java.lang.RuntimePermission modifyThreadGroup) > > > at java.security.AccessControlContext.checkPermission(Unknown > > > Source) > > > <snip> > > > at org.apache.batik.swing.svg.GVTTreeBuilder.run(Unknown Source) > > > > > > Any thoughts? > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
