6.170 Forum
August 16, 2006, 04:48:25 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to the 6.170 Forum.
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: JAWS & JAXB Problem  (Read 130 times)
chubixqube
Newbie
*
Posts: 3


View Profile Email
« on: May 15, 2006, 10:00:36 AM »

Did anyone else use JAXB?

We get the following error when we try to run Webstart:

Exception in thread "AWT-EventQueue-0" java.security.AccessControlException: access denied (java.util.PropertyPermission javax.xml.bind.JAXBContext read)
   at java.security.AccessControlContext.checkPermission(Unknown Source)
   at java.security.AccessController.checkPermission(Unknown Source)
   at java.lang.SecurityManager.checkPermission(Unknown Source)
   at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
   at java.lang.System.getProperty(Unknown Source)
   at javax.xml.bind.ContextFinder.find(ContextFinder.java:269)
   at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:358)
   at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:323)
   at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:244)

It seems that JAWS has some issues with JAXB.  Any ideas why?  Is this because we didn't sign?

Thanks!

Jon
Logged
C. Scott Ananian (TA)
Administrator
Sr. Member
*****
Posts: 126


View Profile WWW Email
« Reply #1 on: May 15, 2006, 10:41:45 AM »

The exception trace is very clear: access was denied to a Property that JAXBContext was trying to read.  You can either add a '<security>' section in your JAWS file which asks for this permission, or else sign your applet and give it all permissions.

There seems to be some discussion of this at google "jnlp jaxb site:sun.com".
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Valid XHTML 1.0! Valid CSS!