-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Sergio,
On 7/10/14, 2:26 AM, Sergio Fernández wrote: > On 08/07/14 09:45, Konstantin Kolinko wrote: >> 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. > > Yeap, that's the problem, we cannot reproduce the issue: it works > fine in Linux and Windows, also in two OSX I have access. But for > whatever reason we got two different users with the same issue in > OSX. It failes both in a regular tomcat and the embedded one > provided by the maven plugin. > > We have integration tests over Jetty, and on those conflicting > environments the test successfully passes. > > So definetely something is different there... but hard to find. > >> 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. > > In our case we have a filter for serving static content from > modules (jars). Marmotta has a custom modules' architecture. - From the bug report: This is what I get $ curl -I http://localhost:8080/marmotta/core/public/style/blue/style.css HTTP/1.1 200 OK Server: Apache Marmotta/3.2.0 (build 0) Expires: Mon, 19 May 2014 15:55:53 GMT Content-Type: application/x-pointplus Content-Length: 6118 Date: Mon, 19 May 2014 14:55:53 GMT The "server" string indicates that something other than Tomcat is producing the response. This is likely to be a problem with Marmotta's configuration. Alvaro Graves says: > the web.xml shows text/css for mapping. However > ./apache-tomcat-7.0.39/webapps/marmotta/WEB-INF/lib/mime-util-2.1.3.jar > > > contains both text/css and application/x-pointplus for mimetypes I'm fairly sure this has nothing to do with Tomcat. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJTvqb4AAoJEBzwKT+lPKRYvVYP/AijqAvPf6lsud+mz/T97unD cuepTXYkcYCzZ0EX2COnfv0EIEHmwc9ImLpNwp0aOncldQsTcqnRE9VgxknEWM8s 5fBLYEZg2pXciLrdE81h7Zom1jFIOPlQPTzzKspU+BYs2txXJyBEAdjZxdo1Nh2h 41/u4E+WzykFaMHSXCR91K9OKTRUVzD7S0N2oGBBc7AMSuX1WHMPXdmZEticTrKr gMQZgD/QeL3wdTC7jcoid+mw6lmanf4fJqvtXQ+SPM147ufO0SKPBNP0wnLlJtC+ /2o7xZnMemdu51jFrfREW1GF1dFzxZ5hXfbIzWPhYvFS4aRmfz2H5C0SWaWYBsia J0LMvY75dRzo/g5osl15DW2xltILLCphBwNDBUS2WNMzUrJpxc2VvqJGgPpOQIPv 7hcwp9K3ZI5issKCazIxR6NKuPxd+t8K0ta5utKvjh+yJ+z76Nl3YwuijgXZAWR6 O4+86KWBA+fzU59m+CVeyDhjzpHjCaXWK0e0ijABJ5R/ZluPPgsiqzV2oRnlHP4z ir96CA846oA46wQe3B14C2A1KGmnbvUYNsUqBIOwQDX7CPADPf1DgNJlMu623CIH i57tZM9xbW5UM/BRrYv8HAsSUTnJ3PMeAuGQZ5YtWRTeDzjGb9+Ps7vD+fRqNnvH pmc0BgI9yymffA49D6Bx =LlAh -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org