We have a target DSpace 1.7.2 instance and a client DSpace 1.5.2 instance 
(Vireo ETD management system by Texas Digital Library).

SWORD deposit from the client to the server was working fine for last several 
weeks and all of a sudden it stopped working yesterday.


This is what I have found so far:

The SWORD client creates the package, makes a request for the Service document. 
It receives the service doc from the server. However, it looks like it just 
gets stuck there after that. I don't see any error messages on the target 
server nor on the client. The username/password for the SWORD deposit user is 
working correctly as well.

I would appreciate if some SWORD experts could shed some light into this issue.



Target DSpace instance DEBUG log:
2012-02-01 11:20:17,159 DEBUG org.purl.sword.server.ServiceDocumentServlet @ 
Requested url is: http://uarkive.uark.edu:8080/sword/servicedocument
2012-02-01 11:20:17,159 DEBUG org.purl.sword.server.ServiceDocumentServlet @ 
Requested url with Query String is: http://uarkive.uark.edu:8080/sword/servicedo
2012-02-01 11:20:17,161 INFO  org.dspace.sword.SWORDAuthenticator @ 
anonymous:session_id=0:ip_addr=130.184.5.7:sword_authenticate:username=repouser,on_behalf
2012-02-01 11:20:17,161 INFO  org.dspace.authenticate.LDAPAuthentication @ 
anonymous:session_id=0:ip_addr=130.184.5.7:auth:attempting trivial auth of 
user=re
2012-02-01 11:20:17,161 DEBUG org.dspace.storage.rdbms.DatabaseManager @ 
Running query "select * from EPERSON where netid = ? "  with parameters: 
repouser
2012-02-01 11:20:17,195 DEBUG org.dspace.storage.rdbms.DatabaseManager @ 
Running query "select * from EPERSON where netid = ? "  with parameters: 
repouser
2012-02-01 11:20:17,196 INFO  org.dspace.authenticate.LDAPAuthentication @ 
[email protected]:session_id=0:ip_addr=130.184.5.7:authenticate:type=ldap
2012-02-01 11:20:17,196 DEBUG org.dspace.storage.rdbms.DatabaseManager @ 
Running query "select * from EPERSONGROUP where name = ? "  with parameters: 
uarkInt
2012-02-01 11:20:17,197 DEBUG org.dspace.sword.SWORDAuthenticator @ Adding 
Special Group id=20
2012-02-01 11:20:17,198 DEBUG org.dspace.sword.DSpaceSWORDServer @ 
[email protected]:session_id=0:ip_addr=130.184.5.7:sword_do_service_document:
2012-02-01 11:20:17,198 INFO  org.dspace.sword.DSpaceSWORDServer @ 
[email protected]:session_id=0:ip_addr=130.184.5.7:sword_service_document_request:username
2012-02-01 11:20:17,198 DEBUG org.dspace.sword.CommunityCollectionGenerator @ 
Created instance of CommunityCollectionGenerator
2012-02-01 11:20:17,198 DEBUG org.dspace.sword.CollectionCollectionGenerator @ 
Create new instance of CollectionCollectionGenerator
2012-02-01 11:20:17,198 DEBUG org.dspace.storage.rdbms.DatabaseManager @ 
Running query "SELECT * FROM collection ORDER BY name"  with parameters:
2012-02-01 11:20:17,203 DEBUG org.dspace.storage.rdbms.DatabaseManager @ 
Running query "select * from ITEM where ITEM_ID = ? "  with parameters: 48
2012-02-01 11:20:17,204 DEBUG org.dspace.content.Item @ 
[email protected]:session_id=0:ip_addr=130.184.5.7:find_item:item_id=48
2012-02-01 11:20:17,204 DEBUG org.dspace.storage.rdbms.DatabaseManager @ 
Running query "SELECT * FROM Handle WHERE resource_type_id = ? AND resource_id 
= ?"
2012-02-01 11:20:17,205 DEBUG org.dspace.storage.rdbms.DatabaseManager @ 
Running query "select * from EPERSONGROUP where EPERSON_GROUP_ID = ? "  with 
paramet
2012-02-01 11:20:17,207 DEBUG org.dspace.storage.rdbms.DatabaseManager @ 
Running query "select * from EPERSONGROUP where EPERSON_GROUP_ID = ? "  with 
paramet
2012-02-01 11:20:17,208 DEBUG org.dspace.storage.rdbms.DatabaseManager @ 
Running query "select * from EPERSONGROUP where EPERSON_GROUP_ID = ? "  with 
paramet
2012-02-01 11:20:17,209 DEBUG org.dspace.storage.rdbms.DatabaseManager @ 
Running query "select * from EPERSONGROUP where EPERSON_GROUP_ID = ? "  with 
paramet
2012-02-01 11:20:17,210 DEBUG org.dspace.storage.rdbms.DatabaseManager @ 
Running query "select * from EPERSONGROUP where EPERSON_GROUP_ID = ? "  with 
paramet
2012-02-01 11:20:17,211 DEBUG org.dspace.storage.rdbms.DatabaseManager @ 
Running query "SELECT * FROM Handle WHERE resource_type_id = ? AND resource_id 
= ?"
2012-02-01 11:20:17,212 DEBUG org.dspace.storage.rdbms.DatabaseManager @ 
Running query "SELECT community.* FROM community, community2collection WHERE 
communi
2012-02-01 11:20:17,215 DEBUG org.dspace.storage.rdbms.DatabaseManager @ 
Running query "SELECT * FROM Handle WHERE resource_type_id = ? AND resource_id 
= ?"
2012-02-01 11:20:17,216 DEBUG org.dspace.storage.rdbms.DatabaseManager @ 
Running query "SELECT community.* FROM community, community2community WHERE 
communit
2012-02-01 11:20:17,217 DEBUG org.dspace.storage.rdbms.DatabaseManager @ 
Running query "SELECT * FROM epersongroup2eperson WHERE eperson_id= ?"  with 
paramet
2012-02-01 11:20:17,219 DEBUG org.dspace.storage.rdbms.DatabaseManager @ 
Running query "SELECT * FROM group2groupcache WHERE child_id= ?  OR child_id= ? 
 OR
2012-02-01 11:20:17,220 DEBUG org.dspace.storage.rdbms.DatabaseManager @ 
Running query "SELECT * FROM resourcepolicy WHERE resource_type_id= ? AND 
resource_i
2012-02-01 11:20:17,221 DEBUG org.dspace.storage.rdbms.DatabaseManager @ 
Running query "SELECT * FROM epersongroup2eperson WHERE eperson_id= ?"  with 
paramet
2012-02-01 11:20:17,223 DEBUG org.dspace.storage.rdbms.DatabaseManager @ 
Running query "SELECT * FROM group2groupcache WHERE child_id= ?  OR child_id= ? 
 OR
2012-02-01 11:20:17,224 DEBUG org.dspace.sword.CollectionCollectionGenerator @ 
Created ATOM Collection for DSpace Collection <----- (LAST LOG EVENT)

Source DSpace instance DEBUG log:
2012-02-01 11:20:17,012 DEBUG org.dspace.storage.rdbms.DatabaseManager @ 
Running query "select * from bitstream where bitstream_id = ? "  with 
parameters: 267
2012-02-01 11:20:17,015 DEBUG 
org.dspace.storage.bitstore.BitstreamStorageManager @ Local filename for 
114421080641945003015396283382390725849 is 
/usr/local/vireo/assetstore/11/44/21/114421080641945003015396283382390725849
2012-02-01 11:20:17,052 DEBUG org.purl.sword.client.Client @ proxy host: null
2012-02-01 11:20:17,052 DEBUG org.purl.sword.client.Client @ proxy port: -1
2012-02-01 11:20:17,087 DEBUG org.purl.sword.client.Client @ server: 
uarkive.uark.edu port: 8080 u: 'repouser' p 'XXXXXXX'
2012-02-01 11:20:17,151 INFO  
org.apache.commons.httpclient.auth.AuthChallengeProcessor @ basic 
authentication scheme selected
2012-02-01 11:20:17,153 DEBUG httpclient.wire.content @ << 
"<html><head><title>Apache Tomcat/5.5.23 - Error report</title><style><!--H1 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
 H2 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
 H3 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
 BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} 
B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P 
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
 {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> 
</head><body><h1>HTTP Status 401 - </h1><HR size="1" 
noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> 
<u></u></p><p><b>description</b> <u>This request requires HTTP authentication 
().</u></p><HR size="1" noshade="noshade"><h3>Apache 
Tomcat/5.5.23</h3></body></html>"
2012-02-01 11:20:17,231 DEBUG httpclient.wire.content @ << "b"
2012-02-01 11:20:17,231 DEBUG httpclient.wire.content @ << "2"
2012-02-01 11:20:17,231 DEBUG httpclient.wire.content @ << "2"
2012-02-01 11:20:17,231 DEBUG httpclient.wire.content @ << "[\r]"
2012-02-01 11:20:17,231 DEBUG httpclient.wire.content @ << "[\n]"
2012-02-01 11:20:17,232 DEBUG httpclient.wire.content @ << "<?xml version="1.0" 
encoding="UTF-8"?>[\r][\n]"
2012-02-01 11:20:17,232 DEBUG httpclient.wire.content @ << "<app:service 
xmlns:atom="http://www.w3.org/2005/Atom"; xmlns:app="http://www.w3.org/2007/app"; 
xmlns:sword="http://purl.org/net/sword/"; 
xmlns:dcterms="http://purl.org/dc/terms/";>[\r][\n]"
2012-02-01 11:20:17,232 DEBUG httpclient.wire.content @ << "   
<sword:version>1.3</sword:version>[\r][\n]"
2012-02-01 11:20:17,232 DEBUG httpclient.wire.content @ << "   
<sword:verbose>true</sword:verbose>[\r][\n]"
2012-02-01 11:20:17,232 DEBUG httpclient.wire.content @ << "   
<sword:noOp>true</sword:noOp>[\r][\n]"
2012-02-01 11:20:17,232 DEBUG httpclient.wire.content @ << "   
<sword:maxUploadSize>-1</sword:maxUploadSize>[\r][\n]"
2012-02-01 11:20:17,232 DEBUG httpclient.wire.content @ << "   <atom:generator 
uri="http://www.dspace.org/ns/sword/1.3.1"; version="1.3"/>[\r][\n]"
2012-02-01 11:20:17,232 DEBUG httpclient.wire.content @ << "   
<app:workspace>[\r][\n]"
2012-02-01 11:20:17,232 DEBUG httpclient.wire.content @ << "      <atom:title 
type="text">UA Digital Library</atom:title>[\r][\n]"
2012-02-01 11:20:17,232 DEBUG httpclient.wire.content @ << "      
<app:collection 
href="http://uarkive.uark.edu:8080/sword/deposit/10826/51";>[\r][\n]"
2012-02-01 11:20:17,232 DEBUG httpclient.wire.content @ << "         
<atom:title type="text">Undergraduate Honors Theses</atom:title>[\r][\n]"
2012-02-01 11:20:17,232 DEBUG httpclient.wire.content @ << "         
<app:accept>application/zip</app:accept>[\r][\n]"
2012-02-01 11:20:17,232 DEBUG httpclient.wire.content @ << "         
<sword:acceptPackaging 
q="1.0">http://purl.org/net/sword-types/METSDSpaceSIP</sword:acceptPackaging>[\r][\n]"
2012-02-01 11:20:17,233 DEBUG httpclient.wire.content @ << "         
<sword:collectionPolicy>NOTE: PLACE YOUR OWN LICENSE HERE This sample license 
is provided for informational purposes only. NON-EXCLUSIVE DISTRIBUTION LICENSE 
By signing and submitting this license, you (the author(s) or copyright owner) 
grants to DSpace University (DSU) the non-exclusive right to reproduce, 
translate (as defined below), and/or distribute your submission (including the 
abstract) worldwide in print and electronic format and in any medium, including 
but not limited to audio or video. You agree that DSU may, without changing the 
content, translate the submission to any medium or format for the purpose of 
preservation. You also agree that DSU may keep more than one copy of this 
submission for purposes of security, back-up and preservation. You represent 
that the submission is your original work, and that you have the right to grant 
the rights contained in this license. You also represent that your submission 
does not, to the best of your knowledge, infringe upon anyone's copyright. If 
the submission contains material for which you do not hold copyright, you 
represent that you have obtained the unrestricted permission of the copyright 
owner to grant DSU the rights required by this license, and that such 
third-party owned material is clearly identified and acknowledged within the 
text or content of the submission. IF THE SUBMISSION IS BASED UPON WORK THAT 
HAS BEEN SPONSORED OR SUPPORTED BY AN AGENCY OR ORGANIZATION OTHER THAN DSU, 
YOU REPRESENT THAT YOU HAVE FULFILLED ANY RIGHT OF REVIEW OR OTHER OBLIGATIONS 
REQUIRED BY SUCH CONTRACT OR AGREEMENT. DSU will clearly identify your name(s) 
as the author(s) or owner(s) of the submission, and will not make any 
alteration, other than as allowed by this license, to your submission. 
</sword:collectionPolicy>[\r][\n]"
2012-02-01 11:20:17,233 DEBUG httpclient.wire.content @ << "         
<dcterms:abstract>Undergraduate Honors Theses</dcterms:abstract>[\r][\n]"
2012-02-01 11:20:17,233 DEBUG httpclient.wire.content @ << "         
<sword:mediation>true</sword:mediation>[\r][\n]"
2012-02-01 11:20:17,233 DEBUG httpclient.wire.content @ << "      
</app:collection>[\r][\n]"
2012-02-01 11:20:17,233 DEBUG httpclient.wire.content @ << "   
</app:workspace>[\r][\n]"
2012-02-01 11:20:17,233 DEBUG httpclient.wire.content @ << 
"</app:service>[\r][\n]"
2012-02-01 11:20:17,234 DEBUG httpclient.wire.content @ << "[\r]"
2012-02-01 11:20:17,234 DEBUG httpclient.wire.content @ << "[\n]"
2012-02-01 11:20:17,234 DEBUG httpclient.wire.content @ << "0"
2012-02-01 11:20:17,234 DEBUG httpclient.wire.content @ << "[\r]"
2012-02-01 11:20:17,234 DEBUG httpclient.wire.content @ << "[\n]"
2012-02-01 11:20:17,234 DEBUG httpclient.wire.content @ << "[\r]"
2012-02-01 11:20:17,234 DEBUG httpclient.wire.content @ << "[\n]"
2012-02-01 11:20:17,234 DEBUG org.purl.sword.client.Client @ returned message 
is: <?xml version="1.0" encoding="UTF-8"?>
<app:service xmlns:atom="http://www.w3.org/2005/Atom"; 
xmlns:app="http://www.w3.org/2007/app"; xmlns:sword="http://purl.org/net/sword/"; 
xmlns:dcterms="http://purl.org/dc/terms/";>
   <sword:version>1.3</sword:version>
   <sword:verbose>true</sword:verbose>
   <sword:noOp>true</sword:noOp>
   <sword:maxUploadSize>-1</sword:maxUploadSize>
   <atom:generator uri="http://www.dspace.org/ns/sword/1.3.1"; version="1.3"/>
   <app:workspace>
      <atom:title type="text">UA Digital Library</atom:title>
      <app:collection 
href="http://uarkive.uark.edu:8080/sword/deposit/10826/51";>
         <atom:title type="text">Undergraduate Honors Theses</atom:title>
         <app:accept>application/zip</app:accept>
         <sword:acceptPackaging 
q="1.0">http://purl.org/net/sword-types/METSDSpaceSIP</sword:acceptPackaging>
         <sword:collectionPolicy>NOTE: PLACE YOUR OWN LICENSE HERE This sample 
license is provided for informational purposes only. NON-EXCLUSIVE DISTRIBUTION 
LICENSE By signing and submitting this license, you (the author(s) or copyright 
owner) grants to DSpace University (DSU) the non-exclusive right to reproduce, 
translate (as defined below), and/or distribute your submission (including the 
abstract) worldwide in print and electronic format and in any medium, including 
but not limited to audio or video. You agree that DSU may, without changing the 
content, translate the submission to any medium or format for the purpose of 
preservation. You also agree that DSU may keep more than one copy of this 
submission for purposes of security, back-up and preservation. You represent 
that the submission is your original work, and that you have the right to grant 
the rights contained in this license. You also represent that your submission 
does not, to the best of your knowledge, infringe upon anyone's copyright. If 
the submission contains material for which you do not hold copyright, you 
represent that you have obtained the unrestricted permission of the copyright 
owner to grant DSU the rights required by this license, and that such 
third-party owned material is clearly identified and acknowledged within the 
text or content of the submission. IF THE SUBMISSION IS BASED UPON WORK THAT 
HAS BEEN SPONSORED OR SUPPORTED BY AN AGENCY OR ORGANIZATION OTHER THAN DSU, 
YOU REPRESENT THAT YOU HAVE FULFILLED ANY RIGHT OF REVIEW OR OTHER OBLIGATIONS 
REQUIRED BY SUCH CONTRACT OR AGREEMENT. DSU will clearly identify your name(s) 
as the author(s) or owner(s) of the submission, and will not make any 
alteration, other than as allowed by this license, to your submission. 
</sword:collectionPolicy>
         <dcterms:abstract>Undergraduate Honors Theses</dcterms:abstract>
         <sword:mediation>true</sword:mediation>
      </app:collection>
   </app:workspace>
</app:service>

2012-02-01 11:20:17,425 DEBUG org.purl.sword.client.Client @ server: 
uarkive.uark.edu port: 8080 u: 'repouser' p 'XXXXXX' <----- (LAST LOG EVENT)


Diwakar Timilsina
Systems Analyst, UITS
University of Arkansas, Fayetteville
Email: [email protected]<mailto:[email protected]>
Phone: 479.575.6160

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to