We are trying to use FOP deployed onto GlassFish Community but after setting up as described in the applicaton express guide to allow report printing; we are getting the following error
'package oracle.xml.parser.v2' does not exist
We are running GlassFish on Debian 5.0 (Lenny)
Any help appericated :)
I'm getting the same error.
Glassfish 3.0.1 with APEX 4.0.1 using the apex_fop.jar supplied with apex.
According to my database oracle.xml.parser.v2 is installed, valid and enabled.
Am I missing a configuration setting?
Here is what I did to get it to work.
1. Copy xmlparserv2.jar from my ORACLE_HOME/oc4j/lib directory to my glassfish domains/domain1/applications/fop/WEB-INF/lib directory.
2. Added the following two lines to the glassfish domains/domain1/fop/apex_fop.jsp before the driver.run() line
out = pageContext.pushBody();
The second part of solution I found on another forum page.