[
Lists Home |
Date Index |
Thread Index
]
- To: "Borja" <borjatrabajo@tiscali.es>,<xml-dev@lists.xml.org>
- Subject: RE: [xml-dev] org.xml.sax.SAXException: FWK005 parse may not be called while parsing.
- From: "Rob Griffin" <rob.griffin@oz.quest.com>
- Date: Fri, 14 May 2004 07:19:26 +1000
- Thread-index: AcQ5Lrh86rGQvp4zQi+DdsSXIZNdswAAEm2A
- Thread-topic: [xml-dev] org.xml.sax.SAXException: FWK005 parse may not be called while parsing.
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@tiscali.es]
Sent: Tuesday, 11 May 2004 5:46 AM
To: xml-dev@lists.xml.org
Subject: [xml-dev] 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)
|