Re: [Dspace-tech] Remote access to Solr

2013-05-03 Thread helix84
That looks correct. I assume you also restarted Tomcat. While changes to
context fragments would be detected automatically, changes to server.xml
aren't.

If it still doesn't work, I don't know why. What about commenting out the
solr Context element in server.xml and putting it into a context fragment
instead, just for the sake of experiment?
On May 4, 2013 1:17 AM, Mark Ehle marke...@gmail.com wrote:

 So it looks like this now:

 Context path=/solr docBase=/dspace/webapps/solr allowLinking=true
 Valve
 className=org.apache.catalina.valves.RemoteAddrValve allow=192.168.1.*,
 127.0.0.1/
 Parameter name=LocalHostRestrictionFilter.localhost
 value=false override=false /
 /Context

 And still does not let me in.


 On Fri, May 3, 2013 at 7:09 PM, helix84 heli...@centrum.sk wrote:

 Just insert Valve and Parameter into the last Context (that has solr path)
 On May 4, 2013 1:07 AM, Mark Ehle marke...@gmail.com wrote:

 This is what I added to the server.xml file when I installed dspace:

  !-- Define a new context path for all DSpace web apps --
 Context path=/xmlui docBase=/dspace/webapps/xmlui
 allowLinking=true/
 Context path=/sword docBase=/dspace/webapps/sword
 allowLinking=true/
 Context path=/oai docBase=/dspace/webapps/oai
 allowLinking=true/
 Context path=/jspui docBase=/dspace/webapps/jspui
 allowLinking=true/
 Context path=/lni docBase=/dspace/webapps/lni
 allowLinking=true/
 Context path=/solr docBase=/dspace/webapps/solr
 allowLinking=true
 /Context

 Guess I am dense, but I don't see where this fits:
 Context path=/solr reloadable=true
 Valve className=org.apache.catalina.valves.RemoteAddrValve
 allow=111.222.233.*, 123.123.123.123, 127.0.0.1/
 Parameter name=LocalHostRestrictionFilter.localhost value=
 false override=false /
 /Context



 On Fri, May 3, 2013 at 7:01 PM, helix84 heli...@centrum.sk wrote:

 You should modify the solr Context element (either in server.xml) or in
 the context fragment file. But that's written there - if it's unclear, feel
 free to rewrite it for clarity.
 On May 4, 2013 12:57 AM, Mark Ehle marke...@gmail.com wrote:

  Thanks, helix84. I have seen this document before, but under the
 Bypassing localhost restrictions permanently, do I just add that code
 fragment to the server.xml file? I'm running 3.0 on Ubuntu 12.04.

 On Fri, May 3, 2013 at 6:45 PM, helix84 heli...@centrum.sk wrote:

 Hi Mark,

 I described that here:
 https://wiki.duraspace.org/display/DSPACE/Solr




 --
 Get 100% visibility into Java/.NET code with AppDynamics Lite
 It's a free troubleshooting tool designed for production
 Get down to code-level detail for bottlenecks, with 2% overhead.
 Download for free and get started troubleshooting in minutes.
 http://p.sf.net/sfu/appdyn_d2d_ap2
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Remote access to Solr

2013-05-03 Thread helix84
Also try replacing the wildcard with a single IP.

Are you sure that the dspace server sees your IP as 192.168.1.x? I.e. are
you on the same subnet as the dspace server? If you're accessing from home,
you need to use your public IP because the private IP has to go through NAT.
On May 4, 2013 1:24 AM, helix84 heli...@centrum.sk wrote:

 That looks correct. I assume you also restarted Tomcat. While changes to
 context fragments would be detected automatically, changes to server.xml
 aren't.

 If it still doesn't work, I don't know why. What about commenting out the
 solr Context element in server.xml and putting it into a context fragment
 instead, just for the sake of experiment?
 On May 4, 2013 1:17 AM, Mark Ehle marke...@gmail.com wrote:

 So it looks like this now:

 Context path=/solr docBase=/dspace/webapps/solr allowLinking=true
 Valve
 className=org.apache.catalina.valves.RemoteAddrValve allow=192.168.1.*,
 127.0.0.1/
 Parameter name=LocalHostRestrictionFilter.localhost
 value=false override=false /
 /Context

 And still does not let me in.


 On Fri, May 3, 2013 at 7:09 PM, helix84 heli...@centrum.sk wrote:

 Just insert Valve and Parameter into the last Context (that has solr
 path)
 On May 4, 2013 1:07 AM, Mark Ehle marke...@gmail.com wrote:

 This is what I added to the server.xml file when I installed dspace:

  !-- Define a new context path for all DSpace web apps --
 Context path=/xmlui docBase=/dspace/webapps/xmlui
 allowLinking=true/
 Context path=/sword docBase=/dspace/webapps/sword
 allowLinking=true/
 Context path=/oai docBase=/dspace/webapps/oai
 allowLinking=true/
 Context path=/jspui docBase=/dspace/webapps/jspui
 allowLinking=true/
 Context path=/lni docBase=/dspace/webapps/lni
 allowLinking=true/
 Context path=/solr docBase=/dspace/webapps/solr
 allowLinking=true
 /Context

 Guess I am dense, but I don't see where this fits:
 Context path=/solr reloadable=true
 Valve className=org.apache.catalina.valves.RemoteAddrValve
 allow=111.222.233.*, 123.123.123.123, 127.0.0.1/
 Parameter name=LocalHostRestrictionFilter.localhost value=
 false override=false /
 /Context



 On Fri, May 3, 2013 at 7:01 PM, helix84 heli...@centrum.sk wrote:

 You should modify the solr Context element (either in server.xml) or
 in the context fragment file. But that's written there - if it's unclear,
 feel free to rewrite it for clarity.
 On May 4, 2013 12:57 AM, Mark Ehle marke...@gmail.com wrote:

  Thanks, helix84. I have seen this document before, but under the
 Bypassing localhost restrictions permanently, do I just add that code
 fragment to the server.xml file? I'm running 3.0 on Ubuntu 12.04.

 On Fri, May 3, 2013 at 6:45 PM, helix84 heli...@centrum.sk wrote:

 Hi Mark,

 I described that here:
 https://wiki.duraspace.org/display/DSPACE/Solr




 --
 Get 100% visibility into Java/.NET code with AppDynamics Lite
 It's a free troubleshooting tool designed for production
 Get down to code-level detail for bottlenecks, with 2% overhead.
 Download for free and get started troubleshooting in minutes.
 http://p.sf.net/sfu/appdyn_d2d_ap2
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Remote access to Solr

2013-05-03 Thread helix84
That means you made solr inaccessible to dspace - the localhost address
doesn't work for some reason. Most likely you have ipv6 enabled on the
dspace server, so it's trying to use an ipv6 localhost address to connect,
but AFAIK remoteaddrvalve doesn't understand ipv6. So the workaround would
be to disable ipv6 on the machine (if you're not using it).
On May 4, 2013 1:28 AM, Mark Ehle marke...@gmail.com wrote:

 I do restart tomcat after every change. One thing I just now noticed is
 with this last change, recent submissions is empty and the discover panel
 is blank, so It must break solr some how. I will keep slogging away at it.
 Have a great weekend, and thanks for your help!


 On Fri, May 3, 2013 at 7:24 PM, helix84 heli...@centrum.sk wrote:

 That looks correct. I assume you also restarted Tomcat. While changes to
 context fragments would be detected automatically, changes to server.xml
 aren't.

 If it still doesn't work, I don't know why. What about commenting out the
 solr Context element in server.xml and putting it into a context fragment
 instead, just for the sake of experiment?
  On May 4, 2013 1:17 AM, Mark Ehle marke...@gmail.com wrote:

 So it looks like this now:

 Context path=/solr docBase=/dspace/webapps/solr allowLinking=true
 Valve
 className=org.apache.catalina.valves.RemoteAddrValve allow=192.168.1.*,
 127.0.0.1/
 Parameter name=LocalHostRestrictionFilter.localhost
 value=false override=false /
 /Context

 And still does not let me in.


 On Fri, May 3, 2013 at 7:09 PM, helix84 heli...@centrum.sk wrote:

 Just insert Valve and Parameter into the last Context (that has solr
 path)
 On May 4, 2013 1:07 AM, Mark Ehle marke...@gmail.com wrote:

 This is what I added to the server.xml file when I installed dspace:

  !-- Define a new context path for all DSpace web apps --
 Context path=/xmlui docBase=/dspace/webapps/xmlui
 allowLinking=true/
 Context path=/sword docBase=/dspace/webapps/sword
 allowLinking=true/
 Context path=/oai docBase=/dspace/webapps/oai
 allowLinking=true/
 Context path=/jspui docBase=/dspace/webapps/jspui
 allowLinking=true/
 Context path=/lni docBase=/dspace/webapps/lni
 allowLinking=true/
 Context path=/solr docBase=/dspace/webapps/solr
 allowLinking=true
 /Context

 Guess I am dense, but I don't see where this fits:
 Context path=/solr reloadable=true
 Valve className=org.apache.catalina.valves.RemoteAddrValve
 allow=111.222.233.*, 123.123.123.123, 127.0.0.1/
 Parameter name=LocalHostRestrictionFilter.localhost value=
 false override=false /
 /Context



 On Fri, May 3, 2013 at 7:01 PM, helix84 heli...@centrum.sk wrote:

 You should modify the solr Context element (either in server.xml) or
 in the context fragment file. But that's written there - if it's unclear,
 feel free to rewrite it for clarity.
 On May 4, 2013 12:57 AM, Mark Ehle marke...@gmail.com wrote:

  Thanks, helix84. I have seen this document before, but under the
 Bypassing localhost restrictions permanently, do I just add that code
 fragment to the server.xml file? I'm running 3.0 on Ubuntu 12.04.

 On Fri, May 3, 2013 at 6:45 PM, helix84 heli...@centrum.sk wrote:

 Hi Mark,

 I described that here:
 https://wiki.duraspace.org/display/DSPACE/Solr




 --
 Get 100% visibility into Java/.NET code with AppDynamics Lite
 It's a free troubleshooting tool designed for production
 Get down to code-level detail for bottlenecks, with 2% overhead.
 Download for free and get started troubleshooting in minutes.
 http://p.sf.net/sfu/appdyn_d2d_ap2
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette





--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Hiding items.

2013-05-02 Thread helix84
What about hiding them in your theme using XSL? You could match this in DRI:
/document/meta/userMeta/@authenticated='yes'
and hide any items with the specified parent collection. To do that,
you'd probably have to use the document() call on each item's mets.xml
(url: /metadata/handle/123456789/123/mets.xml)


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with 2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] How to get Internal_Id of bitstream in ItemTag.java file

2013-04-30 Thread helix84
On Tue, Apr 30, 2013 at 4:10 AM, Nguyen Hung Thanh
nghungth...@gmail.com wrote:
 I want to edit ItemTag.java file and get Internal_Id of bitstream.

It depends on which method you want to modify.

 What is function using to get it.

Once you have an instance of the Bitstream class, use its getID() method.

http://demo.dspace.org/javadocs/3/apidocs/org/dspace/content/Bitstream.html

P.S. Please, next time don't cross post. Choose one mailing list and
we'll let you know if it's the wrong one. This question should have
gone to dspace-devel.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with 2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Using ftp to upload files into DSpace

2013-04-29 Thread helix84
Hi Pascal,

the problem you're trying to cope with is that HTTP doesn't have a
native way of resuming uploads (at least not that browsers actually
implement). This is the only advantage of FTP over HTTP, other than
that, FTP has only disadvantages - the need for an active port,
unfamiliarity to most modern users. I'd argue that you don't want to
use a different protocol, only a frontend that allows you to resume,
show progress and upload multiple files in a series. This can be done
using HTTP as the protocol - look at e.g. Gmail attachment or Youtube
video uploads. Yes, this requires an extra programmatic support on
both server and client side. There are quite a lot of existing
solutions out there (here's a random example, although it doesn't have
all the features:
http://www.solmetra.com/en/disp.php/en_products/flash_uploader/uploader_intro).
But if you are going to solve this problem, why not solve it in an
ideal way that will also benefit other DSpace users (assuming you'll
share your work).

If this is, for whatever reason, not the way you want to go, I can
list the different ways how you can get bitstreams to DSpace (but all
of them will require some customization of your DSpace).

As a sidenote, here's a different solution actively being worked on:
http://blogs.exeter.ac.uk/openexeterrdm/blog/2012/10/19/big-data-submission-tool-at-the-idcc/
This should be covered by the OR13 presentation Moving BIG DATA into
DSpace by Lee Taylor from University of Exeter.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Unable to connect DSpace home page

2013-04-29 Thread helix84
On Mon, Apr 29, 2013 at 11:59 AM, SanjibKumarDeka xan...@gmail.com wrote:
 Now i'm unable to connect dspace from the dspace url, neither from remotely
 nor from local machine. It is unable to connect any dspace url
 202.141.81.17:8080/jspui.
 But it is working from the local machine http://localhost:8080/jspui

First, verify which interfaces your Tomcat is listening on. Run this as root:
netstat -tulpn | grep :80

If it shows :::80 or 0.0.0.0:80, it is listening on all IP
addresses. If it's showing only 127.0.0.1:80, it's listening only on
localhost. In Tomcat, this is configured using the address attribute
of the Connector element as documented here:

http://tomcat.apache.org/tomcat-7.0-doc/config/http.html#Standard_Implementation

If you added the address attribute, remove it, restart tomcat and
check netstat again.


A second reason may be that a firewall on your DSpace machine is
blocking the connection from a different machine. Run iptables -L as
root and post the output.

Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Adding Browse Fields in dspace.cfg and adding it to the the navigation section of dspace webui

2013-04-29 Thread helix84
On Thu, Apr 25, 2013 at 11:58 PM, Mckeane Thomas
mckeane.tho...@gmail.com wrote:
 webui.browse.index.4 = subject:metadata:dc.subject.*:text
 webui.browse.index.4 = departments:metadata:dc.subject.*:text

You used the number 4 here twice. That is almost certainly a problem.
The numbers must be sequential, without gaps.

Secondly, I don't see that you added an index named consultant.

Here is the official documentation page for this:
https://wiki.duraspace.org/display/DSDOC3x/ReIndexing%20Content%20(for%20Browse%20or%20Search)

If nothing else works, also try running index-init -r -f.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Regarding participation in GSoC

2013-04-29 Thread helix84
Hi Shondhi,

I'm sorry to inform you that Duraspace decided not to participate this
year in GSoC due to very few volunteers for mentoring.

Should you wish to participate in GSoC for a different organization,
here is the list of organizations accepted for 2013:
http://www.google-melange.com/gsoc/accepted_orgs/google/gsoc2013

If you wish to send us your patches, you're welcome to use the
standard channels, such as the Jira tracker, GitHub pull requests or
the dspace-devel and dspace-tech mailing lists. If you need more
details, or suggestions on where more work is welcome, I'll be happy
to help you.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] While importing collections it is asking map file must be specified

2013-04-29 Thread helix84
On Mon, Apr 29, 2013 at 4:06 PM, jayachandra B
jayachandra1...@gmail.com wrote:
 Where can we find the collection id i.e -c 1811/49710

That's the colleciton handle and you can see it in the collection's
URL. e.g. http://example.com/handle/1811/49710


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Submission form saves only unique contributors

2013-04-29 Thread helix84
On Fri, Apr 26, 2013 at 9:09 AM, Jonathan Freesbay j.frees...@gmail.com wrote:
 One new question: I would like to use the wizard again to update the item.
 This is, as I see it, default not possible. Does this require much work?

Currently there's a patch for that in our Jira. It would help if you
could review it and leave your comments in Jira:
https://jira.duraspace.org/browse/DS-1234


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Private items

2013-04-29 Thread helix84
On Mon, Apr 29, 2013 at 3:05 PM, Drover, Matt mattdro...@mun.ca wrote:
 Private items seems to work fine. Is there a way to bulk private a collection 
 or community of items ?

If you don't mind getting your hands dirty, change the discoverable
attribute in the item table to false for all items you want to hide,
then run update-discovery-index -f.

I haven't tested it but that's how it should work. Don't forget to
backup your DB before doing any changes and try this on a testing
instance first.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] [KE1019161] datestamp in UTC for OAI

2013-04-29 Thread helix84
On Mon, Apr 29, 2013 at 5:02 PM, Carlos Walter Blandon Alvarez
cblan...@eafit.edu.co wrote:
 In which folder should I unzip and run the file xoai-masterzip.zip?

Hi Carlos,

what are you trying to do? You don't need to build XOAI in order to
use the new DSpace OAI module. The XOAI library is already available in
Maven Central.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Private items

2013-04-29 Thread helix84
On Mon, Apr 29, 2013 at 5:41 PM, Drover, Matt mattdro...@mun.ca wrote:
 Hi, I did change in the db and an index-discovery-update -f, but the the item 
 is still displaying in Browse by Author. I tried several other indexing 
 options but it never disappears. Is there a cache I need to clear too ? If I 
 make it private via dspace itself it disappears from the Browse by pages 
 immediately.

Oh, right, that was your original question. I only answered how to
make a set of items private.

AFAIK, the browse indices still come from Lucene (the one maintained
using index-init and index-update), not Solr (update-discovery-index).
This was supposed to change in 3.0, but the change didn't make it in
time. It's fairly certain that the change will be in 4.0. See:
https://jira.duraspace.org/browse/DS-1272
https://github.com/DSpace/DSpace/pull/91

Sorry I didn't give you the answer you were looking for.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] oai problem

2013-04-29 Thread helix84
Hi Lars,

that Internal System Error message is a generic DSpace system message
which, unfortunately, does not provide the information we need to help
you resolve the problem. In order to figure out what the real underlying
error is, you'll have to look at the DSpace Log files.

Please see the How to Troubleshoot an Error page for information about
finding the error in the log files:
http://wiki.dspace.org/confluence/display/DSPACE/Troubleshoot+an+error

Once you locate the error in the logs, if you cannot figure out the
problem, feel free to send the full error message to this mailing list.
Much more information is available on the above wiki page.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] NPE when Trying to delete empty Workflow Groups

2013-04-29 Thread helix84
Yes, it's this fix that was added to 3.1:

https://jira.duraspace.org/browse/DS-1416


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] [KE1019161] datestamp in UTC for OAI

2013-04-29 Thread helix84
On Mon, Apr 29, 2013 at 6:22 PM, Carlos Walter Blandon Alvarez
cblan...@eafit.edu.co wrote:
 I'm trying to update xoai to correct the problem with datestamp field, as
 suggested  Joao and Marco.

There was a timezone-related problem but I don't think it has been
fixed yet (I can't find the details right now). João will be able to
give you more details. Meanwhile, you might want to try to update to
the latest published version of xoai (in case the problem has already
been fixed there) which is currently 2.2.9. You can do this in pom.xml
and then rebuild DSpace:
https://github.com/DSpace/DSpace/blob/dspace-3.0/dspace-oai/pom.xml#L75


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] When uploading a ~5MB file on DSpace 3.1 XMLUI

2013-04-29 Thread helix84
See this thread. Perhaps you used an older configuration file?

http://dspace.2283337.n4.nabble.com/dspace-java-upload-limit-td4651889.html


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] When uploading a ~5MB file on DSpace 3.1 XMLUI

2013-04-29 Thread helix84
On Mon, Apr 29, 2013 at 11:52 PM, Thomas  Misilo misi...@fit.edu wrote:
 Already looked at this thread.  And just compared against the 
 build.properties and the dspace.cfg file and they match as they should.

OK, so both your org.apache.cocoon.uploads.maxsize and upload.max are
set to 2147483647 (2 GB). Are you sure that's the case in the version
you have deployed, not just the source? It should be 2 GB and 512 MB,
respectively, if you used the default 3.1 configuration.

Do you use Apache HTTPD in front of Tomcat? If you do, do you have the
LimitRequestBody directive set in your HTTPD configuration?

I do not think HTTPD is the problem, but it doesn't hurt to check.
This is due to Cocoon checking its configuration for limitation and
explicitly throwing an exception:

http://grepcode.com/file/repo1.maven.org/maven2/org.apache.cocoon/cocoon-core/2.2.0-M1/org/apache/cocoon/servlet/multipart/RejectedPart.java#80


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Error creating administrator Dspace 3.1 with Oracle and Red Hat

2013-04-25 Thread helix84
On Thu, Apr 25, 2013 at 10:24 AM, María Gómez Argudo mgom...@cic.upo.es wrote:
 Exception: No such column 'salt'
 java.lang.IllegalArgumentException: No such column 'salt'

Hi María,

this shouldn't happen when you're installing a new instance of DSpace,
only when you're upgrading from an older version. In that case, you
need to follow the upgrading instructions here:
https://wiki.duraspace.org/display/DSDOC3x/Upgrading+a+DSpace+Installation

The particular step you missed that is causing this problem is
upgrading the database using the database_schema_18-3.sql script. But
follow the complete instructions because if you missed one step, it's
also likely you missed some other important steps.


P.S. Next time don't send the same email to two mailing lists at the
same time. Pick one (dspace-tech is the right one) and we'll let you
know if it's the wrong place to ask.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Failed ant fresh_install

2013-04-25 Thread helix84
On Thu, Apr 25, 2013 at 3:47 PM, SanjibKumarDeka xan...@gmail.com wrote:
  [java] Error:
  [java]  - org.postgresql.util.PSQLException: FATAL: password
 authentication failed for user dspace

You didn't list the correct database password (db.password) for
database user dspace (db.username) in
[dspace-source]/dspace/config/dspace.cfg.
Please note that after you fix it in the file I mentioned, you'll have
to run mvn package again before you can run ant fresh_install.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Dspace sending too many alert emails

2013-04-24 Thread helix84
If you really want to do filtering as Bram suggests, I'd recommend you to
do it in your MTA on the DSpace server. Assuming you're using an MTA with a
smarthost configuration, which is the usual and easy configuration, you can
configure it to do some filtering depending on body content and drop only
the emails with the name of the exception you want to ignore. Of course,
the configuration is specific to your particular
MTA (sendmail/postfix/exim/...).

The alternative is to modify DSpace source code to catch the
SQLRecoverableException
here
https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/storage/rdbms/DatabaseManager.java#L590
and do nothing (ignore it).


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] java.sql.SQLException: bad_dublin_core schema after modifying input-forms.xml file.

2013-04-24 Thread helix84
Please, always CC dspace-tech.

It seems what you're doing is running the data export over an existing
database (with data).

What you should do instead is take the export (created using pg_dump),
import it into an empty database (you can create a separate database
for that purpose), let's call it dspace_new and then run the upgrade
scripts in the correct order:
[dspace-src]/dspace/etc/postgres/database_schema_17-18.sql
[dspace-src]/dspace/etc/postgres/database_schema_18-3.sql
These will upgrade the database format from 1.7 to 3, keeping the existing data.

Then simply point your dspace to the new database name (in dspac.cfg)
and restart it:
db.url = jdbc:postgresql://localhost:5432/dspace_new


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


On Wed, Apr 24, 2013 at 4:47 PM, Abhishek Kulkarni
akulk...@hawk.iit.edu wrote:
 Hello Ivan,

 Can you please help me out with importing postgres database?
 I have installed dspace 3.1 (fresh install) on new server and already have
 dspace 1.7 running on another server.
 I copied entire assetstore from 1.7 to 3.1 dspace.
 After copying, I tried searching for items in new dspace, and no results
 were thrown.
 Then, it struck me about DB import too.
 How do I import dspace1.7.sql dump into new dspace 3.1?
 I tried \i command but it threw all duplication errors as below: -


 psql:/home/guru/DBDump/new_dump.sql:301051: ERROR:  duplicate key value
 violates unique constraint metadataschemaregistry_pkey
 DETAIL:  Key (metadata_schema_id)=(1) already exists.
 CONTEXT:  COPY metadataschemaregistry, line 1: 1
 http://dublincore.org/documents/dcmi-terms/ dc
 psql:/home/guru/DBDump/new_dump.sql:354919: ERROR:  duplicate key value
 violates unique constraint metadatavalue_pkey
 DETAIL:  Key (metadata_value_id)=(128) already exists.
 CONTEXT:  COPY metadatavalue, line 1: 128  23  3   Stewart,
 John L.\N  1   \N  -1
 psql:/home/guru/DBDump/new_dump.sql:466775: ERROR:  insert or update on
 table resourcepolicy violates foreign key constraint
 resourcepolicy_epersongroup_id_fkey
 DETAIL:  Key (epersongroup_id)=(67) is not present in table epersongroup.
 psql:/home/guru/DBDump/new_dump.sql:466807: ERROR:  insert or update on
 table subscription violates foreign key constraint
 subscription_eperson_id_fkey
 DETAIL:  Key (eperson_id)=(38) is not present in table eperson.
 psql:/home/guru/DBDump/new_dump.sql:466951: ERROR:  insert or update on
 table tasklistitem violates foreign key constraint
 tasklistitem_eperson_id_fkey
 DETAIL:  Key (eperson_id)=(340) is not present in table eperson.
 psql:/home/guru/DBDump/new_dump.sql:467027: ERROR:  insert or update on
 table workflowitem violates foreign key constraint
 workflowitem_item_id_fkey
 DETAIL:  Key (item_id)=(3223) is not present in table item.
 psql:/home/guru/DBDump/new_dump.sql:467197: ERROR:  insert or update on
 table workspaceitem violates foreign key constraint
 workspaceitem_item_id_fkey
 DETAIL:  Key (item_id)=(1708) is not present in table item.
 psql:/home/guru/DBDump/new_dump.sql:467205: ERROR:  multiple primary keys
 for table bi_2_dis are not allowed
 psql:/home/guru/DBDump/new_dump.sql:467213: ERROR:  multiple primary keys
 for table bi_2_dmap are not allowed
 psql:/home/guru/DBDump/new_dump.sql:467221: ERROR:  multiple primary keys
 for table bi_4_dis are not allowed
 psql:/home/guru/DBDump/new_dump.sql:467229: ERROR:  multiple primary keys
 for table bi_4_dmap are not allowed
 ALTER TABLE
 ALTER TABLE
 psql:/home/guru/DBDump/new_dump.sql:467253: ERROR:  multiple primary keys
 for table bi_item are not allowed
 psql:/home/guru/DBDump/new_dump.sql:467261: ERROR:  multiple primary keys
 for table bi_withdrawn are not allowed
 psql:/home/guru/DBDump/new_dump.sql:467269: ERROR:  multiple primary keys
 for table bitstream are not allowed
 psql:/home/guru/DBDump/new_dump.sql:467277: ERROR:  multiple primary keys
 for table bitstreamformatregistry are not allowed
 psql:/home/guru/DBDump/new_dump.sql:467285: ERROR:  relation
 bitstreamformatregistry_short_description_key already exists
 psql:/home/guru/DBDump/new_dump.sql:467293: ERROR:  multiple primary keys
 for table bundle2bitstream are not allowed
 psql:/home/guru/DBDump/new_dump.sql:467301: ERROR:  multiple primary keys
 for table bundle are not allowed
 psql:/home/guru/DBDump/new_dump.sql:467309: ERROR:  multiple primary keys
 for table checksum_history are not allowed
 psql:/home/guru/DBDump/new_dump.sql:467317: ERROR:  multiple primary keys
 for table checksum_results are not allowed
 psql:/home/guru/DBDump/new_dump.sql:467325: ERROR:  multiple primary keys
 for table collection2item are not allowed
 psql:/home/guru/DBDump/new_dump.sql:467333: ERROR:  multiple primary keys
 for table collection_item_count are not allowed
 psql:/home/guru/DBDump/new_dump.sql:467341: ERROR:  multiple primary keys
 for table collection are not allowed
 psql:/home

Re: [Dspace-tech] How to change the start page of Mirage?

2013-04-24 Thread helix84
On Wed, Apr 24, 2013 at 6:24 PM, Abhishek Kulkarni
akulk...@hawk.iit.edu wrote:
 How do we change the name Mirage on landing page of Dspace?

You can do that here:
https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace-xmlui/src/main/webapp/themes/Mirage/lib/xsl/core/page-structure.xsl#L327

Please, start a new thread when you have a new question. Don't change
the subject of an ongoing thread.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] java.sql.SQLException: bad_dublin_core schema after modifying input-forms.xml file.

2013-04-24 Thread helix84
On Wed, Apr 24, 2013 at 6:14 PM, Abhishek Kulkarni akulk...@hawk.iit.edu
 wrote:

 I created new db, dspace_new and performed all the steps as mentioned
 successfully.



I made a mistake, here's how you should run the database upgrade scripts:
psql dspace_new  [dspace-src]/dspace/etc/postgres/database_schema_17-18.sql
psql dspace_new  [dspace-src]/dspace/etc/postgres/database_schema_18-3.sql

but you say you've managed to do that.

Should I run update-sequences.sql present in
 /dspace/dspace-3.1-release/dspace/etc/postgres too


There's no harm in running update-sequences.sql, but do that only while
Tomcat is down.


However, I am still not getting search results after searching for any
 keyword in dspace.


You have to run [dspace]/bin/dspace index-init, and if you're using
Discovery also [dspace]/bin/dspace update-discovery-index. But this is all
described in the official documentation about upgrading, you should read
and follow it completely:

https://wiki.duraspace.org/display/DSDOC3x/Upgrading+From+1.7.x+to+1.8.x
https://wiki.duraspace.org/display/DSDOC3x/Upgrading+From+1.8.x+to+3.x


 Also, on item submission I faced the following exception after the 'Grant
 license' step.


 java.lang.RuntimeException: Error while attempting to create identifier
 for Item id: 3490

   at 
 org.dspace.identifier.VersionedHandleIdentifierProvider.register(VersionedHandleIdentifierProvider.java:117)


I'm not sure about that, maybe it will be fixed when you follow the
upgrading docs above.
You should also look into dspace.log, find this line and post it here. The
equivalent line from log is almost the same but it contains an important
extra piece of information. You should include even more lines, especially
including the Caused by line.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Internal Server Error due to Browse index erros

2013-04-24 Thread helix84
On Wed, Apr 24, 2013 at 3:53 PM, Kirti Bodhmage k.bodhm...@qmul.ac.uk wrote:
 It looks like some robot is using http://qmro.qmul.ac.uk/jspui/browse  url 
 while it should be using this url with some parameter.

Hi Kirti,

that must be some kind of error in your repository, because it
shouldn't happen. If you call browse without any parameter, it should
display Browsing by Title, as you can see here (I also verified it
on a 1.7.2 repository):
http://demo.dspace.org/jspui/browse

 Is there any way to stop robot to browse the website?

Definitely don't add Disallow: /browse to robots.txt. It would
practically prevent crawlers from indexing your whole site. A better
way would be to try to fix the /browse URL somehow. Either find out
why it's broken and fix it in DSpace or, if n case you're using Apache
HTTPD in front of httpd, you can simply redirect /jspui/browse to
/jspui/browse?type=title, thus avoiding the problem.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Internal Server Error due to Browse index erros

2013-04-24 Thread helix84
If you want to fix it in DSpace, this is where you should modify the
code to check for empty type parameter and treat it as title
instead:

https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace-jspui/src/main/java/org/dspace/app/webui/servlet/AbstractBrowserServlet.java#L111


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] java.sql.SQLException: bad_dublin_core schema after modifying input-forms.xml file.

2013-04-24 Thread helix84
On Wed, Apr 24, 2013 at 7:47 PM, abhishek.kulkarni
akulk...@hawk.iit.edu wrote:
 Search started working after I refreshed the indexes.
 However, I wasn't successful in refreshing Discovery.
 Faced exception: -

 Exception: java.net.ConnectException: Connection refused
 org.dspace.discovery.SearchServiceException: java.net.ConnectException:
 Connection refused
 at
 org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:418)
 at org.dspace.discovery.IndexClient.main(IndexClient.java:119)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

 Maybe, I might not be using it in DSpace, and hence the connection refused
 exception.

You're right, Discovery it not enabled by default, so if you didn't
enable it, you don't have to worry about update-discovery-index not
working.

 java.lang.RuntimeException: ERROR: permission denied for relation
 versionitem

Yes, this is the actual error. The versionitem tables and some other
related stuff were created by the database_schema_18-3.sql upgrade
script. According to the error message, you don't have the permission
to access this new table. So you probably run psql 
database_schema_18-3.sql as a different database user (role) than the
rest of your dspace tables. The easiest solution at this point would
be to drop your upgraded database and do the import and upgrade steps
again, this time using the correct databse user (role). You will know
what the correct user should be by looking at db.username in
dspace.cfg.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] fmt:message key=jsp.layout.header-default.about/ where we get this key values

2013-04-22 Thread helix84
On Mon, Apr 22, 2013 at 6:56 AM, jayachandra B
jayachandra1...@gmail.com wrote:
 In most of the *.jsp files, there are some statements like fmt:message
 key=jsp.layout.header-default.about/, where will we get these key value.

They're taken from the Messages.properties file or a localized version
thereof (Messages_xx.properties), depending which language version
you're viewing.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Unable to install DSpace in RHEL 6

2013-04-22 Thread helix84
On Mon, Apr 22, 2013 at 8:36 AM, SanjibKumarDeka xan...@gmail.com wrote:

 Downloading:
 http://oss.sonatype.org/content/repositories/releases/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
  Sep 20, 2012 12:07:52 PM
 org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector
 tryConnect
 INFO: I/O exception (java.net.NoRouteToHostException) caught when
 connecting to the target host: No route to host


 Hi Sanjib,

for some reason, Maven is not able to download that file (which is a
dependency it needs to build DSpace).

The usual reason for this is a network problem - either you're not
connected to internet, you're firewalled or you're using a proxy to access
the internet. The first two cases will probably require help from your
network administrator. The last case - if you need a proxy to access
internet - you have to add the proxy configuration to your Maven
configuration. Here's where you can find it:

There is often a master copy of this file found in a location such as
'MAVEN_HOME/conf/settings.xml' or '/etc/maven/settings.xml', or you
can edit your local copy in ~/.m2/settings.xml.

Also here's the relevant chapter from Maven documentation:

http://maven.apache.org/settings.html#Quick_Overview


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Modifying the number of months, for which statistics are displayed

2013-04-22 Thread helix84
Thanks for pointing out the obsolete part of our documentation. I have
updated the docs to work with 3.x.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] fmt:message key=jsp.layout.header-default.about/ where we get this key values

2013-04-22 Thread helix84
On Mon, Apr 22, 2013 at 10:16 AM, jayachandra B
jayachandra1...@gmail.comwrote:

 I am using dspace.1.8.2. I want to change those key values to my own
 values. Can any one help how to do it


Just change it and rebuild DSpace. You may also want to keep a copy in the
overlay directory to prevent futore upgrades from overwriting your changes
(if you're working with a git clone)

In order to do that, copy the file from
[dspace-src]/dspace-api/src/main/resources/
to
[dspace-src]/dspace/modules/jspui/src/main/resources/
Then make your changes, rebuild and redeploy DSpace.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] How servlets are being invoked by HTTP requests in dspace??

2013-04-22 Thread helix84
Hi Nishant,

you can see (and edit) the mappings here:

https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace-jspui/src/main/webapp/WEB-INF/web.xml


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Unable to install DSpace in RHEL 6

2013-04-22 Thread helix84
I see, so you're saying that you do need to use proxy.
If the settings you entered are correct and the error continues to
show up then perhaps Maven isn't using that configuration file. Try to
explicitly specify the path to the configuration file using
mvn -s opt/apache-maven-3.0.5/conf/settings.xml package


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


On Mon, Apr 22, 2013 at 12:06 PM, SanjibKumarDeka xan...@gmail.com wrote:
 HI helix84,

 Thank you for your reply. I have configure the settings.xml file in the
 directory /opt/apache-maven-3.0.5/conf/
 After that I run the mvn package but the problem still exist. Details
 attached for your information. Kindly help please.

  proxies
 !-- proxy
  | Specification for one proxy, to be used in connecting to the network.
  |
 proxy
   idoptional/id
   activetrue/active
   protocolhttp/protocol
   usernameskdeka/username
   passwordaarhi/password
   host202.141.80.30/host
   port3128/port
   nonProxyHostslocal.net|some.host.com/nonProxyHosts
 /proxy
 --
   /proxies

 ERROR MSG:
 ===
 [root@CENTRAL-LIBRARY /]# su dspace
 [dspace@CENTRAL-LIBRARY /]$ cd /dspace-3.1-src-release/dspace

 [dspace@CENTRAL-LIBRARY dspace]$ mvn package
 [INFO] Scanning for projects...
 Downloading:
 http://oss.sonatype.org/content/repositories/releases/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
 Downloading:
 http://repo.maven.apache.org/maven2/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
 Sep 20, 2012 3:29:46 PM
 org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector
 tryConnect

 INFO: I/O exception (java.net.NoRouteToHostException) caught when connecting
 to the target host: No route to host
 Sep 20, 2012 3:29:46 PM
 org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector
 tryConnect

 INFO: Retrying connect
 [ERROR] The build could not read 1 project - [Help 1]
 [ERROR]
 [ERROR]   The project org.dspace:dspace:3.1
 (/dspace-3.1-src-release/dspace/pom.xml) has 1 error
 [ERROR] Non-resolvable parent POM for org.dspace:dspace-parent:3.1:
 Could not transfer artifact org.sonatype.oss:oss-parent:pom:7 from/to
 sonatype-releases (http://oss.sonatype.org/content/repositories/releases/):
 Connection to http://oss.sonatype.org refused and 'parent.relativePath'
 points at wrong local POM @ org.dspace:dspace-parent:3.1,
 /dspace-3.1-src-release/pom.xml, line 17, column 13: Connection timed out -
 [Help 2]

 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
 switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions, please
 read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
 [ERROR] [Help 2]
 http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
 [dspace@CENTRAL-LIBRARY dspace]$
 ==
 Reagards,


 On Mon, Apr 22, 2013 at 1:43 PM, helix84 heli...@centrum.sk wrote:

 On Mon, Apr 22, 2013 at 8:36 AM, SanjibKumarDeka xan...@gmail.com wrote:

 Downloading:
 http://oss.sonatype.org/content/repositories/releases/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
 Sep 20, 2012 12:07:52 PM
 org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector
 tryConnect
 INFO: I/O exception (java.net.NoRouteToHostException) caught when
 connecting to the target host: No route to host


  Hi Sanjib,

 for some reason, Maven is not able to download that file (which is a
 dependency it needs to build DSpace).

 The usual reason for this is a network problem - either you're not
 connected to internet, you're firewalled or you're using a proxy to access
 the internet. The first two cases will probably require help from your
 network administrator. The last case - if you need a proxy to access
 internet - you have to add the proxy configuration to your Maven
 configuration. Here's where you can find it:

 There is often a master copy of this file found in a location such as
 'MAVEN_HOME/conf/settings.xml' or '/etc/maven/settings.xml', or you
 can edit your local copy in ~/.m2/settings.xml.

 Also here's the relevant chapter from Maven documentation:

 http://maven.apache.org/settings.html#Quick_Overview


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data

Re: [Dspace-tech] Unable to install DSpace in RHEL 6

2013-04-22 Thread helix84
On Mon, Apr 22, 2013 at 2:43 PM, SanjibKumarDeka xan...@gmail.com wrote:
 should I use this command from root user or dspace user ? Kindly tell me
 please.

Ideally, you should run all commands as the dspace user (i.e. the same
user Tomcat runs under). With a few obvious exceptions during the
installation phase like adding the dspace user and the postgres
database and role.

Please, always CC dspace-tech, never reply directly to me.

Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Problem to see items after migrate

2013-04-22 Thread helix84
On Mon, Apr 22, 2013 at 4:49 PM, Luis Rojas C. (CATIE) 
luisro...@catie.ac.cr wrote:

  Hi all, I have migrated d-space 1.4.2 to 3.1, the whole process was
 successful but if I make a search are not registered no record, however, exist
 in the database and the assetstore.

 **


Hi Luis,

did you run index-init and (if you're using Discovery)
update-discovery-index?


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Problem to see items after migrate

2013-04-22 Thread helix84
On Mon, Apr 22, 2013 at 5:10 PM, Luis Rojas C. (CATIE)
luisro...@catie.ac.cr wrote:
 Thanks in advance, I do not know if I'm using Discovery, I think not. How
 can I tell if I'm using Discovery?

If you didn't enable it, you're not using it :) It's not enabled by default yet.

https://wiki.duraspace.org/display/DSDOC3x/Discovery#Discovery-EnablingDiscovery


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Problem to see items after migrate

2013-04-22 Thread helix84
You simply have to run
[dspace]/bin/dspace index-init
to create the Lucene search index.

You said you didn't enable Discovery, so that part doesn't concern you.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] java.sql.SQLException: bad_dublin_core schema after modifying input-forms.xml file.

2013-04-22 Thread helix84
It seems you have put embargo terms somewhere where you should have
put embargo.terms (with a dot).

Probably in input-forms.xml you put
 dc-elementembargo terms/dc-element
 dc-qualifier/dc-qualifier
instead of
 dc-elementembargo/dc-element
 dc-qualifierterms/dc-qualifier


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] java.sql.SQLException: bad_dublin_core schema after modifying input-forms.xml file.

2013-04-22 Thread helix84
On Mon, Apr 22, 2013 at 6:22 PM, abhishek.kulkarni
akulk...@hawk.iit.edu wrote:
 It worked after adding couple of missing entries in 'dc' schema.

Yes, that should work, but the point was to add the iit fields to
input-forms, not create new dc fields. It's better practice in light
of upcoming changes to metadata schemas in DSpace - in general, you
shouldn't add new elements to dc.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Role of request.getAttribute() in .jsp files ??

2013-04-21 Thread helix84
I don't know much about JSP, but this question sounds easy.

Basically, this is a part of the servlet specification. The request
object represents the HTTP request and the getAttribute() method is a
way to transfer an object to the servlet. This is documented in the
standard JavaDoc:

http://docs.oracle.com/javaee/6/api/javax/servlet/ServletRequest.html

And to answer your question where the information comes from - it is
set using the setAttribute() method.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] can't create administrator account using dsrun command

2013-04-18 Thread helix84
Hi Irene,

which dspace version are you using? In all recent DSpace version you're now
using the dspace script instead of dsrun:

[dspace]/bin/dspace create-administrator

In any case, if you're following outdated documentation, you're likely to
run into other problems as well. Follow the corresponding documentation for
your DSpace version here:

https://wiki.duraspace.org/display/DSDOC/All+Documentation

The create-administrator command is covered in the installation chapter.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Disable anonymous read access

2013-04-18 Thread helix84
Hi Kai,

you could try to remove these rows (while DSpace is down):

SELECT * FROM resourcepolicy WHERE resource_type_id = '3' AND
epersongroup_id = '0'

 I haven't tested it in any way, so do not even think about trying it
without a proper backup.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] DCInput.java

2013-04-18 Thread helix84
Hi Jose,

that's most likely due to Cocoon caching. I don't have much experience
with it, but try looking how to declare an URL endpoint not cached.
It's probably configurable via the sitemap. Try starting here:

http://cocoon.apache.org/2.1/userdocs/concepts/caching.html


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Start over

2013-04-17 Thread helix84
On Wed, Apr 17, 2013 at 2:40 AM, Mark Ehle marke...@gmail.com wrote:

 Would clean-database and setup-database do it? Would I be able to delete
 my assetstore then?


Yes, Mark, that's correct.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Not able to register new user in dspace

2013-04-17 Thread helix84
On Wed, Apr 17, 2013 at 9:59 AM, jayachandra B
jayachandra1...@gmail.com wrote:
 I have installed dspace 1.8.2. When I try to add new user, I am getting
 internal system error please help me out.

What is the error message or the complete stack trace of the error?
You can usually find it in the log.

More details on finding the stack trace are here:
https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Not able to register new user in dspace

2013-04-17 Thread helix84
Setting Gmail as a SMTP server requires some specific configuration
parameters. This is best described here:

http://blog.stuartlewis.com/2009/09/05/using-gmail-with-dspace/


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


On Wed, Apr 17, 2013 at 10:43 AM, jayachandra B
jayachandra1...@gmail.com wrote:
 Since I don't have mail server in my system, I have kept SMTP host:
 smtp.gmail.com in dspace.cfg file. In the error log it is showing the
 following message

 javax.mail.MessagingException: Unknown SMTP host: smtp.gmail.com;
   nested exception is:
 java.net.UnknownHostException: smtp.gmail.com
 at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1280)
 at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
 at javax.mail.Service.connect(Service.java:297)
 at javax.mail.Service.connect(Service.java:156)
 at javax.mail.Service.connect(Service.java:105)
 at javax.mail.Transport.send0(Transport.java:168)
 at javax.mail.Transport.send(Transport.java:98)
 at org.dspace.core.Email.send(Email.java:366)
 at org.dspace.eperson.AccountManager.sendEmail(AccountManager.java:262)
 at org.dspace.eperson.AccountManager.sendInfo(AccountManager.java:222)
 at
 org.dspace.eperson.AccountManager.sendRegistrationInfo(AccountManager.java:67)
 at
 org.dspace.app.webui.servlet.RegisterServlet.processEnterEmail(RegisterServlet.java:260)
 at
 org.dspace.app.webui.servlet.RegisterServlet.doDSPost(RegisterServlet.java:172)
 at
 org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:115)
 at org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:73)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
 org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
 at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:947)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
 at
 org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009)
 at
 org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
 at
 org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1852)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)
 Caused by: java.net.UnknownHostException: smtp.gmail.com
 at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
 at java.net.PlainSocketImpl.connect(Unknown Source)
 at java.net.SocksSocketImpl.connect(Unknown Source)
 at java.net.Socket.connect(Unknown Source)
 at java.net.Socket.connect(Unknown Source)
 at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:232)
 at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)
 at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1250)
 ... 35 more


 On Wed, Apr 17, 2013 at 1:51 PM, helix84 heli...@centrum.sk wrote:

 On Wed, Apr 17, 2013 at 9:59 AM, jayachandra B
 jayachandra1...@gmail.com wrote:
  I have installed dspace 1.8.2. When I try to add new user, I am getting
  internal system error please help me out.

 What is the error message or the complete stack trace of the error?
 You can usually find it in the log.

 More details on finding the stack trace are here:
 https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




 --
 Regards
 Jayachandra

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy

Re: [Dspace-tech] Export archive restricted?

2013-04-17 Thread helix84
Hi Alan,

I admit I did only a single test on demo where I exported a community using
the community admin's account, but the test was successful, as you can
still see when you look at that account's My Exports.

I used the dspacedemo+commad...@gmail.com account to export the following
community (which he's an admin of):
http://demo.dspace.org/xmlui/handle/10673/1

What did you do differently while testing on demo? Are you sure the
community or collection admin you tried was really an admin for that
particular community/collection?


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] java.sql.SQLException: bad_dublin_core schema after modifying input-forms.xml file.

2013-04-17 Thread helix84
Hi Abishek,

did you create your iit schema (in Metadata Registry while logged in as
Admin) before you made the changes to input forms? From the message it
seems the schema doesn't exist. Also make sure to add any metadata fields
into that schema that you wish to use them in your input forms.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] java.sql.SQLException: bad_dublin_core schema after modifying input-forms.xml file.

2013-04-17 Thread helix84
It's so easy that it's probably not even documented.

1) log in as site administrator
2) go to Administrative - Registries - Metadata
3) fill in Namespace (arbitrary URL) and Name (iit), click Add new
schema
4) open the newly added schema
5) into Field Name: type your element and qualifier and click Add new
metadata field


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



On Wed, Apr 17, 2013 at 11:13 PM, Abhishek Kulkarni
akulk...@hawk.iit.eduwrote:

 Hi Helix,

 I missed the creation of metadata in entirety.
 Can you please guide on how we go about it?
 (Maybe, an already published article/ solution)

 Thanks,
 Abhishek


 On Wed, Apr 17, 2013 at 1:33 PM, helix84 heli...@centrum.sk wrote:

 Hi Abishek,

 did you create your iit schema (in Metadata Registry while logged in
 as Admin) before you made the changes to input forms? From the message it
 seems the schema doesn't exist. Also make sure to add any metadata fields
 into that schema that you wish to use them in your input forms.


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Problem installing DSPAce 3.1 ein Windows Server 2008 R2

2013-04-16 Thread helix84
Hi Luis,

change this:
db.name = repforestal

to this:
db.name = postgres


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Problem installing DSPAce 3.1 ein Windows Server 2008 R2

2013-04-16 Thread helix84
On Tue, Apr 16, 2013 at 10:41 PM, Luis Rojas C. (CATIE)
luisro...@catie.ac.cr wrote:
 Thanks Helix for your atention, i can to generate the command successfull. My 
 question is, why not is posible change the db name??

It's not your DB name. db.name is the RDBMS name. Your DB name is at
the end of db.url.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Export archive restricted?

2013-04-16 Thread helix84
It saves time to list the exact wording (This export archive is restricted.).

Here's what the comment at that place in code says:

// The user does not have read access to this bitstream. Interrupt
this current request
// and then forward them to the login page so that they can be
authenticated. Once that is
// successful they will request will be resumed.

I don't use that functionality, so I don't know what's wrong. One
guess I would take is - if you made the export and he's trying to
download it, he probably can't (although I'm not sure your export
would show up in his My Exports). Is the message the same when he
tried to do the export as opposed to downloading the export?

BTW you may test the functionality on demo.dspace.org. From my test,
it works (both exporting and downloading the export).


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] hide communities/collecitons from discovery search

2013-04-12 Thread helix84
I'm not 100% familiar with this area, but I don't think you can hide
items only from Anonymous users.

You can however, make them Private, which means they will be
accessible only to the Administrator. This is a new feature and not
very well documented, but I know private items will be excluded from
discovery search results.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Version Issues

2013-04-11 Thread helix84
On Wed, Apr 10, 2013 at 6:53 PM, Amandeep Kapila
kapila.amand...@gmail.com wrote:
 Thanks for all the information. I can't dare for Wheezy now with a production 
 server as I may bump into some bug issues. Its always wise to move a little 
 behind especially the OS.

Paradoxically, if you look at the number of bugs at this time in
Squeeze and in Wheezy, the Squeeze number is significantly higher. The
Wheezy number will now go down a bit and when Wheezy becomes stable,
it will climb again. I don't question your general policy, but this
case at this time happens to be an exception.


 I think OpenJDK has some known issues with dspace and so Oracle/Sun version 
 is recommended in documentation. While  installing mvn from repository found 
 out that another version of java is also installed and had to update the 
 alternatives to use sun version.

demo.dspace.org has been running on on OpenJDK 7 since DSpace 1.8.2. I
have been running on OpenJDK 6 since DSpace 1.5. All of it in
production. No problems I encountered were really Java-related. With
OpenJDK you have the comfort of the distribution watching security
updates for you. I don't know how many system you maintain, but I'm
surely happy for that comfort, because it scales.


On Thu, Apr 11, 2013 at 6:30 AM, Amandeep Kapila
kapila.amand...@gmail.com wrote:
  Thanks, for the response to my problem. I have doubled my RAM but
 still getting the error. I think I am missing on something, I am pasting
 here the error messages from stacktrace here,

 java.io.IOException: No such file or directory


 Java stacktrace [hide]

 java.io.IOException: No such file or directory
 at java.io.UnixFileSystem.createFileExclusively(Native Method)
 at java.io.File.createNewFile(File.java:900)
 at edu.sdsc.grid.io.local.LocalFile.createNewFile(LocalFile.java:486)
 at
 org.dspace.storage.bitstore.BitstreamStorageManager.store(BitstreamStorageManager.java:300)
 at org.dspace.content.Bitstream.create(Bitstream.java:205)
 at org.dspace.content.Bundle.createBitstream(Bundle.java:384)
 at org.dspace.content.Item.createSingleBitstream(Item.java:1404)
 at org.dspace.submit.step.UploadStep.processUploadFile(UploadStep.java:500)
 at org.dspace.submit.step.UploadStep.doProcessing(UploadStep.java:145)

This one is not RAM-related. The problem is that DSpace doesn't have
the permissions to create a file in the [dspace]/assetstore directory.
You'll avoid a whole class of problems if you chown the whole dspace
directory to the tomcat user (tomcat6 in Squeeze).

The continuation error is also related to submission, so I'll assume
for now that it's a manifestation of the same problem.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Using DRI during processing mets.xml

2013-04-11 Thread helix84
It's actually trivial because the data is already available in the SFXLink
variable. So just insert

xsl:copy-of select=$SFXLink /


where you need it within this template (assuming the Mirage theme):

https://github.com/DSpace/DSpace/blob/dspace-3.0/dspace-xmlui/src/main/webapp/themes/Mirage/lib/xsl/aspect/artifactbrowser/item-view.xsl#L88


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] hide communities/collecitons from discovery search

2013-04-11 Thread helix84
DSpace version and theme?


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] JSPUI warning

2013-04-11 Thread helix84
On Thu, Apr 11, 2013 at 2:40 PM, Amandeep Kapila
kapila.amand...@gmail.comwrote:

  WARN  org.dspace.core.PluginManager @ No Configuration entry found for
 Sequence Plugin interface=org.dspace.plugin.SiteHomeProcessor


If you want to use Discovery, follow all the steps in this chapter:

https://wiki.duraspace.org/display/DSDOC3x/Discovery#Discovery-StepsrequiredforJSPUI

In particular, the step (or one of the steps) that you forgot is
uncommenting the following configuration option:
plugin.sequence.org.dspace.plugin.SiteHomeProcessor = \
 org.dspace.app.webui.discovery.SideBarFacetProcessor



Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] hide communities/collecitons from discovery search

2013-04-11 Thread helix84
xmlui is an interface, not theme. I'll assume you're using the default
Mirage interface.

The generic solution (works regardless of theme used) is to comment out the
following if block and rebuild DSpace:

https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/discovery/AbstractSearch.java#L375

The specific solution for dri2xhtml-alt based templates (including Mirage)
is to change this template:
https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-xmlui/src/main/webapp/themes/dri2xhtml-alt/aspect/artifactbrowser/discovery.xsl#L38

to


xsl:template match=dri:list/dri:list mode=dsoList priority=7
  xsl:if test=@id !=
'aspect.discovery.SimpleSearch.list.comm-coll-result-list'
xsl:apply-templates select=dri:head/
ul
xsl:apply-templates select=*[not(name()='head')] mode=dsoList/
/ul
  /xsl:if
/xsl:template


In this case you have to modify that exact file in the dri2xhtml-alt,
overriding the template in your derived theme doesn't work for some reason
I didn't figure out (if you do that, you'll notice the formatting of item
list below is broken).

Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] DSpace 3.1 XMLUI, Sequencing ds-option-set menu items

2013-04-11 Thread helix84
I haven't tried it, but I think you can configure it here:

https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/discovery/Navigation.java#L123

It requires you to rebuild DSpace, though.

Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] DSpace 3.1 XMLUI, Sequencing ds-option-set menu items

2013-04-11 Thread helix84
It also might be this one, it really just needs some trial and error:

https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/viewArtifacts/Navigation.java#L85


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] RV: Problem installing Dspace 3.1

2013-04-11 Thread helix84
The actual problem is not displayed on that screen, it's in the text
above that is not displayed. Redirect the ant output to a file and
send the file as an attachment. Or copy the whole ant output, if
possible.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] moving community

2013-04-10 Thread helix84
Yes, that seems correct. Both handle and the ID from database should work.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] importing to the db directly

2013-04-09 Thread helix84
As an example, put the following code on line 75 here:

https://github.com/DSpace/DSpace/blob/dspace-3.0/dspace-xmlui/src/main/webapp/themes/Mirage/lib/xsl/aspect/artifactbrowser/item-view.xsl#L75

a
xsl:attribute name=href
   xsl:value-of
select=./mets:dmdSec/mets:mdWrap[@OTHERMDTYPE='DIM']/mets:xmlData/dim:dim/dim:field[@element='identifier'
and @qualifier='uri']/
/xsl:attribute
xsl:textfilename/xsl:text
/a



Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Upgrading DSpace database only from 1.5.2 to 3.1

2013-04-09 Thread helix84
Hi Hugh,

the database upgrade steps are as easy as running an SQL file. The
only obvious thing that can go wrong is that you don't run them in the
correct sequence. I personally haven't ever encountered any problem
with this procedure.

So, with postgres, log in as your dspace user and run
psql dspacedbname  /path/to/database_schema_15-16.sql
psql dspacedbname  /path/to/database_schema_16-17.sql
psql dspacedbname  /path/to/database_schema_17-18.sql
psql dspacedbname  /path/to/database_schema_18-3.sql

Where dspacedbname is your dspace database name (usually dspace).

You have to do that on a DSpace 1.5-format database, obviously, so do
a psql_dump of your production database, drop all tables in your
testing database, run psql dspacedbname  production_dump.sql, then do
the schema upgrade steps, then start DSpace 3.0 pointing to it.
Really, try it, it's very simple and you have to actually try it on
your testing server to gain the confidence.

The assetstore will work without changes with any DB schema version
(between 1.5 and 3 I'm certain of it).

I can't really think of anything that could go wrong, but if it does,
you can ask here.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] moving community

2013-04-09 Thread helix84
On Tue, Apr 9, 2013 at 12:30 PM, Webshet, Sisay (ILRI)
s.webs...@cgiar.org wrote:
 I just moved sub community from communtu to another without any error , But
 I can’t see the update

 Does re index required?

I don't think so. Indexing is done on individual items regardless
where in the hierarchy they are and item handles haven't changed, so
there should be no need for reindexing.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] (no subject)

2013-04-09 Thread helix84
Hi Meron,

please, always type a subject when sending a message to the DSpace
mailing lists! Also, see the link below for other mailing list
etiquette.


I don't have such an extensive experience with Maven to know what
you're trying to achieve with mvn archetype:generate, but according
to the following email it seems to me you need to provide some more
command line options:

http://mail-archives.apache.org/mod_mbox/maven-users/200802.mbox/%3cb20a80950802151520xc4ed232ia693883129224...@mail.gmail.com%3E


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

On Tue, Apr 9, 2013 at 1:09 PM, Meron Mesfin m.mero...@yahoo.com wrote:

 hi there again
  when i install maven and run mvn archetype:generate  at the end of the
 command it asks me about
 Groupid:
 artifactid:
 version: 1.0snapshot:
 package:
 do you have any idea what i should write on the listed questions.please
 thanks

 best regards


 --
 Precog is a next-generation analytics platform capable of advanced
 analytics on semi-structured data. The platform includes APIs for building
 apps and a phenomenal toolset for data science. Developers can use
 our toolset for easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Submit item

2013-04-09 Thread helix84
Hi Rémi,

no, you don't need to install DSpace on a different computer to make
submission work.

But you need to provide more details when reporting a problem. Include
all of the following:
* DSpace version and interface
* What exactly is displayed when the submission is not working
(screenshot would be OK)
* What appears in the dspace log at the time when you attempt to submit?


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Indexing one collection

2013-04-08 Thread helix84
Hi Mark,

AFAIK, this can't be done out-of-the-box, neither for Lucene nor for
Solr (you didn't specify which one).

It can be done by writing a curation task and perhaps even invoking it
as a workflow step.

But perhaps there's another way where this is not necessary - what is
your overall workflow, which submission/import method are you using
and why do you think you need to index one collection?


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


On Sat, Apr 6, 2013 at 6:34 PM, Mark Ehle marke...@gmail.com wrote:
 Hello - Is there a way to index just one collection after it is submitted?

 --
 Minimize network downtime and maximize team effectiveness.
 Reduce network management and security costs.Learn how to hire
 the most talented Cisco Certified professionals. Visit the
 Employer Resources Portal
 http://www.cisco.com/web/learning/employer_resources/index.html
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Maven: Cannot find parent: org.sonatype.oss:oss-parent for project

2013-04-08 Thread helix84
 Specified destination directory cannot be created: 
 /opt/tomcat/.m2/repository/org/sonatype/oss/oss-parent/7

This is the problem. Are you running the mvn package command as a
user who has write access to /opt/tomcat/ ?


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


On Sun, Apr 7, 2013 at 3:31 AM, Federico Matarrita
feder...@usematics.com wrote:

 Hello I'm trying to install Dspace, I have install all the prerequisites and
 when I'm going to make the maven part I get an error that maven can't find
 the parent project in any repository.
 Should I add (and if so, how?) a new repository?

 Thanks in advance for any help.
 Federico.

 :/srv/dspace-src/dspace-3.1-release$ sudo -u dspace mvn package


 [INFO] Scanning for projects...
 Downloading:
 http://oss.sonatype.org/content/repositories/releases//org/sonatype/oss/oss-parent/7/oss-parent-7.pom
 [INFO] Unable to find resource 'org.sonatype.oss:oss-parent:pom:7' in
 repository sonatype-releases
 (http://oss.sonatype.org/content/repositories/releases/)
 Downloading:
 http://repo1.maven.org/maven2/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
 [WARNING] Unable to get resource 'org.sonatype.oss:oss-parent:pom:7' from
 repository central (http://repo1.maven.org/maven2): Specified destination
 directory cannot be created:
 /opt/tomcat/.m2/repository/org/sonatype/oss/oss-parent/7
 [INFO]
 
 [ERROR] FATAL ERROR
 [INFO]
 
 [INFO] Error building POM (may not be this project's POM).


 Project ID: org.dspace:dspace-parent:pom:3.1

 Reason: Cannot find parent: org.sonatype.oss:oss-parent for project:
 org.dspace:dspace-parent:pom:3.1 for project
 org.dspace:dspace-parent:pom:3.1


 [INFO]
 
 [INFO] Trace
 org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
 org.sonatype.oss:oss-parent for project: org.dspace:dspace-parent:pom:3.1
 for project org.dspace:dspace-parent:pom:3.1
 at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:404)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
 at
 org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
 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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
 at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
 at
 org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
 at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
 Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find
 parent: org.sonatype.oss:oss-parent for project:
 org.dspace:dspace-parent:pom:3.1 for project
 org.dspace:dspace-parent:pom:3.1
 at
 org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1396)
 at
 org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:823)
 at
 org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:508)
 at
 org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)
 at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:604)
 at
 org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:487)
 at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:391)
 ... 12 more
 Caused by: org.apache.maven.project.ProjectBuildingException: POM
 'org.sonatype.oss:oss-parent' not found in repository: Unable to download
 the artifact from any repository

   org.sonatype.oss:oss-parent:pom:7

 from the specified remote repositories:
   central (http://repo1.maven.org/maven2),
   sonatype-releases (http://oss.sonatype.org/content/repositories/releases/)

  for project org.sonatype.oss:oss-parent
 at
 org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:605)
 at
 org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1392)
 ... 18 more
 Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
 Unable to download the artifact from any repository

   org.sonatype.oss:oss-parent:pom:7

 from the specified remote

Re: [Dspace-tech] item-vew.xsl

2013-04-08 Thread helix84
Is this what you need?


diff --git
a/dspace-xmlui/src/main/webapp/themes/Mirage/lib/xsl/aspect/artifactbrowser/item-view.xsl
b/dspace-xmlui/src/main/webapp/themes/Mirage/lib/xsl/aspect/artifactbrowser/item-view.xsl
index 36fe116..d6c3641 100644
---
a/dspace-xmlui/src/main/webapp/themes/Mirage/lib/xsl/aspect/artifactbrowser/item-view.xsl
+++
b/dspace-xmlui/src/main/webapp/themes/Mirage/lib/xsl/aspect/artifactbrowser/item-view.xsl
@@ -38,10 +38,6 @@
 xsl:output indent=yes/

 xsl:template name=itemSummaryView-DIM
-!-- Generate the info about the item from the metadata section --
-xsl:apply-templates
select=./mets:dmdSec/mets:mdWrap[@OTHERMDTYPE='DIM']/mets:xmlData/dim:dim
-mode=itemSummaryView-DIM/
-
 xsl:copy-of select=$SFXLink /
 !-- Generate the bitstream information from the file section --
 xsl:choose
@@ -73,6 +69,10 @@
 /xsl:otherwise
 /xsl:choose

+!-- Generate the info about the item from the metadata section --
+xsl:apply-templates
select=./mets:dmdSec/mets:mdWrap[@OTHERMDTYPE='DIM']/mets:xmlData/dim:dim
+mode=itemSummaryView-DIM/
+
 !-- Generate the Creative Commons license information from the
file section (DSpace deposit license hidden by default)--
 xsl:apply-templates
select=./mets:fileSec/mets:fileGrp[@USE='CC-LICENSE']/
--
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Indexing one collection

2013-04-08 Thread helix84
Hi Mark,

again, what method of import are you using? There are several. I think all
of them update the Lucene index. IIRC some don't update the Solr index
(obviously, they all should). In order to verify that, you can look at the
dspace log and see a bunch of messages like this for Lucene:

org.dspace.search.DSIndexer @ Writing Item: 123456789/3166 to Index
org.dspace.search.DSIndexer @ Wrote Item: 123456789/3166 to Index

and like this for Discovery:

org.dspace.discovery.SolrServiceImpl @ Wrote Item: 123456789/3166 to Index

Anyway, I'm fairly sure you can't cut down on the time it takes to run
update-discovery-index,
because it only indexes changed items. I think this is also the case
with index-update,
but I'm not sure.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] oai

2013-04-08 Thread helix84
On Thu, Apr 4, 2013 at 8:34 PM, Jose Blanco blan...@umich.edu wrote:
 ./dspace oai -c import

 Now I'm seeing the records.

 Question.  It seems like this should be done when the system is down, or we 
 could have performance problems and even an interruption to the indexing.  I 
 have 75,000 items in the repository.  I think to run this command could take 
 many hours, does any one have an idea?

 Because I think that setting up oai to use solar might not be reasonable.  It 
 takes too long to get all the items loaded, I tried the db load, but now the 
 GetRecord is not working.   I can see the list of identifiers, but get record 
 says:  the given id does not exists.


Hi Jose,

oai import -c clears the Solr oai core and then starts a full import
oai import starts an incremental import (only new/changed items
since last import)

So you needed to run the full import once to clean some previous mess,
but now you only need to run the incremental import.

 I have just prepared oai in my dev area using database storage and and I'm 
 seeing a lot of null ids, like this:

I really recommend against DB storage for performance reasons. Yes,
the full import is slow, but you're supposed to do it only once (or
after a schema change). Whereas with DB storage, all reads are slower
by orders of magnitude compared to Solr reads.

I can't help you with the null ids because I practically haven't used
DB storage. João has been MIA for some time now. Switch to Solr
storage and try again.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] oai

2013-04-08 Thread helix84
Regarding your Solr problems, it seems you still didn't change
solr.url to localhost.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] blocking Recent submssions

2013-04-08 Thread helix84
Hi Sisay,

here's the code:

xsl:template name=disable_collection_recent-submissions
match=dri:div[@id='aspect.artifactbrowser.CollectionRecentSubmissions.div.collection-recent-submission']
  xsl:if test=//dri:metadata[@element='request' and
@qualifier='URI']/text() != 'handle/123456789/123'
xsl:apply-templates /
  /xsl:if/xsl:template




Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Bots and cpu

2013-04-08 Thread helix84
On Mon, Apr 8, 2013 at 3:13 PM, Ene Rammer Nielsen ram...@ruc.dk wrote:
 We also talked about restricting bots bandwidth by using mod-bw. Does anybody 
 have any experience with that?

I don't, but another option you might consider is shaping using
iptables (if you're running Linux).

The following article should give you an idea, but a google search
will tell you more.
http://www.debian-administration.org/articles/187


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] (no subject)

2013-04-08 Thread helix84
On Fri, Apr 5, 2013 at 8:33 AM, Meron Mesfin m.mero...@yahoo.com wrote:
 hello there as you told me last time to change the
 DSPACEDIR=`cd $BINDIR/.. ; pwd`
 with your path to dspace, e.g.
 DSPACEDIR=/dspace
 what do you mean by that DSPACEDIR=/dspace can you tell me with a little
 brief and also shall i rebuild it after the change has been done
 Thanks a lot
 best regards!

What I meant was to use literally your path to DSpace instead of a
relative path. So if your DSpace is installed in /dspace, use
DSPACEDIR=/dspace. If your DSpace is in /mnt/dspace/, use
DSPACEDIR=/mnt/dspace.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] java.util.NoSuchElementException: Timeout waiting for idle object

2013-04-08 Thread helix84
Does this help?

http://dspace.2283337.n4.nabble.com/Recurring-Error-org-dspace-app-oai-PluginCrosswalk-td4662351.html#a4662359


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] DSpace scalability (tens of hundreds TBs)

2013-04-08 Thread helix84
Hi Vlastik,

I don't know the answer, either, but I tried to gather some links on that topic:

http://www.imaging.org/IST/store/epub.cfm?abstrid=38878
http://www.dspace.org/index.php?option=com_contentItemid=11catid=65id=377view=article
http://archive.nlm.nih.gov/pubs/ceb2008/2008016.pdf
http://dspace.2283337.n4.nabble.com/Dspace-tech-Scalability-issues-report-DSpace-Cambridge-td3287701.html

If you don't receive a reply here, try asking Tim or Mark Diggory
directly - they're most likely to know users with large number of
items. Some recent threads (which I can't find right now) mentioned
only large bitstreams (which doesn't seem to be your case).


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] importing to the db directly

2013-04-08 Thread helix84
On Mon, Apr 8, 2013 at 4:09 PM, Drover, Matt mattdro...@mun.ca wrote:
 Looks easy enough. Do I leave out the id column if I'm just adding? Also, how 
 do I add the metadata info of the bitstream (size, name, etc) as the file 
 resides out side of dspace?

No, you put in a +. This is the best tutorial on the topic:

https://kb.osu.edu/dspace/handle/1811/47279

Here is the official docs:

https://wiki.duraspace.org/display/DSDOC3x/Batch+Metadata+Editing


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] importing to the db directly

2013-04-08 Thread helix84
Simply include the bitstream URL in a metadata field and then render
that metadata field as a clickable link.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] java.util.NoSuchElementException: Timeout waiting for idle object

2013-04-08 Thread helix84
You should try to raise the number of allowed concurrent transactions
in both Postgres configuration (max_connections) and DSpace
configuration (db.maxconnections).

If you connect to your database and run SELECT * from
pg_stat_activity; and you see many items as IDLE in transaction,
it means all your connections are used up. In particular, this was
often caused by the old oai module in DSpace 1.8 and older.

You can find more about this error in the archive of this mailing list
and in Jira. There isn't really any reliable solution besides raising
the number of connections and occasionally restarting Tomcat or
upgrading to 3.0.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Regarding dspace Error

2013-04-03 Thread helix84
Hello,

the error means that the group with eperson_group_id = 1 (the
Administrator group) wasn't found in the eperson_group table. This
shouldn't happen if you follow the installation instructions. Is there
anything you did manually to the database? Were there any errors
loading the database schema during the ant fresh_install step?

I recommend you to drop the database tables and do the ant
fresh_install step again.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


On Wed, Apr 3, 2013 at 7:18 AM, VINAY G vinayg.c...@gmail.com wrote:

 Respected Sir,

 This is Vinay G from forest department working on dspace, I am getting an
 error to create administrator login in command prompt ,
 1) I have attached in the command prompt error in dspace admin create.txt
 2) I have attached the dspace.cfg file, what i have modified
 3) dspace.log file and also
 4) postgresql.log

 Could you please inform me, where can i correct my error.

 Thank you





 --
 Minimize network downtime and maximize team effectiveness.
 Reduce network management and security costs.Learn how to hire
 the most talented Cisco Certified professionals. Visit the
 Employer Resources Portal
 http://www.cisco.com/web/learning/employer_resources/index.html
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Regarding dspace Error

2013-04-03 Thread helix84
My mistake, the error doesn't mean what I said.

The problem is that you didn't specify database name in dspace.cfg, so
DSpace couldn't create the database connection.
You have to specify database name like this:

db.url = jdbc:postgresql://localhost:5432/databasename

Also make sure that the database exists, username and password is
correct and the schema was created during the ant fresh_install step.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


On Wed, Apr 3, 2013 at 9:54 AM, helix84 heli...@centrum.sk wrote:
 Hello,

 the error means that the group with eperson_group_id = 1 (the
 Administrator group) wasn't found in the eperson_group table. This
 shouldn't happen if you follow the installation instructions. Is there
 anything you did manually to the database? Were there any errors
 loading the database schema during the ant fresh_install step?

 I recommend you to drop the database tables and do the ant
 fresh_install step again.


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


 On Wed, Apr 3, 2013 at 7:18 AM, VINAY G vinayg.c...@gmail.com wrote:

 Respected Sir,

 This is Vinay G from forest department working on dspace, I am getting an
 error to create administrator login in command prompt ,
 1) I have attached in the command prompt error in dspace admin create.txt
 2) I have attached the dspace.cfg file, what i have modified
 3) dspace.log file and also
 4) postgresql.log

 Could you please inform me, where can i correct my error.

 Thank you





 --
 Minimize network downtime and maximize team effectiveness.
 Reduce network management and security costs.Learn how to hire
 the most talented Cisco Certified professionals. Visit the
 Employer Resources Portal
 http://www.cisco.com/web/learning/employer_resources/index.html
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Automatic generation of thumbnails for image records in DSpace

2013-04-03 Thread helix84
This question has been asked a few times already, but I don't have
particular steps to give you, only the general solution.

You can create a curation task that will run the MediaFilter on an
item and then bind this step to a workflow step:

https://wiki.duraspace.org/display/DSDOC3x/Curation+System#CurationSystem-Inworkflow


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Ant Build error

2013-04-03 Thread helix84
These two errors don't seem related.

On Wed, Apr 3, 2013 at 10:20 AM, Smart D Ncube ssum...@gmail.com wrote:
 BUILD FAILED
 /dspace-3.0-release/dspace/target/dspace-3.0-build/build.xml:795: Java
 returned: 1

This one indicates failure during creation of database tables:
https://github.com/DSpace/DSpace/blob/dspace-3.0/dspace/src/main/config/build.xml#L795

This is not the error per se, only an indication that an error
occurred earlier. You'll have to look above that message to find the
actual error.

The most common sources or errors during database creation include
wrong database connection information (driver, IP, username,
password), database not existing or insufficient permissions for the
database user.


 BUILD FAILED
 /dspace-1.7.1-release/dspace/target/dspace-1.7.1-build.dir/build.xml:71:
 Property handle.canonical.prefix was circularly defined.

This indicates that you wrote something like this in configuration:

handle.canonical.prefix = ${handle.canonical.prefix}


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Ant Build error

2013-04-03 Thread helix84
On Wed, Apr 3, 2013 at 11:42 AM, Smart D Ncube ssum...@gmail.com wrote:
  [java] 2013-04-03 11:32:51,583 FATAL 
 org.dspace.storage.rdbms.InitializeDatabase @ Caught exception:
  [java] java.io.FileNotFoundException: database_schema.sql (No such file 
 or directory)

This is the problem.

It looks for the database_schema.sql file at
etc/db.name/database_schema.sql where db.name is the database name in
dspace.cfg and in your case it should be postgres.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Problem installing dspace 3.1

2013-04-03 Thread helix84
Hi Luis,

1. The following documentation chapter lists DSpace requirements:
https://wiki.duraspace.org/display/DSDOC3x/Installation#Installation-RelationalDatabase:(PostgreSQLorOracle)

There should be no reason to stay at 8.2. It's strongly recommended to
upgrade at least to 8.4.

2. The actual error is in the text above that message. Please, paste the
full text here.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



On Wed, Apr 3, 2013 at 4:22 PM, Luis Rojas C. (CATIE) luisro...@catie.ac.cr
 wrote:

  ** **

 Hi all, i´m installing dspace 3.1 in Windows server 2008 r2.  My questions
 are:

 ** **

 1.Is posible install Dspace 3.1 with postgres 8.2.

 2.Actually, when i want execute “Ant fresh_install”, i have
 the follow error:

 ** **

 

 ** **

 Please help me, thanks for your Support!!!



 --
 Minimize network downtime and maximize team effectiveness.
 Reduce network management and security costs.Learn how to hire
 the most talented Cisco Certified professionals. Visit the
 Employer Resources Portal
 http://www.cisco.com/web/learning/employer_resources/index.html
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

image003.jpg--
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] oai

2013-04-03 Thread helix84
Try searching the list to see some common errors with setting the oai solr
url. Same errors can also occur with Solr search and statistics urls.
On Apr 4, 2013 12:00 AM, Jose Blanco blan...@umich.edu wrote:

 when I try to list records in oai, I'm getting nothing.  solr is up and
 running.  This seems like some config parameter for oai I'm not setting.
 This is what I see in the error log:



 2013-04-03 17:29:37,388 INFO
 org.dspace.app.xmlui.aspect.artifactbrowser.ConfigurableBrowse @
 anonymous:session_id=E30B9A5A9184BB719D0E4372C5199889:ip_addr=157.56.93.230:
 referer=null:browse:org.dspace.app.xmlui.utils.DSpaceValidity@16a2c87
 2013-04-03 17:29:44,358 ERROR
 org.dspace.xoai.data.DSpaceItemSolrRepository @ java.net.ConnectException:
 Connection refused
 org.dspace.xoai.solr.exceptions.DSpaceSolrException:
 java.net.ConnectException: Connection refused
 at
 org.dspace.xoai.solr.DSpaceSolrSearch.query(DSpaceSolrSearch.java:39)






 --
 Minimize network downtime and maximize team effectiveness.
 Reduce network management and security costs.Learn how to hire
 the most talented Cisco Certified professionals. Visit the
 Employer Resources Portal
 http://www.cisco.com/web/learning/employer_resources/index.html
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] LDAP not working (AD): error code 34 - 0000208F\colon; NameErr\colon; DSID-031001F7, problem 2006 (BAD_NAME)

2013-04-02 Thread helix84
Sorry I can't be of more help. Here are some more observations, but
they probably won't directly help you.

Here's what result=2 means:

/** User exists, but credentials (eme.g./em passwd) don't match. */
public static final int BAD_CREDENTIALS = 2;


Based on the BAD_NAME exception, I'm guessing this could also be a
permissions problem in AD. Try the initial bind as the most privileged
user (just for testing) to eliminate this possibility.


To check whether this is really a problem with space in username, try
to create both users (the initial bind DN and the DN you're logging
in) without a space in their name.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] (no subject)

2013-04-02 Thread helix84
Hello Meron,

This Internal System Error message is just a generic message.  To
track down the cause of the error, you'll want to look at your dspace
log files for any errors noted there.

We've written a Troubleshoot an error guide to help you figure out
what to look for:
https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error

Once you locate the error message, if you cannot figure out its meaning,
you are welcome to send it off to this dspace-tech list. Someone on this
list can help you determine what the issue may be.

Anyway, in the past the most common Internal System Error message
was caused by mail server not configured in dspace.cfg (the smtp.*)
options. You can test whether DSpace can correctly send emails by
running
[dspace]/bin/dspace test-email
- when this succeeds, the registration page will probably also work
without errors.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


On Tue, Apr 2, 2013 at 3:51 PM, Meron Mesfin m.mero...@yahoo.com wrote:
 Hello there! i was facing a problem on registering a new user on JSP, it
 displays an internal system erroris any one can help me with it how I can
 register a new user.I appreciate your help

 thanks,with regards








 --
 Own the Future-Intel(R) Level Up Game Demo Contest 2013
 Rise to greatness in Intel's independent game demo contest. Compete
 for recognition, cash, and the chance to get your game on Steam.
 $5K grand prize plus 10 genre and skill prizes. Submit your demo
 by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] reindex problem

2013-04-02 Thread helix84
Hi Sisay,

in the past this problem was caused by too much text in one of the
metadata fields (the usual suspect is dc.description.abstract). Try to
take a look at the items you submitted since the last successful
reindexing and shorten any text that seems excessively long. You can
still upload the whole text of the metadata field as a bitstream
(preferably in the TEXT bundle) so the item will still be fully
searchable.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


On Mon, Apr 1, 2013 at 3:12 PM, Webshet, Sisay (ILRI)
s.webs...@cgiar.org wrote:
 Hi all,





 This is what I usually do without any trouble

 · To have a browse by  filed I am using files like
 (message.xml,dspace.cfg)

 · To have linkable/clikcable  fields I used (item-list.xsl and
 item-view.xsl)

 However I try to reindex the system, the following errors were displayed.

 Can anybody has a hint to giureout this solution.







 Exception: org.postgresql.util.PSQLException: ERROR: index row size 3024
 exceeds
 maximum 2712 for index bi_11_dis_svalue_idx

 org.dspace.browse.BrowseException: org.postgresql.util.PSQLException: ERROR:
 ind
 ex row size 3024 exceeds maximum 2712 for index bi_11_dis_svalue_idx

 at
 org.dspace.browse.BrowseCreateDAOPostgres.insertDistinctRecord(Browse
 CreateDAOPostgres.java:671)

 at
 org.dspace.browse.BrowseCreateDAOPostgres.getDistinctID(BrowseCreateD
 AOPostgres.java:543)

 at org.dspace.browse.IndexBrowse.indexItem(IndexBrowse.java:468)

 at org.dspace.browse.IndexBrowse.createIndex(IndexBrowse.java:1127)

 at org.dspace.browse.IndexBrowse.initBrowse(IndexBrowse.java:1076)

 at org.dspace.browse.IndexBrowse.main(IndexBrowse.java:718)

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

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

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

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

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

 Caused by: org.postgresql.util.PSQLException: ERROR: index row size 3024
 exceeds
 maximum 2712 for index bi_11_dis_svalue_idx

 at
 org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryEx
 ecutorImpl.java:1531)

 at
 org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutor
 Impl.java:1313)

 at
 org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.ja
 va:188)

 at
 org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Stat
 ement.java:452)

 at
 org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(Abstract
 Jdbc2Statement.java:354)

 at
 org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc
 2Statement.java:258)

 at
 org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Dele
 gatingPreparedStatement.java:96)

 at
 org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Dele
 gatingPreparedStatement.java:96)

 at
 org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Dele
 gatingPreparedStatement.java:96)

 at
 org.dspace.storage.rdbms.DatabaseManager.doInsertPostgres(DatabaseMan
 ager.java:1755)

 at
 org.dspace.storage.rdbms.DatabaseManager.insert(DatabaseManager.java:
 675)

 at
 org.dspace.browse.BrowseCreateDAOPostgres.insertDistinctRecord(Browse
 CreateDAOPostgres.java:662)

 ... 10 more


 --
 Own the Future-Intelreg; Level Up Game Demo Contest 2013
 Rise to greatness in Intel's independent game demo contest.
 Compete for recognition, cash, and the chance to get your game
 on Steam. $5K grand prize plus 10 genre and skill prizes.
 Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Getting malformed URL exception on hitting Dspace URL

2013-04-02 Thread helix84
On Mon, Apr 1, 2013 at 4:21 PM, abhishek.kulkarni akulk...@hawk.iit.edu wrote:
 The solution for it as was suggested in one of the blogs was to change the
 dspace dir owner from username to 'tomcat'

Please note that it doesn't necessarily have to be literally tomcat.
It should be the user which runs Tomcat on your system (e.g. it's
tomcat6 on my system).

 I changed the ownership  goofed up with permissions.
 After doing so, sudo was corrupted. (made it working later)

Yes, all the errors from this point have little to do with DSpace
itself. It rather looks like you have various problems caused by
permissions outside the dspace directory. It will probably be the
least amount of work to reinstall the server, install DSpace anew and
use the old assetstore, database dump, configuration files, theme and
any customizations.
Although permission problems can be fixed manually if you know what
you're doing, I recommend the reinstallation as the easy way to assure
that everything works as it should and prevent unexplainable future
problems.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] new-xmlui.xml

2013-04-02 Thread helix84
Hi Jose,

you can't really use any formatting in that pseudo-XHTML file. The
correct approach is to wrap the contents in an element (div), assign
it an id attribute and style it using either XSLT or CSS.

(I'm not certain if you can use span in DRI, but you can certainly
use div and style it as display:inline.)


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


On Fri, Mar 29, 2013 at 4:11 PM, Jose Blanco blan...@umich.edu wrote:
 I would like to put up a message on this file that and would like the
 message to appear in red.  Is that possible?

 --
 Own the Future-Intel(R) Level Up Game Demo Contest 2013
 Rise to greatness in Intel's independent game demo contest. Compete
 for recognition, cash, and the chance to get your game on Steam.
 $5K grand prize plus 10 genre and skill prizes. Submit your demo
 by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] dspace 3.1 update problem

2013-03-29 Thread helix84
On Fri, Mar 29, 2013 at 8:47 AM, Webshet, Sisay (ILRI)
s.webs...@cgiar.org wrote:
 · When I try to remove an eperson it says  The user(s) were deleted
 successfully.

  But  when I search the same person is still  in the
 database

Hello Sisay,

this sounds really unusual. Could it be that you specified a different
database in dspace.cfg than you're looking at?
For example, db.url might still contain your 1.8 production database
and you're searching in the testing 3.0 database, or vice versa.

 In addition when I tried to import an item it says’Successfully processed 0
 changes’

Which importer did you use? I didn't find this exact string in DSpace.

 2013-03-29 00:07:02,529 ERROR
 org.dspace.statistics.SolrLoggerUsageEventListener @ Bad Request

The only error I see here is this. This is a message from Solt that it
was sent an invalid command by the Solr statistics logger. I haven't
seen this before, so I can only guess. I know that in DSpace 3.0 Solr
was upgraded (from 3.3 to 3.5). I also noticed that your Solr server
uses a non-default port (8081). Are you perhaps using an external Solr
server instead of the one embedded in DSpace? If so, you might need to
upgrade it.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] dspace 3.1 update problem

2013-03-29 Thread helix84
On Fri, Mar 29, 2013 at 9:27 AM, Webshet, Sisay (ILRI)
s.webs...@cgiar.org wrote:
 I was made  some syntax error  since I missed  comma between discovery
 eperson (for discovery module)

You mean here in dspace.cfg?

event.dispatcher.default.consumers = versioning, search, browse,
discovery, eperson, harvester


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] page loads slowly

2013-03-28 Thread helix84
On Thu, Mar 28, 2013 at 11:10 AM, Webshet, Sisay (ILRI)
s.webs...@cgiar.org wrote:
 Here attached the log file

Please go to step 1) first. The log only confirms what I suggested:

java.io.FileNotFoundException:
/home/dspace/assetstore/26/70/38/26703835458793970844120301026851440338
(No such file or directory)

Also, you should increase the value of your PermGen using this switch
(in the command that launches Tomcat): -XX:MaxPermSize=128M (128M is
just an example, I don't know what your current value is - you need to
increase it).


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Own the Future-Intelreg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] duplicate text You are attempting to access a private area that requires credentials to view.

2013-03-28 Thread helix84
I can confirm the error. Here's what I'm getting on DSpace 3.1:



This community is restricted

You do not have the credentials to access the restricted community XXX.

Proceed to login screen

You do not have the credentials to access the restricted community XXX.

Proceed to login screen



Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Own the Future-Intelreg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Cannot create items after upgrading to DSpace 3.0

2013-03-28 Thread helix84
On Thu, Mar 28, 2013 at 2:32 PM, Alain Tschanz atsch...@njstatelib.org wrote:
 I finally figured out the problem. The owner of the versionhistory and 
 versionitem tables and versionhistory_seq and versionitem_seq sequences was 
 changed from dspace to postgres, effectively preventing us from adding any 
 new items to DSpace or from backing up the database.

Hi Alain,

I'm glad you were able to figure out the problem.


 Does anybody have any suggestions as to how to harden DSpace?

Do you mean in terms of security? Here's an overview:

https://wiki.duraspace.org/display/DSPACE/SecuringDspace

If you need something more specific, please provide details.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Own the Future-Intelreg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Cannot create items after upgrading to DSpace 3.0

2013-03-28 Thread helix84
On Thu, Mar 28, 2013 at 2:55 PM, Alain Tschanz atsch...@njstatelib.org wrote:
 I have implement the HTTP over SSL protocol on our DSpace computer. My 
 question is this: how can I set up a read-only public DSpace server and an 
 internal login-only server without anonymous read access?

Do you want to have one instance or two?

DSpace 3.0 adds the option to make an item private, which means it
won't show up in the web interface (in contrast to removing Anonymous
READ access, this hides even the metadata), but this is a new feature
that is not yet implemented by all interfaces (e.g. the metadata would
still be accessible via OAI-PMH).

Assuming you also want to hide access to metadata, I'd recommend two
separate instances, where access from the outside to the internal
instance is restricted by firewall. If it's enough for you just to
remove anonymous bitstream access, a single instance will do
perfectly. Can you please clarify?

 What's the best way to automatically push data from an internal DSpace server 
 to a public, read-only server?

I'd say in case of two instances OAI-PMH would be the best, because
you set one up for automatic harvesting from the other.
The other option is AIP, which would require either some scripting or
manual work by the administrator.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Own the Future-Intelreg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


<    7   8   9   10   11   12   13   14   15   16   >