[Dspace-tech] About dynamic special group

2012-08-01 Thread Sergio Belkin
Hi dspace community

I am using dspace 1.5.1. I wonder if in the newer releases is
something what I'm looking for:

I'd want that whenever a user is logged (we use ldap) automatically to
be added to something like UniversityGroup that has read access to
every community. We have a lot of users, so add by hand it would be a
headache. Also this feature it allow us remove anonymous access in
some collections.

Please could you help, this a feature that we strongly need

Thanks in advance!
-- 
--
Sergio Belkin  http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
LPIC-2 Certified - http://www.lpi.org

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Log into DSpace with curl

2012-08-01 Thread Brown, Simon Contractor, Digital Consulting Services
We are using DSpace 1.8.2 with the JSPUI admin interface.   I would like to log 
into DSpace using curl (or more precisely RCurl) because I want to be able to 
scrape item IDs (not the handles, but the actual IDs).  My code looks something 
like this:



postForm(dspace//password-login, login_email=user, 
login_password=password)



It basically always returns The e-mail address and password you supplied were 
not valid



Is it not possible to log in using curl?  If it is possible I'll figure it out 
eventually, but if it's not I would rather not spend the time on it.



Simon Brown

Digital Consulting Services

Supporting the Dudley Knox Library, Naval postgraduate School

scbr...@nps.edu

831.656.3574 Phone

831.656.3238 Fax



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Using own PID/Handle server

2012-08-01 Thread Tim Donohue
Joachim,

The 3.0 Release Schedule can be found here:
https://wiki.duraspace.org/display/DSPACE/DSpace+Release+3.0+Notes#DSpaceRelease3.0Notes-ReleaseScheduleDetails

There will be some upcoming Release Candidates that we will ask for 
help from the community in testing. However, at this time the first 
Release Candidate isn't scheduled to be released until end of August. We 
will announce the Release Candidate on all dspace listservs once it is 
ready for testing.

3.0 Schedule updates can be found by visiting the above wiki page, or by 
joining our 'dspace-release' listserv (which is used for actual release 
planning  organization). Anyone can join this list.
https://lists.sourceforge.net/lists/listinfo/dspace-release

- Tim

On 7/30/2012 9:47 AM, Joachim Bingel wrote:
 Hi Tim,

 thanks very much for your response! This sounds like it'll be worth
 waiting for the 3.0 release. At this moment, is there anything we can do
 in order to support you in integrating the feature in the upcoming
 release? Are there any alpha or beta versions released or planned that
 we could help to test?

 Best,
 Joachim

 On 07/26/2012 04:55 PM, Tim Donohue wrote:
 Hi Joachim,

 Unfortunately at this time, it is not very easy to replace the CNRI
 Handle System with another Identifier system.  To replace it would
 essentially involve replacing all usages of org.dspace.handle.*
 classes (which from a quick search looks to affect ~45 files in DSpace).

 However, for the upcoming 3.0 release (in Fall/Winter of this year),
 one of the proposed new features is to add External Identifier support
 to DSpace 3.0. This feature is currently being worked on by @mire and
 more info can be found in this wiki page:

 https://wiki.duraspace.org/display/DSPACE/Item+Versioning+Support
 (Look for the sections talking about the Identifier Service).

 At this time, this External Identifier service work still needs to be
 reviewed before we can say whether it will be included in DSpace 3.0
 or not.  However, it's possible that this work, should it be accepted
 as part of 3.0 would make your efforts to modify DSpace for EPIC much
 easier.

 - Tim

 On 7/24/2012 2:39 AM, Joachim Bingel wrote:


 Hi,

 we're looking to implement DSpace 1.8.2 at our site with a non-default
 PID service, e.g. EPIC. The documentation says we need not use CNRI's
 Handle system, but are free to change the code to use something
 different.

 Now, is there any other possibility than patching the DSpace code? If
 not, what pieces of code would we have to change to make it fit our
 needs?

 Thanks in advance,
 Joachim





--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace Search with SRW/U

2012-08-01 Thread Tim Donohue
Hi Lighton,

To clarify, SRW/U is *NOT* distributed as part of DSpace (i.e. it's not 
out-of-the-box).

DSpace SRW/U support is created and distributed by OCLC, and it must be 
installed separate from DSpace.

http://www.oclc.org/research/activities/srw/default.htm
http://code.google.com/p/oclcsrwdspacelucene/

Here's the install instructions from OCLC:

http://code.google.com/p/oclcsrwdspacelucene/wiki/InstallationInstructions

The only similar feature that DSpace provides out-of-the-box is OpenSearch:

* Description of DSpace OpenSearch Support: 
https://wiki.duraspace.org/display/DSDOC18/Business+Logic+Layer#BusinessLogicLayer-OpenSearchSupport
* Configuration of DSpace OpenSearch: 
https://wiki.duraspace.org/display/DSDOC18/Configuration#Configuration-OpenSearchSupport

I hope that helps clarify things.

- Tim

On 8/1/2012 6:13 AM, Lighton Phiri wrote:
 How does one go about enabling search via SWR/U in DSpace? I've crawled
 through the wiki pages but couldn't find anything useful. The closest
 gotten to a solution is this [1] mailing list message that isn't very
 helpful... all it says is ...SRW is also distributed as part of DSpace
 and uses DSpace's underlying Lucene and PostgreSQL databases., but
 doesn't quite explain how one would go about making use of this.

 [1] http://sourceforge.net/mailarchive/message.php?msg_id=28991071

 --
 Lighton Phiri
 http://lightonphiri.org



 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/



 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace Search with SRW/U

2012-08-01 Thread Lighton Phiri
This is very helpful, thank you very much. Incidentally, I already
have OpenSearch enabled and would basically want to experiment with
SRW/U.

Lighton Phiri
http://lightonphiri.org


On 1 August 2012 18:17, Tim Donohue tdono...@duraspace.org wrote:
 Hi Lighton,

 To clarify, SRW/U is *NOT* distributed as part of DSpace (i.e. it's not
 out-of-the-box).

 DSpace SRW/U support is created and distributed by OCLC, and it must be
 installed separate from DSpace.

 http://www.oclc.org/research/activities/srw/default.htm
 http://code.google.com/p/oclcsrwdspacelucene/

 Here's the install instructions from OCLC:

 http://code.google.com/p/oclcsrwdspacelucene/wiki/InstallationInstructions

 The only similar feature that DSpace provides out-of-the-box is OpenSearch:

 * Description of DSpace OpenSearch Support:
 https://wiki.duraspace.org/display/DSDOC18/Business+Logic+Layer#BusinessLogicLayer-OpenSearchSupport
 * Configuration of DSpace OpenSearch:
 https://wiki.duraspace.org/display/DSDOC18/Configuration#Configuration-OpenSearchSupport

 I hope that helps clarify things.

 - Tim


 On 8/1/2012 6:13 AM, Lighton Phiri wrote:

 How does one go about enabling search via SWR/U in DSpace? I've crawled
 through the wiki pages but couldn't find anything useful. The closest
 gotten to a solution is this [1] mailing list message that isn't very
 helpful... all it says is ...SRW is also distributed as part of DSpace
 and uses DSpace's underlying Lucene and PostgreSQL databases., but
 doesn't quite explain how one would go about making use of this.

 [1] http://sourceforge.net/mailarchive/message.php?msg_id=28991071

 --
 Lighton Phiri
 http://lightonphiri.org




 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/



 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Unfinished Submissions problem

2012-08-01 Thread Carlos Walter Blandon Alvarez
Dear all.

We are experimenting sending items to our DSPACE and we have a problem.

DSPACE version 1.8.2. It's a new instalation.

In step to approve the license, then to click on the I Grant the license 
button, get a message that says The system has experienced an internal error. 
Please try to do what you were doing again, and if the problem persists, please 
contact us so we can fix the problem

If I go to My DSpace, the item previously sent is, with its own file, but 
says it's as Unfinished Submissions

To my email arrive next message:

-- URL Was: http://repository.eafit.edu.co/submit
-- Method: POST
-- Parameters were:
Exception:
java.lang.IllegalStateException: No puedo reenviar después de que la respuesta 
se haya llevado a cabo.
at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:339)
at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329)
at org.dspace.app.webui.util.JSPManager.showJSP(JSPManager.java:60)
at 
org.dspace.app.webui.util.JSPManager.showInternalError(JSPManager.java:75)
at 
org.dspace.app.webui.servlet.SubmissionController.doStep(SubmissionController.java:409)
at 
org.dspace.app.webui.servlet.SubmissionController.doPreviousStep(SubmissionController.java:569)
at 
org.dspace.app.webui.servlet.SubmissionController.doDSPost(SubmissionController.java:305)
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:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at 
org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:66)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
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:225)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:307)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)


Can anyone tell me if we need any permission to complete the submission process?


Regards,

Walter Blandón
Analista Técnico
Centro Cultural Biblioteca Luis Echavarría Villegas
Tel: (57) (4) 2619500, extensión 9365
E-mail: cblan...@eafit.edu.co
Universidad EAFIT, Medellín, Colombia
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Advise on Upgrade of DSpace Versions and Problems with Data Migration

2012-08-01 Thread Nitin Paliwal
Dear space Technical Team,


I have to upgrade my Dsapce 1.4.2 on Windows to 1.8.2 on Ubuntu.

The steps I follow are as under

1. I install 1.8.2 on Ubuntu.
2. Take the Backup of Dsapce 1.4.2 on Windows
3. Restore it on 1.8.2 on Ubuntu.
4. Upgrade the database using
[dspace-src]/dspace/etc/postgres/database_schema_14-15.sql
[dspace-src]/dspace/etc/postgres/database_schema_15-16.sql
[dspace-src]/dspace/etc/postgres/database_schema_16-17.sql
[dspace-src]/dspace/etc/postgres/database_schema_17-18.sql
5. Copy  [dspace]/assetstore/ folder and all subdirectories to Dspace 1.8.2
on Ubuntu.


Now the problem is That Dspace is Not Showing any item in it Though it
shows all the collection in it.

I have checked the bit stream file on the database. it contain all the
items uploaded on Dspace 1.4.2 on windows.

Kindly help in this regard.

Nitin Paliwal


quote author='Tim Donohue-3'
Andrew,

It is possible to perform an upgrade from an old version to a new
version. We have a note about upgrading across multiple versions at
the top of our new Installation docs:
https://wiki.duraspace.org/display/DSDOC18/Upgrading+a+DSpace+Installation

There's a few ways to perform this upgrade.  One ways is to do it step
by step as described in the above documentation (upgrading from 1.3.x -
1.4.x - 1.5.x - 1.6.x - 1.7.x - 1.8.x).

Another way is to just upgrade your existing database structure to be
1.8.x compatible, and then perform a fresh install of 1.8.2.

Here's how you could just upgrade your existing database  associate it
with a fresh install of 1.8.2:
(1) First backup everything!  Also, you should try this out on a test
server before you do it on production
(2) Upgrade your existing database structure  data from 1.3.1 to 1.8.x
by running *all* of these scripts in order:
[dspace-src]/dspace/etc/postgres/database_schema_13-14.sql
[dspace-src]/dspace/etc/postgres/database_schema_14-15.sql
[dspace-src]/dspace/etc/postgres/database_schema_15-16.sql
[dspace-src]/dspace/etc/postgres/database_schema_16-17.sql
[dspace-src]/dspace/etc/postgres/database_schema_17-18.sql
These scripts basically upgrade your database structure little by little
from 1.3.x compatible to 1.8.x compatible.
(3) Install a fresh copy of 1.8.2 by following its Installation
Instructions (To do this you will need to create a fresh database
temporarily.)
(4) After installing 1.8.2, swap out the fresh database for the newly
upgraded database (from step #2 above). Either you can rename the
databases, or just change the database settings in your 1.8.2 dspace.cfg
so that now points at your newly upgraded database.
(5) Copy over all your DSpace content files (the entire
[dspace]/assetstore/ folder and all subdirectories) to your new 1.8.2
DSpace.  This is where all the actual files reside in DSpace.
(6) Reconfigure and re-customize the DSpace 1.8.2 instance (as necessary).

Hopefully this helps. Again, make sure to first perform a backup just in
case!

- Tim
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech