This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes websphere ibm xml parser not multithreaded? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "websphere ibm xml parser not multithreaded?" Watch "websphere ibm xml parser not multithreaded?" New topic
Author

websphere ibm xml parser not multithreaded?

Elhanan Maayan
Ranch Hand

Joined: May 04, 2009
Posts: 112
hi..

we have been getting the following error when trying to use xom which uses xerces parser:
org.xml.sax.SAXException: FWK005 parse may not be called while parsing.
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at nu.xom.Builder.build(Builder.java:1127)
at nu.xom.Builder.build(Builder.java:1019)

the builder type is defined statically so it's parse method will be used by more then one thread, however i don't see this as problem, as this is a mere factory method .

i found out that websphere uses xml4j version 4.4.13 , i tried to reproduce the error on my jboss which uses xerces 2.7.1 but i couldn't .

is there a problem with xml4j being used as multi-threaded?
 
Don't get me started about those stupid light bulbs.
 
subject: websphere ibm xml parser not multithreaded?
 
Similar Threads
WebSphere XML parsing problem ??
Integrate Cocoon with WebSphere?
xerces.jar package difference bw WAS 4 and WAS 5
XML4J parser classpath question
XML4J vs Xerces