Hi Sergio, Since we are serving all resources through our own filter, I don't think it is a Tomcat issue. Thanks to Joshua for pointing out this problem, it should be easy to fix this way. Unfortunately, mime-util is not very much maintained, so maybe we should find a different way to identify the MIME type of a file (Tika?). Is there already a Jira issue for this topic?
Greetings, Sebastian 2014-07-08 7:08 GMT+02:00 Sergio Fernández < sergio.fernan...@salzburgresearch.at>: > I guess the CSS issue is related to MARMOTTA-499: > > https://issues.apache.org/jira/browse/MARMOTTA-499 > > Basically Tomcat sends all .css files with the wrong mime-type > (application/x-pointplus), and then styles are not interpreted by the > browser. > > Are you using Mac OS X too? Alvaro Graces (CCed) reported the same issue > few months ago, and I have to say we do not have a solution so far. The > weird thing is that we cannot reproduce it: it works fine in some OSX > (tested with Rupert and Thomas), but fails in some others. In GNU/Linux I > never had such issue. > > I'll report it to Apache Tomcat, maybe they have a solution... > > Cheers, > > > > On 07/07/14 19:38, Joshua Dunham wrote: > >> Hi Prashant, >> >> I’m a new user as well so I’m following this closely. One thing I >> didn’t see answered yet was your concern regarding the CSS not rendering. I >> also had this (so it’s good I’m not the only one!). The problem is in the >> mime-util-2.1.3.jar file in the WEB-INF folder under marmotta tomcat web >> apps folder. Inside of this it’s defined that text/css has a mime-type of >> x-pointplus. I’m not sure what that is but it can be fixed. >> >> If you take this jar out, extract it (jar xf mime-util-2.1.3.jar), >> find the mime-util.properties text file, edit the css entry (I removed the >> point plus bit since i have never used, but I think you could reverse the >> order) and update the file in the jar (jar uf mime-util-2.1.3.jar >> /path/to/mime-util.properties) it works. Please check syntax since I’m >> writing this from memory. >> >> Best, >> -Joshua >> >> >> Joshua Dunham >> Scientific Computing | Vertex >> E: joshua_dun...@vrtx.com<mailto:joshua_dun...@vrtx.com> >> P: 617-229-5157 >> W: http://www.vrtx.com<http://www.vrtx.com/> >> >> L: http://linkedin.com/in/joshuadunham >> S: joshua.dunham >> >> On Jul 7, 2014, at 6:35 AM, Prashant <pn...@icloud.com<mailto:pnema >> @icloud.com>> wrote: >> >> Thanks Sergio >> Yes I was able to build from latest source. I will file JIRA for admin >> interface later today or tomorrow. But in brief following were the issues. >> >> 1. No style sheet in admin ui. It just comes as plain text. May be some >> issues with my installation! Very time consuming to navigate in plain text >> ui. >> 2. Sparql interface does not support construct queries ( may be this is >> feature but not urgent) >> 3. Login issue as you mention. >> 4. Data import failed number of times ( I tried all sort by file upload, >> dropping in import directory etc). Large file may be the problem >> 5. Status under task status is not showing proper status. >> >> >> >> Thanks >> Prashant >> >> >> >> >> >> On Jul 7, 2014, at 7:11 AM, Sergio Fernández <wik...@apache.org<mailto: >> wik...@apache.org>> wrote: >> >> Hi, >> >> On 02/07/14 15:16, Prashant wrote: >> I am planning to use Marmotta linked data platform in production to build >> applications for my client. >> >> Great! Let's see where we can help you. >> >> My main requirements are >> >> 1. Sparql Query speed like native memory storage like Jena TDB. >> >> We do not have performance figure about the KiWi triple store in >> comparison win Jena TDB or other. If you get some, please share it with the >> community to have a reference. >> >> Please, take into account that KiWi is just the default triple store. In >> Marmotta you can easily use any Sesame-based triples store. Further details >> at: >> >> http://marmotta.apache.org/platform/backends<https:// >> urldefense.proofpoint.com/v1/url?u=http://marmotta.apache. >> org/platform/backends&k=nlnsHLn0ybmZ0IJA5X3Bfg%3D%3D%0A&r= >> Ti2ZOdevHxjcPRKaSErKsJsdngV4bllmizMzlKHBb0U%3D%0A&m=chl1fibmY3xgb2Lu% >> 2Bivk7jTFqzs8ZD5HSLy95D7aZhE%3D%0A&s=07e3f1cc4e04b52984438778957c1a >> 9a48d480d099b45635ed84783b84c0966f> >> >> >> 2. Versioning so that user can get snapshot of data at specified date by >> sparql queries. >> >> Such feature is available in KiWi: >> >> http://marmotta.apache.org/platform/versioning-module >> >> 4. Text Search >> >> That feature was not coming to Marmotta from LMF ( >> http://lmf.googlecode.com<http://lmf.googlecode.com/>). But you should >> be able to still use it by adding this dependency to your webapp launcher: >> >> >> <dependency> >> <groupId>at.newmedialab.lmf</groupId> >> <artifactId>lmf-search</artifactId> >> <version>3.2.0-SNAPSHOT</version> >> </dependency> >> >> All details at http://code.google.com/p/lmf/wiki/ModuleSemanticSearch >> >> 5. Internationalization >> >> What do you mean with internationalization? I think that depends on the >> concrete application you want to build on top of, and the use the >> internationalization capabilities that RDF provides. >> >> I was playing with binary of Apache Marmotta 3.2.1 and found numerous >> issues while doing administration. It appears that it has been published in >> May 2013. Since then there is no major release. So I moved to latest git >> source and I found it has lots of good integration with cache, different >> backend like titan etc. >> >> Well, the date issue was already addressed by Nandana. >> >> We are aware of some login issues in the admin ui. But if you could >> detail your problems as issues at Jira, that would be great. >> >> My questions here are >> >> 1. How stable is current source code is? can it be used in production >> like setup. >> 2. Is there any documentation to build and release current source code? >> >> I'd say the current source code (3.3.0-SNAPSHOT is pretty stable). Try to >> build it by youselft as described at: >> >> http://marmotta.apache.org/installation#source >> >> and tell us about it. >> >> Thanks so much for the feedback/ >> >> Cheers, >> >> -- >> Sergio Fernández >> Partner Technology Manager >> Redlink GmbH >> m: +43 660 2747 925 >> e: sergio.fernan...@redlink.co<mailto:sergio.fernan...@redlink.co> >> w: http://redlink.co<http://redlink.co/> >> >> >> This email message and any attachments are confidential and intended for >> use by the addressee(s) only. If you are not the intended recipient, please >> notify me immediately by replying to this message, and destroy all copies >> of this message and any attachments. Thank you. >> >> > -- > Sergio Fernández > Senior Researcher > Knowledge and Media Technologies > Salzburg Research Forschungsgesellschaft mbH > Jakob-Haringer-Straße 5/3 | 5020 Salzburg, Austria > T: +43 662 2288 318 | M: +43 660 2747 925 > sergio.fernan...@salzburgresearch.at > http://www.salzburgresearch.at >