[jdom-interest] SAXBuilder.build() hangs JVM using JDOM Beta 9

Forsberg,Michael Michael.Forsberg at tre.se
Mon Nov 3 00:40:58 PST 2003

Hi Per,
Each thread is using a new instance of SAXBuilder. 
Each thread starts a program called ProcessThread that extends from Thread and this program create a new instance of the SAXBuilder.  

-----Original Message-----
From: Per Norrman [mailto:pernorrman at telia.com]
Sent: den 2 november 2003 00:28
To: Forsberg,Michael; jdom-interest at jdom.org
Subject: SV: [jdom-interest] SAXBuilder.build() hangs JVM using JDOM Beta 9

Have you made sure that each thread uses its own
builder instance?

-----Ursprungligt meddelande-----
Från: jdom-interest-admin at jdom.org [mailto:jdom-interest-admin at jdom.org] För Forsberg,Michael
Skickat: den 31 oktober 2003 13:50
Till: jdom-interest at jdom.org
Ämne: [jdom-interest] SAXBuilder.build() hangs JVM using JDOM Beta 9


My application has the purpose to parse and validate a large amount of XML-files and application is creating a number of threads that get a task from a synchronized list what XML file to start validating. When the thread has finished to validate XML-file it goes back to the synchronized list and gets a new file from the taskManger. I've debugged the application and found that the JVM sometimes hangs and is not responding to any kill signals, used -QUIT, to get a stack dump. After that 2-3 threads has starting to build the JDOM-Document the application hangs.  

Has anyone excepted the same problem with the build() operation? 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20031103/6bde2e45/attachment.htm

More information about the jdom-interest mailing list