Arif
Arif

Reputation: 417

Birt: Charts and images not being displayed on Birtviewer

I have deployed birtviewer on tomcat7/jre7 and have put a Birt report inside them. This dashboard is working fine on dev server but on prod server, when I access the dashbaords, the embedded images are not being displayed and the charts are showing a message that a plugin is needed t display the content. I can view the same dashboard fine on dev server.

enter image description here

Can someone please tell me what can be missing from tomcat to render this report correctly

Arif

Upvotes: 0

Views: 1030

Answers (1)

Dominique
Dominique

Reputation: 4332

I assume those charts are in SVG format. Your prod server is probably not setup to serve svg. Check if the relevant mapping exists in [Tomcat home]/conf/web.xml

<mime-mapping>
    <extension>svg</extension>
    <mime-type>image/svg+xml</mime-type>
</mime-mapping>

Upvotes: 1

Related Questions