Hi Folks,

I'm toying with the configurable workflow system, and am having some issues
getting it to load the implementation classes from the workflow-actions.xml
spring configuration.

I've managed to get the workflow enabled and integrated into my DSpace
extension that I'm working on, but when I ask it to load the workflow, it
bottoms out with an NPE.  This is ultimately due to the
UserSelectionActionConfig implementation being null.  This class is loaded
by a line which looks like the following:

new DSpace().getServiceManager().getServiceByName(userSelectionActionID,
UserSelectionActionConfig.class);

Here, userSelectionActionID = "claimaction", and I'm currently only using
the default workflow.xml, so the id is definitely correct.  I've run this
line in debug, and get null from it, so I asked the service manager to give
me all implementations of UserSelectionActionConfig, of which there are 0.
 I then asked the service manager for all its service names, and none of
the workflow services are there.  This suggests that the
workflow-actions.xml spring config file in [dspace]/config/spring/api isn't
being loaded or parsed correctly (I've started and stopped tomcat a few
times just to try to encourage the service manager to do it).

I'm not knowledgeable at all about spring, so perhaps I'm missing something
obvious?  Any tips?

Cheers,

Richard
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to