I serched a little, and I found one difference between calling the fop.bat
and processing servlet .
The fop.bat use
org.apache.xerces.parsers.SAXParser
while servlet code uses
oracle.xml.parser.v2.SAXParser
The library xmlparserv2.jar is necessary, without it whole JDeveloper won't
run. All
Hi,
I think this can be done by System.setProperty(...), and I thought with:
System.setProperty( org.xml.sax.driver,
org.apache.xerces.parsers.SAXParser );
But I tried it and it does not work, maybe I did something wrong.
I tried another one, and the following should work:
System.setProperty(
That's probably a follow-up error because a font could not be loaded. If
you run your sample form the command line with the -d option, you should
get a better error message. Maybe you didn't set the second logger in
the MessageHandler class correctly because that's where the original
error message
[EMAIL PROTECTED] wrote:
When I do this in servlet, following error appears:
[INFO]: building formatting object tree
[INFO]: [1]- the logging stops here
java.lang.NullPointerException int
org.apache.fop.render.pdf.fonts.LazyFont.getAscender(int) int
Looks like somewhinh
when
upgrading from 0.20.3 to 0.20.4
18.11.2002 12:24
Odpovzte prosm
[EMAIL PROTECTED] wrote:
- What is second logger ?
See at FOPServlet.java example:
import org.apache.avalon.framework.logger.ConsoleLogger;
import org.apache.avalon.framework.logger.Logger;
...
Logger log = new ConsoleLogger(ConsoleLogger.LEVEL_WARN);
MessageHandler.setScreenLogger(log);