Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XML-22101: (Fatal Error)

 
L Goundalkar
Ranch Hand
Posts: 395
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I used followed code to convert DOM to string ..



I used this in JRun and also in web logic. It worked fine. The library I used xerces.jar.

But the same code when i deployed into Oracle 10gAS is not working. I am getting the following error.

XML-22101: (Fatal Error) DOMSource node as this type not supported.
javax.xml.transform.TransformerException: XML-22101: (Fatal Error) DOMSource node as this type not supported.
at oracle.xml.jaxp.JXTransformer.reportException(JXTransformer.java:739)
at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:200)
at com.sysarris.register.tree.TreeInitializer.dOMToString(Unknown Source)
at com.sysarris.register.tree.TreeInitializer.getTreeXMLAsString(Unknown Source)
at _trees._product._tree._jspService(_tree.java:250)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:347)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:810)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)

In 10gAS xml parser is JAXP which is used by OC4j.jar. ( I assume ).

How to get this snippet of code working in Oracle 10gAS environment ?

Thanks for the time.

Regards,
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm closing this thread as a duplicate for this.
Please do not cross-post and continue the discussion over at the thread in our XML forum. Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic