[jdom-interest] Malfunction in JDOM when running multiple threads

Sren Dalby sda_jdom at hotmail.com
Wed Jun 19 06:43:58 PDT 2002


I am sorry if this have already arrived once, but I have just signed up and 
I am not sure if my previous attempt was successful.

I am struggling with a problem when using JDOM in many (up to 20) threads.

Each thread both reads and writes to files and I am aware of the FAQ which 
mentions that these operations aren't threadsafe, but I read it as is it is 
not threadsave within the same file/document - and my simultanious jobs all 
process different files/documents.

Still in rare occations, JDOM returns strings that starts with 0x0A and then 
a series of 0x09. This looks like what JDOM would put in an outputfile.

Do you know what happens ??

PS. I use JDOM as readers and writers for Xalan

Thanks in advance
Soeren Dalby




_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com




More information about the jdom-interest mailing list