Dependency-clutter causing out-dated DocumentBuilderFactory to be selected

I am maintaining a pretty large application that uses little XML but a lot of external dependencies. Just using the Preferences API causes the following exception:
Exception in thread "Thread-5" java.lang.AbstractMethodError: org.apache.xerces.dom.DocumentImpl.getXmlStandalone()Z
     at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.setDocumentInfo(DOM2TO.java:373)
     at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:127)
     at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:94)
     at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:662)
     at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:708)
     at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:313)
     at java.util.prefs.XmlSupport.writeDoc(XmlSupport.java:259)
     at java.util.prefs.XmlSupport.exportMap(XmlSupport.java:338)
     at java.util.prefs.FileSystemPreferences$8.run(FileSystemPreferences.java:607)
        ...which is caused by an out-dated xerces implementation on the class path. As I am running under Java 6, I tried to remove as much external XML and xerces as I could find, but that did not yield a working solution.
One thing that did work was forcing the DocumentBuilderFactory using a start up property like this:
javax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl. But I prefer to clean up my dependencies... If I only knew how to do so efficiently.
Here's where I require your help:
- I have a lot (25) of dependencies
- they are controlled by maven 1.x
- hibernate, jasper reports and spring are among them, quite ancient versions
- as they use XML for configuration, they are my prime suspects
- for the grand scheme of things I fear just replacing them with the latest and greatest
- have you got a suggestion how to identify which dependecies include their own XML handler?
- how do I then identify what brand/version, i.e. xerces and too-old it is?
- any other tip to overcome this "clash"

Those two I took out right away. So now I am afraid that the other jar carry them along internally...
Here's what is on my class path:
lib/javamail-1.4.jar
lib/jasperreports-1.3.1.jar
lib/itext-1.4.5.jar
lib/commons-lang-2.5.jar
lib/commons-digester-1.7.jar
lib/commons-discovery-0.2.jar
lib/commons-beanutils-1.6.1.jar
lib/axis-1.3.jar
lib/axis-jaxrpc-1.3.jar
lib/axis-wsdl4j-1.3.jar
lib/axis-saaj-1.3.jar
lib/jaxen-1.1.1.jar
lib/swingx-0.9.4.jar
lib/velocity-1.6.4.jar
lib/beandt-6.7.25.0.jar
lib/dx-6.7.25.0.jar
lib/dbswing-10.0.19.0.jar
lib/jbcl-10.0.19.0.jar
lib/fits-0.97.jar
lib/image-0.97.jar
lib/util-0.97a.jar
lib/skyview-2.5.jar
lib/looks-1.3.1.jar
lib/skinlf-1.2.11.jar
lib/jlfgr-1_0.jar
lib/javatar-2.5.jar
lib/easymock-2.5.2.jar
lib/junit-3.8.1.jar
lib/ojdbc14-10.2.0.1.0.jar
lib/commons-logging-1.1.jar
lib/log4j-1.2.16.jar
lib/jaf-1.1ea.jar
lib/commons-collections-3.1.jar
lib/hibernate-2.1.8-ComponentType.jar
lib/odmg-3.0.jar
lib/dom4j-1.4.jar
lib/cglib-full-2.0.2.jar
lib/jta-1.0.1b.jar
lib/jdom-1.0.jar
lib/ehcache-1.1.jar
lib/spring-1.1.5.jar
lib/javacsv-2.0.jar
lib/jsch-0.1.41.jarBTW, we're still on maven 1. Is there an easy way to make that list all your dependencies quickly? Google finds mvn dependencies:xxx easily but nothing for maven 1 so far..

Similar Messages

  • Obsolete / Out dated Transaction Codes list in SAP HR / HCM Module

    Hi Experts,
    Please let me know the Obsolete / Out dated Transaction Codes list in SAP HR / HCM Module.
    Thanks in advance.
    Samanvita.

    Hi
    Thanks for your reply. I know the concept of Obsolete Positions.
    what I want is the list of Transaction Codes which are out dated / Obsolete due to release of new versions by SAP.
    Any Transaction Codes are out dated in SAP HR Module, or SAP came up with new Transaction Codes with (same + extra functionality), so that we can use the new Transaction Codes. 
    Example: SE16, SE16N
    Please let me know those Transaction Codes.
    Regards
    Samanvita

  • In the grand sceme of things, how out dated is a Audigy 2 zs gamer editi

    I was out at a garage sale today and found a Audigy 2 zs gamer card and picked it up for 3 bucks. I really haven't updated a computer for gaming in probably 5 years or so and wanted to know how old or out dated this card was. I realise the x-fi's are out and there probably isn't even a comparsion but for 3 bucks did i get a deal? I have a super old rig that im planning to upgrading for as cheaply as possible and also wondered if this card would work or if it was to out dated for anything good like half-life 2 or something to that standard.

    Nice I paid over 00 ? for my Audigy player Audigy cards are still very good cards. But quality on XFI is much better. Tip:?Download only the nnewest driver?Download AudioHQ (AHQ)?Install these two packs. Run for gold ?At this time, Audigy will run better than X-FI cards. Half- Life2 sounds better(X-FI will produce some cut- offs in sound, especially the trains in the game will only sound flat, there is something wrong with it ), and is the best sounding game for Audigy cards. Only in Battlefield2 there should be higher quality with X-FI. (Dont played this game, i dont know really)If you want to know whats different beetween Audigy cards wich is important in the future: X-RAM, and 28 channels. Thats the big difference beetween these cards. Quality: EAX effects/ DSP usage will produce barely hearable noise on Adigy cards, especially with higher- end headphones. Noise is produced in X-FI cards also, but you wont hear it anymore. CMSS is still there on Audigy cards, but i would say you should disable it if you want to play games wich support 5. sourround sound and EAX, because CMSS will suck up the whole power out of this card. But try for your self.
    Message Edited by fffcmad on 04-30-200708:40 AM
    Message Edited by fffcmad on 04-30-200708:4 AM

  • Firefox vs out-dated plugins

    Hello, can someone tell me if there are any plans (for future versions of FF) that Firefox will automatically check for latest versions of plugins/addons and disable out-dated plugins (like G.Chrome is doing right now). I´m specially interested in Java (JRE)?
    It can be serious issue for our clients if older versions of JRE will be disabled automatically.
    Thank you for your response.

    Yes, there is a plan for doing that, currently it is targeted for Firefox 14, but that can change: https://wiki.mozilla.org/Opt-in_activation_for_plugins

  • I get pop ups saying 21 is out dated but I do not see anything newer

    I get pop ups saying 21 is out dated , is this true or is this an evil program trying to get me to down load a nefarious product or virus. I close it and look for up dates at Mozilla directly but find nothing newer than 21

    It is a ploy to get you to download spyware as my link shows.

  • I have upgraded to Mavericks, iphoto is now saying my version is out dated, everything else is fine this is the only problem.

    I have upgraded to Mavericks, iphoto is now saying my version is out dated, everything else is fine this is the only problem. Tried looking for updates etc, to no avail.....any ideas???

    Check your version of iPhoto. If it is iPhoto 08 7.1.5 from OSX days it is old and if you want a current version you will need to purchase it on the Apple App store.

  • HT3819 I have bought a new computer because my old one is out dated.  I have upgraded everything, but my ringtones did not download how do I get them back?

    I just bought a new laptop, beacuse my old on was out dated.  On the old one my ringtones are on the itunes, however when I upgraded they did not download to the new computer in itunes, how can i get them back.  The old computer will not support the upgraded version IOS-5?  Thanks for your help.  Mitzi

    As far as I know ringtones can only be downloaded once. If they are still on your old computer then you should be able to copy them over via, for example, a flash drive, and then add them to the new computer's iTunes via File > Add File To Library (or Add Folder To Library) - they should then appear in the Tones part of your iTunes library.
    You should be able to locate where the ringtones are stored on your old computer by right-clicking on them in iTunes and selecting 'Show In Windows Explorer'

  • .class Is out dated : true

    Hi all
    We have copied a iView that was developed for Portal 5.0 to the Portal 6.0 it works perfectly but we get all two weeks the following error
    Fehler aufgetreten bei der Verarbeitung eines Request fu00FCr :
    iView : pcd:portal_content/zf_srgssr/zf_517/zf_gtt/zr_517_gtt__superviseur/zw_super/zw_collab/zx_gtt/zx_gerer/zi_caps
    Komponentenname : ZI_CAPS.default
    Cannot find JSP file: JSPFileInfo :149074 JSP File : E:\usr\sap\EP6P\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\ZI_CAPS\pagelet\ZICAPSJSP_HTML.jsp Class Name: sapportalsjspZICAPSJSP_HTML Java File : E:\usr\sap\EP6P\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\ZI_CAPS\work\pagelet\_sapportalsjsp_ZICAPSJSP_HTML.java Package Name : pagelet Class File : E:\usr\sap\EP6P\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\ZI_CAPS\work\pagelet\_sapportalsjsp_ZICAPSJSP_HTML.<b>class Is out dated : true.</b>
    Exception id: 01:31_21/02/05_0052
    When I publish the iView from the NetWeaver Development Studio again the iView works for an other two weeks. Does somebody know's this error?
    Thanks all
    Pascal

    Hi Pascal,
    maybe this one helps you: Re: Got a Portal runtime error while using JSPDynepage
    Regards, Karsten

  • I had to re-install XP on my laptop. I installed itunes. Now I want to restore my music from backup CD's. But the option device under file is greyed out. I can't select restore from backup. How do I make the restore option active. I have an ipod nano

    I had to re-install XP on my laptop. I then installed itunes again. Now I want to restore my music from backup CD's. But the option device under file is greyed out. I can't select restore from backup. How do I make the restore option active? i have an IPOD nano.

    I think it's QuickTime player causing the problem, when I try to open it I get the windows error that an error has occured
    Let's try swapping out your QuickTime again, taking a few extra explicit precautions this time.
    Head into your Add/Remove programs. uninstall QuickTime.
    Next, we’ll manually remove any leftover program files and folders.
    1. On the Start menu, click My Computer (or double-click My Computer on the Desktop).
    2. In My Computer, open Local Disk.
    3. Open Program Files.
    4. Right-click on the QuickTime folder and click Delete from the shortcut menu.
    5. Navigate to C:\Windows\system32\.
    6. Remove the files QuickTime.qts and QuicktimeVR.qtx. (If “Hide filename extensions for known file types” is enabled on the PC, then those two files will appear as “QuickTime” and QuickTimeVR”.)
    7. Restart your computer.
    Now download and save a copy of the latest standalone QuickTime installer to your hard drive. (We'll run the install from there rather than online.)
    Latest Quicktime Installers … get the one that doesn’t mention iTunes
    Switch off antivirus and antispyware applications prior to the install. Start the install by doubleclicking the QuickTimeInstaller.exe.
    If that install goes through okay, restart the PC and try launching iTunes again. Does your iTunes launch properly now?
    (If you get an error message on the QuickTime uninstall or standalone reinstall, let us know what it says. Include error message numbers if you're getting any.)

  • Why is my iPhoto library greyed out in the Screensaver folder selection dialog on one iMac but not my other?

    Why is my iPhoto library greyed out in the Screensaver folder selection dialog on one iMac but not my other?

    I have an update to my issue above, with a Semi-solution found. I brought my Macbook Air back to the Genus bar today and they were able to identify (using “Activity Monitor”) that when the particular iPhoto library was being launched through iPhoto both Photostream and iPhoto's CPU% usage was excessively high (between 100% - 200% each). She discovered that if we turn off Photostream in iCloud settings iPhoto then behaved fast and snappy and CPU% came back down to a healthier level. When we turned Photostream back on the problem continued. After an hour of trying to trouble shoot why Photostream was causing the issue they recommended I keep Photostream turned off until a future software update/fix comes out. The particular Genus I worked with was not familiar with this issue. I’m very happy to at least be able to use iPhoto again, but if anyone has ideas or theories on how the Photostream conflict can be fixed please share. Thanks.

  • In the tracing drop down menu, how come the custom is greyed out and can't be selected? It looks like its disabled!!

    in the tracing drop down menu, how come the custom is greyed out and can't be selected? It looks like its disabled!!

    cc2014,
    Have you selected an image?
    Unless a good explanation appears, you may start onthe list below.
    The following is a general list of things you may try when the issue is not in a specific file (you may have tried/done some of them already); 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
    1) Close down Illy and open again;
    2) Restart the computer (you may do that up to 3 times);
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
    4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
    5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
    Even more seriously, you may:
    6) Uninstall, run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • How can I get rid of numbers that are covering my entire desktop, caused by right-clicking "Clean Up Selection" on an icon?

    How can I get rid of numbers that are covering my entire desktop, caused by right-clicking "Clean Up Selection" on an icon?  The Apple OS X Mavericks blue & green desktop is totally gone.  HELP!

    Here's a screenshot of my desktop, as of a few minutes ago:  http://lewgoodman.com/desktop.tiff

  • ORA-30563, Outer Join not allowed in select list

    I can not find any information about this error message that I am getting.
    I have just upgraded my Oracle database from Version 7.3 to Version 8.1.7, a stored procedure that was written in v7.3 has outer joins in the select statement.
    when trying to run this proc in version 8 I get this meesage.(ORA-30563, Outer Join not allowed in select list)
    code ex:
    Select alt.id
    decode(alt.advise, NULL, NULL, AA.act_yr(+))||'-'||AA.act_per(+)||'-'||AA.Acc_per_no(+)) as advise_no
    from alt, AA;
    Is there any information about this message anywhere? or does anybody know if this is a known issue with oracle ver 8.1.7?
    Thanks
    CJ

    It appears to have been a bug in 7.x
    From a metalink note on bugs fixed in 8i (doc 132632.1)
    974742 Oracle does not report an error if (+) is specified in select-list. The OUTER JOIN operator (+) is only valid in WHERE clause predicates. As this is not flagged as an error the query can give unexpected results. The correct action to avoid this problem is to fix the query.
    Ken

  • HT5071 I'm in the process of publishing my iBook to the iBookstore however when I try to choose the the file to publish I can view it but the file is faded out not allowing me to select it?

    I'm in the process of publishing my iBook to the iBookstore however when I try to choose the the file to publish I can view it but the file is faded out not allowing me to select it?

    Did you use the Publish menu to export an .ibooks fle?
    Check to see if you are trying to mistakenly select an .iba file.

  • Ok really now...has anyone figured out a new way to select a portion of a project and output just that part?? Or is it still a 20 step process??

    Ok really now...has anyone figured out a new way to select a portion of a project and output just that part?? Or is it still a 20 step process?? What is the best/fastest way to give my client a teaser clip??

    Still a 20 step process, many ways to approch it. Duplicate project and selectively delete everything around it. Or select and copy what you need. I think it could be a year before apple makes that step a 2 or 3 step process.

Maybe you are looking for