Re: [Dspace-tech] enabling dspace-oai

2011-11-30 Thread Tumie Morupisi
thank you guys. its now working fine.




 From: Claudia Jürgen claudia.juer...@ub.tu-dortmund.de
To: dspace-tech@lists.sourceforge.net 
Sent: Tuesday, November 29, 2011 2:38 PM
Subject: Re: [Dspace-tech] enabling dspace-oai
 
Hello,

oai can be found in the installation directory under webapps:
[dspace]/webapps/oai
You enable oai the same way you enabled the jspui or xmlui.
Either copy the folder [dspace]/webapps/oai to your servlet container's 
webapp directory or connect to it.

Hope that helps

Claudia


Am 29.11.2011 10:24, schrieb Tumie Morupisi:
 hi

 i want to enable the dspace-oai. i have read that when you build the
 dspace the dspace-oai.war is created but somehow its not in our
 build. is there somewhere i can get or at just give me the steps i
 have to follow.

 we are running dspace 1.6.2

 thank you



 



 --


All the data continuously generated in your IT infrastructure
 contains a definitive record of customers, application performance,
 security threats, fraudulent activity, and more. Splunk takes this
 data and makes sense of it. IT sense. And common sense.
 http://p.sf.net/sfu/splunk-novd2d



 ___ 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/

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] ERROR message in DSpace log

2011-11-30 Thread Wellaway, Ian
Hi all,

I keep getting messages in the dspace log files like this:

ERROR org.dspace.statistics.SolrLogger @ Failed DNS Lookup for IP:70.65.244.53

And idea what is causing them?

Thanks

Ian



Ian Wellaway
Senior System Support  Development Officer
Academic Systems
Exeter IT

Room 909, Laver Building
University of Exeter
EX4 4QE
UK

tel +44 1392 722852

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Several concurrent Localizations of, default.license, input-forms etc. dont work

2011-11-30 Thread Rafa Carreres
Hi,

It's funny about multilanguage in DSpace. After a lot of changes in 
source code, I've made it work quite well but the default.license issue. 
When you edit the license in the administration interface, it shows the 
correct one, that is, the one according to the user's preferred 
language. And if a user completes a submission, then the license is 
showed, not in the preferred language of the user, but in the 
(apparently) last language showed in the edit license. As an example, if 
an administrator edit the license for spanish language and then a 
standard user starts a submission in its preferred language (english, 
for example) then the license is not showed in english, but in spanish!!!

I've studied all the source code involved in this issue:

[dspace-src]/dspace-api/src/main/java/org/dspace/core/ConfigurationManager.java
[dspace-src]/dspace-jspui/dspace-jspui-api/src/main/java/org/dspace/app/webui/servlet/admin/LicenseEditServlet.java
[dspace-src]/dspace-api/src/main/java/org/dspace/core/I18nUtil.java

but apparently everything is OK.

Regards,
 Message: 3
 Date: Mon, 3 Oct 2011 15:15:19 +0200
 From: Christian Voelkerc.voel...@gmx.net
 Subject: [Dspace-tech] Several concurrent Localizations of
   default.license,input-forms etc. dont work
 To: listaDspace Techdspace-tech@lists.sourceforge.net
 Message-ID:1e49e23f-e958-4dc1-b11c-00a3c6bdb...@gmx.net
 Content-Type: text/plain; charset=windows-1252

 Hello,

 you know what I am dealing with recently. Localization in DSpace 1.7.2.

 I tried this thoroughly in every way I could think about:

 https://wiki.duraspace.org/display/DSDOC/Configuration

 It reads like this:

 Supporting More Than One Language

 Changes in dspace.cfg

 Property:webui.supported.locale
 Example Value:   webui.supported.locale = en, de
 (?)

 Related Files

 If you set webui.supported.locales make sure that all the related additional 
 files for each language are available. LOCALE should correspond to the 
 locale set in webui.supported.locales, e. g.: for webui.supported.locales = 
 en, de, fr, there should be:

 (?)
 Files to be localized:
 (?)  ? [dspace-source]/dspace/config/input-forms_LOCALE.xml
  ? [dspace-source]/dspace/config/default_LOCALE.license - should be pure 
 ASCII
 (?)
  ? [dspace-source]/dspace/config/emails/change_password_LOCALE
  ? [dspace-source]/dspace/config/emails/feedback_LOCALE
  ? [dspace-source]/dspace/config/emails/internal_error_LOCALE
  ? [dspace-source]/dspace/config/emails/register_LOCALE
  ? [dspace-source]/dspace/config/emails/submit_archive_LOCALE
  ? [dspace-source]/dspace/config/emails/submit_reject_LOCALE
  ? [dspace-source]/dspace/config/emails/submit_task_LOCALE
  ? [dspace-source]/dspace/config/emails/subscription_LOCALE
  ? [dspace-source]/dspace/config/emails/suggest_LOCALE
 This does not work (TM) in XMLUI.

 I also tried to constrain language support explicitly for XMLUI using
 xmlui.supported.locales = en, de

 LICENSE
 The only license file displayed as deposit license is default.license.
 Hint: If somebody wants to take on the task to fix it, he or she might
 think about finding a more meaningful name such as required.license
 or deposit_license.

 INPUT-FORMS
 A localized file such as input-forms_de.xml does not get used either.

 EMAILS
 Localized emails dont get used. This was the same back in DSpace 1.4
 when we used JSPUI. It does not work if you leave the english version
 as e.g. change_password and add a file change_password_de.

 It does not work if you move change_password to change_password_en and
 add a file change_password_de resulting in a emails template folder
 where there is no fallback change_password file left. Even then, the
 change_password_en gets used with a browse set to either de-DE or en-US!

 You can even have change_password be the german version and have the
 original change_password file moved to change_password_en. The fallback
 change_password without locale appended gets ignored with browser
 setting being either de-DE or en-US. Only the change_password_en
 gets used.

 I guess, the locale is not set for email at all. My whole server
 machines default locale is de_DE.UTF-8. It looks as if still, the
 locale is assumed to be en for emails so that always the _en version
 is closest match an cant ever be overruled. This wont become obvious
 to anybody using en as his or her default locale.


 I could not judge which these three things is most annoying. License
 tend to be read with each word carefully evaluated. We dont have an
 english version of our deposit license. So I can live with replacing
 the default.license completely.
 With emails, form mails are prone to being filtered as spam anyway
 and english form mails are scoring higher in spam filters. But as
 long as I dont shut english as an interface language, users should
 get their mails in their respective language. It is especially
 disappointing that this has not been fixed in 

[Dspace-tech] Running filter-media script via cron

2011-11-30 Thread Wellaway, Ian
Hi,

Every time the filter-media script runs via the crontab, I get a lot of the 
following:


ERROR filtering, skipping bitstream:



  Item Handle: 10036/3175

  Bundle Name: ORIGINAL

  File Size: 180131

  Checksum: b8b5c0b847ee01c404e0623a42aae1b2 (MD5)

  Asset Store: 0

java.lang.NullPointerException

java.lang.NullPointerException

  at org.pdfbox.pdmodel.PDPageNode.getAllKids(PDPageNode.java:194)

  at org.pdfbox.pdmodel.PDPageNode.getAllKids(PDPageNode.java:182)

  at 
org.pdfbox.pdmodel.PDDocumentCatalog.getAllPages(PDDocumentCatalog.java:226)

  at org.pdfbox.util.PDFTextStripper.writeText(PDFTextStripper.java:216)

  at 
org.dspace.app.mediafilter.PDFFilter.getDestinationStream(PDFFilter.java:139)

  at 
org.dspace.app.mediafilter.MediaFilterManager.processBitstream(MediaFilterManager.java:674)

  at 
org.dspace.app.mediafilter.MediaFilterManager.filterBitstream(MediaFilterManager.java:575)

  at 
org.dspace.app.mediafilter.MediaFilterManager.filterItem(MediaFilterManager.java:525)

  at 
org.dspace.app.mediafilter.MediaFilterManager.applyFiltersItem(MediaFilterManager.java:493)

  at 
org.dspace.app.mediafilter.MediaFilterManager.applyFiltersAllItems(MediaFilterManager.java:432)

  at 
org.dspace.app.mediafilter.MediaFilterManager.main(MediaFilterManager.java:363)

  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

  at java.lang.reflect.Method.invoke(Method.java:597)

  at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:212)


Any idea how I can fix this?

Thanks

Ian



Ian Wellaway
Senior System Support  Development Officer
Academic Systems
Exeter IT

Room 909, Laver Building
University of Exeter
EX4 4QE
UK

tel +44 1392 722852

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Running filter-media script via cron

2011-11-30 Thread George S Kozak
Ian:

Does that happen with all of your bitstreams or with just a few particular 
ones?  I have found that certain bitstreams cannot be filtered.  Sometimes the 
PDFs are locked so that the filter-media program can't read them or there are 
PDFs of page images and so there is nothing to read.  I have also encountered 
problems with certain images as well.

I'm not sure what version of DSpace your using, but if this is a PDF giving you 
this error, you could try switching from using PDFBox as the conversion 
program in Filter-media for PDFs to another program xpdf2text.  This was 
suggested to me a while ago and I ran my DSpace 1.6.2 instance with it.  I am 
now running using DSpace 1.7.1 and using the newer version of pdfbox that came 
with it.

If you're interested in the xpdf2text solution there is a link: 
https://jira.duraspace.org/secure/attachment/10527/xpdf-filters.html that I 
have used in the past.

There may be newer information out there, so hopefully, better minds than mine 
will chime in :)

George Kozak
Digital Library Specialist
Cornell University Library Information Technologies (CUL-IT)
501 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924

From: Wellaway, Ian [mailto:i.j.wella...@exeter.ac.uk]
Sent: Wednesday, November 30, 2011 5:48 AM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Running filter-media script via cron

Hi,

Every time the filter-media script runs via the crontab, I get a lot of the 
following:


ERROR filtering, skipping bitstream:



  Item Handle: 10036/3175

  Bundle Name: ORIGINAL

  File Size: 180131

  Checksum: b8b5c0b847ee01c404e0623a42aae1b2 (MD5)

  Asset Store: 0

java.lang.NullPointerException

java.lang.NullPointerException

  at org.pdfbox.pdmodel.PDPageNode.getAllKids(PDPageNode.java:194)

  at org.pdfbox.pdmodel.PDPageNode.getAllKids(PDPageNode.java:182)

  at 
org.pdfbox.pdmodel.PDDocumentCatalog.getAllPages(PDDocumentCatalog.java:226)

  at org.pdfbox.util.PDFTextStripper.writeText(PDFTextStripper.java:216)

  at 
org.dspace.app.mediafilter.PDFFilter.getDestinationStream(PDFFilter.java:139)

  at 
org.dspace.app.mediafilter.MediaFilterManager.processBitstream(MediaFilterManager.java:674)

  at 
org.dspace.app.mediafilter.MediaFilterManager.filterBitstream(MediaFilterManager.java:575)

  at 
org.dspace.app.mediafilter.MediaFilterManager.filterItem(MediaFilterManager.java:525)

  at 
org.dspace.app.mediafilter.MediaFilterManager.applyFiltersItem(MediaFilterManager.java:493)

  at 
org.dspace.app.mediafilter.MediaFilterManager.applyFiltersAllItems(MediaFilterManager.java:432)

  at 
org.dspace.app.mediafilter.MediaFilterManager.main(MediaFilterManager.java:363)

  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

  at java.lang.reflect.Method.invoke(Method.java:597)

  at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:212)


Any idea how I can fix this?

Thanks

Ian



Ian Wellaway
Senior System Support  Development Officer
Academic Systems
Exeter IT

Room 909, Laver Building
University of Exeter
EX4 4QE
UK

tel +44 1392 722852

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] upload.max in xmlui

2011-11-30 Thread Blanco, Jose
Is the dspace.cfg  parameter upload.max used in xmlui?  I only see it being 
used in the jspui.  If it's not, what is the max?

Thank you!
Jose

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Workflow tasks times out, giving Service Unavailable

2011-11-30 Thread Brian Freels-Stendel
Hi All,

I've run into a problem that I'm hoping better noggins than mine can help with.

We're using DSpace for our dissertation archive.  The guy who handles all the 
dissertation workflows regularly gets a Service Unavailable page; rebooting 
helps, but only for a limited time.  Even while he's getting these notices, I 
can't find any other user that also gets it.  My suspicion is that the lists 
being generated for his workflow tasks are putting a strain on the system, and 
it times out.  There are no errors in dspace or tomcat logs (well, not that 
seem to pertain to this.)  I'm wondering if the patch to the 
DSpaceObjectManager (https://jira.duraspace.org/browse/DS-1070) might help, but 
I honestly don't know if it would come into play for this.

We're running DSpace 1.7.2 XMLUI on RHEL5, Tomcat5.5, Java 6.

Thanks for any ideas, 'cause I don't really have any.

B--


--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] DSpace Home gone after modifying breadcrumb trail in search results

2011-11-30 Thread Nemiz, Elvi S.
From: Nemiz, Elvi S. esne...@seafdec.org.ph
Date: Thu, Dec 1, 2011 at 10:59 AM
Subject: Re: [Dspace-tech] DSpace Home gone after modifying breadcrumb
trail in search results
To: Brian Freels-Stendel bfre...@unm.edu


Hello Brian,

Below is the contents of my modify-trail.xsl. Please advise what template
should I add aside from xsl:template match=dri:pageMeta?.

?xml version=1.0?
xsl:stylesheet version=1.0
xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
xmlns:dri=http://di.tamu.edu/DRI/1.0/;

xsl:template match=*
xsl:copy
xsl:copy-of select=@*/
dri:trail target=http://www.seafdec.org.ph/;
AQD Home
/dri:trail
xsl:apply-templates/
/xsl:copy
/xsl:template

xsl:template match=dri:pageMeta
xsl:copy
xsl:copy-of select=@*/
dri:trail target=http://www.seafdec.org.ph/;
AQD Home
/dri:trail
xsl:apply-templates/
/xsl:copy
/xsl:template
/xsl:stylesheet

Thanks in advance.

Elvi



On Tue, Nov 29, 2011 at 11:36 PM, Brian Freels-Stendel bfre...@unm.eduwrote:

 Hi Elvi,

 I had this problem when I had to implement a modified trail.  I believe I
 had failed to copy one of the xsl:apply-templates/ in the
 modify-trail.xsl file.  It's easy to drop a line.

 B--

  On 11/29/2011 at 12:31 AM, in message
 caarcektys_sdp6ohfjm9ecsmcu_anfm7gg6xyioagvoeg1t...@mail.gmail.com,
 Nemiz,
 Elvi S. esne...@seafdec.org.ph wrote:
  Dear all,
 
  I successfully modified the breadcrumb trail to link to our institution's
  homepage by following the instructions here:
  http://pubs.or08.ecs.soton.ac.uk/135/2/OR2008-DSpace-1_5.pdf#page=18but I
  noticed that the DSpace Home link is not showing in search results, only
  the added link. How can I make the breadcrumb trail in search results
 show
  Home -- DSpace Home and not just Home? Anybody who have the same issue?
 We
  are using xmlui.
 
  Thanks in advance and regards,
  Elvi S. Nemiz
  Information Assistant
  Library and Data Bank Services Section
  Training and Information Division
  SEAFDEC Aquaculture Department
  Tigbauan, Iloilo
  Philippines

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] pdf over https in ie8

2011-11-30 Thread barries
I dont seem to be getting any feedback.

I presume nobody has experienced this yet?

--
View this message in context: 
http://dspace.2283337.n4.nabble.com/pdf-over-https-in-ie8-tp4106520p4126994.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech