XMLDOMException when using database adapter and bpel java embeded activity
Friday, January 29, 2010
Symptoms
BPEL Process Manager - Version: 10.1.3.1
When using a database adapter with a bpelx:exec activity, the following error message occurs when running the process.
error thrown
oracle.xml.parser.v2.XMLDOMException: invalid namespace for prefix xmlns
at oracle.xml.util.XMLUtil.validateQualifiedName(XMLUtil.java:520)
at oracle.xml.parser.v2.XMLDocument.createAttributeNS(XMLDocument.java:2166)
at oracle.xml.parser.v2.XMLAttr.xdkCopyNode(XMLAttr.java:1322)
at oracle.xml.parser.v2.XMLElement.xdkCopyNode(XMLElement.java:3527)
at oracle.xml.parser.v2.XMLDocument.xdkCopyNode(XMLDocument.java:1222)
at oracle.xml.parser.v2.XMLNode.cloneNode(XMLNode.java:879)
This error occurs when bpelx:exec is added to BPEL process.
Cause
The problem is due to a bug. The XML format in which the database adapter generated an XML message was not correct. The database adapter used DOM API Level 1. The fix included a change to API level 2.
Solution
Apply Patch 5664594.