Hi:

We have created a location-mapping.ttl file, to be deployed with the 
application.

Now, WebSphere, seems to be able to find the file, but the file seems to 
be wrong:

[11/26/13 15:49:40:496 CET] 0000009a SystemOut     O 2013-11-26 
15:49:40,495 [WebContainer : 1] DEBUG 
org.apache.jena.riot.stream.StreamManager - Found: location-mapping.ttl 
(ClassLoaderLocator)
[11/26/13 15:49:40:757 CET] 0000009a SystemOut     O 2013-11-26 
15:49:40,757 [WebContainer : 1] WARN 
org.apache.jena.riot.stream.LocationMapper - Error in configuration file: 
Encountered " <ANON> "[] "" at line 3, column 1.
Was expecting:
    "." ...




location-mapping.ttl file: 
========================


@prefix lm: <http://jena.hpl.hp.com/2004/08/location-mapping#>

[] lm:mapping
        [ lm:name "http://www.example.es"; ; lm:altName "
file:ModelExample.ttl" ] .





Thanks in advance


Un saludo/Best Regards
Oinatz Aspiazu Ituarte

Proyecto de transformación de Seguridad y Compliance ITnow
IBM Strategic Outsourcing Delivery

IBM Global Services España, S.A. 
Mar Adriático, 2, 28830 San Fernando de Henares (Madrid)
Registro Mercantil de Madrid, Folio 49; Tomo 6430; Hoja M-104.742
CIF A80-599459
e-mail: oinatz.aspi...@es.ibm.com



From:   Oinatz Azpiazu Ituarte/Spain/Contr/IBM
To:     users@jena.apache.org, 
Date:   11/26/2013 11:03 AM
Subject:        Re: fuseki and websphere 8.5


Thanks Andy.

Does not seem to work. I'm reading the documentation.

The real problem is in that debug trace I was posting yesterday.  Looks 
like WebSphere cannot find those files and after that, I have the second 
one I sent. Seems that I need to configure a variable or something to say 
to Websphere where to find those files, but I don't know which name or 
what I should configure.









Un saludo/Best Regards
Oinatz Aspiazu Ituarte

Proyecto de transformación de Seguridad y Compliance ITnow
IBM Strategic Outsourcing Delivery

IBM Global Services España, S.A. 
Mar Adriático, 2, 28830 San Fernando de Henares (Madrid)
Registro Mercantil de Madrid, Folio 49; Tomo 6430; Hoja M-104.742
CIF A80-599459
e-mail: oinatz.aspi...@es.ibm.com




From:   Andy Seaborne <a...@apache.org>
To:     users@jena.apache.org, 
Date:   11/25/2013 04:05 PM
Subject:        Re: fuseki and websphere 8.5



On 25/11/13 14:33, Oinatz Azpiazu Ituarte wrote:
> Hello Andy:
>
> I was point to the wrong trace. After that, I'm also getting the next 
one:

Sorry - I don't use J9

Why there is an error, I don't know.  It's already loaded various 
org.apache.http classes at that point so what makes 
DecompressingHttpClient different is not obvious to me.

Jar Version mismatch?

Or this which looks related:

http://www-01.ibm.com/support/docview.wss?uid=nas8N1011249

                 Andy

>
>
>
> [11/25/13 10:45:36:989 CET] 000000d9 servlet       E
> com.ibm.ws.webcontainer.servlet.ServletWrapper init
> Uncaught.init.exception.thrown.by.servlet
> [11/25/13 10:45:36:990 CET] 000000d9 webapp        E
> com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: 
[Servlet
> Error]-[Bridge]: java.lang.VerifyError: JVMVRFY013 class loading
> constraint violated;
> class=org/apache/http/impl/client/DecompressingHttpClient,
> 
method=execute(Lorg/apache/http/client/methods/HttpUriRequest;)Lorg/apache/http/HttpResponse;,
> pc=0
>          at java.lang.J9VMInternals.verifyImpl(Native Method)
>          at java.lang.J9VMInternals.verify(J9VMInternals.java:85)
>          at java.lang.J9VMInternals.initialize(J9VMInternals.java:162)
>          at
> com.hp.hpl.jena.sparql.engine.http.HttpQuery.execGet(HttpQuery.java:322)
>          at
> com.hp.hpl.jena.sparql.engine.http.HttpQuery.exec(HttpQuery.java:276)
>          at
> 
com.hp.hpl.jena.sparql.engine.http.QueryEngineHTTP.execSelect(QueryEngineHTTP.java:346)
>          at
> 
es.lacaixa.ontologia.server.SPARQLQueries.loadModelGrupos(SPARQLQueries.java:317)
>          at
> 
es.lacaixa.ontologia.server.SPARQLQueries.loadRepository(SPARQLQueries.java:43)
>          at es.lacaixa.ontologia.server.Bridge.init(Bridge.java:80)
>          at
> 
com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:336)
>          at
> 
com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.init(ServletWrapperImpl.java:168)
>          at
> 
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
>          at
> 
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:456)
>          at
> 
com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
>          at
> 
com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1027)
>          at
> com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3703)
>          at
> com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
>          at
> 
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:962)
>          at
> 
com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
>          at
> 
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195)
>          at
> 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
>          at
> 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:522)
>          at
> 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:311)
>          at
> 
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:87)
>          at
> 
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
>          at
> 
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
>          at
> 
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
>          at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
>          at 
com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
>          at
> 
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
>          at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
>          at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1783)
>
>
>
> Thanks for your help.
>
>
> Un saludo/Best Regards
> Oinatz Aspiazu Ituarte
>
> Proyecto de transformación de Seguridad y Compliance ITnow
> IBM Strategic Outsourcing Delivery
>
> IBM Global Services España, S.A.
> Mar Adriático, 2, 28830 San Fernando de Henares (Madrid)
> Registro Mercantil de Madrid, Folio 49; Tomo 6430; Hoja M-104.742
> CIF A80-599459
> e-mail: oinatz.aspi...@es.ibm.com
>
>
>
> From:   Andy Seaborne <a...@apache.org>
> To:     users@jena.apache.org,
> Date:   11/25/2013 02:49 PM
> Subject:        Re: fuseki and websphere 8.5
>
>
>
> On 25/11/13 13:16, Oinatz Azpiazu Ituarte wrote:
>> Hello:
>>
>>
>> I'm having the following issue when I try to access from Websphere 8.5
> to
>> Apache Jena:
>>
>> [11/25/13 9:52:24:980 CET] 00000102 SystemOut     O 2013-11-25
>> 09:52:24,980 [WebContainer : 2] DEBUG
>> org.apache.jena.riot.stream.JenaIOEnvironment - Failed to find
>> configuration:
>>
> 
location-mapping.ttl;location-mapping.rdf;location-mapping.n3;etc/location-mapping.rdf;etc/location-mapping.n3;etc/location-mapping.ttl
>>
>>
>> Does anybody know if I need to configure any kind of variable in
>> Websphere, so the class org.apache.jena.riot.stream.JenaIOEnvironment ,
>> can find those configuration files?
>>
>> The same war deployed in Jetty (without any kind of configuration),
> seems
>> to work perfectly.
>>
>>
>> Thanks in advance.
>
> This is not a problem (unless you really do want a custom
> location-mapping file).  The message is at level DEBUG.  I guess Jetty
> is not running with that level of logging output.
>
> The message just says Jena did not process a location-mapping -- no
> problem, that's normal.
>
> The documentation
>
> http://jena.apache.org/documentation/notes/file-manager.html
>
> isn't quite up-to-date but it is accurate.
>
> Were you trying to load a specific location-mapping file?
>
>                   Andy
>
>>
>>
>>
>>
>> Un saludo/Best Regards
>> Oinatz Aspiazu Ituarte
>>
>> Proyecto de transformación de Seguridad y Compliance ITnow
>> IBM Strategic Outsourcing Delivery
>>
>> IBM Global Services España, S.A.
>> Mar Adriático, 2, 28830 San Fernando de Henares (Madrid)
>> Registro Mercantil de Madrid, Folio 49; Tomo 6430; Hoja M-104.742
>> CIF A80-599459
>> e-mail: oinatz.aspi...@es.ibm.com
>>
>> Salvo indicado de otro modo más arriba / Unless stated otherwise above:
>> International Business Machines, S.A.
>> Santa Hortensia, 26-28, 28002 Madrid
>> Registro Mercantil de Madrid; Folio 1; Tomo 1525; Hoja M-28146
>> CIF A28-010791
>>
>
>
>
>
> Salvo indicado de otro modo más arriba / Unless stated otherwise above:
> International Business Machines, S.A.
> Santa Hortensia, 26-28, 28002 Madrid
> Registro Mercantil de Madrid; Folio 1; Tomo 1525; Hoja M-28146
> CIF A28-010791
>




Salvo indicado de otro modo más arriba / Unless stated otherwise above:
International Business Machines, S.A.
Santa Hortensia, 26-28, 28002 Madrid
Registro Mercantil de Madrid; Folio 1; Tomo 1525; Hoja M-28146
CIF A28-010791


Salvo indicado de otro modo más arriba / Unless stated otherwise above:
International Business Machines, S.A.
Santa Hortensia, 26-28, 28002 Madrid
Registro Mercantil de Madrid; Folio 1; Tomo 1525; Hoja M-28146
CIF A28-010791

Reply via email to