Also want to add that I understand you can add mime-mapping in the web.xml file of each application. But I'm looking for a global solution.
mime-mapping is complex field and not resource.
that is why it has its own operation handlers add-mime/remove-mime to handle its value.
what are you trying to achive can be done by command:
Just bit of a warning when using this, there was a bug in 7.1.1 when you added mime type that prevented server to start.
so please use 7.1.2 or 7.2 nightly builds where this is fixed.
The command worked which inserts the following line to the configuration file:
<configuration> <mime-mapping name="manifest" value="text/cache-manifest"/> </configuration>
And just as you mentioned, this prevents the server from startup. I'm using EAP v6 beta 2, apparently the fix is not included in this release.
Thank you for the accurate reply.