Hi Christopher,

On 10/07/14 16:45, Christopher Schultz wrote:
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

Well, MARMOTTA-499 has provide us the perfect excuse to move out from mime-utils. Now mimetypes are provide by Apache Tika, but the issue still remains.

I'm fairly sure this has nothing to do with Tomcat.

After some inquiries we have isolated the environmental circumstance that causes the issue. And it is not at the OS level (OSX), but with Java 8.x:

https://issues.apache.org/jira/browse/MARMOTTA-499?focusedCommentId=14071564&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14071564

Jetty (which is used for the integration tests) correctly serves .css as text/css. That's why I initially discarded the issue was located in our static resource handling.

Therefore, is it possible there is an issue with Tomcat (embedded via maven or not) and Java 8?

Thanks in advance.

Cheers,

--
Sergio Fernández
Partner Technology Manager
Redlink GmbH
m: +43 660 2747 925
e: sergio.fernan...@redlink.co
w: http://redlink.co

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

Reply via email to