On Thu, Feb 7, 2013 at 1:19 PM, Joachim Bingel <[email protected]> wrote:
> 1) Our DSpace server (3.0, Manakin) has had its hostname changed which broke
> the links in the OAI webapp: the old hostname is the link target. Where do I
> correct this? Visit [1] to get an idea of the problem and try to click on
> the links ('fiprints.ids-mannheim.de' is the old hostname). Also, when I try
> and run '[dspace]/bin/dspace oai webapp', it tells me that the "Solr server
> (http://localhost:8080/solr/oai) is down, turn it on."

I guess you meant "[dspace]/bin/dspace oai import". Try running
"[dspace]/bin/dspace oai import -c" to completely rebuild the Solr oai
index.

It's most likely that you just didn't rebuild your Solr oai index,
because the first item that is failing no longer exists in your
DSpace. The second item exists and resolves, just isn't accessible.

This shouldn't be important, but I also noticed that your identifiers
have this form:
oai:localhost:10932/00-0177-FAFE-0090-4401-F

You can change the localhost part in [dspace]/config/modules/oai.cfg:
identifier.prefix = http://dok.ids-mannheim.de/
It should be visible after you do "import -c".

> 2) Once this is fixed, I'd like DSpace to run an OAI import right after item
> submission -- how can this be done? In our development DSpace instance
> (whose OAI works fine), I added the following function to
> webapps/xmlui/WEB-INF/classes/aspects/Submission/submission.js (and call it
> in line 318):

Good thinking, but unfortunately I'm not proficient with Flowscript,
so I can't help. This is something that might be better solved by a
DSpace event listener in a future version of DSpace.

Regards,
~~helix84

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
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