Hi Alain,

It sounds like you were previously using an older/outdated version of 
the Replication Task Suite with your DSpace 1.8 release.  The 
Replication Task Suite has gone through some configuration changes over 
the last few years, and it sounds like you are using the old 
configuration(s) with the new version of the plugin.

The class named "org.dspace.ctask.replicate.ReplicateConsumer" no longer 
exists in the ReplicationTaskSuite. You likely have an old configuration 
referring to this old class in your dspace.cfg (see below for more)

It has been replaced by two separate Consumer classes:
* org.dspace.ctask.replicate.METSReplicateConsumer (used for METS-based 
AIPs)
* org.dspace.ctask.replicate.BagItReplicateConsumer (used for 
BagIt-based AIPs)

So, I suspect the problem is that you are using old configurations in 
your dspace.cfg file. (Specifically, your 
"event.consumer.replicate.class" and "event.consumer.replicate.filters" 
settings are outdated)

The new configuration options detail you how to configure either the 
"METSReplicateConsumer" or the "BagItReplicateConsumer" based on your needs:

https://wiki.duraspace.org/display/DSPACE/ReplicationTaskSuite#ReplicationTaskSuite-AutomaticallySyncChanges%28viaQueue%29

Let us know if there are any other questions.

(BTW -- you should change your POM.xml back. It should just refer to 
<version>3.0-SNAPSHOT</version>.  We will be likely releasing a 3.0 
official version of the Replication Task Suite in the coming months, at 
which point you can chance that <version> tag to upgrade -- don't worry 
configs won't change then)

- Tim


On 2/26/2013 8:55 AM, Alain Tschanz wrote:
> I changed the entry in the pom.xml files to this:
> <!-- Adding this dependency will install the Replication Task Suite Addon -->
>      <dependency>
>          <groupId>org.dspace</groupId>
>          <artifactId>dspace-replicate</artifactId>
>          <version>3.0-20130103.183052-1</version>
>      </dependency>
>
> After I ran mvn clean package and ant update commands, I still have the same 
> problem. DSpace displays the same error: java.lang.ClassNotFoundException: 
> org.dspace.ctask.replicate.ReplicateConsumer
>
> Alain
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of helix84
> Sent: Tuesday, February 26, 2013 9:15 AM
> To: Alain Tschanz
> Cc: [email protected]
> Subject: Re: [Dspace-tech] After upgrade to DSpace 3.0 cannot add new items
>
> On Tue, Feb 26, 2013 at 3:12 PM, Alain Tschanz <[email protected]> 
> wrote:
>> According to the install instructions at 
>> https://wiki.duraspace.org/display/DSPACE/ReplicationTaskSuite the version 
>> of dspace-replicate is 3.0-SNAPSHOT. When I look in the [dspace]/lib and 
>> [dspace]/webapps/xmlui/WEB-INF/lib/ folders I see 
>> dspace-replicate-3.0-20130103.183052-1.jar. Could this be the problem?
>
> Does your pom.xml contain the same version as the actual jar file name?
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette 
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette: 
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to