You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@marmotta.apache.org by Prashant <pn...@icloud.com> on 2014/07/02 15:16:52 UTC

Marmotta as a linked data platform

Hi 

I am planning to use Marmotta linked data platform in production to build applications for my client. My main requirements are

1. Sparql Query speed like native memory storage like Jena TDB. 
2. Versioning so that user can get snapshot of data at specified date by sparql queries.
3. Cache (Good to have hazel cast)
4. Text Search
5. Internationalization


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.

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?

All suggestion and advice are welcome.

Thanks Again
Prashant








Thanks
Prashant





Re: Marmotta as a linked data platform

Posted by Prashant <pn...@icloud.com>.
Thanks Again Sebastian
See my response inline.
Also attaching a output of first 17million triples load. Not sure you will get this image file as attachment.but in case you get peak performance was close to 14k per sec. My load was in RDF/XML. Other format will get much quicker load.


Thanks
Prashant





On Jul 7, 2014, at 11:51 AM, Sebastian Schaffert <se...@gmail.com> wrote:

> Hi,
> 
> the KiWi versioning still works for interactive access if you enable it afterwards, but currently not for the bulk loading you describe (could be implemented though if I find the time, but it will slow down the loading performance to about half the speed). From experience, PostgreSQL tuning has a dramatic impact on performance, but I cannot really say if it will match Jena TDB (which is using its own custom data storage format optimized for triples). Maximum bulk load performance was never the main goal when developing the KiWi triple store, so you might be better of with TDB in your scenario. Still, your performance stats sound pretty low. Even on a slow machine I get at least 10.000 triples/sec (but typically much higher), which would give you about half the time you describe. Did you add the option to drop indexes before import (-I)?

Yes I did add drop index option and I see load was quicker.
> 
> Regarding your versioning requirement: this really sounds like named graphs are enough in your case, since your versions are really big. The KiWi versioning model was designed rather with the typical small user interactions (e.g. SPARQL updates with both deletes and adds) in mind, not with long-running transactions.
thanks this was good insight for my decision making.
> 
> I don't have much experience with the other backends, I just implemented interfaces so it works in test cases. No bulk loads so far. But Titan is said to have very good performance when using a Cassandra database as backend. If you really want to play with frequent bulk loading it might be worth playing with it.
> 
Yes I was reading Titan non RDF based graph experiment a lot particularly their Pearson case study. Probably will check back later.

> 
> 
> 
> 2014-07-07 12:13 GMT+02:00 Prashant <pn...@icloud.com>:
> Thank you all, your reply & time is much appreciated. 
> 
> For me main attraction of Kiwi as a backend was versioning but bulk loader does not support versioning, so I need to look at custom versioning anyway. May be named graph is way to go but that is for another day. 
> 
> In my use case bulk data loading is going to be frequent so I need fast data loading and on top of that versioning.  That said after doing some data loading exercise with Jena TDB vs kiwi with close to 30 million triples (which is not much) I see Jena is clear winner. It just take 6-7 minute on a 8 G mac machine while Kiwi (backed by Postgres) takes close to 90 minute. I know postgres tuning like more shared buffer (current 128 mb),  can improve loading performance but I do not think it will match Jena TDB. Any thought?
> 
> My another question is where we stand with Titan or Berkleydb  as a backend. I have both frequent write and read requirement in my use case. Although read will anyway surpass write but it is not write once use case...
> 
> Thanks
> Prashant
> 
> 
> 
> 
> 
> On Jul 7, 2014, at 10:53 AM, Sebastian Schaffert <se...@gmail.com> wrote:
> 
>> Hi all, 
>> 
>> some additions to Sergio's reply:
>> 
>> 
>> 2014-07-07 8:11 GMT+02:00 Sergio Fernández <wi...@apache.org>:
>> 
>> 
>> 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
>> 
>> Right now, SPARQL is NOT very fast in KiWi (compared to Virtuoso, but still faster than in some other Sesame backend). We are still working on improving SPARQL performance, but since SPARQL is by its very nature a very expressive query language not everything can be super-fast.
>>  
>> 4. Text Search
>> 
>> That feature was not coming to Marmotta from LMF (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
>> 
>> This is not necessarily needed. The KiWi SPARQL implementation since last version contains features for full-text search as part of SPARQL queries when using PostgreSQL:
>> 
>> http://marmotta.apache.org/kiwi/sparql.html
>> 
>> 
>> Greetings,
>> 
>> Sebastian 
> 
> 


Re: Marmotta as a linked data platform

Posted by Sebastian Schaffert <se...@gmail.com>.
Hi,

the KiWi versioning still works for interactive access if you enable it
afterwards, but currently not for the bulk loading you describe (could be
implemented though if I find the time, but it will slow down the loading
performance to about half the speed). From experience, PostgreSQL tuning
has a dramatic impact on performance, but I cannot really say if it will
match Jena TDB (which is using its own custom data storage format optimized
for triples). Maximum bulk load performance was never the main goal when
developing the KiWi triple store, so you might be better of with TDB in
your scenario. Still, your performance stats sound pretty low. Even on a
slow machine I get at least 10.000 triples/sec (but typically much higher),
which would give you about half the time you describe. Did you add the
option to drop indexes before import (-I)?

Regarding your versioning requirement: this really sounds like named graphs
are enough in your case, since your versions are really big. The KiWi
versioning model was designed rather with the typical small user
interactions (e.g. SPARQL updates with both deletes and adds) in mind, not
with long-running transactions.

I don't have much experience with the other backends, I just implemented
interfaces so it works in test cases. No bulk loads so far. But Titan is
said to have very good performance when using a Cassandra database as
backend. If you really want to play with frequent bulk loading it might be
worth playing with it.

Sebastian


2014-07-07 12:13 GMT+02:00 Prashant <pn...@icloud.com>:

> Thank you all, your reply & time is much appreciated.
>
> For me main attraction of Kiwi as a backend was versioning but bulk loader
> does not support versioning, so I need to look at custom versioning anyway.
> May be named graph is way to go but that is for another day.
>
> In my use case bulk data loading is going to be frequent so I need fast
> data loading and on top of that versioning.  That said after doing some
> data loading exercise with Jena TDB vs kiwi with close to 30 million
> triples (which is not much) I see Jena is clear winner. It just take 6-7
> minute on a 8 G mac machine while Kiwi (backed by Postgres) takes close to
> 90 minute. I know postgres tuning like more shared buffer (current 128 mb),
>  can improve loading performance but I do not think it will match Jena TDB.
> Any thought?
>
> My another question is where we stand with Titan or Berkleydb  as a
> backend. I have both frequent write and read requirement in my use case.
> Although read will anyway surpass write but it is not write once use case...
>
> Thanks
> Prashant
>
>
>
>
>
> On Jul 7, 2014, at 10:53 AM, Sebastian Schaffert <
> sebastian.schaffert@gmail.com> wrote:
>
> Hi all,
>
> some additions to Sergio's reply:
>
>
> 2014-07-07 8:11 GMT+02:00 Sergio Fernández <wi...@apache.org>:
>>
>>
>>
>>  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
>
>
> Right now, SPARQL is NOT very fast in KiWi (compared to Virtuoso, but
> still faster than in some other Sesame backend). We are still working on
> improving SPARQL performance, but since SPARQL is by its very nature a very
> expressive query language not everything can be super-fast.
>
>
>>  4. Text Search
>>>
>>
>> That feature was not coming to Marmotta from LMF (
>> 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
>
>
> This is not necessarily needed. The KiWi SPARQL implementation since last
> version contains features for full-text search as part of SPARQL queries
> when using PostgreSQL:
>
> http://marmotta.apache.org/kiwi/sparql.html
>
>
> Greetings,
>
> Sebastian
>
>
>

Re: Marmotta as a linked data platform

Posted by Prashant <pn...@icloud.com>.
Thank you all, your reply & time is much appreciated. 

For me main attraction of Kiwi as a backend was versioning but bulk loader does not support versioning, so I need to look at custom versioning anyway. May be named graph is way to go but that is for another day. 

In my use case bulk data loading is going to be frequent so I need fast data loading and on top of that versioning.  That said after doing some data loading exercise with Jena TDB vs kiwi with close to 30 million triples (which is not much) I see Jena is clear winner. It just take 6-7 minute on a 8 G mac machine while Kiwi (backed by Postgres) takes close to 90 minute. I know postgres tuning like more shared buffer (current 128 mb),  can improve loading performance but I do not think it will match Jena TDB. Any thought?

My another question is where we stand with Titan or Berkleydb  as a backend. I have both frequent write and read requirement in my use case. Although read will anyway surpass write but it is not write once use case...

Thanks
Prashant





On Jul 7, 2014, at 10:53 AM, Sebastian Schaffert <se...@gmail.com> wrote:

> Hi all, 
> 
> some additions to Sergio's reply:
> 
> 
> 2014-07-07 8:11 GMT+02:00 Sergio Fernández <wi...@apache.org>:
> 
> 
> 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
> 
> Right now, SPARQL is NOT very fast in KiWi (compared to Virtuoso, but still faster than in some other Sesame backend). We are still working on improving SPARQL performance, but since SPARQL is by its very nature a very expressive query language not everything can be super-fast.
>  
> 4. Text Search
> 
> That feature was not coming to Marmotta from LMF (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
> 
> This is not necessarily needed. The KiWi SPARQL implementation since last version contains features for full-text search as part of SPARQL queries when using PostgreSQL:
> 
> http://marmotta.apache.org/kiwi/sparql.html
> 
> 
> Greetings,
> 
> Sebastian 


Re: Marmotta as a linked data platform

Posted by Sebastian Schaffert <se...@gmail.com>.
Hi all,

some additions to Sergio's reply:


2014-07-07 8:11 GMT+02:00 Sergio Fernández <wi...@apache.org>:
>
>
>
>  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


Right now, SPARQL is NOT very fast in KiWi (compared to Virtuoso, but still
faster than in some other Sesame backend). We are still working on
improving SPARQL performance, but since SPARQL is by its very nature a very
expressive query language not everything can be super-fast.


>  4. Text Search
>>
>
> That feature was not coming to Marmotta from LMF (
> 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


This is not necessarily needed. The KiWi SPARQL implementation since last
version contains features for full-text search as part of SPARQL queries
when using PostgreSQL:

http://marmotta.apache.org/kiwi/sparql.html


Greetings,

Sebastian

Re: Marmotta as a linked data platform

Posted by Sergio Fernández <se...@salzburgresearch.at>.
Hi Sebastian,

On 08/07/14 09:53, Sebastian Schaffert wrote:
> 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?).

Right, it might come from our resource filter implementation...

> Is there already a Jira issue for this topic?

Yes, MARMOTTA-499. I've just pushed a new topic branch with a tentative 
solution based on both Java NIO and Apache Tika instead of mime-utils.

Since it is not so simple to reproduce, Joshua, do you think you can 
help us to debug it? You just need to:

$ git clone -b MARMOTTA-499 
https://git-wip-us.apache.org/repos/asf/marmotta.git MARMOTTA-499
$ cd MARMOTTA-499
$ mvn clean install -DskipTests
$ cd launchers/marmotta-webapp
$ mvn tomcat7:run

And then check at http://localhost:8080/ if in your system styles are 
correctly rendered with the new implementation of mimetype detection.

Thanks so much for your collaboration.

Cheers,

-- 
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.fernandez@salzburgresearch.at
http://www.salzburgresearch.at

Re: Marmotta as a linked data platform

Posted by Sebastian Schaffert <se...@gmail.com>.
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.fernandez@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_dunham@vrtx.com<ma...@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 <pnema@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 <wikier@apache.org<mailto:
>> wikier@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.fernandez@redlink.co<ma...@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.fernandez@salzburgresearch.at
> http://www.salzburgresearch.at
>

Re: MARMOTTA-499

Posted by Sergio Fernández <wi...@apache.org>.
Joshua, Alvaro, not sure if you are subscribe to jira updates. So please 
check if the last news there bring some light to this issue:

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

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

Re: MARMOTTA-499

Posted by Sergio Fernández <wi...@apache.org>.
Hi Joshua,

On 10/07/14 17:41, Joshua Dunham wrote:
> No problem on this. In my log for this test the container says it’s running under tomcat 7.0.47. What is the command line switch to run the test under Jetty? I can try that too. To confirm the test results, after running,
>
> $ mvn tomcat7:run -Dmarmotta.port=7070
>
> the browser and curl -i both report the mime-type as x-pointplus.

I have to say I'm running out of ideas... because:

* I cannot reproduce the bug in similar systems (Rupert haes the same 
version of OSX)

* In your environment both unit and integration tests work fine

* But in areal runtime (both standalone and embedded Tomcat) it returns 
the wrong content type

Even if both (test and runtime) use different container (Jetty vs. 
Tomcat), I do not think the issue is is Tomcat, but somewhere in our 
filters...

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

Re: MARMOTTA-499

Posted by Joshua Dunham <jo...@vrtx.com>.
Hi Sergio,

   No problem on this. In my log for this test the container says it’s running under tomcat 7.0.47. What is the command line switch to run the test under Jetty? I can try that too. To confirm the test results, after running,

$ mvn tomcat7:run -Dmarmotta.port=7070

the browser and curl -i both report the mime-type as x-pointplus.

-J


Joshua Dunham
Scientific Computing | Vertex
E: joshua_dunham@vrtx.com
P: 617-229-5157
W: http://www.vrtx.com
L: http://linkedin.com/in/joshuadunham
S: joshua.dunham

On Jul 10, 2014, at 2:07 AM, Sergio Fernández <se...@salzburgresearch.at> wrote:

> Hi,
>
> On 09/07/14 18:13, Joshua Dunham wrote:
>> Should I switch to posting these to the MARMOTTA-499 jira entry to keep the users list clutter free?
>
> Please.
>
>> Output from mvn test — Please notice the MIMETYPE warnings in the middle. Could be a clue?
>>
>> 12:06:38.942 WARN  - /core/public/style/blue/style.css: text/css
>
> I left the warning on purpose, to collect some more information. I do not understand... If the test works fine, with runs in a embedded Marmotta in Jetty, then I think the issue is with Tomcat in your concrete environment, but I do not know why...
>
> Thanks so much for all your help debugging this issue.
>
> Cheers,
>
> --
> 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.fernandez@salzburgresearch.at
> https://urldefense.proofpoint.com/v1/url?u=http://www.salzburgresearch.at/&k=nlnsHLn0ybmZ0IJA5X3Bfg%3D%3D%0A&r=Ti2ZOdevHxjcPRKaSErKsJsdngV4bllmizMzlKHBb0U%3D%0A&m=j9sHoIe8aRx0GCYDGYKCPJX1G7eBnD77WKKNQgsOO6Y%3D%0A&s=fb4f1d428d7e94e56330454c96ca427d25faff6402780b2e004421ff4ea50b0c

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.

Re: MARMOTTA-499

Posted by Sergio Fernández <se...@salzburgresearch.at>.
Hi,

On 09/07/14 18:13, Joshua Dunham wrote:
> Should I switch to posting these to the MARMOTTA-499 jira entry to keep the users list clutter free?

Please.

> Output from mvn test — Please notice the MIMETYPE warnings in the middle. Could be a clue?
>
> 12:06:38.942 WARN  - /core/public/style/blue/style.css: text/css

I left the warning on purpose, to collect some more information. I do 
not understand... If the test works fine, with runs in a embedded 
Marmotta in Jetty, then I think the issue is with Tomcat in your 
concrete environment, but I do not know why...

Thanks so much for all your help debugging this issue.

Cheers,

-- 
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.fernandez@salzburgresearch.at
http://www.salzburgresearch.at

Re: MARMOTTA-499

Posted by Joshua Dunham <jo...@vrtx.com>.
Hi Sergio,

Should I switch to posting these to the MARMOTTA-499 jira entry to keep the users list clutter free?



Output from mvn test — Please notice the MIMETYPE warnings in the middle. Could be a clue?


[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Marmotta Platform: Core 3.3.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ marmotta-core ---
[INFO]
[INFO] >>> maven-javadoc-plugin:2.9.1:javadoc (restapi) > generate-sources @ marmotta-core >>>
[INFO]
[INFO] <<< maven-javadoc-plugin:2.9.1:javadoc (restapi) < generate-sources @ marmotta-core <<<
[INFO]
[INFO] --- maven-javadoc-plugin:2.9.1:javadoc (restapi) @ marmotta-core ---
[INFO]
Loading source files for package org.apache.marmotta.platform.core.filters...
Loading source files for package org.apache.marmotta.platform.core.webservices.system...
Loading source files for package org.apache.marmotta.platform.core.webservices.io...
Loading source files for package org.apache.marmotta.platform.core.webservices.triplestore...
Loading source files for package org.apache.marmotta.platform.core.webservices.task...
Loading source files for package org.apache.marmotta.platform.core.webservices.statistics...
Loading source files for package org.apache.marmotta.platform.core.webservices.modules...
Loading source files for package org.apache.marmotta.platform.core.webservices.logging...
Loading source files for package org.apache.marmotta.platform.core.webservices.resource...
Loading source files for package org.apache.marmotta.platform.core.webservices.prefix...
Loading source files for package org.apache.marmotta.platform.core.webservices...
Loading source files for package org.apache.marmotta.platform.core.webservices.config...
Loading source files for package org.apache.marmotta.platform.core.exception.security...
Loading source files for package org.apache.marmotta.platform.core.exception.io...
Loading source files for package org.apache.marmotta.platform.core.exception...
Loading source files for package org.apache.marmotta.platform.core.exception.authentication...
Loading source files for package org.apache.marmotta.platform.core.exception.webservice...
Loading source files for package org.apache.marmotta.platform.core.util.http...
Loading source files for package org.apache.marmotta.platform.core.util...
Loading source files for package org.apache.marmotta.platform.core.startup...
Loading source files for package org.apache.marmotta.platform.core.services.http...
Loading source files for package org.apache.marmotta.platform.core.services.http.response...
Loading source files for package org.apache.marmotta.platform.core.services.templating...
Loading source files for package org.apache.marmotta.platform.core.services.io...
Loading source files for package org.apache.marmotta.platform.core.services.exporter...
Loading source files for package org.apache.marmotta.platform.core.services.content...
Loading source files for package org.apache.marmotta.platform.core.services.triplestore...
Loading source files for package org.apache.marmotta.platform.core.services.cache...
Loading source files for package org.apache.marmotta.platform.core.services.task...
Loading source files for package org.apache.marmotta.platform.core.services.sesame...
Loading source files for package org.apache.marmotta.platform.core.services.statistics.system...
Loading source files for package org.apache.marmotta.platform.core.services.statistics...
Loading source files for package org.apache.marmotta.platform.core.services.user...
Loading source files for package org.apache.marmotta.platform.core.services.modules...
Loading source files for package org.apache.marmotta.platform.core.services.logging...
Loading source files for package org.apache.marmotta.platform.core.services.ssl...
Loading source files for package org.apache.marmotta.platform.core.services.importer...
Loading source files for package org.apache.marmotta.platform.core.services.importer.rdf...
Loading source files for package org.apache.marmotta.platform.core.services.prefix...
Loading source files for package org.apache.marmotta.platform.core.services.jaxrs...
Loading source files for package org.apache.marmotta.platform.core.services.config...
Loading source files for package org.apache.marmotta.platform.core.model.template...
Loading source files for package org.apache.marmotta.platform.core.model.module...
Loading source files for package org.apache.marmotta.platform.core.model.content...
Loading source files for package org.apache.marmotta.platform.core.model.user...
Loading source files for package org.apache.marmotta.platform.core.model.logging...
Loading source files for package org.apache.marmotta.platform.core.model.filter...
Loading source files for package org.apache.marmotta.platform.core.model.config...
Loading source files for package org.apache.marmotta.platform.core.api.http...
Loading source files for package org.apache.marmotta.platform.core.api.templating...
Loading source files for package org.apache.marmotta.platform.core.api.io...
Loading source files for package org.apache.marmotta.platform.core.api.exporter...
Loading source files for package org.apache.marmotta.platform.core.api.content...
Loading source files for package org.apache.marmotta.platform.core.api.triplestore...
Loading source files for package org.apache.marmotta.platform.core.api.cache...
Loading source files for package org.apache.marmotta.platform.core.api.task...
Loading source files for package org.apache.marmotta.platform.core.api.statistics...
Loading source files for package org.apache.marmotta.platform.core.api.ui...
Loading source files for package org.apache.marmotta.platform.core.api.user...
Loading source files for package org.apache.marmotta.platform.core.api.modules...
Loading source files for package org.apache.marmotta.platform.core.api.logging...
Loading source files for package org.apache.marmotta.platform.core.api.ssl...
Loading source files for package org.apache.marmotta.platform.core.api.importer...
Loading source files for package org.apache.marmotta.platform.core.api.prefix...
Loading source files for package org.apache.marmotta.platform.core.api.jaxrs...
Loading source files for package org.apache.marmotta.platform.core.api.config...
Loading source files for package org.apache.marmotta.platform.core.logging...
Loading source files for package org.apache.marmotta.platform.core.jndi...
Loading source files for package org.apache.marmotta.platform.core.events...
Loading source files for package org.apache.marmotta.platform.core.jaxrs.exceptionmappers...
Loading source files for package org.apache.marmotta.platform.core.jaxrs.interceptors...
Loading source files for package org.apache.marmotta.platform.core.servlet...
Loading source files for package org.apache.marmotta.platform.core.rio...
Loading source files for package org.apache.marmotta.platform.core.qualifiers.inject...
Loading source files for package org.apache.marmotta.platform.core.qualifiers.cache...
Loading source files for package org.apache.marmotta.platform.core.qualifiers.user...
Loading source files for package org.apache.marmotta.platform.core.qualifiers.kspace...
Loading source files for package org.apache.marmotta.platform.core.qualifiers.event.transaction...
Loading source files for package org.apache.marmotta.platform.core.qualifiers.event...
Constructing Javadoc information...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/config/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/config/comment/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/config/comment/{key}/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/config/data/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/config/data/{key}/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/config/list/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/config/type/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/config/type/{key}/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/content/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/content/{mimetype}/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/content/{mimetype}/{uuid}/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/content/{uuid}/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/context/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/context/list/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/context/{uuid}/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/dependencies/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/dependencies/{groupId}/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/dependencies/{groupId}/{artifactId}/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/export/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/export/download/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/export/types/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/import/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/import/cancel/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/import/external/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/import/list/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/import/status/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/import/types/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/import/upload/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/inspect/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/inspect/context/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/inspect/object/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/inspect/predicate/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/inspect/subject/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/inspect/{uuid}/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/logging/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/logging/appenders/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/logging/appenders/{id}/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/logging/modules/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/logging/modules/{id}/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/meta/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/meta/{mimetype}/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/meta/{mimetype}/{uuid}/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/meta/{uuid}/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/modules/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/modules/buildinfo/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/modules/list/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/modules/module/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/prefix/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/prefix/reverse/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/prefix/{prefix}/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/resource/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/resource/{uuid}/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/statistics/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/statistics/enabled/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/statistics/list/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/statistics/modules/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/statistics/{module}/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/statistics/{module}/enabled/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/system/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/system/database/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/system/database/reinit/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/tasks/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/tasks/byThread/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/tasks/{group}/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/tasks/{group}/{name}/index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/overview-index.html...
Generating /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/web/doc/rest/overview-summary.html...
2 warnings
[WARNING] Javadoc Warnings
[WARNING] /home/dunham/MARMOTTA-499/platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/services/content/FileSystemContentWriter.java:31: warning: MimeEntry is internal proprietary API and may be removed in a future release
[WARNING] import sun.net.www.MimeEntry;
[WARNING] ^
[WARNING] /home/dunham/MARMOTTA-499/platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/services/content/FileSystemContentWriter.java:32: warning: MimeTable is internal proprietary API and may be removed in a future release
[WARNING] import sun.net.www.MimeTable;
[WARNING] ^
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ marmotta-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 57 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- jrebel-maven-plugin:1.1.3:generate (generate-rebel-xml) @ marmotta-core ---
[INFO]
[INFO] --- maven-dependency-plugin:2.8:list (default) @ marmotta-core ---
[INFO]
[INFO] --- buildinfo-maven-plugin:3.3.0-SNAPSHOT:extract (default) @ marmotta-core ---
Executing: /bin/sh -c cd /home/dunham/MARMOTTA-499/platform/marmotta-core && git rev-parse --verify HEAD
Working directory: /home/dunham/MARMOTTA-499/platform/marmotta-core
[INFO] Writing to file /home/dunham/MARMOTTA-499/platform/marmotta-core/target/classes/build.info
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ marmotta-core ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- brew:0.2.10:compile (default) @ marmotta-core ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ marmotta-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ marmotta-core ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ marmotta-core ---
[INFO] Surefire report directory: /home/dunham/MARMOTTA-499/platform/marmotta-core/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.marmotta.platform.core.test.modules.MarmottaResourceServiceTest
12:06:33.204 INFO  - WELD-000900: 2.1.2 (Final)
12:06:33.668 INFO  - WELD-000101: Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.
12:06:35.702 WARN  - WELD-001700: Interceptor annotation class javax.ejb.PostActivate not found, interception based on it is not enabled
12:06:35.702 WARN  - WELD-001700: Interceptor annotation class javax.ejb.PrePassivate not found, interception based on it is not enabled
12:06:36.026 INFO  - JNDI: initialising Apache Marmotta Context Factory ...
12:06:36.026 INFO  - JNDI: creating Apache Marmotta Initial Context ...
12:06:36.290 INFO  - Apache Marmotta Core (Development Version) starting up ...
12:06:36.297 INFO  - Apache Marmotta Configuration Service starting up ...
12:06:36.298 INFO  - Apache Marmotta running on Jetty 7.x
12:06:36.299 INFO  - creating system configuration in configuration file /tmp/1404921996035-0/system-config.properties
12:06:36.299 INFO  - creating system configuration metadata in configuration file /tmp/1404921996035-0/system-meta.properties
12:06:36.368 INFO  - configuration successfully saved to /tmp/1404921996035-0/system-config.properties
12:06:36.368 INFO  - configuration successfully saved to /tmp/1404921996035-0/system-meta.properties
12:06:36.370 INFO  - Apache Marmotta Logging Service starting up ...
12:06:36.509 INFO  - - configured logging modules: Caching, CDI/Weld, Configuration, Linked Data, RestEasy, Sesame, System
12:06:36.513 INFO  - - configured logging appenders: Syslog (LOCAL0), Marmotta Main Log, Marmotta Security Log, Marmotta Debug Log, Marmotta Console
12:06:36.514 INFO  - SETUP: Setting up initial Apache Marmotta database configuration ...
12:06:36.516 INFO  - configuration successfully saved to /tmp/1404921996035-0/system-config.properties
12:06:36.516 INFO  - configuration successfully saved to /tmp/1404921996035-0/system-meta.properties
12:06:36.517 INFO  - Apache Marmotta Configuration Service: initialisation completed
12:06:36.519 INFO  - configuration successfully saved to /tmp/1404921996035-0/system-config.properties
12:06:36.519 INFO  - configuration successfully saved to /tmp/1404921996035-0/system-meta.properties
12:06:36.522 INFO  - configuration successfully saved to /tmp/1404921996035-0/system-config.properties
12:06:36.523 INFO  - configuration successfully saved to /tmp/1404921996035-0/system-meta.properties
12:06:36.548 INFO  - jetty-9.0.3.v20130506
12:06:36.580 INFO  - Apache Marmotta Resource Filter undefined starting up ...
12:06:36.667 INFO  - Started o.e.j.s.ServletContextHandler@24c63dac{/marmotta,null,AVAILABLE}
12:06:36.693 INFO  - Started ServerConnector@4302667{HTTP/1.1}{0.0.0.0:9192}
12:06:36.694 INFO  - SETUP: Setting up initial host and resource configuration (http://localhost:9192/marmotta/) ...
12:06:36.695 INFO  - configuration successfully saved to /tmp/1404921996035-0/system-config.properties
12:06:36.696 INFO  - configuration successfully saved to /tmp/1404921996035-0/system-meta.properties
12:06:36.698 INFO  - configuration successfully saved to /tmp/1404921996035-0/system-config.properties
12:06:36.698 INFO  - configuration successfully saved to /tmp/1404921996035-0/system-meta.properties
12:06:36.700 INFO  - configuration successfully saved to /tmp/1404921996035-0/system-config.properties
12:06:36.700 INFO  - configuration successfully saved to /tmp/1404921996035-0/system-meta.properties
12:06:36.714 INFO  - Apache Marmotta Sesame Repository Service starting up ...
12:06:36.738 INFO  - initialising repository plugins ...
12:06:36.774 INFO  - not enabling transaction notification, because no transaction observers are registered
12:06:36.774 WARN  - using in-memory triple store - no persistence
12:06:36.782 INFO  - Content Service starting up ...
12:06:36.784 INFO  - content reader/writer http disabled
12:06:37.075 INFO  - enabled content reader 'FileSystem Content Reader' for pattern (/tmp/1404921996035-0/resources|http://localhost:9192/marmotta/resource/|urn:).*
12:06:37.076 INFO  - enabled content writer 'FileSystem Content Writer' for pattern (/tmp/1404921996035-0/resources|http://localhost:9192/marmotta/resource/|urn:).*
12:06:37.090 INFO  - initialising user service ...
12:06:37.090 INFO  - creating user with webId: http://localhost:9192/marmotta/user/anonymous
12:06:37.092 INFO  - configuration successfully saved to /tmp/1404921996035-0/system-config.properties
12:06:37.093 INFO  - configuration successfully saved to /tmp/1404921996035-0/system-meta.properties
12:06:37.095 INFO  - configuration successfully saved to /tmp/1404921996035-0/system-config.properties
12:06:37.095 INFO  - configuration successfully saved to /tmp/1404921996035-0/system-meta.properties
12:06:37.097 INFO  - configuration successfully saved to /tmp/1404921996035-0/system-config.properties
12:06:37.097 INFO  - configuration successfully saved to /tmp/1404921996035-0/system-meta.properties
12:06:37.112 INFO  - creating user with webId: http://localhost:9192/marmotta/user/admin
12:06:37.114 INFO  - configuration successfully saved to /tmp/1404921996035-0/system-config.properties
12:06:37.114 INFO  - configuration successfully saved to /tmp/1404921996035-0/system-meta.properties
12:06:37.116 INFO  - configuration successfully saved to /tmp/1404921996035-0/system-config.properties
12:06:37.117 INFO  - configuration successfully saved to /tmp/1404921996035-0/system-meta.properties
12:06:37.118 INFO  - configuration successfully saved to /tmp/1404921996035-0/system-config.properties
12:06:37.119 INFO  - configuration successfully saved to /tmp/1404921996035-0/system-meta.properties
12:06:37.119 INFO  - Initialisation completed, enabling configuration events
12:06:37.245 INFO  - initialising JAX-RS exception mappers
12:06:37.249 INFO  - initialising JAX-RS interceptors
12:06:37.642 INFO  - creating new RestEasy Injector Factory for LMF Test Environment
12:06:37.671 INFO  - Deploying javax.ws.rs.core.Application: class org.apache.marmotta.platform.core.test.base.jetty.TestApplication$Proxy$_$$_WeldClientProxy
12:06:37.672 INFO  - Adding class resource org.apache.marmotta.platform.core.webservices.prefix.PrefixWebService from Application class org.apache.marmotta.platform.core.test.base.jetty.TestApplication$Proxy$_$$_WeldClientProxy
12:06:37.710 INFO  - initialising JAX-RS exception mappers
12:06:37.717 INFO  - initialising JAX-RS interceptors
12:06:37.996 WARN  - /core/public/style/blue/style.css: text/css
12:06:38.942 WARN  - /core/public/style/blue/style.css: text/css
12:06:39.119 INFO  - Stopped ServerConnector@4302667{HTTP/1.1}{0.0.0.0:9192}
12:06:39.120 INFO  - Stopped o.e.j.s.ServletContextHandler@24c63dac{/marmotta,null,UNAVAILABLE}
12:06:39.126 INFO  - Apache Marmotta Core shutting down ...
12:06:39.128 INFO  - Apache Marmotta Caching Service shutting down ...
12:06:39.128 INFO  - Apache Marmotta Caching Service shut down successfully.
12:06:39.129 INFO  - Apache Marmotta Sesame Repository Service shutting down ...
12:06:39.132 INFO  - shutting down configuration service
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.701 sec - in org.apache.marmotta.platform.core.test.modules.MarmottaResourceServiceTest

Results :

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 32.448 s
[INFO] Finished at: 2014-07-09T12:06:39-04:00
[INFO] Final Memory: 32M/353M
[INFO] ------------------------------------------------------------------------


==========
$ uname -a
Linux ------- 2.6.32-358.0.1.el6.x86_64 #1 SMP Tue Feb 26 19:19:55 EST 2013 x86_64 x86_64 x86_64 GNU/Linux

RedHat EL6.5

=======
$ mvn -v

Apache Maven 3.2.2 (45f7c06d68e745d05611f7fd14efb6594181933e; 2014-06-17T09:51:42-04:00)
Maven home: /app/maven
Java version: 1.7.0_17, vendor: Oracle Corporation
Java home: /usr/java/jdk1.7.0_17/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "2.6.32-358.0.1.el6.x86_64", arch: "amd64", family: "unix"

======

I switched to Java7 after getting stuck with javadoc errors.

-J


Joshua Dunham
Scientific Computing | Vertex
E: joshua_dunham@vrtx.com
P: 617-229-5157
W: http://www.vrtx.com
L: http://linkedin.com/in/joshuadunham
S: joshua.dunham

On Jul 9, 2014, at 10:17 AM, Sergio Fernández <se...@salzburgresearch.at> wrote:

> Hi Joshua,
>
> On 09/07/14 15:26, Joshua Dunham wrote:
>>  Trying,
>> $ git clone -b MARMOTTA-499 https://urldefense.proofpoint.com/v1/url?u=https://git-wip-us.apache.org/repos/asf/marmotta.git&k=nlnsHLn0ybmZ0IJA5X3Bfg%3D%3D%0A&r=Ti2ZOdevHxjcPRKaSErKsJsdngV4bllmizMzlKHBb0U%3D%0A&m=m2uNsUUACc%2FWL99h8r7g0gUxoDM4UZpFHXdv8KMNsLg%3D%0A&s=75ca2bbb1601afb71753791819853d84ab643cae6295a6a7a717b6b4c09de15c MARMOTTA-499
>> $ cd MARMOTTA-499/platform/marmotta-core/
>> $ mvn clean install -DskipTests
>> $ mvn test -Dtest=MarmottaResourceServiceTest#testMARMOTTA499
>
> What was the result and output of the test?
>
>> $ cd ../../launchers/marmotta-webapp
>> $ mvn tomcat7:run -Dmarmotta.port=7070
>>
>> Yields,
>>
>> Content-Type: application/x-pointplus
>
> I have to admit I'm running out of ideas... what the difference in your environment?
>
> --
> 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.fernandez@salzburgresearch.at
> https://urldefense.proofpoint.com/v1/url?u=http://www.salzburgresearch.at/&k=nlnsHLn0ybmZ0IJA5X3Bfg%3D%3D%0A&r=Ti2ZOdevHxjcPRKaSErKsJsdngV4bllmizMzlKHBb0U%3D%0A&m=m2uNsUUACc%2FWL99h8r7g0gUxoDM4UZpFHXdv8KMNsLg%3D%0A&s=54217b383050c2d5487fe34d5f83e6ca1c0b259b5fa079def0925a0a1ddb18f3

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.

Re: MARMOTTA-499

Posted by Sergio Fernández <se...@salzburgresearch.at>.
Hi Joshua,

On 09/07/14 15:26, Joshua Dunham wrote:
>   Trying,
> $ git clone -b MARMOTTA-499 https://git-wip-us.apache.org/repos/asf/marmotta.git MARMOTTA-499
> $ cd MARMOTTA-499/platform/marmotta-core/
> $ mvn clean install -DskipTests
> $ mvn test -Dtest=MarmottaResourceServiceTest#testMARMOTTA499

What was the result and output of the test?

> $ cd ../../launchers/marmotta-webapp
> $ mvn tomcat7:run -Dmarmotta.port=7070
>
> Yields,
>
> Content-Type: application/x-pointplus

I have to admit I'm running out of ideas... what the difference in your 
environment?

-- 
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.fernandez@salzburgresearch.at
http://www.salzburgresearch.at

Re: MARMOTTA-499 (was: Marmotta as a linked data platform)

Posted by Joshua Dunham <jo...@vrtx.com>.
Hi Sergio,

 Trying,
$ git clone -b MARMOTTA-499 https://git-wip-us.apache.org/repos/asf/marmotta.git MARMOTTA-499
$ cd MARMOTTA-499/platform/marmotta-core/
$ mvn clean install -DskipTests
$ mvn test -Dtest=MarmottaResourceServiceTest#testMARMOTTA499
$ cd ../../launchers/marmotta-webapp
$ mvn tomcat7:run -Dmarmotta.port=7070


Yields,

HTTP/1.1 200 OK
Server: Apache Marmotta/3.3.0-SNAPSHOT (build 2+)
Expires: Wed, 09 Jul 2014 14:05:30 GMT
Content-Type: application/x-pointplus
Content-Length: 6118
Date: Wed, 09 Jul 2014 13:05:30 GMT


No dice.


The stdout is,

[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Marmotta Web Application 3.3.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> tomcat7-maven-plugin:2.2:run (default-cli) > process-classes @ marmotta-webapp >>>
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ marmotta-webapp ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ marmotta-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- jrebel-maven-plugin:1.1.5:generate (generate-rebel-xml) @ marmotta-webapp ---
[INFO]
[INFO] --- maven-dependency-plugin:2.8:list (default) @ marmotta-webapp ---
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ marmotta-webapp ---
[INFO] No sources to compile
[INFO]
[INFO] <<< tomcat7-maven-plugin:2.2:run (default-cli) < process-classes @ marmotta-webapp <<<
[INFO]
[INFO] --- tomcat7-maven-plugin:2.2:run (default-cli) @ marmotta-webapp ---
[INFO] Running war on http://localhost:7070/
[INFO] Using existing Tomcat server configuration at /home/dunham/MARMOTTA-499/launchers/marmotta-webapp/target/tomcat
[INFO] setting SystemProperties:
[INFO]  marmotta.home=/tmp/marmotta
[INFO] create webapp with contextPath:
09:11:03.633 INFO  - WELD-000900: 2.1.2 (Final)
09:11:03.644 INFO  - JNDI: registering Apache Marmotta JNDI implementation ...
09:11:03.969 INFO  - JNDI: initialising Apache Marmotta Context Factory ...
09:11:03.971 INFO  - JNDI: creating Apache Marmotta Initial Context ...
09:11:04.041 INFO  - WELD-000101: Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.
09:11:05.301 INFO  - Tomcat 7+ detected, CDI injection will be available in Servlets and Filters. Injection into Listeners is not supported
09:11:05.735 WARN  - WELD-001700: Interceptor annotation class javax.ejb.PostActivate not found, interception based on it is not enabled
09:11:05.736 WARN  - WELD-001700: Interceptor annotation class javax.ejb.PrePassivate not found, interception based on it is not enabled
09:11:06.098 INFO  - Apache Marmotta Core Version 3.3.0-SNAPSHOT starting up ...
09:11:06.098 INFO  - Build Information:
09:11:06.098 INFO  -  - Build User: sergio
09:11:06.098 INFO  -  - Build Host: wolfcastle
09:11:06.099 INFO  -  - Build Time: Mon, 07 Jul 2014 08:33:48 CEST
09:11:06.099 INFO  -  - Build OS:   Linux 3.14-1-amd64/amd64
09:11:06.099 INFO  -  - Revision:   hg:982f791d77de+
09:11:06.104 INFO  - Configured working directory /tmp/marmotta from system property marmotta.home
09:11:06.105 INFO  - Apache Marmotta Configuration Service starting up ...
09:11:06.106 INFO  - Apache Marmotta running on Apache Tomcat 7.x
09:11:06.106 INFO  - reading system configuration from existing configuration file /tmp/marmotta/system-config.properties
09:11:06.113 INFO  - reading system configuration metadata from existing configuration file /tmp/marmotta/system-meta.properties
09:11:06.161 INFO  - configuration successfully saved to /tmp/marmotta/system-config.properties
09:11:06.162 INFO  - configuration successfully saved to /tmp/marmotta/system-meta.properties
09:11:06.165 INFO  - Apache Marmotta Logging Service starting up ...
09:11:06.332 INFO  - - configured logging modules: Caching, CDI/Weld, Configuration, KiWi Backend, KiWi Reasoner, LDCache, LDClient, LDP, LDPath, Linked Data, RestEasy, Security, Sesame, SPARQL, System, User
09:11:06.335 INFO  - - configured logging appenders: Syslog (LOCAL0), Marmotta Main Log, Marmotta Security Log, Marmotta Debug Log, Marmotta Console
09:11:06.336 WARN  - LOGGING: Switching to Apache Marmotta logging configuration; further output will be found in /tmp/marmotta/log/*.log
09:11:06.800 WARN  - Apache Marmotta Core Version 3.3.0-SNAPSHOT has started up successfully!
09:11:06.802 WARN  - You can access the system now at the URL http://---------.vrtx.com:0/

======

$ cat /tmp/marmotta/log/marmota-main.log

09:12:31.130 INFO  o.a.m.p.b.kiwi.KiWiStoreProvider - Initializing Backend: KiWi Store
09:12:31.164 INFO  o.a.m.p.b.kiwi.KiWiStoreProvider -  - enabling native SPARQL support
09:12:31.436 INFO  o.a.m.p.c.s.s.StatisticsServiceImpl - Apache Marmotta StatisticsService starting up ...
09:12:31.436 INFO  o.a.m.p.c.s.s.StatisticsServiceImpl - registering statistics module "System Statistics"
09:12:31.436 INFO  o.a.m.p.c.s.s.StatisticsServiceImpl - registering statistics module "HttpClientService"
09:12:31.450 INFO  o.a.m.kiwi.caching.GuavaCacheManager - initialising Guava in-memory caching backend ...
09:12:33.929 INFO  o.a.m.k.g.SnowflakeIDGenerator - SNOWFLAKE: initialised with datacenter ID 373
09:12:33.929 INFO  o.a.m.k.persistence.KiWiPersistence - database key generation strategy: Twitter Snowflake
09:12:33.980 INFO  o.a.m.k.persistence.KiWiPersistence - connecting to existing KiWi database (version: 3)
09:12:33.984 INFO  o.a.m.kiwi.sail.KiWiValueFactory - KiWi Value Factory: in-memory registry
09:12:33.987 INFO  o.a.m.k.persistence.KiWiPersistence - connecting to existing KiWi database (version: 3)
09:12:33.993 INFO  o.a.m.k.r.engine.ReasoningEngine - program configuration changed, reloading ...
09:12:34.001 INFO  o.a.m.k.r.engine.ReasoningEngine - SKWRL Reasoner 1 starting up ...
09:12:34.006 INFO  o.a.m.k.persistence.KiWiPersistence - connecting to existing KiWi database (version: 3)
09:12:34.013 INFO  o.a.m.k.persistence.KiWiPersistence - connecting to existing KiWi database (version: 3)
09:12:34.019 INFO  o.a.m.l.services.ldclient.LDClient - Initialising Linked Data Client Service ...
09:12:34.021 INFO  o.a.m.l.services.ldclient.LDClient - - LDClient Endpoint: HolyGoat
09:12:34.025 INFO  o.a.m.l.services.ldclient.LDClient - - LDClient Endpoint: KiWi Project
09:12:34.025 INFO  o.a.m.l.services.ldclient.LDClient - - LDClient Endpoint: Linked Data
09:12:34.038 INFO  o.a.m.l.services.ldclient.LDClient - - LDClient Provider: NONE
09:12:34.038 INFO  o.a.m.l.services.ldclient.LDClient - - LDClient Provider: Linked Data
09:12:34.038 INFO  o.a.m.l.services.ldclient.LDClient - - LDClient Provider: LD Cache
09:12:34.038 INFO  o.a.m.l.services.ldclient.LDClient - - LDClient Provider: RegexUri
09:12:34.038 INFO  o.a.m.l.services.ldclient.LDClient - - LDClient Provider: SPARQL
09:12:34.043 INFO  o.a.m.p.c.s.c.ContentServiceImpl - Content Service starting up ...
09:12:34.043 INFO  o.a.m.p.c.s.c.ContentServiceImpl - content reader/writer http disabled
09:12:34.161 INFO  o.a.m.p.c.s.c.ContentServiceImpl - enabled content reader 'FileSystem Content Reader' for pattern (/tmp/marmotta/resources|http://------.vrtx.com:7070/resource/|urn:).*
09:12:34.162 INFO  o.a.m.p.c.s.c.ContentServiceImpl - enabled content writer 'FileSystem Content Writer' for pattern (/tmp/marmotta/resources|http://-----.vrtx.com:7070/resource/|urn:).*
09:12:34.163 INFO  o.a.m.p.c.s.user.UserServiceImpl - initialising user service ...
09:12:34.166 INFO  o.a.m.p.c.a.c.ConfigurationService - Initialisation completed, enabling configuration events
09:12:34.372 INFO  o.a.m.p.v.w.VersioningWebService - Versioning Service: enabling Memento support


======

The only odd thing I noticed was the build time reported in stdout of Monday at 8:33 CEST. (that’s definitely not localtime)


:/


Joshua Dunham
Scientific Computing | Vertex
E: joshua_dunham@vrtx.com
P: 617-229-5157
W: http://www.vrtx.com
L: http://linkedin.com/in/joshuadunham
S: joshua.dunham

On Jul 9, 2014, at 2:37 AM, Sergio Fernández <se...@salzburgresearch.at> wrote:

> Hi Joshua,
>
> On 08/07/14 19:40, Joshua Dunham wrote:
>> This latest did not solve MARMOTTA-499. Browser (Firefox 32.0a2 (2014-06-30)) error is
>>
>> The stylesheet http://---------.vrtx.com:8080/core/public/style/blue/javadoc.css was not loaded because its MIME type, "application/x-pointplus", is not "text/css". proxy.js:300
>> The stylesheet http://---------.vrtx.com:8080/core/public/style/blue/style.css was not loaded because its MIME type, "application/x-pointplus", is not "text/css". proxy.js:300
>> The stylesheet http://----------.vrtx.com:8080/user/admin/style/style.css was not loaded because its MIME type, "application/x-pointplus", is not "text/css”. proxy.js:300
>>
>> CSS is also not rendered in Safari 7.0.4 (9537.76.4) but there is no error message.
>>
>> Chrome says similar,
>
> Really?!? That's awkward...
>
> Please, pull code from MARMOTTA-499 branch (HEAD is 48d398add62f3ce6e8bba895b2c622351a108a20), where I've just added some testing:
>
> $ cd platform/marmotta-core
> $ mvn clean install -DskipTests
> $ mvn test -Dtest=MarmottaResourceServiceTest#testMARMOTTA499
>
> If the test successfully passes, then, to avoid browser caching issues with static resources, I'd repeat the process running Marmotta in a different port:
>
> $ cd launchers/marmotta-webapp
> $

>
> Then check if CSS files are correctly render in your browsers. Even better, try to see the raw content type:
>
> $ curl -I http://localhost:8081/core/public/style/blue/style.css
> HTTP/1.1 200 OK
> Server: Apache Marmotta/3.3.0-SNAPSHOT (build 2+)
> Expires: Wed, 09 Jul 2014 07:30:37 GMT
> Content-Type: text/css
> Content-Length: 6118
> Date: Wed, 09 Jul 2014 06:30:37 GMT
>
> Let's see...
>
> --
> 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.fernandez@salzburgresearch.at
> https://urldefense.proofpoint.com/v1/url?u=http://www.salzburgresearch.at/&k=nlnsHLn0ybmZ0IJA5X3Bfg%3D%3D%0A&r=Ti2ZOdevHxjcPRKaSErKsJsdngV4bllmizMzlKHBb0U%3D%0A&m=JfJ5KNmIr5WkJ8A4tCvy61NHFWo%2B7nHpVYuSATUtCGs%3D%0A&s=9e1bf03a0e6bbcfef1d6c9862489eff292d8df80afa5645bc600f45fa64742f8

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.

Re: MARMOTTA-499 (was: Marmotta as a linked data platform)

Posted by Sergio Fernández <se...@salzburgresearch.at>.
Hi Joshua,

On 08/07/14 19:40, Joshua Dunham wrote:
> This latest did not solve MARMOTTA-499. Browser (Firefox 32.0a2 (2014-06-30)) error is
>
> The stylesheet http://---------.vrtx.com:8080/core/public/style/blue/javadoc.css was not loaded because its MIME type, "application/x-pointplus", is not "text/css". proxy.js:300
> The stylesheet http://---------.vrtx.com:8080/core/public/style/blue/style.css was not loaded because its MIME type, "application/x-pointplus", is not "text/css". proxy.js:300
> The stylesheet http://----------.vrtx.com:8080/user/admin/style/style.css was not loaded because its MIME type, "application/x-pointplus", is not "text/css”. proxy.js:300
>
> CSS is also not rendered in Safari 7.0.4 (9537.76.4) but there is no error message.
>
> Chrome says similar,

Really?!? That's awkward...

Please, pull code from MARMOTTA-499 branch (HEAD is 
48d398add62f3ce6e8bba895b2c622351a108a20), where I've just added some 
testing:

$ cd platform/marmotta-core
$ mvn clean install -DskipTests
$ mvn test -Dtest=MarmottaResourceServiceTest#testMARMOTTA499

If the test successfully passes, then, to avoid browser caching issues 
with static resources, I'd repeat the process running Marmotta in a 
different port:

$ cd launchers/marmotta-webapp
$ mvn tomcat7:run -Dmarmotta.port=8081

Then check if CSS files are correctly render in your browsers. Even 
better, try to see the raw content type:

$ curl -I http://localhost:8081/core/public/style/blue/style.css
HTTP/1.1 200 OK
Server: Apache Marmotta/3.3.0-SNAPSHOT (build 2+)
Expires: Wed, 09 Jul 2014 07:30:37 GMT
Content-Type: text/css
Content-Length: 6118
Date: Wed, 09 Jul 2014 06:30:37 GMT

Let's see...

-- 
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.fernandez@salzburgresearch.at
http://www.salzburgresearch.at

Re: Marmotta as a linked data platform

Posted by Joshua Dunham <jo...@vrtx.com>.
Hi Sergio,

   Apologies, my email client reversed the thread so I didn’t see your message until I sent mine, whoops!

This latest did not solve MARMOTTA-499. Browser (Firefox 32.0a2 (2014-06-30)) error is

The stylesheet http://---------.vrtx.com:8080/core/public/style/blue/javadoc.css was not loaded because its MIME type, "application/x-pointplus", is not "text/css". proxy.js:300
The stylesheet http://---------.vrtx.com:8080/core/public/style/blue/style.css was not loaded because its MIME type, "application/x-pointplus", is not "text/css". proxy.js:300
The stylesheet http://----------.vrtx.com:8080/user/admin/style/style.css was not loaded because its MIME type, "application/x-pointplus", is not "text/css”. proxy.js:300

CSS is also not rendered in Safari 7.0.4 (9537.76.4) but there is no error message.

Chrome says similar,

Resource interpreted as Stylesheet but transferred with MIME type application/x-pointplus: "http://--------.vrtx.com:8080/core/public/style/blue/javadoc.css". about.html:9
Resource interpreted as Stylesheet but transferred with MIME type application/x-pointplus: "http://--------.vrtx.com:8080/core/public/style/blue/style.css". about.html:10
Resource interpreted as Stylesheet but transferred with MIME type application/x-pointplus: "http://--------.vrtx.com:8080/user/admin/style/style.css". about.html:20

I’ve tried to enable debug logging but there was no writes in this log, not sure I’ve enabled correctly (-Droot-level=debug). Don’t hesitate to ask for assistance to bug test this or any bug, I can turn around a few tests per day.

Thanks!,
J

Joshua Dunham
Scientific Computing | Vertex
E: joshua_dunham@vrtx.com
P: 617-229-5157
W: http://www.vrtx.com
L: http://linkedin.com/in/joshuadunham
S: joshua.dunham

On Jul 8, 2014, at 9:42 AM, Sergio Fernández <wi...@apache.org> wrote:

> Joshua,,
>
> On 08/07/14 15:34, Joshua Dunham wrote:
>> 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?
>
> That's the know issue, right?
>
> Please, check my instructions (email at 10:38) to see if that actually solves MARMOTTA-499.
>
> --
> 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.fernandez@salzburgresearch.at
> https://urldefense.proofpoint.com/v1/url?u=http://www.salzburgresearch.at/&k=nlnsHLn0ybmZ0IJA5X3Bfg%3D%3D%0A&r=Ti2ZOdevHxjcPRKaSErKsJsdngV4bllmizMzlKHBb0U%3D%0A&m=5UGPgHb4ChgtVHIYO49%2F1avYI7NvJh%2FxLdB54WMiF4I%3D%0A&s=bcc18a5647a7b1eec5451f0df54fb31c903147a167e8722729ed3c261bd60ac8
>
> --
> Sergio Fernández
> Partner Technology Manager
> Redlink GmbH
> m: +43 660 2747 925
> e: sergio.fernandez@redlink.co
> w: https://urldefense.proofpoint.com/v1/url?u=http://redlink.co/&k=nlnsHLn0ybmZ0IJA5X3Bfg%3D%3D%0A&r=Ti2ZOdevHxjcPRKaSErKsJsdngV4bllmizMzlKHBb0U%3D%0A&m=5UGPgHb4ChgtVHIYO49%2F1avYI7NvJh%2FxLdB54WMiF4I%3D%0A&s=2d0af64cee6e5a6fb634698f6e73b01e3d331d15a3c720d24d6122ff43abb668

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.

Re: Marmotta as a linked data platform

Posted by Sergio Fernández <wi...@apache.org>.
Joshua,,

On 08/07/14 15:34, Joshua Dunham wrote:
> 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?

That's the know issue, right?

Please, check my instructions (email at 10:38) to see if that actually 
solves MARMOTTA-499.

-- 
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.fernandez@salzburgresearch.at
http://www.salzburgresearch.at

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

RE: Marmotta as a linked data platform

Posted by Joshua Dunham <jo...@vrtx.com>.
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_dunham@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.fernandez@salzburgresearch.at]
Sent: Tuesday, July 08, 2014 01:08
To: users@marmotta.apache.org
Cc: alvaro@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_dunham@vrtx.com<ma...@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>> 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 <wi...@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.fernandez@redlink.co<ma...@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.fernandez@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.

Re: Marmotta as a linked data platform

Posted by Sergio Fernández <se...@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_dunham@vrtx.com<ma...@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>> 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 <wi...@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=07e3f1cc4e04b52984438778957c1a9a48d480d099b45635ed84783b84c0966f>
>
> 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.fernandez@redlink.co<ma...@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.fernandez@salzburgresearch.at
http://www.salzburgresearch.at

Re: Marmotta as a linked data platform

Posted by Joshua Dunham <jo...@vrtx.com>.
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_dunham@vrtx.com<ma...@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>> 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 <wi...@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=07e3f1cc4e04b52984438778957c1a9a48d480d099b45635ed84783b84c0966f>

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.fernandez@redlink.co<ma...@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.

Re: Marmotta as a linked data platform

Posted by Sergio Fernández <wi...@apache.org>.
Hi

On 07/07/14 12:35, Prashant wrote:
> 2. Sparql interface does not support construct queries ( may be this is feature but not urgent)

WE are using an external sparql ui (called squebi). I reported there the 
issue:

https://github.com/tkurz/squebi/issues/5

Please, feel free to add any further details that helps the developer to 
provided the missing features.

Cheers,

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

Re: Marmotta as a linked data platform

Posted by Prashant <pn...@icloud.com>.
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 <wi...@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
> 
>> 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). 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.fernandez@redlink.co
> w: http://redlink.co


Re: Marmotta as a linked data platform

Posted by Sergio Fernández <wi...@apache.org>.
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

> 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). 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.fernandez@redlink.co
w: http://redlink.co

Re: Marmotta as a linked data platform

Posted by Sergio Fernández <wi...@apache.org>.
On 03/07/14 15:54, Raffaele Palmieri wrote:
> In Download section of site, where you probably read,

Good appreciation, Raffaele. Fixed with r1607651.

So now the download page http://marmotta.apache.org/download has the 
right release dates.

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

Re: Marmotta as a linked data platform

Posted by Raffaele Palmieri <ra...@gmail.com>.
Hi Prashant,
Apache Marmotta 3.2.1 was released on 20-05-2014, as you can see at this
link: http://it.apache.contactlab.it/marmotta/3.2.1/
In Download section of site, where you probably read, there is a write
error.
That release could be used in production, I suggest you to read
documentation at this link: http://marmotta.apache.org/configuration.html
For building and installing from your own the source code, you can read
Installation(source) section at this link:
http://marmotta.apache.org/installation.html
Regards,
Raffaele.



On 2 July 2014 15:16, Prashant <pn...@icloud.com> wrote:

> Hi
>
> I am planning to use Marmotta linked data platform in production to build
> applications for my client. My main requirements are
>
> 1. Sparql Query speed like native memory storage like Jena TDB.
> 2. Versioning so that user can get snapshot of data at specified date by
> sparql queries.
> 3. Cache (Good to have hazel cast)
> 4. Text Search
> 5. Internationalization
>
>
> 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.
>
> 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?
>
> All suggestion and advice are welcome.
>
> Thanks Again
> Prashant
>
>
>
>
>
>
>
>
> Thanks
> Prashant
>
>
>
>
>