Yup, that was the problem. Switching to sun-java6-jdk resolved it.

/Petteri

On Sat, Feb 20, 2010 at 11:20 PM, Richard Frovarp <[email protected]> wrote:
> On 2/20/2010 1:12 PM, Petteri Sulonen wrote:
>>
>> Hi again --
>>
>> I'm now running Lenya under Jetty 6.1.20. Things are mostly working.
>> However, I hit a problem serving JPEG images. If the URL has the
>> ?lenya.module=svg&width=300&height=200 query string that runs it
>> through the SVG module, I get an error:
>>
>> java.lang.IncompatibleClassChangeError: Found class
>> com.sun.image.codec.jpeg.JPEGEncodeParam, but interface was expected
>>        at
>> org.apache.batik.transcoder.image.JPEGTranscoder.writeImage(Unknown Source)
>>
>> I take it I'm supposed to override some library by some other library.
>> Trouble is, I don't know which one and with what.
>>
>> Help much appreciated, as usual.
>>
>> BR, Petteri
>>
>>
>
> Given your email about how to get it to run on Jetty under a Debian distro,
> my guess is that you were using OpenJDK which causes some problems when the
> code is expecting Sun code. Have you tried it since you switched to using
> Sun's jvm?
>
> Thanks for the how to.
>
> Richard
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to