Hi all,
I tried this post in the XML forum, but it was suggested I try the java forum instead...so here goes...
I have an application which is using Xerces parser for XML parsing. Most of the time, I have no problems. However, occasionally, at the point I am creating the new DocumentBuilder ..
...
DocumentBuilderFactory dbf =
DocumentBuilderFactory.newInstance();
DocumentBuilder builder = dbf.newDocumentBuilder();
...
..the entire application will freeze. The exact same XML message may sometimes work fine, and sometimes cause this freeze and sometimes not(well, I guess it really unrelated to the message, since it's not at the point of parsing it yet). Sometimes when restarting the application, everything will proceed fine. Other times, it consistently freezes, across multiple restarts.
What I'm trying to figure out is if there are any tricky situations when working with Xerces/JAXP/etc that would corrupt the environment or would prevent it from cleaning up (across application restarts)? By the way, I am running this on AIX.
Thanks for any ideas you may have!
anne
I tried this post in the XML forum, but it was suggested I try the java forum instead...so here goes...
I have an application which is using Xerces parser for XML parsing. Most of the time, I have no problems. However, occasionally, at the point I am creating the new DocumentBuilder ..
...
DocumentBuilderFactory dbf =
DocumentBuilderFactory.newInstance();
DocumentBuilder builder = dbf.newDocumentBuilder();
...
..the entire application will freeze. The exact same XML message may sometimes work fine, and sometimes cause this freeze and sometimes not(well, I guess it really unrelated to the message, since it's not at the point of parsing it yet). Sometimes when restarting the application, everything will proceed fine. Other times, it consistently freezes, across multiple restarts.
What I'm trying to figure out is if there are any tricky situations when working with Xerces/JAXP/etc that would corrupt the environment or would prevent it from cleaning up (across application restarts)? By the way, I am running this on AIX.
Thanks for any ideas you may have!
anne