472,954 Members | 1,846 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,954 software developers and data experts.

How to find the source of a Xerces error (FWK)

(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 incapables
de 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'il
un 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.Abstrac tSAXParser.parse(Unknown
Source)

http://acroyear.blog-city.com/xerces...ded_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 know
which method calls xerces in a concurrent way (maybe a debugger which
would 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.Abstrac tSAXParser.parse(Unknown
Source)

http://acroyear.blog-city.com/xerces...ded_fwk005.htm
Sep 9 '06 #1
3 1882
Since your question is specifically about Xerces, I would strongly
recommend that you ask on the Xerces mailing list over at Apache. That's
the subgroup of our community most likely to know the details of Xerces'
internal error messages.

One thought: You ask
How to know which method calls xerces in a concurrent way
.... Calling printStackTrace() on that SAXException should tell you what
was running at the time the problem was detected. Other than that...
yes, I'd fire it up under a debugger and let the code itself help me
figure out what's going on.

--
() ASCII Ribbon Campaign | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry
Sep 9 '06 #2
Joe Kesselman a écrit :
Since your question is specifically about Xerces, I would strongly
recommend that you ask on the Xerces mailing list over at Apache. That's
the subgroup of our community most likely to know the details of Xerces'
internal error messages.

One thought: You ask
How to know which method calls xerces in a concurrent way
... Calling printStackTrace() on that SAXException should tell you what
was running at the time the problem was detected. Other than that...
yes, I'd fire it up under a debugger and let the code itself help me
figure out what's going on.
Hem... Quite interesting isn't it?
http://mrl.nyu.edu/~perlin/experiments/poetry/

I never heard about it before.
http://www.poetess77.com/blog/2004/1...ic-poetry.html

Do you refer to the first or the second meaning?

Sep 10 '06 #3
Raphael Tagliani wrote:
Do you refer to the first or the second meaning [of kinetic poetry]
Neither of the above; my (implied) observation is that the best
programming can be to poetry as kinetic sculpture is to stabiles: ideas
in dynamic interaction, as compared to ideas in a single fixed
structure. (Of course, like any artistic domain, there's a lot of crud
out there too.)

--
() ASCII Ribbon Campaign | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry
Sep 11 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Vince | last post by:
Hi, I am not used to template and I cannot find what's wrong with this code : Compiler(MSVS 7) complains at line : class iterator : public std::iterator<... Here is the source code
2
by: Middletree | last post by:
This is an ASP-built Intranet app, so I have saved off a static version of the page for reference, and it is located at http://www.middletree.net/err.htm and the page to compare it to is...
1
by: Mullin Yu | last post by:
my web services is reference a vb6 com dll, and if it's registered at the local machine, the web service is working. but, if i put the dll to a z: which is mapping to a network driver and...
3
by: Bruce D | last post by:
I'm new to .NET and I have a error that is coming up but it's not telling me where the error is coming from (no file). Is that because I'm doing something wrong...or is it a type of error that has...
8
by: Doug Bell | last post by:
Hi, I have been debugging a new VB.Net Application and today, I have been getting an error that I have not seen before This error is now appearing on a line with the following code: lnGUID =...
1
by: Anatoly Kurilin | last post by:
Hi, each time I use that code for calculating a number of user connected to a data file, I get an error message: Could not find installable ISAM. What do I do wrong? Dim cn As New...
7
Walt in Decatur
by: Walt in Decatur | last post by:
I'm trying to use this method to copy an range in Excel workbook that is closed to the one that's open. I'm using the following code, which gets the "Can't find installable ISAM" error when I get to...
2
by: satinderjeetkaur | last post by:
my question is: consider a discrete memoryless source with source probabilities{0.30,0.25,0.20,0.15,0.10}.find the source entropy,H(X)? please try to answer the question within 2-3...
0
Anadergbaps
by: Anadergbaps | last post by:
Hello All, I have scoured google for the past few days trying to find a fix for my mail merger problem, and am still unable to use an outside program to start the mail merge. The error I...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
1
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.