6.170 Forum
August 16, 2006, 04:48:25 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Welcome to the 6.170 Forum.
Home
Help
Search
Login
Register
6.170 Forum
>
Java Questions
>
Java in General
>
JAWS & JAXB Problem
Pages: [
1
]
« previous
next »
Print
Author
Topic: JAWS & JAXB Problem (Read 130 times)
chubixqube
Newbie
Posts: 3
JAWS & JAXB Problem
«
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
Re: JAWS & JAXB Problem
«
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
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> General Discussion
=> Lectures and Recitations
-----------------------------
Java Questions
-----------------------------
=> Java in General
=> Eclipse
=> emacs
=> Java Generics
-----------------------------
Final Projects
-----------------------------
=> General Discussion
=> Team Building
=> Antichess
=> Gizmoball
-----------------------------
Problem Sets
-----------------------------
=> Problem Set 0
=> Problem Set 1
=> Problem Set 2
=> Problem Set 3
=> Problem Set 4
=> Problem Set 5
=> Problem Set 6