xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Neumann <neum...@karto.baug.ethz.ch>
Subject Re: Js Debugger start fails
Date Fri, 17 Oct 2003 23:17:45 GMT
Great - it works now!

Now I hope to get more of my examples running in Batik and the Corel Viewer. I
know I used some none-standard methods in my examples that ASV would accept but
others don't.

This debugger will help me a lot!

Thanks,
Andreas


Zitiere Thomas DeWeese <Thomas.DeWeese@Kodak.com>:

> Andreas Neumann wrote:
> 
> > Here is the output on my console:
> > --------------
> > java.lang.reflect.InvocationTargetException
> >         at
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> > [...]
> > Caused by: java.security.AccessControlException: access denied
> > (java.util.PropertyPermission user.home read)
> >         at
> >
> java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)
> >         at
> java.


security.AccessController.checkPermission(AccessController.java:401)
> >         at
> java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
> 
> > any idea on what could be wrong?
> 
>     The problem is the 'enforce secure scripting' option
> in the Preferences->browser Options->security settings pane.
> When this is on everything executing in the context of the
> JavaScript jar file runs in the 'sand box' this prevents
> reading almost all properties including getting your
> home directory (which it only wants for the open file
> dialog :).
> 
>     This should probably be granted somehow although it
> would in fact be tricky to do for now I suggest turning
> off secure scripting while debugging.  Sorry about this.
> 
> > I am using MacOSX 10.2.8 with "Java 1.4.1_01"
> > 
> > Am I missing something or should there be somethin in my CLASSPATH?
> > 
> > Thanks,
> > Andreas
> > 
> > --     
> > The only thing that stands between a man and what he wants from
> > life is often merely the will to try it and the faith to believe
> > that it is possible ...
> > -- M. DeVos
> >     
> > ----------------------------------------------     
> > Andreas Neumann - Department of Cartography     
> > Swiss Federal Institute of Technology (ETH)     
> > ETH Hoenggerberg, CH-8093  Zurich, Switzerland     
> > Phone: ++41-1-633 3031, Fax: ++41-1-633 1153     
> > e-mail: neumann@karto.baug.ethz.ch     
> > www: http://www.karto.ethz.ch/neumann/     
> > SVG.Open/Carto.net: http://www.svgopen.org/     
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> > For additional commands, e-mail: batik-users-help@xml.apache.org
> > 
> > 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
> 
> 



--     
The only thing that stands between a man and what he wants from
life is often merely the will to try it and the faith to believe
that it is possible ...
-- M. DeVos
    
----------------------------------------------     
Andreas Neumann - Department of Cartography     
Swiss Federal Institute of Technology (ETH)     
ETH Hoenggerberg, CH-8093  Zurich, Switzerland     
Phone: ++41-1-633 3031, Fax: ++41-1-633 1153     
e-mail: neumann@karto.baug.ethz.ch     
www: http://www.karto.ethz.ch/neumann/     
SVG.Open/Carto.net: http://www.svgopen.org/     

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Mime
View raw message