Hello,

thanks to everyone for the help, I managed to solve the problem by inserting 
the following lines in dspace.cfg (we have a. cfg that we carry from version 
1.6, although we are currently version 3.2):

 

event.dispatcher.default.consumers = versioning, discovery, ePerson, harvester

# Consumer to 'maintain the discovery index

event.consumer.discovery.class = 
org.dspace.discovery.IndexEventConsumerevent.consumer.discovery.filters = 
Community | Collection | Item | Bundle + Add | Create | Modify | 
Modify_Metadata | Delete | Remove

# Consumer to 'maintain versions

event.consumer.versioning.class = org.dspace.versioning.VersioningConsumer

event.consumer.versioning.filters = Item + Install

 

greetings

Gaetano

 

__________________________________________________

 

C.S.I. Universita' degli Studi di Salerno

Gaetano Rufino

Ufficio Sistemi Tecnologici

E-Mail: [email protected]

Tel: +39 089 966 350 Fax: +39 089 966 368/346 

Tel. HelpDesk: +39 089 966 400 

__________________________________________________

 

“Lei disse: “Dimmi qualcosa di bello” Lui rispose: “(∂ + m) ψ = 0””

qr

 

Da: Hilton Gibson [mailto:[email protected]] 
Inviato: giovedì 5 dicembre 2013 09:03
A: Sig. Gaetano RUFINO
Cc: Ivan Masár; dspace-tech
Oggetto: Re: [Dspace-tech] R: help discovery

 

Hi

 

Check your "dspace.cfg" file.

Some more help is here: 
http://wiki.lib.sun.ac.za/index.php/SUNScholar/SOLR_Discovery

Based on DSpace 1.8.2.

 

Cheers

 

hg




Hilton Gibson

Ubuntu Linux Systems Administrator

JS Gericke Library

Room 1025D

Stellenbosch University

Private Bag X5036

Stellenbosch

7599

South Africa

 

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

http://library.sun.ac.za

http://za.linkedin.com/in/hiltongibson

 

On 5 December 2013 09:36, Sig. Gaetano RUFINO <[email protected]> wrote:

Hi,

the error occurs on start with tomcat I am attaching all the stacktrace:

2013-12-04 09:00:16,012 ERROR org.dspace.app.webui.servlet.SubmissionController 
@ Error loading step class'org.dspace.submit.step.SelectCollectionStep':
java.lang.IllegalStateException: Unable to aquire dispatcher named default
        at org.dspace.event.EventManager.getDispatcher(EventManager.java:115)
        at org.dspace.core.Context.commit(Context.java:329)
        at 
org.dspace.submit.step.SelectCollectionStep.doProcessing(SelectCollectionStep.java:110)
        at 
org.dspace.app.webui.submit.JSPStepManager.doStepStart(JSPStepManager.java:301)
        at 
org.dspace.app.webui.submit.JSPStepManager.processStep(JSPStepManager.java:246)
        at 
org.dspace.app.webui.servlet.SubmissionController.doStep(SubmissionController.java:382)
        at 
org.dspace.app.webui.servlet.SubmissionController.doDSPost(SubmissionController.java:285)
        at 
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:115)
        at 
org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:73)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at 
org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:66)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at 
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
        at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:775)
        at 
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:704)
        at 
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:897)
        at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
        at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.IllegalArgumentException: No class configured for consumer 
named: discovery
        at 
org.dspace.event.ConsumerProfile.readConfiguration(ConsumerProfile.java:78)
        at 
org.dspace.event.ConsumerProfile.makeConsumerProfile(ConsumerProfile.java:62)
        at 
org.dspace.event.EventManager$DispatcherPoolFactory.makeObject(EventManager.java:227)
        at 
org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:964)
        at 
org.apache.commons.pool.PoolUtils$SynchronizedKeyedObjectPool.borrowObject(PoolUtils.java:1159)
        at org.dspace.event.EventManager.getDispatcher(EventManager.java:111)
        ... 31 more

thanks again and greetings

Saluti
Gaetano


__________________________________________________

C.S.I. Universita' degli Studi di Salerno
Gaetano Rufino
Ufficio Sistemi Tecnologici
E-Mail: [email protected]
Tel: +39 089 966 350 <tel:%2B39%20089%20966%20350>  Fax: +39 089 966 368 
<tel:%2B39%20089%20966%20368> /346
Tel. HelpDesk: +39 089 966 400 <tel:%2B39%20089%20966%20400> 
__________________________________________________

“Lei disse: “Dimmi qualcosa di bello” Lui rispose: “(∂ + m) ψ = 0””



-----Messaggio originale-----
Da: [email protected] [mailto:[email protected]] Per conto di helix84
Inviato: mercoledì 4 dicembre 2013 16:01
A: Sig. Gaetano RUFINO
Cc: dspace-tech
Oggetto: Re: [Dspace-tech] help discovery

On Wed, Dec 4, 2013 at 10:04 AM, Sig. Gaetano RUFINO <[email protected]> wrote:
> Hello,when I enable the discovery and insert the following string of 
> dspace.cfg: event.dispatcher.default.consumers = search, browse, discovery, 
> ePerson, harvester, my dspace gives me the error: 
> java.lang.IllegalStateException: Unable to aquire dispatcher named default.

Hi Gaetano,

do you have your event.dispatcher.default.consumers property all on a single 
line?

Do you encounter the exception when starting DSpace in Tomcat or via command 
line (or both)? Also post the full stacktrace of the exception (lines up to and 
following the "Caused by" line).


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


------------------------------------------------------------------------------
Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631 
<http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk> 
&iu=/4140/ostg.clktrk
_______________________________________________
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

 

<<image001.jpg>>

------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
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