Hello,

    I have tried a program like the ExampleObj2PDF using the
AbstractObjectReader and the EasyContent...Proxy. It was working fine.

    Now, Itry to deploy an EJB using the same code in a 9IAS OC4J server.
The problem is now that the jaxp2 lib used in OC4J is not Xerces2 but an
Oracle implementation and I have the following exception :

Rendering ...
java.lang.ClassCastException:
com.clipack.foprenderer.datasheet.SimpleDatasheetReader
        at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:207)
        at
com.clipack.foprenderer.FOPRendererManager.render(FOPRendererManager.java:62
)
        at
com.clipack.foprenderer.ejb.impl.FOPRendererBean.render(FOPRendererBean.java
:59)
        at
FOPRenderer_StatelessSessionBeanWrapper0.render(FOPRenderer_StatelessSession
BeanWrapper0.java:90)
        at
com.clipack.portal.presentation.renderer.SimpleDatasheetRenderer.render(Simp
leDatasheetRenderer.java:85)
        at _jsp._fopRenderer._jspService(_fopRenderer.java:59)
        at
com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
        at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
        at
oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
        at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispa
tcher.java:721)
        at
com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletReq
uestDispatcher.java:306)
        at
com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandle
r.java:767)
        at
com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
        at
com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
        at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.ja
va:797)
        at java.lang.Thread.run(Thread.java:484)


SimpleDatasheetReader is the equivalent in my program of
ProjectTeamXmlReader which extends AbstractObjectReader which implements
org.xml/sax.XMLReader. As the both implementation (xerces and
oracleXMLParserV2) respect the jaxp and sax2 interface I don't understand
why, there is this exception.

Is there somebody who has an idea to make the code appliable to the oracle
parser, or is there somebody who knows how to tell fop using the good parser
(xerces2) without passing through the classpath (Xerces2 will be always
after OracleXmlparserV2 in the classpath) ?

regards, Laurent.

PS : I can post the code if somebody needs .



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to