taverna-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stian Soiland-Reyes (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAVERNA-892) Update to Jena 3.0.1
Date Wed, 10 Feb 2016 17:05:18 GMT

    [ https://issues.apache.org/jira/browse/TAVERNA-892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15141189#comment-15141189
] 

Stian Soiland-Reyes commented on TAVERNA-892:
---------------------------------------------

Not so sure about JENA-1039..  some other kind of race-condition.

Error is in:

https://github.com/apache/jena/blob/jena-3.0.1/jena-tdb/src/main/java/org/apache/jena/tdb/sys/EnvTDB.java#L33

{code}

 TDB.getContext().putAll(context) ;
{code}

which calls:

https://github.com/apache/jena/blob/jena-3.0.1/jena-tdb/src/main/java/org/apache/jena/tdb/TDB.java#L112
and in 
https://github.com/apache/jena/blob/jena-3.0.1/jena-arq/src/main/java/org/apache/jena/query/ARQ.java#L597
this assumes ARQ has already been initialized in
https://github.com/apache/jena/blob/jena-3.0.1/jena-arq/src/main/java/org/apache/jena/query/ARQ.java#L560

which is reasonable looking at the documented levels in 
https://github.com/apache/jena/blob/jena-3.0.1/jena-core/src/main/java/org/apache/jena/system/JenaSystem.java#L31
and
http://jena.apache.org/documentation/notes/system-initialization.html

Perhaps something is wrong with using the jena-osgi packaging of initializations?

If I use jena-arq 3.0.1 instead of jena-osgi 3.0.1 
all tests in robundle work, so it is probably something wrong with overwrites of

{code}
META-INF/services/org.apache.jena.system.JenaSubsystemLifecycle
{code}

in jena-osgi.jar:

{code}
stain@biggie:~/.m2/repository/org/apache/jena/jena-osgi$ unzip ./3.0.1/jena-osgi-3.0.1.jar
META-INF/services/org.apache.jena.system.JenaSubsystemLifecycle
Archive:  ./3.0.1/jena-osgi-3.0.1.jar
  inflating: META-INF/services/org.apache.jena.system.JenaSubsystemLifecycle  

stain@biggie:~/.m2/repository/org/apache/jena/jena-osgi$ cat META-INF/services/org.apache.jena.system.JenaSubsystemLifecycle
org.apache.jena.tdb.sys.InitTDB
{code}

I'll report it upstream.

> Update to Jena 3.0.1
> --------------------
>
>                 Key: TAVERNA-892
>                 URL: https://issues.apache.org/jira/browse/TAVERNA-892
>             Project: Apache Taverna
>          Issue Type: Bug
>          Components: Taverna Language, Taverna Maven Parent
>            Reporter: Stian Soiland-Reyes
>            Assignee: Stian Soiland-Reyes
>            Priority: Minor
>
> As Jena 3.0.1 is now released, we should update taverna-maven-parent to use 
> {code}
> <jena.version>3.0.1</jena.version>
> {code}
> instead of 2.13.0.
> Note that Jena 3 includes change of package names to from com.hp.hpl.jena to org.apache.jena



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message