Hi Sergio,

    Mozilla and Chrome docs say they used to honor just the file extension 
being CSS but specifically disabled this for security concerns.  The cutover 
was a few months back. A very quick hack is to remove the x-point plus line 
altogether but you can also reverse the order of the two params in the 
mime-type properties and it will send type CSS. I'm not sure how tomcat would 
decide which of the two type names to send  along without putting the type in 
the CSS header as a comment?

J

Joshua Dunham
Exploratory App Development | Vertex
E: joshua_dun...@vrtx.com
P: 617-229-5157
W: http://www.vrtx.com
L: http://linkedin.com/in/joshuadunham
S: joshua.dunham

________________________________________
From: Sergio Fernández [sergio.fernan...@salzburgresearch.at]
Sent: Tuesday, July 08, 2014 01:08
To: users@marmotta.apache.org
Cc: alv...@graves.cl
Subject: Re: Marmotta as a linked data platform

I guess the CSS issue is related to MARMOTTA-499:

   
https://urldefense.proofpoint.com/v1/url?u=https://issues.apache.org/jira/browse/MARMOTTA-499&k=nlnsHLn0ybmZ0IJA5X3Bfg%3D%3D%0A&r=Ti2ZOdevHxjcPRKaSErKsJsdngV4bllmizMzlKHBb0U%3D%0A&m=XBV1zdsi9RAmQQHkSZcQSMjFQQRSHqtAbL9Wvn8kS%2Bw%3D%0A&s=4605629d215355c9359872b274353535296b6ab66f624c6ed148ab52681e9f8e

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: 
> https://urldefense.proofpoint.com/v1/url?u=http://linkedin.com/in/joshuadunham&k=nlnsHLn0ybmZ0IJA5X3Bfg%3D%3D%0A&r=Ti2ZOdevHxjcPRKaSErKsJsdngV4bllmizMzlKHBb0U%3D%0A&m=XBV1zdsi9RAmQQHkSZcQSMjFQQRSHqtAbL9Wvn8kS%2Bw%3D%0A&s=d9957764e9fea77e8f9bc29bd67ae7de9e94af0ce9a9e3c63b858da66e6c5e9e
> S: joshua.dunham
>
> On Jul 7, 2014, at 6:35 AM, Prashant 
> <pn...@icloud.com<mailto:pn...@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:
>
> https://urldefense.proofpoint.com/v1/url?u=http://marmotta.apache.org/platform/backends&k=nlnsHLn0ybmZ0IJA5X3Bfg%3D%3D%0A&r=Ti2ZOdevHxjcPRKaSErKsJsdngV4bllmizMzlKHBb0U%3D%0A&m=XBV1zdsi9RAmQQHkSZcQSMjFQQRSHqtAbL9Wvn8kS%2Bw%3D%0A&s=dc06222637bab46f0005f71062bd935a16f9e1a418b4f5a2482b95f6154bf7a5<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=07e3f1cc4e04b52984438778957c1a9a48d480d099b45635ed84783b84c0966f>
>
> 2. Versioning so that user can get snapshot of data at specified date by 
> sparql queries.
>
> Such feature is available in KiWi:
>
> https://urldefense.proofpoint.com/v1/url?u=http://marmotta.apache.org/platform/versioning-module&k=nlnsHLn0ybmZ0IJA5X3Bfg%3D%3D%0A&r=Ti2ZOdevHxjcPRKaSErKsJsdngV4bllmizMzlKHBb0U%3D%0A&m=XBV1zdsi9RAmQQHkSZcQSMjFQQRSHqtAbL9Wvn8kS%2Bw%3D%0A&s=b9fd158c145c08ab09c6b50c9c2f6613f3df2f000c2e2f47c423d4e7bb55a930
>
> 4. Text Search
>
> That feature was not coming to Marmotta from LMF 
> (https://urldefense.proofpoint.com/v1/url?u=http://lmf.googlecode.com/&k=nlnsHLn0ybmZ0IJA5X3Bfg%3D%3D%0A&r=Ti2ZOdevHxjcPRKaSErKsJsdngV4bllmizMzlKHBb0U%3D%0A&m=XBV1zdsi9RAmQQHkSZcQSMjFQQRSHqtAbL9Wvn8kS%2Bw%3D%0A&s=2b5befef05f24e5748846bc12ef5347c7c8afce63ebadc3207fa5f0cdacfaa9b<https://urldefense.proofpoint.com/v1/url?u=http://lmf.googlecode.com/&k=nlnsHLn0ybmZ0IJA5X3Bfg%3D%3D%0A&r=Ti2ZOdevHxjcPRKaSErKsJsdngV4bllmizMzlKHBb0U%3D%0A&m=XBV1zdsi9RAmQQHkSZcQSMjFQQRSHqtAbL9Wvn8kS%2Bw%3D%0A&s=2b5befef05f24e5748846bc12ef5347c7c8afce63ebadc3207fa5f0cdacfaa9b>).
>  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 
> https://urldefense.proofpoint.com/v1/url?u=http://code.google.com/p/lmf/wiki/ModuleSemanticSearch&k=nlnsHLn0ybmZ0IJA5X3Bfg%3D%3D%0A&r=Ti2ZOdevHxjcPRKaSErKsJsdngV4bllmizMzlKHBb0U%3D%0A&m=XBV1zdsi9RAmQQHkSZcQSMjFQQRSHqtAbL9Wvn8kS%2Bw%3D%0A&s=f888839a6ca949e5b7ac110d03f85d6e5865dc37fb7adabf83928bf0cf8772bd
>
> 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:
>
> https://urldefense.proofpoint.com/v1/url?u=http://marmotta.apache.org/installation%23source&k=nlnsHLn0ybmZ0IJA5X3Bfg%3D%3D%0A&r=Ti2ZOdevHxjcPRKaSErKsJsdngV4bllmizMzlKHBb0U%3D%0A&m=XBV1zdsi9RAmQQHkSZcQSMjFQQRSHqtAbL9Wvn8kS%2Bw%3D%0A&s=a8b4e8a8022487505a62740796acc86b8a99aeef9b759caac945034011af6da1
>
> 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: 
> https://urldefense.proofpoint.com/v1/url?u=http://redlink.co/&k=nlnsHLn0ybmZ0IJA5X3Bfg%3D%3D%0A&r=Ti2ZOdevHxjcPRKaSErKsJsdngV4bllmizMzlKHBb0U%3D%0A&m=XBV1zdsi9RAmQQHkSZcQSMjFQQRSHqtAbL9Wvn8kS%2Bw%3D%0A&s=3ddd7e8243108c7e6a3eb884dd18798b5900b22b2d16daa4c8b55cbd1cb4d150<https://urldefense.proofpoint.com/v1/url?u=http://redlink.co/&k=nlnsHLn0ybmZ0IJA5X3Bfg%3D%3D%0A&r=Ti2ZOdevHxjcPRKaSErKsJsdngV4bllmizMzlKHBb0U%3D%0A&m=XBV1zdsi9RAmQQHkSZcQSMjFQQRSHqtAbL9Wvn8kS%2Bw%3D%0A&s=3ddd7e8243108c7e6a3eb884dd18798b5900b22b2d16daa4c8b55cbd1cb4d150>
>
> 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
https://urldefense.proofpoint.com/v1/url?u=http://www.salzburgresearch.at/&k=nlnsHLn0ybmZ0IJA5X3Bfg%3D%3D%0A&r=Ti2ZOdevHxjcPRKaSErKsJsdngV4bllmizMzlKHBb0U%3D%0A&m=XBV1zdsi9RAmQQHkSZcQSMjFQQRSHqtAbL9Wvn8kS%2Bw%3D%0A&s=3aa6d0143d2e84d35340e063f91172ff2bb5f9e4912a7b2a265e0402f07395c9
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.

Reply via email to