This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 232426 - Missing Xerces dependency in the EE modules
Summary: Missing Xerces dependency in the EE modules
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.3.1
Hardware: All All
: P2 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks: 228763
  Show dependency tree
 
Reported: 2013-07-09 09:20 UTC by Martin Fousek
Modified: 2013-07-24 02:37 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Fousek 2013-07-09 09:20:41 UTC
According to Svata information, these our modules don't declare dependency on the
Xerces library which actually use. Detailed information can be found in email I sent today but basically this dependency should be added or ideally this part of code rewritten to the JAXP:

dkonecny:
* j2ee.earproject - instantiates the SAXParserFactoryImpl class by name

phejl:
* j2ee.websphere6 - instantiates the SAXParserFactoryImpl class by name

mkuchtiak:
* websvc.registry changes System property for the entire IDE for the 
duration of its parsing, affecting other running threads (they will get 
xerces impl for xml parsing instead of the JDK). The whole algorithm 
should be changed so it does not produce such side effect.

Guys please could you resolve your case and reassign the issue then, thanks a lot!
Comment 1 Milan Kuchtiak 2013-07-09 11:38:05 UTC
Removed explicit dependency on Xerces from websvc.registry:
http://hg.netbeans.org/web-main/rev/d5fbfe032ac7
Comment 2 Milan Kuchtiak 2013-07-09 11:41:50 UTC
Removed also commented code:
http://hg.netbeans.org/web-main/rev/9cdb3d49c877
Comment 3 David Konecny 2013-07-10 00:32:20 UTC
> dkonecny:
> * j2ee.earproject - instantiates the SAXParserFactoryImpl class by name

fixed in 224f97ca63ba
Comment 4 Quality Engineering 2013-07-10 04:44:47 UTC
Integrated into 'main-silver', will be available in build *201307100049* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d5fbfe032ac7
User: Milan Kuchtiak <mkuchtiak@netbeans.org>
Log: #232426: Remove explicit dependency on Xerces parser
Comment 5 Petr Hejl 2013-07-10 09:25:11 UTC
web-main 8a8ed13cf9ae
Comment 6 Quality Engineering 2013-07-11 04:13:18 UTC
Integrated into 'main-silver', will be available in build *201307102300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/224f97ca63ba
User: David Konecny <dkonecny@netbeans.org>
Log: #232426 - Missing Xerces dependency in the EE modules
Comment 7 Quality Engineering 2013-07-12 02:32:27 UTC
Integrated into 'main-silver', will be available in build *201307112300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/8a8ed13cf9ae
User: Petr Hejl <phejl@netbeans.org>
Log: #232426 - Missing Xerces dependency in the EE modules
Comment 8 Quality Engineering 2013-07-24 02:37:42 UTC
Integrated into 'main-silver', will be available in build *201307232300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/53dd0c180445
User: David Konecny <dkonecny@netbeans.org>
Log: #232426 - one more explicit Xerces reference which was not removed