Yes using HttpClient 4.3.x won't work because they've changed the APIs
quite drastically in several areas where ARQ uses the low level
configuration of HttpClient.

See JENA-576 - https://issues.apache.org/jira/browse/JENA-576

Rob

On 29/11/2013 15:59, "Andy Seaborne" <a...@apache.org> wrote:

>On 29/11/13 12:53, Oinatz Azpiazu Ituarte wrote:
>> Hello Andy:
>>
>> I've fixed the problem changing the versions of the jars, for the shared
>> library reference inside Websphere. Everything is working fine now.
>
>Great!
>
>>
>> The problems with Websphere 8 and 8.5 is detailed here:
>>
>> 
>>https://www.ibm.com/developerworks/community/forums/html/topic?id=d1f5a31
>>6-d5a4-45c6-905d-299b9d16c31e#1e81680b-db6e-4ce3-b4d3-172754e3262d
>>
>> 
>>https://www.ibm.com/developerworks/community/forums/html/topic?id=3f27225
>>4-4f6d-4c9c-b796-7265251bcbd1
>>
>> Last version of httcplient (4.3.1), does not also work to access to our
>> Fuseki's server. The working versions are:
>>
>>
>> commons-codec-1.6.jar
>> httpclient-4.2.3.jar
>> httpcore-4.2.2.jar
>
>IIRC httcplient 4.3.x is quite different to 4.2.x -- unlikely you can
>mix-and-match versions on the server side. If you are using Jena client
>side, it uses 4.2.3 in the latest release of Jena (see POMs).  Just
>dropping in 4.3.* is not guaranteed to work (in fact, I think it has
>been reported it does not).
>
>       Andy
>
>>
>>
>> Thanks for all the 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:   Oinatz Azpiazu Ituarte/Spain/Contr/IBM@IBMES
>> To:     users@jena.apache.org,
>> Date:   11/29/2013 12:04 PM
>> Subject:        Re: fuseki and websphere 8.5
>>
>>
>>
>> Hello:
>>
>> I haven't posted the query because there's information of our client
>> inside there, but the query is not the problem because the code is
>>working
>>
>>
>>
>> fine in Jetty.
>> I changed it a bit, so you can see what I'm doing.
>>
>>
>> We don't have any kind of log in Fuseki's server when we are trying to
>> access using Websphere, so the problem is inside WebSphere.  We can do
>>the
>>
>>
>>
>> GET from the shell, but for any kind of reason we are not arriving to
>> Fuseki.
>>
>> We have also made a new fresh install in a test machine (with everything
>> (Websphere and Fuseki) in the same server), and we are having the same
>> problem.  We are trying with Websphere 8.5 and 8.5.5.
>> The problem is inside Websphere and the access to fuseki. There's
>> something, a library, or something strange...
>> We are also getting only the GET in the log, when we add a shared
>>library
>> to Websphere, containing the httpclient jars, and referencing it to the
>> application.
>>
>>
>> Our issue, seems to also be explained here:
>>
>> 
>>https://www.ibm.com/developerworks/community/forums/html/topic?id=d1f5a31
>>6-d5a4-45c6-905d-299b9d16c31e#1e81680b-db6e-4ce3-b4d3-172754e3262d
>>
>> 
>>https://www.ibm.com/developerworks/community/forums/html/topic?id=3f27225
>>4-4f6d-4c9c-b796-7265251bcbd1
>>
>>
>>
>>
>>
>>
>>
>> [11/29/13 11:39:36:772 CET] 000000a1 SystemOut     O 2013-11-29
>> 11:39:36,772 [WebContainer : 0] DEBUG com.hp.hpl.jena.sparql.mgt.ARQMgt
>>-
>> Register MBean: org.apache.jena.riot.system:type=SystemInfo
>> [11/29/13 11:39:37:021 CET] 000000a1 SystemOut     O 2013-11-29
>> 11:39:37,021 [WebContainer : 0] DEBUG org.apache.jena.riot.web.HttpOp -
>> [1] GET
>> 
>>http://fusekiserver.es:3030/ds/query?query=PREFIX++owl%3A++%3Chttp%3A%2F%
>>2Fwww.w3.org%2F2002%2F07%2Fowl%23%3E%0APREFIX++fn%3A+++%3Chttp%3A%2F%2Fww
>>w.w3.org%2F2005%2Fxpath-functions%23%3E%0APREFIX++xsd%3A++%3Chttp%3A%2F%2
>>Fwww.w3.org%2F2001%2FXMLSchema%23%3E%0APREFIX++cbk%3A++%3Chttp%3A%2F%2Fww
>>w.example.es%2Fcbk%23%3E%0APREFIX++cbkinst%3A+%3Chttp%3A%2F%2Fwww.example
>>.es%2Fcbkinst%23%3E%0APREFIX++rdf%3A++%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2
>>F02%2F22-rdf-syntax-ns%23%3E%0APREFIX++apf%3A++%3Chttp%3A%2F%2Fjena.hpl.h
>>p.com%2FARQ%2Fproperty%23%3E%0APREFIX++dc%3A+++%3Chttp%3A%2F%2Fpurl.org%2
>>Fdc%2Felements%2F1.1%2F%3E%0APREFIX++rdfs%3A+%3Chttp%3A%2F%2Fwww.w3.org%2
>>F2000%2F01%2Frdf-schema%23%3E%0A%0ASELECT++%3Fgrupo+%3Flabel_es+%3Flabel_
>>ca%0AWHERE%0A++%7B+%3Fgrupo+%28rdfs%3AsubClassOf%29*+cbk%3AProducto+.%0A+
>>+++%3Fgrupo+rdfs%3Alabel+%3Flabel_es%0A++++FILTER+%28+lang%28%3Flabel_es%
>>29+%3D+%22es%22+%29%0A++++%3Fgrupo+rdfs%3Alabel+%3Flabel_ca%0A++++FILTER+
>>%28+lang%28%3Flabel_ca%29+%3D+%22ca%22+%29%0A++
> %
>7D%0AORDER+BY+ASC%28%3Fgrupo%29%0A
>>
>> [11/29/13 11:39:37:087 CET] 000000a1 SystemOut     O 2013-11-29
>> 11:39:37,087 [WebContainer : 0] ERROR
>> es.example.ontologia.server.SPARQLQueries - loadModelProductos.
>> java.lang.Long incompatible with java.lang.Integer
>> [11/29/13 11:39:37:088 CET] 000000a1 SystemOut     O 2013-11-29
>> 11:39:37,088 [WebContainer : 0] ERROR
>> es.example.ontologia.server.SPARQLQueries - loadRepository. Error
>>loading
>> model-products
>> [11/29/13 11:39:37:088 CET] 000000a1 SystemOut     O 2013-11-29
>> 11:39:37,088 [WebContainer : 0] INFO
>> es.example.ontologia.server.SPARQLQueries - End loadRepository.
>> #Atributos:0 #Productos:0
>> [11/29/13 11:39:37:088 CET] 000000a1 ServletWrappe I
>> com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I:
>>[OwlWebApp]
>>
>>
>>
>> [/OwlWebApp] [Bridge]: Initialization successful.
>>
>>
>> [11/29/13 11:39:37:092 CET] 000000a1 SystemOut     O 2013-11-29
>> 11:39:37,092 [WebContainer : 0] INFO
>>es.example.ontologia.server.Bridge -
>>
>>
>>
>> NLP_QUERY. Start query request. lang:ES search:domiciliacion
>> [11/29/13 11:39:37:093 CET] 000000a1 SystemOut     O 2013-11-29
>> 11:39:37,093 [WebContainer : 0] DEBUG
>> es.example.ontologia.nlp.QueryNLPParser - Start analizeQuery:
>> domiciliacion
>> [11/29/13 11:39:37:093 CET] 000000a1 SystemOut     O 2013-11-29
>> 11:39:37,093 [WebContainer : 0] DEBUG
>> es.example.ontologia.nlp.QueryNLPParser - After preprocess:
>>domiciliacion
>> [11/29/13 11:39:37:233 CET] 000000a1 SystemOut     O 2013-11-29
>> 11:39:37,232 [WebContainer : 0] DEBUG
>> esexample.ontologia.nlp.QueryNLPParser - Before ae.process(cas). Para
>> extracción de items
>> [11/29/13 11:39:37:954 CET] 00000011 SystemOut     O 2013-11-29
>> 11:39:37,953 [Finalizer thread] DEBUG
>> org.apache.http.impl.conn.PoolingClientConnectionManager - Connection
>> manager is shutting down
>> [11/29/13 11:39:37:954 CET] 00000011 SystemOut     O 2013-11-29
>> 11:39:37,954 [Finalizer thread] DEBUG
>> org.apache.http.impl.conn.PoolingClientConnectionManager - Connection
>> manager shut down
>> [11/29/13 11:39:38:738 CET] 000000a1 SystemOut     O 2013-11-29
>> 11:39:38,738 [WebContainer : 0] DEBUG
>> es.example.ontologia.nlp.QueryNLPParser - After ae.process(cas). Para
>> extracción de items
>> [11/29/13 11:39:38:744 CET] 000000a1 SystemOut     O 2013-11-29
>> 11:39:38,744 [WebContainer : 0] DEBUG
>> es.example.ontologia.nlp.QueryNLPAnalysisResult -
>> 
>>Found:esexample.nlqa.atributo.es.Tarjetas|cbk:TarjDomiciliacion|domicilia
>>cion
>> [11/29/13 11:39:38:745 CET] 000000a1 ServletWrappe E
>> com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: An
>> exception was thrown by one of the service methods of the servlet
>>[Bridge]
>>
>>
>>
>> in application [OwlWebApp]. Exception created :
>> [java.lang.NullPointerException
>>          at
>> 
>>es.example.ontologia.nlp.QueryNLPAnalysisResult.filtrarAtributosNormativa
>>SiTarjetas(QueryNLPAnalysisResult.java:246)
>>          at
>> 
>>es.example.ontologia.nlp.QueryNLPAnalysisResult.extractItems(QueryNLPAnal
>>ysisResult.java:191)
>>          at
>> 
>>es.example.ontologia.nlp.QueryNLPParser.analizeQueryInSpanish(QueryNLPPar
>>ser.java:86)
>>          at es.example.ontologia.server.Bridge.nlpquery(Bridge.java:708)
>>          at es.example.ontologia.server.Bridge.doGet(Bridge.java:118)
>>          at javax.servlet.http.HttpServlet.service(HttpServlet.java:575)
>>          at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
>>          at
>> 
>>com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.jav
>>a:1227)
>>          at
>> 
>>com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapp
>>er.java:776)
>>          at
>> 
>>com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapp
>>er.java:458)
>>          at
>> 
>>com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletW
>>rapperImpl.java:178)
>>          at
>> 
>>com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFi
>>lterManager.java:1032)
>>          at
>> com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3761)
>>          at
>> com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
>>          at
>> 
>>com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:976)
>>          at
>> 
>>com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:
>>1662)
>>          at
>> 
>>com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:20
>>0)
>>          at
>> 
>>com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination
>>(HttpInboundLink.java:459)
>>          at
>> 
>>com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(Htt
>>pInboundLink.java:526)
>>          at
>> 
>>com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpI
>>nboundLink.java:312)
>>          at
>> 
>>com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLin
>>k.java:283)
>>          at
>> 
>>com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscri
>>minators(NewConnectionInitialReadCallback.java:214)
>>          at
>> 
>>com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(New
>>ConnectionInitialReadCallback.java:113)
>>          at
>> 
>>com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(Aio
>>ReadCompletionListener.java:175)
>>          at
>> 
>>com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.j
>>ava:217)
>>          at
>> com.ibm.io.async.AsyncChannelFuture$1.run(AsyncChannelFuture.java:205)
>>          at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1862)
>> ]
>>
>>
>>
>>
>> Thank you 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
>>
>




Reply via email to