You're not using Xerces, persay.  Instead your using the version Sun shipped, 
and changed, with the JDK; I've 
found that version to endlessly buggy.  Try endorsing a recent version Xerces 
and seeing if that fixes it.

http://java.sun.com/j2se/1.5.0/docs/guide/standards/

Chad La Joie
Software Development Manager
2052-C Harris Building 
202.687.0124


----- Original Message -----
From: Raphael Tagliani <[EMAIL PROTECTED]>
Date: Saturday, September 9, 2006 5:09 pm
Subject: How to find the cause of a FWK005 error?

> (english version below)
> Bonjour!
> 
> Je travaille sur un gros projet java, qui parse beaucoup de 
> fichiers xml
> au lancement d'un serveur.
> Nous avons un problème de concurrence qu lancement.
> 
> En fait, il s'agit d'une erreur Xerces FWK005, et nous sommes 
> incapablesde trouver d'où elle provient dans le code. Nous avons 
> déjà essayé de
> rendre toutes les méthodes qui appellent Xerces synchronized, mais 
> celàn'a rien changé.
> 
> Donc ma question: sauriez-vous comment traquer cette erreur? Existe-
> t'ilun moyen de trouver quelles sont les méthodes qui appellent 
> xerces de
> façon concurrente (un debugger qui écouterait les appels à xerces, 
> p.ex)?
> L'erreur:
> 
> Caused by: org.xml.sax.SAXException: FWK005 parse may not be called
> while parsing.
>    at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown
> Source)
> 
> http://acroyear.blog-city.com/xerces_and_the_dreaded_fwk005.htm
> 
> ----
> Hi everyone!
> 
> I'm on a big java project, which parses a lot of xml files at the 
> launch of a server.
> The problem is, we have a concurrency problem at the launch.
> 
> In fact, it's a FWK005 Xerces error, and we can't find out from 
> where it
> comes from. We already tried to make every method calling Xerces
> 'synchronized', but no change!
> 
> Here is my question: would you know how to find this error? How to 
> knowwhich method calls xerces in a concurrent way (maybe a debugger 
> whichwould listen the calls to xerces)?
> 
> The error:
> 
> Caused by: org.xml.sax.SAXException: FWK005 parse may not be called
> while parsing.
>    at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown
> Source)
> 
> http://acroyear.blog-city.com/xerces_and_the_dreaded_fwk005.htm
> 
> --------------------------------------------------------------------
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to