Error 1: XML-22036: (Error) Cannot convert result tree fragment to NodeSet
Detail: This error comes in the transformation file. This is due to the version mismatch of stylesheet.
Resolution: Change the version of stylesheet from '1.0' to '2.0' . Now redeploy your process.
Error 2: Invalid xml document.
According to the xml schemas, the xml document is invalid.
Please make sure that the xml document is valid against your schemas.
Resolution: One cause of this error could be when you set “validateXML” property “true”.
Please make it false and then retry.
Goto BPELConsole-> ManageBPELDomain ->Set validateXML =false.
Error 3: oracle.xml.parser.v2.XMLParseException: PI with the name 'xml' can occur only in the beginning of the document.
Resolution: Check the transformation file and ensure that "<?xml version="1.0" encoding="UTF-8" ?>" is the first line in all the XSL file.
Error 4: failed due to: null; nested exception is: javax.resource.ResourceException
Resolution: Add <property name="cacheWSIFPort">false</property>
in the partnerlink binding in bpel.xml of the partnerlink invoking which this error is coming.
Another resolution is to try clearing the wsdl cache at BPELConsole->BPEL Process-> Clear the wsdl cache.
Error 5:The Method 'commit' Cant Be Called When a Global Transaction is Active Displayed in log.xml
Resolution: Amend ESBDataSource to local in the $ORACLE_HOME/j2ee/
i.e. <managed-data-source name="ESBDataSource" connection-pool-name="ESBPool"
jndi-name="jdbc/esb" tx-level="local" /><managed-data-source name="ESBDataSource" level="local">
Error 6:ESB Services disappeared
Check for "connection pool is full" in $OracleHome/opmn/logs/*soa*
Error 7:Unable to delete or register ESB on ESB console
Resolution: Login to EM console
Goto Cluster Topology -> Application Server ->oc4j_soa -> Application:default -> ResourceAdapter:OracleASjms ->Edit Connection Factory: OracleASjms/MyXATCF -> ConnectionPool:private
Increase Maximum Connections to 100.
Hi Shanatanu ,
ReplyDeleteCan you pls elaborate the reasons for applying the above fixes for the above errors ?
Regards
Surya
Thanks for this excellent post on errors in Oracle XSLT. It really helped.
ReplyDeleteXML-22036: (Error) Cannot convert result tree fragment to NodeSet - This is not always resolved by your solution of changing the stylesheet version from 1.0 to 2.0.
ReplyDeleteIn my case, I had refactored (renamed) a scheme type I was using as a flow variable. The refactor was not picked up in the xsl file's metadata
Thanks for sharing the information. Can you please share the steps you performed so that refractor can be picked by XSL?
ReplyDeleteError 1: XML-22036: (Error) Cannot convert result tree fragment to NodeSet
DeleteDetail: This error comes in the transformation file. This is due to the version mismatch of stylesheet.
When ever i have this problem is because a variable has changed..either its namespace or something else.
Solution: create again the transformation with a new xsl name, even if test, build and deployment at jdeveloper seems fine.
Thanks a lot for sharing this information :)
Deletevery helpful..Thanks.
ReplyDeleteThanks you so much.
ReplyDeleteI was struggling with Error 1: XML-22036: and your blog helped me in resolving the isssue.
Hi Shantanu,
ReplyDeleteThanks for the providing this resolution for Error1: XML-22036, but may i know why this happens, as i was able to test my XSL in jdev, but getting error in server.
I am using SOA 11g, 11.1.1.5
Thakns.
Ankit