ok, it seems that the SRW module (web interface) works fine until my
application doesn't broken something.
I think that the module shouldn't be affected by an external application but
in any case there is an incorrect behavior in my application :)
thanks!!
kocisky
On 20 June 2011 10:31, Kocisky koci...@autistici.org wrote:
Hi all,
I've been using dspace 1.7.0 and SRW for accessing the repository with a
client web application. Recently i've updated dspace to 1.7.1 and i'm
getting the following error:
http://10.0.102.11:8480/SRW/search/DSpace?query=dc.creator+%3D+%22smith%22version=1.1operation=searchRetrieverecordSchema=info%3Asrw%2Fschema%2F1%2Fdc-v1.1maximumRecords=10startRecord=1resultSetTTL=0recordPacking=xmlrecordXPath=sortKeys=
###
Identifier:info:srw/diagnostic/1/1Meaning: General System ErrorDetails:This
statement has been closed.Results for Search: dc.creator = smith
Records found: 4
Next
Record(s)http://10.0.102.11:8480/SRW/search/DSpace?operation=searchRetrievequery=dc.creator%20=%20%22smith%22maximumRecords=10resultSetTTL=0recordSchema=info:srw/schema/1/dc-v1.1sortKeys=recordPacking=xmlstartRecord=1
Record: of 4
Record: of 4
Record: of 4
Record: of 4
Next
Record(s)http://10.0.102.11:8480/SRW/search/DSpace?operation=searchRetrievequery=dc.creator%20=%20%22smith%22maximumRecords=10resultSetTTL=0recordSchema=info:srw/schema/1/dc-v1.1sortKeys=recordPacking=xmlstartRecord=1
###
or sometimes i get:
Links: Back to Search http://10.0.102.11:8480/SRW/search/DSpace?
Results for Search: dc.creator = smith
Records found: 4
Record: 1 of 4
Schema: Dublin Core
Record: 2 of 4
Schema: Dublin Core
Record: 3 of 4
Schema: Dublin Core
Record: 4 of 4
Schema: Dublin Core
###
and sometimes i get to correct 4 objects. In the Dspace logs i get:
2011-06-20 09:59:26,478 INFO
org.tuckey.web.filters.urlrewrite.UrlRewriteFilter @ giving request to
urlRewriter: org.tuckey.web.filters.urlrewrite.UrlRewriter@1bc2e06
2011-06-20 09:59:26,494 INFO ORG.oclc.os.SRW.SRWServlet @
query=dc.creator+%3D+%22smith%22version=1.1operation=searchRetrieverecordSchema=info%3Asrw%2Fschema%2F1%2Fdc-v1.1maximumRecords=10startRecord=1resultSetTTL=0recordPacking=xmlrecordXPath=sortKeys=
2011-06-20 09:59:26,494 INFO ORG.oclc.os.SRW.SRWServletInfo @
pathInfo=/DSpace
2011-06-20 09:59:26,494 INFO ORG.oclc.os.SRW.SRWServletInfo @
dbname=DSpace
2011-06-20 09:59:26,494 INFO ORG.oclc.os.SRW.SRWServlet @
mimeType=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 and
mediaType= from IP=10.0.102.11
2011-06-20 09:59:26,520 INFO ORG.oclc.os.SRW.SRWDatabase @ 'dc.creator =
smith'== 4
2011-06-20 09:59:26,521 ERROR ORG.oclc.os.SRW.SRWDatabase @
java.lang.InstantiationException: This statement has been closed.
java.lang.InstantiationException: This statement has been closed.
at
ORG.oclc.os.SRW.DSpaceLucene.LuceneQueryResult.init(LuceneQueryResult.java:113)
at
ORG.oclc.os.SRW.DSpaceLucene.LuceneQueryResult.newRecordIterator(LuceneQueryResult.java:142)
at ORG.oclc.os.SRW.QueryResult.recordIterator(QueryResult.java:72)
at ORG.oclc.os.SRW.SRWDatabase.doRequest(SRWDatabase.java:759)
at
gov.loc.www.zing.srw.srw_bindings.SRWSoapBindingImpl.searchRetrieveOperation(SRWSoapBindingImpl.java:138)
at
gov.loc.www.zing.srw.srw_bindings.SRWSoapBindingSkeleton.searchRetrieveOperation(SRWSoapBindingSkeleton.java:68)
at sun.reflect.GeneratedMethodAccessor137.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
at
org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
at
org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at
org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
at
ORG.oclc.os.SRW.SRWServlet.processMethodRequest(SRWServlet.java:1501)
at ORG.oclc.os.SRW.SRWServlet.doGet(SRWServlet.java:375)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at