Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JDOM User »

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

Per Norrman

2003-11-01

Replies:

Meddelande
Hi,
 
Have you made sure that each thread uses its own
builder instance?
 
/pmn
 
-----Ursprungligt meddelande-----
Från: jdom-interest-admin@jdom.org [mailto:jdom-interest-admin@jdom.org] För Forsberg,Michael
Skickat: den 31 oktober 2003 13:50
Till: jdom-interest@jdom.org
Ämne: [jdom-interest] SAXBuilder.build() hangs JVM using JDOM Beta 9

Hi,

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?

Thanks,
Michael

©2008 junlu.com - Jax Systems, LLC, U.S.A.