You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@marmotta.apache.org by Sergio Fernández <se...@salzburgresearch.at> on 2014/07/09 16:17:23 UTC

Re: MARMOTTA-499

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

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.