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_dun...@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 
<sergio.fernan...@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.fernan...@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.

Reply via email to