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 ?

Regards,

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

Reply via email to