Hello,

When I'm running our application from Java WebStart, the exception is thrown
:
java.lang.Exception : Unknown language : text/ecmascript
  at org.apache.batik.bridge.Base
ScriptingEnvironment.dispatchSVGLoadEvent()...

This happens only if JSVGDocument.setDocumentState(ALWAYS_DYNAMIC). The
reason we're calling this method is not because we're using scripting, but
to enable an immediate update of the paint area, as Thomas pointed out.

I remember seeing few days ago the recommendation to add
<security>
  <all-permissions/>
</security>
to avoid some text/ecmascript-related problems. However, this requires an
application jar be signed.

Is there any other way to prevent the above exception from being thrown, as
we're not using scripts in the first place. Also, is there any way to
specify that even if we are in an ALWAYS_DYNAMIC state, we don't need
scripting support be loaded ?

On the performance issue : 256MB heap really made a difference, so we're a
quite happy now as far as the initial display time is concerned

Thanks
Sergey Beryozkin



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to