Hi Sean,

Sorry you're having so much trouble with the embargo module.

I've updated the wiki page at
http://wiki.dspace.org/index.php/User:Emetsger:Embargo:Downloads_here



Sean Carte wrote:
> 
> This looks like the most full-featured implementation, and a patch for
> 1.5.1 exists. I just wish I could get it to work.
> <snip>
> 
> When I try to submit an item, I get an Infernal System Error, the
> relevant message from dspace.log seems to be:
> 2009-03-18 09:05:06,180 ERROR
> org.dspace.app.webui.servlet.SubmissionController @ Error loading step
> class'org.dspace.submit.step.EmbargoProcessor':
> java.lang.ClassNotFoundException: org.dspace.submit.step.EmbargoProcessor
> 
> And sure enough, the EmbargoProcessor file is nowhere to be found in
> /dspace, though it does exist in my source:
> 
> dsp...@esal-lr:~$ find dspace-1_5_1/ -name EmbargoProcessor*
> dspace-1_5_1/dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/submit/step/EmbargoProcessor.java
> dspace-1_5_1/dspace-xmlui/dspace-xmlui-api/target/classes/org/dspace/submit/step/EmbargoProcessor.class
> 
> Do I need to copy this class file file (and presumably others too)
> somewhere into the /dspace/webapps tree?
> 

The updated documentation at
http://wiki.dspace.org/index.php/User:Emetsger:Embargo:Downloads_here should
fix this.  I inserted a new step 4, where you run a 'mvn clean install'
prior to step 5 (cd dspace && mvn package assembly:assembly). 

After running the ant target to install (or update) DSpace, you should be
able to cd to ${dspace.dir}/webapps/xmlui and run 'jar -tf
WEB-INF/lib/dspace-xmlui-api-1.5.1.jar |grep Embargo' and you should see the
EmbargoProcessor class in the output.  Deploy this war to Tomcat.  You will
need to update item-submission.xml, and I'll try to update the wiki document
further for that step.

esm:/tmp/dspace/webapps/xmlui$ jar -tf
WEB-INF/lib/dspace-xmlui-api-1.5.1.jar |grep Embargo
org/dspace/app/xmlui/aspect/administrative/collection/EditCollectionEmbargoForm.class
org/dspace/app/xmlui/aspect/administrative/FlowEmbargoUtils.class
org/dspace/app/xmlui/aspect/administrative/item/ConfirmEmbargoItemForm.class
org/dspace/app/xmlui/aspect/submission/submit/EmbargoStep.class
org/dspace/app/xmlui/cocoon/BitstreamReader$WorkflowEmbargo.class
org/dspace/submit/step/EmbargoProcessor.class
esm:/tmp/dspace/webapps/xmlui$

-- 
View this message in context: 
http://www.nabble.com/Embargo-tp21933256p22592799.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
  • Re: [D... Sean Carte
  • Re: [D... Sean Carte
    • R... susan rector
      • ... Jason Fowler
    • R... Thornton, Susan M. (LARC-B702)[RAYTHEON TECHNICAL SERVICES COMPANY]
      • ... Sean Carte
        • ... Ryan Scherle
          • ... Lyn Amery
          • ... Andrew Marlow
          • ... Sean Carte
        • ... Elliot Metsger
          • ... Sean Carte
          • ... Sean Carte
          • ... Elliot Metsger
          • ... Sean Carte
          • ... Sean Carte

Reply via email to