Re: [Dspace-tech] XMLWorkflow problem with claimaction
Cc: dspace-tech@lists.sourceforge.net Betreff: Re: [Dspace-tech] XMLWorkflow problem with claimaction Hello Wilko, looking at your workflow.xml as you defined the scope as repository the corresponding group must be defined on repository level. Do you got a group named editors see page 243 of the current documentation section roles. Hope that helps Claudia Jürgen Am 04.05.2012 15:19, schrieb van Hoek, Wilko: Hello again, thanx to Helix84 for the ideas. I really checked all the config-files, it's definitely the same in test- and server-version (despite a difference due to the other drirectory path...). I even tried setting all user all permission to all dspace-realted folders. Nothing kept working. I even tried fresh installing with anew build. The only thing left is to start with a new clean vanilla-version and I really don't want to do that. Isn't there anybody who might have an idea why dspace is unable to retrieve the Service for claimaction or any other UserSelectionMethod Maybe some of the XMLWorkflow-Developers?!? Von: van Hoek, Wilko [mailto:wilko.vanh...@gesis.org] Gesendet: Mittwoch, 2. Mai 2012 11:36 An: dspace-tech@lists.sourceforge.net Betreff: [Dspace-tech] XMLWorkflow problem with claimaction Hello everyone, I'm having a some problem with my configurable workflow in dspace (1.8.3). I configured it under my test-instance, which runs under windows 7, and ported it to our server running Ubuntu. The workflow works perfect in the test-instance. Testing it on the server I get a org.dspace.xmlworkflow.WorkflowConfigurationException after the completeStep. The Exception is thrown by the Step.java but resides to a fault in the WorflowManager.java. I was able to narrow the problem down to the following point. The first Step in my workflow involves the userSelectionMethod claimaction. The id can be extracted out of the workflow file but somehow the system is not able to instantiate the UserSelectionActionConfig: UserSelectionActionConfig userSelection = createUserAssignmentActionConfig(userSelectionActionID); After this line, userSelection is null and the setStep-Method in Step.java throws the nullpointerException: java.lang.NullPointerException at org.dspace.xmlworkflow.state.Step.init(Step.java:51) (line 51 in Step.java: userSelectionMethod.setStep(this);) I tried changing the userSelectionMethod to claimAction, noUserSelectionAction and autoassignAction, but I still ended up with the same behavior. I have absolutely no idea why this is happening. I hope there is someone who can help me with this. Thanks in advance, Wilko workflow.xml: wf-config workflow-map name-map collection=default workflow=default/ /workflow-map workflow start=finaleditstep id=default roles role id=editor name=editors scope=repository description=The people responsible for this step are able to edit the metadata of incoming submissions, and then accept or reject them./ /roles step id=finaleditstep role=editor userSelectionMethod=claimaction actions action id=finaleditaction/ /actions /step /workflow /wf-config Stacktrace Wilko van Hoek | A418 | tel. 526 -- 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-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Claudia Juergen Universitaetsbibliothek Dortmund Eldorado 0231/755-4043 https://eldorado.tu-dortmund.de/ -- 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-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Claudia Juergen Universitaetsbibliothek Dortmund Eldorado 0231/755-4043 https://eldorado.tu-dortmund.de/ -- 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
Re: [Dspace-tech] XMLWorkflow problem with claimaction
) at org.dspace.app.xmlui.cocoon.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.dspace.app.xmlui.cocoon.DSpaceCocoonServletFilter.doFilter(DSpaceCocoonServletFilter.java:269) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.cocoon.servlet.multipart.MultipartFilter.doFilter(MultipartFilter.java:131) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:636) Caused by: javax.servlet.ServletException: javax.servlet.ServletException: Error while retrieving workflow for the following collection: resid/2 at org.dspace.submit.step.CompleteStep.doProcessing(CompleteStep.java:103) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:155) at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:243) at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3237) at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2394) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:160) at org.mozilla.javascript.Context.call(Context.java:538) at org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java:1833) at org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java:1803) at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.handleContinuation(FOM_JavaScriptInterpreter.java:698) ... 181 more Caused by: javax.servlet.ServletException: Error while retrieving workflow for the following collection: resid/2 at org.dspace.submit.step.CompleteStep.doProcessing(CompleteStep.java:93) ... 197 more Caused by: Error while retrieving workflow for the following collection: resid/2 at org.dspace.xmlworkflow.WorkflowFactory.getWorkflow(WorkflowFactory.java:91) at org.dspace.xmlworkflow.XmlWorkflowManager.start(XmlWorkflowManager.java:56) at org.dspace.submit.step.CompleteStep.doProcessing(CompleteStep.java:90) ... 197 more -Ursprüngliche Nachricht- Von: Claudia Jürgen [mailto:claudia.juer...@ub.tu-dortmund.de] Gesendet: Freitag, 4. Mai 2012 16:11 An: van Hoek, Wilko Cc: dspace-tech@lists.sourceforge.net Betreff: Re: [Dspace-tech] XMLWorkflow problem with claimaction Hello Wilko, looking at your workflow.xml as you defined the scope as repository the corresponding group must be defined on repository level. Do you got a group named editors see page 243 of the current documentation section roles. Hope that helps Claudia Jürgen Am 04.05.2012 15:19, schrieb van Hoek, Wilko: Hello again, thanx to Helix84 for the ideas. I really checked all
Re: [Dspace-tech] XMLWorkflow problem with claimaction
Hello again, thanx to Helix84 for the ideas. I really checked all the config-files, it's definitely the same in test- and server-version (despite a difference due to the other drirectory path...). I even tried setting all user all permission to all dspace-realted folders. Nothing kept working. I even tried fresh installing with anew build. The only thing left is to start with a new clean vanilla-version and I really don't want to do that. Isn't there anybody who might have an idea why dspace is unable to retrieve the Service for claimaction or any other UserSelectionMethod Maybe some of the XMLWorkflow-Developers?!? Von: van Hoek, Wilko [mailto:wilko.vanh...@gesis.org] Gesendet: Mittwoch, 2. Mai 2012 11:36 An: dspace-tech@lists.sourceforge.net Betreff: [Dspace-tech] XMLWorkflow problem with claimaction Hello everyone, I'm having a some problem with my configurable workflow in dspace (1.8.3). I configured it under my test-instance, which runs under windows 7, and ported it to our server running Ubuntu. The workflow works perfect in the test-instance. Testing it on the server I get a org.dspace.xmlworkflow.WorkflowConfigurationException after the completeStep. The Exception is thrown by the Step.java but resides to a fault in the WorflowManager.java. I was able to narrow the problem down to the following point. The first Step in my workflow involves the userSelectionMethod claimaction. The id can be extracted out of the workflow file but somehow the system is not able to instantiate the UserSelectionActionConfig: UserSelectionActionConfig userSelection = createUserAssignmentActionConfig(userSelectionActionID); After this line, userSelection is null and the setStep-Method in Step.java throws the nullpointerException: java.lang.NullPointerException at org.dspace.xmlworkflow.state.Step.init(Step.java:51) (line 51 in Step.java: userSelectionMethod.setStep(this);) I tried changing the userSelectionMethod to claimAction, noUserSelectionAction and autoassignAction, but I still ended up with the same behavior. I have absolutely no idea why this is happening. I hope there is someone who can help me with this. Thanks in advance, Wilko workflow.xml: wf-config workflow-map name-map collection=default workflow=default/ /workflow-map workflow start=finaleditstep id=default roles role id=editor name=editors scope=repository description=The people responsible for this step are able to edit the metadata of incoming submissions, and then accept or reject them./ /roles step id=finaleditstep role=editor userSelectionMethod=claimaction actions action id=finaleditaction/ /actions /step /workflow /wf-config Stacktrace Wilko van Hoek | A418 | tel. 526 -- 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-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] XMLWorkflow problem with claimaction
Hello Wilko, looking at your workflow.xml as you defined the scope as repository the corresponding group must be defined on repository level. Do you got a group named editors see page 243 of the current documentation section roles. Hope that helps Claudia Jürgen Am 04.05.2012 15:19, schrieb van Hoek, Wilko: Hello again, thanx to Helix84 for the ideas. I really checked all the config-files, it's definitely the same in test- and server-version (despite a difference due to the other drirectory path...). I even tried setting all user all permission to all dspace-realted folders. Nothing kept working. I even tried fresh installing with anew build. The only thing left is to start with a new clean vanilla-version and I really don't want to do that. Isn't there anybody who might have an idea why dspace is unable to retrieve the Service for claimaction or any other UserSelectionMethod Maybe some of the XMLWorkflow-Developers?!? Von: van Hoek, Wilko [mailto:wilko.vanh...@gesis.org] Gesendet: Mittwoch, 2. Mai 2012 11:36 An: dspace-tech@lists.sourceforge.net Betreff: [Dspace-tech] XMLWorkflow problem with claimaction Hello everyone, I'm having a some problem with my configurable workflow in dspace (1.8.3). I configured it under my test-instance, which runs under windows 7, and ported it to our server running Ubuntu. The workflow works perfect in the test-instance. Testing it on the server I get a org.dspace.xmlworkflow.WorkflowConfigurationException after the completeStep. The Exception is thrown by the Step.java but resides to a fault in the WorflowManager.java. I was able to narrow the problem down to the following point. The first Step in my workflow involves the userSelectionMethod claimaction. The id can be extracted out of the workflow file but somehow the system is not able to instantiate the UserSelectionActionConfig: UserSelectionActionConfig userSelection = createUserAssignmentActionConfig(userSelectionActionID); After this line, userSelection is null and the setStep-Method in Step.java throws the nullpointerException: java.lang.NullPointerException at org.dspace.xmlworkflow.state.Step.init(Step.java:51) (line 51 in Step.java: userSelectionMethod.setStep(this);) I tried changing the userSelectionMethod to claimAction, noUserSelectionAction and autoassignAction, but I still ended up with the same behavior. I have absolutely no idea why this is happening. I hope there is someone who can help me with this. Thanks in advance, Wilko workflow.xml: wf-config workflow-map name-map collection=default workflow=default/ /workflow-map workflow start=finaleditstep id=default roles role id=editor name=editors scope=repository description=The people responsible for this step are able to edit the metadata of incoming submissions, and then accept or reject them./ /roles step id=finaleditstep role=editor userSelectionMethod=claimaction actions action id=finaleditaction/ /actions /step /workflow /wf-config Stacktrace Wilko van Hoek | A418 | tel. 526 -- 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-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Claudia Juergen Universitaetsbibliothek Dortmund Eldorado 0231/755-4043 https://eldorado.tu-dortmund.de/ -- 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-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] XMLWorkflow problem with claimaction
Hello everyone, I'm having a some problem with my configurable workflow in dspace (1.8.3). I configured it under my test-instance, which runs under windows 7, and ported it to our server running Ubuntu. The workflow works perfect in the test-instance. Testing it on the server I get a org.dspace.xmlworkflow.WorkflowConfigurationException after the completeStep. The Exception is thrown by the Step.java but resides to a fault in the WorflowManager.java. I was able to narrow the problem down to the following point. The first Step in my workflow involves the userSelectionMethod claimaction. The id can be extracted out of the workflow file but somehow the system is not able to instantiate the UserSelectionActionConfig: UserSelectionActionConfig userSelection = createUserAssignmentActionConfig(userSelectionActionID); After this line, userSelection is null and the setStep-Method in Step.java throws the nullpointerException: java.lang.NullPointerException at org.dspace.xmlworkflow.state.Step.init(Step.java:51) (line 51 in Step.java: userSelectionMethod.setStep(this);) I tried changing the userSelectionMethod to claimAction, noUserSelectionAction and autoassignAction, but I still ended up with the same behavior. I have absolutely no idea why this is happening. I hope there is someone who can help me with this. Thanks in advance, Wilko workflow.xml: wf-config workflow-map name-map collection=default workflow=default/ /workflow-map workflow start=finaleditstep id=default roles role id=editor name=editors scope=repository description=The people responsible for this step are able to edit the metadata of incoming submissions, and then accept or reject them./ /roles step id=finaleditstep role=editor userSelectionMethod=claimaction actions action id=finaleditaction/ /actions /step /workflow /wf-config Stacktrace Wilko van Hoek | A418 | tel. 526 -- 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-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] XMLWorkflow problem with claimaction
On Wed, May 2, 2012 at 11:36 AM, van Hoek, Wilko wilko.vanh...@gesis.org wrote: I’m having a some problem with my configurable workflow in dspace (1.8.3). I I don't have experience with the XML workflow, but I noticed you said you run dspace 1.8.3, however the latest distributed dspace version is 1.8.2. I know this is probably just a typo, but just checking - did you make any DSpace customizations which may have caused the problem? Are both your test and production instances pristine DSpace as distributed or do they differ in what customizations they contain? Regards, ~~helix84 -- 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-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech