[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: org.xml.sax.SAXException: FWK005 parse may not be called w

  • To: "Borja" <borjatrabajo@t...>,<xml-dev@l...>
  • Subject: RE: org.xml.sax.SAXException: FWK005 parse may not be called while parsing.
  • From: "Rob Griffin" <rob.griffin@o...>
  • Date: Fri, 14 May 2004 07:19:26 +1000
  • Thread-index: AcQ5Lrh86rGQvp4zQi+DdsSXIZNdswAAEm2A
  • Thread-topic: org.xml.sax.SAXException: FWK005 parse may not be called while parsing.

fwk005
Borja,
 
You get this error when two threads call the parse method of a DocumentBuilder instance simultaneously.
The Xerces DocumentBuilder isn't thread safe and so the calling code must add its own thread synchronization. 
Looks like only one thread at a time can call findClassificationSchemeByName. 
 
Rob Griffin.


________________________________

	From: Borja [mailto:borjatrabajo@t...] 
	Sent: Tuesday, 11 May 2004 5:46 AM
	To: xml-dev@l...
	Subject:  org.xml.sax.SAXException: FWK005 parse may not be called while parsing.
	
	
	Iýve got this error while iýM EXECUTING THis line:
	- ClassificationScheme scheme = queryManager.findClassificationSchemeByName(null, "uddi-org:types");
	
	This line works with the uddi that is installed in SUN ONE STUDIO but not with juddi deployed in SUN ONE APPLICATION SERVER? Whatýs wrong?How can i solve the problem?I-m trying to use juddi.
	
	
	[10/May/2004:18:36:50] WARNING (28528): CORE3283: stderr: org.xml.sax.SAXException: FWK005 parse may not be called while parsing.
	[10/May/2004:18:36:50] WARNING (28528): CORE3283: stderr: at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1153)
	[10/May/2004:18:36:50] WARNING (28528): CORE3283: stderr: at com.sun.xml.registry.common.tools.bindings.impl.runtime.UnmarshallerImpl.unmarshal(Unknown Source)
	[10/May/2004:18:36:50] WARNING (28528): CORE3283: stderr: at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:131)
	[10/May/2004:18:36:50] WARNING (28528): CORE3283: stderr: at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:178)
	[10/May/2004:18:36:50] WARNING (28528): CORE3283: stderr: at com.sun.xml.registry.common.tools.JAXRConceptsManager.loadTaxonomies(Unknown Source)
	[10/May/2004:18:36:50] WARNING (28528): CORE3283: stderr: at com.sun.xml.registry.common.tools.JAXRConceptsManager.getInstance(Unknown Source)
	[10/May/2004:18:36:50] WARNING (28528): CORE3283: stderr: at com.sun.xml.registry.uddi.UDDIMapper.getConceptsManager(Unknown Source)
	[10/May/2004:18:36:50] WARNING (28528): CORE3283: stderr: at com.sun.xml.registry.uddi.UDDIMapper.findClassificationSchemes(Unknown Source)
	[10/May/2004:18:36:50] WARNING (28528): CORE3283: stderr: at com.sun.xml.registry.uddi.UDDIMapper.findClassificationSchemeByName(Unknown Source)
	[10/May/2004:18:36:50] WARNING (28528): CORE3283: stderr: at com.sun.xml.registry.uddi.BusinessQueryManagerImpl.findClassificationSchemeByName(Unknown Source) 



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.