Tom, The exact same design issue is in last week's commit (rev 1.2) to JpdlParser.java. SaxParserFactory is not threadsafe.
Either each thread needs it's own SaxParserFactory (typically hung off a ThreadLocal), ... or the newInstance() call in SaxParserFactory.createXmlReader() needs to be synchronized on a static class member or SaxParserFactory.class. In this case, since contention will be so rare, just adding the synchronize (...JpdlParser.class) seems fine. -Ed Staub View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042443#4042443 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042443 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
