Re: How to prefer FOP native for JAI

2006-05-30 Thread Raino Kolk
Jeremias Maerki dev at jeremias-maerki.ch writes: As Joerg suggested earlier, this seems to be a class loader problem. We already check for both conditions a) and b). I've just checked and FOP falls back nicely to ImageIO if support for JAI is compiled but JAI is not present during runtime.

Re: How to prefer FOP native for JAI

2006-05-29 Thread Raino Kolk
I use fop 0.92 and i try to use it in Spring framework. The exact error is: java.lang.NoClassDefFoundError: com/sun/media/jai/codec/FileCacheSeekableStream at org.apache.fop.image.JAIImage.loadImage(JAIImage.java:80) ... It seems that in some reason fop trys to use JAI if i use

How to prefer FOP native for JAI

2006-05-26 Thread Raino Kolk
Hi, my problem appears when i use fop in servlets. If I use in XSL-FO file GIF image i get JAI classNotFound exception. However when i use JPG image, then everything is ok. So why fop uses JAI instead of native? By the way from command line this error never appears. in command line the fop uses