Article View: borland.public.jbuilder.java.api
Article #1498Re: javax.xml.parsers.DocumentBuilderFactory.newInstance().newDocumentBuilder() throws Exception
From: Hans Georg Frey
Date: Thu, 15 Nov 2001 09:00
Date: Thu, 15 Nov 2001 09:00
59 lines
3172 bytes
3172 bytes
Thanks for answering. I've changed the Manifest in my JAXB archive. Throwing awax th line "Sealed: true" makes my program run with Xerces again. But that can't be the way in future. Dan Tran schrieb: > There is an older jaxp.jar and parser.jar (1.0) in your path. Replace them > with your new version of jaxp > > -Dan > > "Hans Georg Frey" <HGFrey@t-online.de> wrote in message > news:3BF2BCE6.83883153@t-online.de... > > Hi, > > > > i get in the following code > > > > javax.xml.parsers.DocumentBuilderFactory dbf = > > javax.xml.parsers.DocumentBuilderFactory.newInstance(); > > javax.xml.parsers.DocumentBuilder db = > > dbf.newDocumentBuilder(); > > > > the Exception > > > > sealing violation > > java.lang.SecurityException: sealing violation > > at java.net.URLClassLoader.defineClass(URLClassLoader.java:234) > > at java.net.URLClassLoader.access$100(URLClassLoader.java:56) > > at java.net.URLClassLoader$1.run(URLClassLoader.java:195) > > at java.security.AccessController.doPrivileged(Native Method) > > at java.net.URLClassLoader.findClass(URLClassLoader.java:188) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:297) > > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:253) > > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) > > at > > > org.apache.xerces.jaxp.DocumentBuilderImpl.<init>(DocumentBuilderImpl.java:9 > 8) > > > > at > > > org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Documen > tBuilderFactoryImpl.java:87) > > > > at cosima.components.gateway.bluetooth.Main.main(Main.java:67) > > > > Does anybody know why? I only get this Message using JBuilder. > > using CommandPrompt and JDK1.3.1 everything works fine. > > > > I use Xerces in different Versions. With each of them I get the same > > result. I already have checked file Manifest and found no Sealed: true > > entry. > > > > Thanks > > Hans Georg > >
Technical Details
Message-ID:
<3BF3843E.A05DB1D@t-online.de>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mailReferences:
<3BF2BCE6.83883153@t-online.de> <3bf31c54$1_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,64fb43755a457b6f X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2001-11-15 01:01:03 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail From: Hans Georg Frey <HGFrey@t-online.de> Newsgroups: borland.public.jbuilder.java.api Subject: Re: javax.xml.parsers.DocumentBuilderFactory.newInstance().newDocumentBuilder() throws Exception Date: Thu, 15 Nov 2001 10:00:46 +0100 Organization: T-Online Lines: 60 Message-ID: <3BF3843E.A05DB1D@t-online.de> References: <3BF2BCE6.83883153@t-online.de> <3bf31c54$1_2@dnews> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.t-online.com 1005814756 06 15576 HjjvTYzbS9Avqo 011115 08:59:16 X-Complaints-To: abuse@t-online.com To: Dan Tran <danttran@hotmail.com> X-Sender: 320017950701-0001@t-dialin.net X-Mailer: Mozilla 4.75 [de] (Win98; U) X-Accept-Language: de