• Welcome to KonaKart Community Forum. Please login or sign up.
 

Download invoice on ORACLE application server

Started by rkonakart, June 12, 2012, 08:05:20 pm

Previous topic - Next topic

rkonakart

Dears,

We are facing a big issue in download invoice on ORACLE application server. The file size always 0bytes. It is an urgent case.

Appreciate your quick helppppppppp


julie

If you could provide some more information we may be able to help. Do you see any exceptions in the log?

Asset

After making a test servlet, we got this exception:

com.konakart.app.KKException: org.xhtmlrenderer.util.XRRuntimeException: Failed on configuring SAX to DOM transformer.
        at com.konakartadmin.bl.AdminEngineMgr.getPdf(Unknown Source)
        at com.konakart.app.KKEng.getPdf(Unknown Source)
        at _testInvoice.createInvoice(_testInvoice.java:42)
        at _testInvoice._jspService(_testInvoice.java:192)
        at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
        at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:701)
        at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:405)
        at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
        at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
        at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
        at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
        at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
        at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
        at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
        at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
        at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
        at java.lang.Thread.run(Thread.java:595)
Caused by: org.xhtmlrenderer.util.XRRuntimeException: Failed on configuring SAX to DOM transformer.
        at org.xhtmlrenderer.resource.XMLResource$XMLResourceBuilder.createXMLResource(XMLResource.java:184)
        at org.xhtmlrenderer.resource.XMLResource.load(XMLResource.java:75)
        at org.xhtmlrenderer.pdf.ITextRenderer.setDocumentFromString(ITextRenderer.java:157)
        at com.konakartadmin.bl.AdminPdfMgr.renderHtml(Unknown Source)
        at com.konakartadmin.bl.AdminPdfMgr.createPDFFromHTML(Unknown Source)
        at com.konakartadmin.bl.AdminPdfMgr.getPdf(Unknown Source)
        ... 19 more
Caused by: java.lang.ClassCastException: oracle.xml.jaxp.JXSAXTransformerFactory
        at javax.xml.transform.TransformerFactory.newInstance(Unknown Source)
        at org.xhtmlrenderer.resource.XMLResource$XMLResourceBuilder.createXMLResource(XMLResource.java:181)
        ... 24 more

julie

It looks like your application server is picking up an Oracle jar rather than the jars in the KonaKart web app.