*Dear Bollini AndreaThank you so much Bollini Andrea :DI try again to run 
OAIHarvest  on windows 10 (dspace-cris-5.6.1).I'll report to you later on 
.Regards*


*Sincerly yours, Yen-Tang Chen*

Bollini Andrea於 2016年11月24日星期四 UTC+8下午7時30分28秒寫道:
>
> Hi Yen-Tang Chen,
> the method turnOffItemWrapper() was introduced in April after the tag of 
> the 5.5.0 version so it is only available on the maintenance branch and in 
> the new versions (5.6.1).
> I think that on windows you are using old code, probably the one from the 
> 5.5.0 tag as your path suggest.
> It was unclear to me if with such change on centos you have run successful 
> the OAIHarvest or if right now you are just verified that the proposed 
> patch compile. Can you please confirm?
> Thanks,
> Andrea
>
> Il 24/11/2016 09:44, 陳彥棠 ha scritto:
>
>
>
> *Dear Bollini Andrea *
> *I try to add  this line 126  " c.turnOffItemWrapper(); " in the " 
> C:\DSpace-dspace-cris-5.5.0\dspace-api\src\main\java\org\dspace\harvest\OAIHarvester.java
>  
> "*
> *on the linux(cetos 7) is successful!!! (dspace-cris-oai_01.png)*
> mvn package  ..ok    
>
> but it is failure on the windows 10..........
> Error message => dspace-cris-oai_error.png
> mvn package  ..error
>
>
> *cetos 7  and *windows 10 are same settings
>
> Dspace-cris-5.6.1   
> tomcat 8.0.39
> jdk 1.8.0
> postgreSQL 9.5 
>
> I don't know error..... Fantastic results!!
>
>
>
> *Regards* 
>
>
> *Sincerly yours, Yen-Tang Chen*
>
>
> 陳彥棠於 2016年11月23日星期三 UTC+8上午10時14分30秒寫道: 
>>
>>
>>
>>
>>
>>
>> * Dear Bollini Andrea I try to add  this line 126  " 
>> c.turnOffItemWrapper(); " in the " 
>> C:\DSpace-dspace-cris-5.5.0\dspace-api\src\main\java\org\dspace\harvest\OAIHarvester.java
>>  
>> " but it is errors for the **mvn package  , I can not find the method " *
>>
>>
>> *turnOffItemWrapper()"...  Would i need to add those parameters? * 
>>
>>
>> <https://lh3.googleusercontent.com/-GGQS3MHrYc0/WDT4QmM4JBI/AAAAAAAAA68/2VDtfLeNLvYUc_VP9GJclqQzF8unGCy_wCLcB/s1600/dspace-cris-oai_error.png>
>>
>>
>> *Regards*
>>
>>
>> *Sincerly yours, Yen-Tang Chen*
>>
>>
>> Bollini Andrea於 2016年11月22日星期二 UTC+8下午5時28分42秒寫道: 
>>>
>>> Hi 
>>>
>>> it looks as a bug in DSpace-CRIS. It should be enough to add this line
>>>
>>> c.turnOffItemWrapper();
>>>
>>> here
>>>
>>>
>>> https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace-api/src/main/java/org/dspace/harvest/OAIHarvester.java#L126
>>>
>>> Unfortunately I have no time today to verify, can you run a fast test 
>>> and report if it solves so to include the fix in the next release?
>>> Thanks,
>>> Andrea
>>>
>>> Il 22/11/2016 04:35, 陳彥棠 ha scritto:
>>>
>>> Dear all
>>>
>>> I run Dspace-CRIS 5.5.0  OAI-pmh error ....
>>>
>>> I see Dspace-CRIS Edit Collection Last Harvest Result=> Error occurred 
>>> while processing an OAI record
>>> So I checking dspace.log  message
>>>
>>> dspace.log   message
>>>
>>>  INFO  org.dspace.content.Item @ anonymous::update_item:item_id=4179
>>>  INFO  org.dspace.content.WorkspaceItem @ 
>>> anonymous::create_workspace_item:workspace_item_id=-1item_id=4179collection_id=1
>>>  ERROR org.dspace.harvest.OAIHarvester @* Harvesting error occurred 
>>> while processing an OAI record: The 'item' schema has not been defined in 
>>> this DSpace instance. *
>>>  INFO  org.dspace.content.Collection @ 
>>> anonymous::update_collection:collection_id=1
>>>  INFO  org.dspace.harvest.OAIHarvester @ Thread for collection 1 
>>> completes.
>>>  INFO  org.dspace.harvest.OAIHarvester @ Done with iteration 5
>>>  INFO  org.dspace.harvest.OAIHarvester @ Collections ready for immediate 
>>> harvest: [1]
>>>  INFO  org.dspace.harvest.OAIHarvester @ Thread queued up: 
>>> Thread[Thread-228,5,main]
>>>  INFO  org.dspace.harvest.OAIHarvester @ Thread started: 
>>> Thread[Thread-229,5,main]
>>>  INFO  org.dspace.harvest.OAIHarvester @ Thread for collection 1 starts.
>>>  INFO  org.dspace.harvest.OAIHarvester @ HTTP Request: 
>>> http://ntur.lib.ntu.edu.tw/ir-oai/request?verb=ListRecords&until=2016-11-22T02:45:42Z&set=hdl_246246_43199&metadataPrefix=oai_dc
>>>  INFO  org.dspace.harvest.OAIHarvester @ Found 100 records to process
>>>  INFO  org.dspace.content.Item @ anonymous::update_item:item_id=4180
>>>  INFO  org.dspace.content.Item @ anonymous::create_item:item_id=4180
>>>  INFO  org.dspace.content.Item @ anonymous::update_item:item_id=4180
>>>  INFO  org.dspace.content.WorkspaceItem @ 
>>> anonymous::create_workspace_item:workspace_item_id=-1item_id=4180collection_id=1
>>>  ERROR org.dspace.harvest.OAIHarvester @ Harvesting error occurred while 
>>> processing an OAI record: The 'item' schema has not been defined in this 
>>> DSpace instance. 
>>>  INFO  org.dspace.content.Collection @ 
>>> anonymous::update_collection:collection_id=1
>>>  INFO  org.dspace.harvest.OAIHarvester @ Thread for collection 1 
>>> completes.
>>>  WARN  org.dspace.storage.rdbms.DatabaseManager @ Already closed.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *java.sql.SQLException: Already closed.     at 
>>> org.apache.commons.dbcp.PoolableConnection.close(PoolableConnection.java:114)
>>>  
>>>     at 
>>> org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.close(PoolingDataSource.java:191)
>>>  
>>>     at 
>>> org.dspace.storage.rdbms.DatabaseManager.freeConnection(DatabaseManager.java:676)
>>>  
>>>     at org.dspace.core.Context.abort(Context.java:567)     at 
>>> org.dspace.core.Context.finalize(Context.java:733)     at 
>>> java.lang.System$2.invokeFinalize(Unknown Source)     at 
>>> java.lang.ref.Finalizer.runFinalizer(Unknown Source)     at 
>>> java.lang.ref.Finalizer.access$100(Unknown Source)     at 
>>> java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source) *It is my 
>>> database  schemas tables  item => item_id=4179 *(ps:**item_id=4179)*
>>> but database have obviously data ..... 
>>>
>>> I also tried using dspace 5.5 OAI-pmh on * same condition*
>>> It is a successful execution*(ps:dspace-5.5 jspui, dspace-5.5.log*
>>>
>>> *) *Why use dspace-cris oai in question?
>>>
>>>
>>> I'm sorry that my English is not good ...
>>> Description of the expression may not be clear.......
>>>
>>>
>>> Regards
>>>
>>>
>>> Sincerly yours, Yen-Tang Chen
>>>
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "DSpace Technical Support" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at https://groups.google.com/group/dspace-tech.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>>
>>> -- 
>>> Andrea Bollini
>>> Chief Technology and Innovation Officer
>>>
>>> 4Science,  www.4science.it
>>> office: Via Edoardo D'Onofrio 304, 00155 Roma, Italy
>>> mobile: +39 333 934 1808
>>> skype: a.bollini
>>> linkedin: andreabollini
>>> orcid: 0000-0002-9029-1854
>>>
>>> an Itway Group Company
>>> Italy, France, Spain, Portugal, Greece, Turkey, Lebanon, Qatar, U.A.Emirates
>>>
>>>
> -- 
> Andrea Bollini
> Chief Technology and Innovation Officer
>
> 4Science,  www.4science.it
> office: Via Edoardo D'Onofrio 304, 00155 Roma, Italy
> mobile: +39 333 934 1808
> skype: a.bollini
> linkedin: andreabollini
> orcid: 0000-0002-9029-1854
>
> an Itway Group Company
> Italy, France, Spain, Portugal, Greece, Turkey, Lebanon, Qatar, U.A.Emirates
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to