[prev in list] [next in list] [prev in thread] [next in thread] 

List:       batik-dev
Subject:    Re: Status of OSGI Support
From:       Chris Bowditch <bowditch_chris () hotmail ! com>
Date:       2013-05-28 15:51:06
Message-ID: BLU0-SMTP3570DA6ECD5EA9109CC3668FB970 () phx ! gbl
[Download RAW message or body]

Hi Charles,

On 28/05/2013 05:58, Charles Moulliard wrote:
> Hi,
>
> We are currently working on deploying Activiti project (using batik) 
> on Apache Karaf () which is a multi-technology OSGI container (CXF, 
> Camel, ActiveMQ, Spring, Java, BPM, ...) and are faced to this issue :
>
> org.apache.batik.transcoder.TranscoderException: null
> Enclosed Exception:
> Could not write PNG file because no WriteAdapter is availble
> at 
> org.apache.batik.transcoder.image.ImageTranscoder.transcode(ImageTranscoder.java:132)
> at 
> org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(XMLAbstractTranscoder.java:142)
> at 
> org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(SVGAbstractTranscoder.java:156)
> at 
> org.activiti.editor.rest.model.ModelSaveRestResource.saveModel(ModelSaveRestResource.java:78)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0_45]
>
>
> This problem is due to to the fact (I think so) that ServiceProvider 
> which is a Java EE feature does not work by default on OSGI container 
> excepted if we use Aries SpiFly with Batik. As this approach was 
> described here :
>
> http://wiki.apache.org/xmlgraphics/OSGiSupport
>
> Can somebody provides me a status of that development ?

I'm not aware of any development in this area. I think you are only the 
second person who mentioned a need for it on the mailing lists, but I 
could be wrong. Of course, if you have time to develop a patch for it, 
your submission would be welcomed :-)

May I suggest taking this discussion to general@xmlgraphics.apache.org, 
since this issue affects fop, batik and commons in equal measure.

Thanks,

Chris

>
> Regards,
>
> -- 
> Charles Moulliard
> Apache Committer / Sr. Enterprise Architect (RedHat)
> Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com
>


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic