🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #1496

Re: javax.xml.parsers.DocumentBuilderFactory.newInstance().newDocumentBuilder() throws Exception

#1496
From: Dan Tran
Date: Thu, 15 Nov 2001 01:35
51 lines
2727 bytes
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: <3bf31c54$1_2@dnews>
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!t-online.de!news.dtag.de!RRZ.Uni-Koeln.DE!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!dnews
References: <3BF2BCE6.83883153@t-online.de>

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-14 17:38:36 PST
From: "Dan Tran" <danttran@hotmail.com>
Newsgroups: borland.public.jbuilder.java.api
References: <3BF2BCE6.83883153@t-online.de>
Subject: Re: javax.xml.parsers.DocumentBuilderFactory.newInstance().newDocumentBuilder()  throws Exception
Date: Wed, 14 Nov 2001 17:35:58 -0800
Lines: 53
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 65.113.98.34
Message-ID: <3bf31c54$1_2@dnews>
X-Trace: dnews 1005788244 65.113.98.34 (14 Nov 2001 17:37:24 -0800)
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!t-online.de!news.dtag.de!RRZ.Uni-Koeln.DE!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!dnews