<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Meddelande</TITLE>
<META content="MSHTML 6.00.2800.1264" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=095532508-03112003><FONT face=Arial color=#0000ff size=2>Hi
Per,</FONT></SPAN></DIV>
<DIV><SPAN class=095532508-03112003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=095532508-03112003><FONT face=Arial color=#0000ff size=2>Each
thread is using a new instance of SAXBuilder. </FONT></SPAN></DIV>
<DIV><SPAN class=095532508-03112003><FONT face=Arial color=#0000ff size=2>Each
thread starts a program called ProcessThread that
extends from Thread and this program create a new instance of the
SAXBuilder. </FONT> </SPAN></DIV>
<DIV><SPAN class=095532508-03112003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=095532508-03112003><FONT face=Arial color=#0000ff
size=2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=095532508-03112003><FONT face=Arial color=#0000ff
size=2>Michael</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Per Norrman
[mailto:pernorrman@telia.com]<BR><B>Sent:</B> den 2 november 2003
00:28<BR><B>To:</B> Forsberg,Michael;
jdom-interest@jdom.org<BR><B>Subject:</B> SV: [jdom-interest]
SAXBuilder.build() hangs JVM using JDOM Beta 9<BR><BR></FONT></DIV>
<DIV><SPAN class=124332023-01112003><FONT face=Arial color=#0000ff
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=124332023-01112003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=124332023-01112003><FONT face=Arial color=#0000ff size=2>Have
you made sure that each thread uses its own</FONT></SPAN></DIV>
<DIV><SPAN class=124332023-01112003><FONT face=Arial color=#0000ff
size=2>builder instance?</FONT></SPAN></DIV>
<DIV><SPAN class=124332023-01112003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=124332023-01112003><FONT face=Arial color=#0000ff
size=2>/pmn</FONT></SPAN></DIV>
<DIV><SPAN class=124332023-01112003></SPAN> </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=sv dir=ltr align=left><FONT face=Tahoma
size=2>-----Ursprungligt meddelande-----<BR><B>Från:</B>
jdom-interest-admin@jdom.org [mailto:jdom-interest-admin@jdom.org] <B>För
</B>Forsberg,Michael<BR><B>Skickat:</B> den 31 oktober 2003
13:50<BR><B>Till:</B> jdom-interest@jdom.org<BR><B>Ämne:</B> [jdom-interest]
SAXBuilder.build() hangs JVM using JDOM Beta 9<BR><BR></FONT></DIV><!-- Converted from text/rtf format -->
<P><FONT face=Arial size=2>Hi,</FONT> </P>
<P><FONT face=Arial size=2>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. </FONT></P>
<P><FONT face=Arial size=2>Has anyone excepted the same problem with the
build() operation?</FONT> </P>
<P><FONT face=Arial size=2>Thanks,</FONT> <BR><FONT face=Arial
size=2>Michael</FONT> </P></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>