2014-07-08 9:30 GMT+04:00 Sergio Fernández <wik...@apache.org>:
> Hi,
>
> in Marmotta we are having an issue deploying on Tomcat:
>
>   https://issues.apache.org/jira/browse/MARMOTTA-499
>
> Basically all .css files are served using mimetype application/x-pointplus,
> even if the web.xml contains an explicit mime-mapping to the right one.
>
> The issue was detected under OSX with Tomcat 7.0.53, although the same issue
> has been detected in other versions, we cannot reproduce it in other
> environments, either Linux or Windows. But I'm not sure if it comes directly
> from Tomcat or from any of the used libraries, such as mime-util.
>
> We'd appreciate your help.


There is no "application/x-pointplus" string in the default
conf/web.xml of Tomcat. So first you have to find where the string
comes from.

Tomcat component that is responsible for serving a static file and
setting its mime-type is DefaultServlet.  If the file is served by
something else  (e.g. by a different servlet in some framework,  or by
different server - e.g. if you serve all static files directly from
Apache HTTPD),  then you are on your own.

Are those files mentioned in Tomcat's access log file?

What version of Servlet Specification is declared in your
WEB-INF/web.xml file? Does it have metadata-complete="true" attribute
on its <web-app> element?

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to