Thanks for your reply.
I tried it only with jaxb-api.jar, jaxb-libs.jar and jaxb-ri.jar in lib/ext.
But I got the same error regardless of it has endorsed folder or not under lib. Here is the full exception breakdown:
java.lang.ExceptionInInitializerError
at com.sun.msv.verifier.Verifier.startElement(Verifier.java:163)
at com.sun.msv.verifier.VerifierFilter.startElement(VerifierFilter.java:97)
at org.iso_relax.verifier.impl.ForkContentHandler.startElement(Unknown Source)
at com.sun.xml.bind.validator.ValidatingUnmarshaller.startElement(ValidatingUnmarshaller.java:104)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1488)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
at com.sun.xml.bind.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:130)
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:139)
at ubc.ems.framework.xmlmapper.XMLMap_JaxB.unmarshall(XMLMap_JaxB.java:74)
at ubc.regi.curriculummngt.BFCurricMngt.getJem(BFCurricMngt.java:485)
at ubc.regi.curriculummngt.BFCurricMngt.setPrereqCoreq(BFCurricMngt.java:579)
at ubc.regi.curriculummngt.BFCurricMngt.processCallback(BFCurricMngt.java:308)
at ubc.regi.curriculummngt.PNLCourseTree.treeNodeSelectionChanged(Unknown Source)
at ubc.regi.widgets.LiteTree.fireNodeSelectionChanged(Unknown Source)
at ubc.regi.widgets.LiteTree.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Component.java:4931)
at java.awt.Container.processEvent(Container.java:1566)
at java.awt.Component.dispatchEventImpl(Component.java:3639)
at java.awt.Container.dispatchEventImpl(Container.java:1623)
at java.awt.Component.dispatchEvent(Component.java:3480)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission DEBUG_SUN_MSV 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)
at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1291)
at java.lang.System.getProperty(System.java:572)
at com.sun.msv.driver.textui.Debug.<clinit>(Debug.java:14)
... 28 more
Note that I tried to read the xml file from the server by open an URL stream.
Jason
On Sun, 2 Mar 2003 22:52:17 -0500, Thomas John Kincaid <Tom.Kincaid_at_Sun.COM> wrote:
>Try it with out putting the jaxp.jar in lib/ext. JAXP is part of JRE
>1.4.x. Also don't set the endorsed dirs. You only need this if you are
>over riding a standard in the JRE such as DOM or SAX. The JAXB runtime
>should never be in the endorsed directory.
>
>Tom
>
>Jason Tang wrote:
>
>>Hi, My UI lied on an applet which was run within JRE 1.4.1_01 under window. It read the settings from an XML file which is then converted to objects by JAXB. In order to make it work, I copy the jars (jaxb-api.jar, jaxb-libs.jar, jaxb-ri.jar and jaxp.jar) to j2re1.4.1_01/lib/ext and put the endorsed folder to /lib. When I trys to run my applet, I got the following error. I got the JAXB running excellent with the same codes on my IDE, but not on applet. Any thoughts?
>>
>>java.lang.ExceptionInInitializerError
>> at com.sun.msv.verifier.Verifier.startElement(Verifier.java:163)
>> at com.sun.msv.verifier.VerifierFilter.startElement(VerifierFilter.java:97)
>> at org.iso_relax.verifier.impl.ForkContentHandler.startElement(Unknown Source)
>> at com.sun.xml.bind.validator.ValidatingUnmarshaller.startElement(ValidatingUnmarshaller.java:104)
>> at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1488)
>> at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
>> at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
>> at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
>> at com.sun.xml.bind.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:130)
>> at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:139)
>>
>>Thanks
>>Jason
>>
>>