Hi Folks,
Thanks for your answers, much appreciated. Seems that the dspace.dir
property of the xmlui webapp was not set (good spot, Mark), but for reasons
which aren't clear; I'll keep an eye on it and see if the same issue recurs.
In the mean time, really happy with the configurable workflow, going to be
very useful!
Cheers,
Richard
On Mon, Sep 17, 2012 at 2:19 PM, Nestor Oviedo <[email protected]>wrote:
> Hi Richard.
> Are you using Java 7 or OpenJDK ??
> We already faced that problem. Take a look at the comment:
>
> https://jira.duraspace.org/browse/DS-1081?focusedCommentId=25902&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-25902
>
> That might help you to address this issue.
> Please, let me know if this was your problem.
> Regards
> Nestor
>
> Sun, Sep 16, 2012 at 12:52 PM, Richard Jones <[email protected]>
> wrote:
> > 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
> >
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel