[Dspace-tech] Mvn Package Failure DSpace 3.0

2012-11-27 Thread Umair Kayani
Yesterday I downloaded latest changes from github for Dspace, while doing
the mvn package statement I got this following error at building dspace
kernel level. Can anyone help.

 

Failed to execute goal on project additions: Could not resolve dependencies
for project org.dspace.modules:additions:jar:3.0-rc4-SNAPSHOT: Failure to
find org.dspace:dspace-api:jar:3.0-rc4-SNAPSHOT in
http://oss.sonatype.org/content/repositories/releases/ was cached in the
local repository, resolution will not be reattempted until the update
interval of sonatype-releases has elapsed or updates are forced - [Help 1]

 

 

Reason why I downloaded this source from git hub is that I want discovery
facets to be visible on home.jsp. Is there any other alternative

 

Thanks  Regards

Umair Kayani

 

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Mvn Package Failure DSpace 3.0

2012-11-27 Thread helix84
Hi Umair,

run mvn clean package instead. If it still doesn't help, delete the
~/.m2 directory and then try again.


Regards,
~~helix84

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

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Asking Solr for stuff

2012-11-27 Thread Mark Ehle
Folks -

I am trying to talk to dspace's solr from a web browser to query it for
item handles. The goal is to devise a PHP front end for item retrieval. I
try the examples found in https://wiki.duraspace.org/display/DSPACE/Solr,
and they all seem to retrieve nothing useful so far.

When I use this:

http:
//localhost:8080/solr/search/select?q=search.resourcetype:2sort=dc.date.accessioned_dt%20desc

which is supposed to retrieve the date of the date of last deposited item,
I get this:

=
response
   lst name=responseHeader
int name=status0/int
int name=QTime1/int
lst name=params
   str name=sortdc.date.accessioned_dt desc/str
  str name=qsearch.resourcetype:2/str
 /lst/lst
 result name=response numFound=0 start=0/
/response
=

Is this what is supposed to happen? What am I missing?

I know there are things in dspace, as I can search and find them.  What I
would like to be able to do is query solr for something and have it return
handles that I can then search postgresql and get files.

Thanks -

Mark
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Asking Solr for stuff

2012-11-27 Thread helix84
Hi Mark,

what's the value of numFound when you run this query?

http://localhost:8080/solr/search/select?q=*:*

It's a stupid question, but I have to ask it - do you have the
Discovery aspect enabled (you may be getting results from
SearchBrowse instead)? Try running update-discovery-index again.


Regards,
~~helix84

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

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Dspace for digitized newspapers best practices and limits

2012-11-27 Thread Mark Ehle
Folks -

We are playing around with using Dspace for housing our digitized newspaper
collection. So far the collection is about 68,620 PDF files worth about
1.4TB, and we are using another product to present it to the public right
now. Each PDF file represents one newspaper issue with multiple pages in
the PDF.

I am pondering moving it to Dspace, and I would also like to present
newspapers one page at a time, so that when a person makes a query, only
the pages that hold relevant data are presented, so that there is not so
much to download. Right now, you either download an entire issue as a PDF,
or nothing, and some of them are quite large.

The PDF's would be split into individual PDF's with one page each, and I
propose that each page be a collection unto itself. Here's my idea for
collection organizaion: the top community would be the paper name, then a
sub-community would be the year, then a sub-community under that is the
month, then collections for each day of the month. This is the only way I
can see that I would be able to return things down to the newspaper page
level. Each one-page collection would contain a multi-resolution TIFF file,
the pdf page file, a jpg thumbnail, and possibly a text file from the PDF
(they are OCR'd already).

Now, my questions are - how many files can Dspace handle? I would guess
that there could be maybe 6-10 times as many as there are now after
splitting the PDF files, and that's going to grow over time. What are the
limits? Is this just a totally whacked-out idea, or am I going to be able
to build something useful if I continue along these lines?

Thanks -

LibraryMark
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Dspace for digitized newspapers best practices and limits

2012-11-27 Thread helix84
Hi Mark,

I know of some institutions that is using something similiar (in
particular, splitting PDFs by chapters and customized the DSpace code
to make a hierarchy that suits their needs, see http://dml.cz/ ).

But in your case, I dare to question the benefit of splitting content
to 1 page per item. DSpace 3.0 is already able to show relevant
excerpt in Discovery search results, so that's one piece of puzzle you
need. Then, PDFs can be streamed, so I'd be thinking about a solution
that gives you just the page you want in the whole file. I already
once made a brief overview of such technologies that can be used for
this in https://jira.duraspace.org/browse/DS-1021 , see
https://wiki.duraspace.org/display/DSPACE/Document+Viewer+Integration
This is a feature many users want, so it will get into DSpace
eventually. If you want to work with me on it, let me know, I'm
interested in PDF streaming, too. I should be able to start looking
into it after the New Year.

Regarding limits, there are no limits imposed by DSpace itself, so
it's mostly about how much hardware you can throw at it. But I don't
think your instance is too large, there are larger instances out
there. The assetstore hierarchy is already structured in a sane way
that prevents a huge number of files in a single directory (which
causes performance problems in most filesystems). Moreover, you can
split up the archive over multiple assetstores if you need. Just
remember that there's only one of tham that new items will be directed
to.


Regards,
~~helix84

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

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] What text gets indexed?

2012-11-27 Thread Mark Ehle
With helix84's help, I turned on discovery, (
https://wiki.duraspace.org/display/DSDOC18/Discovery#Discovery-EnablingDiscovery),
ran

/bin/dspace update-discovery-index, and now am able to query solr like
crazy.



On Mon, Nov 26, 2012 at 2:08 PM, helix84 heli...@centrum.sk wrote:

 On Mon, Nov 26, 2012 at 7:40 PM, Mark Ehle marke...@gmail.com wrote:
  Ok, I lied - one more question. If I want to query solr for, say, like
 the
  term battle creek, what would be my URL? The dspace.log file shows my
  queries as I post them using dspace, but I don't know how to translate
 them
  to a web query. when I put in something like,
 
  http://127.0.0.1:8080/solr/search/select?q=
 
  I get proper XML back so I know I'm close.

 Right, I guess you'd expect I'd have mentioned that in the Solr
 queries [1] chapter :) Well, go ahead and put in what you'd like to
 have there. Here's some inspiration: [1] [2] [3]

 It'a actually very easy. You can put in anything that you would put
 into the DSpace search box. Only remember to URL-encode it [4].

 q=battle+creek

 If you want to search in titles only, use:

 q=title:battle+creek

 You can find the fields defined in DSpace Solr search core in its
 admin interface. And you can also define mappings for your own
 metadata fields to Solr search core fields.

 [1] http://www.solrtutorial.com/solr-query-syntax.html
 [2] http://wiki.apache.org/solr/SolrQuerySyntax
 [3] http://wiki.apache.org/solr/CommonQueryParameters
 [4] http://en.wikipedia.org/wiki/Percent-encoding


 Regards,
 ~~helix84

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] DSpaceMETSSIPProfile: Problem with mods validation

2012-11-27 Thread emilio lorenzo
Hi
Dspace 1.6 and  1.8  and..
I was trying  to validate   the Mets.xml file generated with the mets 
packager   packager -e  xxx -d -i   -t METS  Cetc...

The validation gives the following error:
message subMessage=Line = xx, Column =xx 
severity=errorcvc-complex-type.2.3: Element 'mods:relatedItem' cannot 
have character [children], because the type's content type is 
element-only./message
(validation tried with jhove 1.7 and 
http://www.corefiling.com/opensource/schemaValidate.html, the same error)


That (in my interpretation) says that the referenced line in the 
mets.xml file:
mods:relatedItem type=otherFormatDisponible también la reproducción 
digital/mods:relatedItem

following the schema  MODS 3.1   in  
xsi:schemaLocation=http://www.loc.gov/mods/v3 
http://www.loc.gov/standards/mods/v3/mods-3-1.xsd;
  must say?
mods:relatedItem type=otherFormat/mods:relatedItem

Any suggestion?
Thanks
Emilio



-- 


--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpaceMETSSIPProfile: Problem with mods validation

2012-11-27 Thread helix84
Hi Emilio,

it would be best to file this as a bug if it still pertains to 3.0.

Just noting that in OAI 2.0, all validation issues with crosswalks
used in OAI were fixed (at lease those that it was possible to fix):
https://jira.duraspace.org/browse/DS-1311

So you can look at the METS output of OAI in DSpace 3.0 to see what
correct output for METS would look like. If you don't want to install
DSpace 3.0, you can look here:
https://github.com/DSpace/DSpace/blob/master/dspace/config/crosswalks/oai/metadataFormats/mets.xsl
or here:
http://demo.dspace.org/oai/request?verb=GetRecordmetadataPrefix=oai_dcidentifier=oai:demo.dspace.org:10673/200

(The demo version still runs a revision from before the validation fixes)


Regards,
~~helix84

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

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Building modules separately and quickly

2012-11-27 Thread john316rocks
Hi All

Every time I compile Dspace all the modules, api, discovery, oai, jspui,
xmlui, sword, lni gets built; however, I only want the module I modified to
be built because the comprehensive build takes 2 minutes to complete.

I have modified pom.xml in dspace directory and turned off modules in
pom.xml in modules directory. This sped up the build to around 40 seconds
for just the jspui module.
Is it possible to speed up the building process to about 10 seconds? This is
the time of a build within dspace-api directory.

Thanks in advance.






-
xxx
--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Building-modules-separately-and-quickly-tp4659969.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Dspace with SSO - request.getRemoteUser

2012-11-27 Thread Wellaway, Ian
Hi,

We're trying to implement our OpenSSO system for authentication with Dspace 
1.8.2 on tomcat 6.

Amending the LdapHierarchicalAuthentication.java file, I'm trying to grab the 
SSO userID in the 'authenticate' method using request.getRemoteUser but it 
keeps giving back null. I've already logged in and been authenticated via SSO 
at this point.

Any ideas what is stopping the code getting the SSO userID.

Our idea is that once we have the userID, we can ask our LDAP for any further 
details we require.

Thanks

Ian



Ian Wellaway

Senior System Support  Development Officer - Enterprise Applications 
(Wednesdays only)

Technical Developer, Open Exeter - Infrastructure Systems (Monday-Tuesday, 
Thursday-Friday)

Exeter IT
Room 54
Laver Building
University of Exeter
EX4 4QE
UK

tel +44 1392 722852

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Building modules separately and quickly

2012-11-27 Thread Mark H. Wood
On Tue, Nov 27, 2012 at 08:30:32AM -0800, john316rocks wrote:
 Hi All
 
 Every time I compile Dspace all the modules, api, discovery, oai, jspui,
 xmlui, sword, lni gets built; however, I only want the module I modified to
 be built because the comprehensive build takes 2 minutes to complete.
 
 I have modified pom.xml in dspace directory and turned off modules in
 pom.xml in modules directory. This sped up the build to around 40 seconds
 for just the jspui module.
 Is it possible to speed up the building process to about 10 seconds? This is
 the time of a build within dspace-api directory.

You may be able to trim it a bit more, but you are up against Maven's
limitations here.  There is current discussion by the Maven developers
about ways to make Maven more aware of what has changed since the last
build (and thus must be rebuilt).  It's not just an issue for DSpace.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
I don't do doorbusters.


pgpxrHn9XvC3c.pgp
Description: PGP signature
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Last-Modified handling

2012-11-27 Thread Monika Mevenkamp
Looking at several DSPACE instance I see the following behaviour

wget -S   abitstream
 gets the bistream - shows the last modfified date
wget -S --header  'Last-Modified of bitstream + 1  day'
gets the bistream - although the given date is 1 day later than the
bitstream's last modified

In one example instance I see an Expires header that matches the current
time
In another example Last-Modified doesn't seem to trigger a 'short'
response even though there is no Expires header

How can this be fixed ?

Monika


Here two actual examples:

Expires header in response:

wget -S --header Last-Modified: Mon, 20 Mar 2006 10:14:50 GMT '
http://ir.library.oregonstate.edu/xmlui/bitstream/handle/1957/1337/SteveStarcevichThesisText.pdf?sequence=1
'
--2012-11-27 11:25:01--
http://ir.library.oregonstate.edu/xmlui/bitstream/handle/1957/1337/SteveStarcevichThesisText.pdf?sequence=1
Resolving ir.library.oregonstate.edu http://ir.library.oregonstate.edu
(ir.library.oregonstate.edu http://ir.library.oregonstate.edu)...
128.193.164.207
Connecting to ir.library.oregonstate.edu
http://ir.library.oregonstate.edu (ir.library.oregonstate.edu
http://ir.library.oregonstate.edu)|128.193.164.207|:80... connected.

HTTP request sent, awaiting response...
   HTTP/1.1 200 OK
   Date: Tue, 27 Nov 2012 16:25:01 GMT
   Server: Apache/2.2.15 (CentOS)
   Set-Cookie: JSESSIONID=185239DA0AE43D7B68997ED7D6E1EA5E; Path=/xmlui
   X-Cocoon-Version: 2.2.0
   Vary: User-Agent
*  Last-Modified: Sun, 19 Mar 2006 10:14:50 GMT*
*  Expires: Tue, 27 Nov 2012 17:25:01 GMT*

   Content-Length: 165582
   Connection: close
   Content-Type: application/pdf
Length: 165582 (162K) [application/pdf]
Saving to: `SteveStarcevichThesisText.pdf?sequence=1.1'

100%[==] 165,582  355K/s   in 0.5s

2012-11-27 11:25:02 (355 KB/s) -
`SteveStarcevichThesisText.pdf?sequence=1.1' saved [165582/165582]


Example without Expires

wget -S --header Last-Modified: Thur, 05 Jun 2008 15:48:31 GMT '
http://archive.nyu.edu/bitstream/2451/27463/2/SSRN-id143108.pdf'
--2012-11-27 11:30:00--
http://archive.nyu.edu/bitstream/2451/27463/2/SSRN-id143108.pdf
Resolving archive.nyu.edu http://archive.nyu.edu (archive.nyu.edu
http://archive.nyu.edu)... 128.122.108.89 tel:128.122.108.89
Connecting to archive.nyu.edu http://archive.nyu.edu (archive.nyu.edu
http://archive.nyu.edu)|128.122.108.89 tel:128.122.108.89|:80...

connected.
HTTP request sent, awaiting response...
   HTTP/1.1 200 OK
   Date: Tue, 27 Nov 2012 16:30:00 GMT
   Server: Apache/2.2.9 (Unix) mod_jk/1.2.26 mod_ssl/2.2.9 OpenSSL/0.9.7d
   Set-Cookie: JSESSIONID=19AF7C000ED11486D99A8BF7AE7BCC6A; Path=/
*  Last-Modified: Wed, 04 Jun 2008 15:48:31 GMT*

   Content-Length: 426332
   Keep-Alive: timeout=5, max=100
   Connection: Keep-Alive
   Content-Type: application/pdf
Length: 426332 (416K) [application/pdf]
Saving to: `SSRN-id143108.pdf.7'

100%[==] 426,332 2.17M/s   in 0.2s

2012-11-27 11:30:00 (2.17 MB/s) - `SSRN-id143108.pdf.7' saved
[426332/426332]

...
Monika Mevenkamp
Lead Software Engineer, Educopia Institute / MetaArchive Cooperative

http://tinyurl.com/mevenkamp
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] mvn -U clean package stops and starts

2012-11-27 Thread Mark Ehle
Folks -

I am trying to build 3.0 and when I run mvn -U clean package, it quite
often acts like it is downloading something and it will just stop. Here is
an example:

Downloading:
http://repo1.maven.org/maven2/org/apache/lucene/lucene-grouping/3.3.0/lucene-grouping-3.3.0.jar
41K downloaded  (lucene-grouping-3.3.0.jar)
145/1079K 532/1360K 92/218K

I can control-c out and rerun mvn -U clean package and it seems to get a
little farther each time until eventually it finishes. This seems to happen
whenever I try to build any dspace version, not just 3.0. Is there
something I am missing?

Thanks -

Mark
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] mvn -U clean package stops and starts

2012-11-27 Thread helix84
On Tue, Nov 27, 2012 at 6:49 PM, Mark Ehle marke...@gmail.com wrote:
 I am trying to build 3.0 and when I run mvn -U clean package, it quite often
 acts like it is downloading something and it will just stop. Here is an
 example:

That's Maven downloading DSpace dependencies. The reason why it's slow
is probably in your internet connection - are you building DSpace at
home? ISPs are often shaping home users' traffic.

You should just let it download, even if incrementally. It will cache
the dependencies in your local maven repository in ~/.m2.

Alternatively, you can use the offline mode (mvn -o package) and it
will not try to connect and download the latest versions of
dependencies. It will use the versions of dependencies it's
distributed with.


Regards,
~~helix84

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

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Dspace with SSO - request.getRemoteUser

2012-11-27 Thread helix84
On Tue, Nov 27, 2012 at 5:55 PM, Wellaway, Ian
i.j.wella...@exeter.ac.uk wrote:
 Any ideas what is stopping the code getting the SSO userID.

I don't think it's anything on the Tomcat (DSpace) side:

http://docs.oracle.com/javaee/6/api/javax/servlet/http/HttpServletRequest.html#getRemoteUser()


Regards,
~~helix84

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

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] oracle db script issues.

2012-11-27 Thread helix84
Hi Kevin,

a fix for this has been commited. Can you please confirm it works fine?

https://github.com/DSpace/DSpace/pull/145


Regards,
~~helix84

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

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] mvn -U clean package stops and starts

2012-11-27 Thread Mark Ehle
I am building this from work, where we have a ton of speed. When just let
it go, it never seems to continue. I know this is not a dspace-only thing -
I just wondered if other people had the same issues.

I did get 3.0 to install, and after a little fiddling, it's up and running.
Looks good so far.

On Tue, Nov 27, 2012 at 12:56 PM, helix84 heli...@centrum.sk wrote:

 On Tue, Nov 27, 2012 at 6:49 PM, Mark Ehle marke...@gmail.com wrote:
  I am trying to build 3.0 and when I run mvn -U clean package, it quite
 often
  acts like it is downloading something and it will just stop. Here is an
  example:

 That's Maven downloading DSpace dependencies. The reason why it's slow
 is probably in your internet connection - are you building DSpace at
 home? ISPs are often shaping home users' traffic.

 You should just let it download, even if incrementally. It will cache
 the dependencies in your local maven repository in ~/.m2.

 Alternatively, you can use the offline mode (mvn -o package) and it
 will not try to connect and download the latest versions of
 dependencies. It will use the versions of dependencies it's
 distributed with.


 Regards,
 ~~helix84

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

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Building modules separately and quickly

2012-11-27 Thread helix84
Hi Mark,

I just found this completely by accident. Is this something we could
use? Seems to relate to our use-case (multi-module), but we also use
profiles...

http://www.mojavelinux.com/blog/archives/2009/05/a_gamechanging_maven_2_plugin_you_absolutely_must_use/


Regards,
~~helix84

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

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] mvn -U clean package stops and starts

2012-11-27 Thread helix84
On Tue, Nov 27, 2012 at 7:16 PM, Mark Ehle marke...@gmail.com wrote:
 I am building this from work, where we have a ton of speed. When just let it
 go, it never seems to continue. I know this is not a dspace-only thing - I
 just wondered if other people had the same issues.

It could be a bug in Maven, which version are you using? Can you try another?


Regards,
~~helix84

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

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Harvest metadata and references - requires ORE support?

2012-11-27 Thread Anthony Petryk
Hello,

We're trying to harvest metadata from Hindawi into DSpace via OAI-PMH: 
http://www.hindawi.com/oai-pmh/.  Although the harvest works successfully, the 
harvested items do not contain a (clickable) link back to the content.  Because 
Hindawi does not support ORE, we cannot select Harvest metadata and references 
to bitstreams in the harvesting options for the collection.  However, the 
harvested metadata does in fact contain the necessary reference, in the 
dc.identifier field.  See 
http://www.hindawi.com/oai-pmh/oai.aspx?verb=ListRecordsset=ISRN.ZOOLOGY:2011metadataPrefix=oai_dc
 for an example.

What's the best way to get the DSpace harvester to map this reference to the 
dc.identifier.uri field?  Or is there a reason that this actually requires ORE 
support from the provider?  We're using DSpace 1.8.2 on a test server.

Thanks in advance for your insights.

Anthony
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] mvn -U clean package stops and starts

2012-11-27 Thread Mark Ehle
mvn -v says:

Apache Maven 2.2.1 (rdebian-8)
Java version: 1.7.0_09
Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre
Default locale: en_US, platform encoding: ANSI_X3.4-1968
OS name: linux version: 3.5.0-18-generic arch: amd64 Family: unix



On Tue, Nov 27, 2012 at 1:28 PM, helix84 heli...@centrum.sk wrote:

 On Tue, Nov 27, 2012 at 7:16 PM, Mark Ehle marke...@gmail.com wrote:
  I am building this from work, where we have a ton of speed. When just
 let it
  go, it never seems to continue. I know this is not a dspace-only thing -
 I
  just wondered if other people had the same issues.

 It could be a bug in Maven, which version are you using? Can you try
 another?


 Regards,
 ~~helix84

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

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Harvesting items Metadata from a remote dspace, into another

2012-11-27 Thread Mckeane Thomas
Hello I am trying to Harvest metadata and references to bitstreams from a
remotely from another dspace instance. However, when I use the Qualified
Dublin Core and the Dspace Intermediate Metadata I get the following errors
:

 *The OAI server does not support ORE dissemination
 *The OAI server does not support dissemination in this format

However, if I use the Simple Dublin Core I get the following error:
* The OAI server does not support ORE dissemination

I cant seem to get rid of the errors above,

harvester.oai.metadataformats.dc =
http://www.openarchives.org/OAI/2.0/oai_dc/, Simple Dublin Core
harvester.oai.metadataformats.qdc = http://purl.org/dc/terms/, Qualified
Dublin Core
harvester.oai.metadataformats.dim = http://www.dspace.org/xmlns/dspace/dim,
DSpace Intermediate Metadata

Below are the metadata formats from the url: http://
[dspace_site]/oai/request?verb=ListMetadataFormats
ListMetadataFormats
-
metadataFormat
metadataPrefixoai_dc/metadataPrefix
schemahttp://www.openarchives.org/OAI/2.0/oai_dc.xsd/schema
metadataNamespacehttp://www.openarchives.org/OAI/2.0/oai_dc/
/metadataNamespace
/metadataFormat
-
metadataFormat
metadataPrefixrdf/metadataPrefix
schemahttp://www.openarchives.org/OAI/2.0/rdf.xsd/schema
metadataNamespacehttp://www.openarchives.org/OAI/2.0/rdf/
/metadataNamespace
/metadataFormat
-
metadataFormat
metadataPrefixmets/metadataPrefix
schemahttp://www.loc.gov/standards/mets/mets.xsd/schema
metadataNamespacehttp://www.loc.gov/METS//metadataNamespace
/metadataFormat
/ListMetadataFormats

Any help would be appreciated,
Also if I have custom metadata schema/registry is there any way for me to
retrieve these via OAI_ORE?

Best Regards,
--Mckeane Thomas
--
Keep yourself connected to Go Parallel: 
DESIGN Expert tips on starting your parallel project right.
http://goparallel.sourceforge.net___
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] Building modules separately and quickly

2012-11-27 Thread Tim Donohue
Just a few notes to add to helix84's discovery.  The link that helix84 
shared about the maven-cli-plugin peaked my interest  I immediately was 
curious whether it'd be something we may want to try out.

Unfortunately, I've discovered the following:

1. maven-cli-plugin has essentially been discontinued. There's no recent 
activity  its replacement was said to be the Maven Shell (mvnsh) by 
Sonatype. Source: https://github.com/mrdon/maven-cli-plugin/wiki

2. The Maven Shell (mvnsh) by Sonatype no longer exists -- it's GitHub 
repo is a 404 error: https://github.com/sonatype/mvnsh/

3. I submitted a question ticket to Sonatype to ask them about the 
Maven Shell (which if you Google it, was highly advertised as being a 
killer plugin for Maven 3.0).  I'm told that work on that project 
ended some time ago (~2 years), and at this time there's no plans to 
bring it forward.  However, there is a static codebase at: 
https://github.com/jdillon/mvnsh

4. Finally, someone at Sonatype kindly forwarded on a link to the 
Tesla project, which also features a shell which supposedly will 
make Maven builds blindingly fast: http://tesla.io/tesla/index.html

The Tesla project sounds interesting, but it seems to be a work in 
progress, with almost no documentation.

- Tim

On 11/27/2012 12:24 PM, helix84 wrote:
 Hi Mark,

 I just found this completely by accident. Is this something we could
 use? Seems to relate to our use-case (multi-module), but we also use
 profiles...

 http://www.mojavelinux.com/blog/archives/2009/05/a_gamechanging_maven_2_plugin_you_absolutely_must_use/


 Regards,
 ~~helix84

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

 --
 Monitor your physical, virtual and cloud infrastructure from a single
 web console. Get in-depth insight into apps, servers, databases, vmware,
 SAP, cloud infrastructure, etc. Download 30-day Free Trial.
 Pricing starts from $795 for 25 servers or applications!
 http://p.sf.net/sfu/zoho_dev2dev_nov
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
Keep yourself connected to Go Parallel: 
DESIGN Expert tips on starting your parallel project right.
http://goparallel.sourceforge.net
___
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] Building modules separately and quickly

2012-11-27 Thread john316rocks
Thanks everybody for the help! 



-
xxx
--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Building-modules-separately-and-quickly-tp4659969p4659996.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
Keep yourself connected to Go Parallel: 
DESIGN Expert tips on starting your parallel project right.
http://goparallel.sourceforge.net
___
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


[Dspace-tech] Harvesting of data from bitstreams

2012-11-27 Thread LIBRIS Reference (LIBRIS)
Dear All,

We are trying to harvest data from our DSpace repository (v1.5) and export them 
into a web-scale discovery service.

1. We need help in harvesting data from bitstreams such as htm/html/pdf files.
2. Our web-scale discovery service needs to know whether a DSpace record has 
full text.  A record has full text when there is a pdf bitstream (attachment).  
Can harvesting capture such data?

Thanks.

Sherman

National Institute of Education (Singapore) http://www.nie.edu.sg

DISCLAIMER : The information contained in this email, including any 
attachments, may contain confidential information. 
This email is intended only for the use of the addressee(s) listed above. 
Unauthorised sight, dissemination or any other 
use of the information contained in this email is strictly prohibited. If you 
have received this email by fault, please 
notify the sender and delete it immediately.
--
Keep yourself connected to Go Parallel: 
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net___
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] Mvn Package Failure DSpace 3.0

2012-11-27 Thread Umair Kayani
Well this didn't work either. You may find the following error lines after 
removing .m2 folder and with clean package command.

[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] DSpace Addon Modules .. SUCCESS [46.860s]
[INFO] DSpace Kernel :: Additions and Local Customizations  FAILURE [47.890s]
[INFO] DSpace XML-UI (Manakin) :: Local Customizations ... SKIPPED
[INFO] DSpace LNI :: Local Customizations  SKIPPED
[INFO] DSpace JSP-UI :: Local Customizations . SKIPPED
[INFO] DSpace SWORD :: Local Customizations .. SKIPPED
[INFO] DSpace SWORD v2 :: Local Customizations ... SKIPPED
[INFO] DSpace SOLR :: Local Customizations ... SKIPPED
[INFO] DSpace OAI 2.0 :: Local Customizations  SKIPPED
[INFO] DSpace Assembly and Configuration . SKIPPED
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 1:38.000s
[INFO] Finished at: Tue Nov 27 17:26:32 YEKT 2012
[INFO] Final Memory: 5M/15M
[INFO] 
[ERROR] Failed to execute goal on project additions: Could not resolve 
dependencies for project org.dspace.modules:additions:jar:3.0-rc4-SNAPSHOT: 
Could not find artifact org.dspace:dspace-api:jar:3.0-rc4-SNAPSHOT in 
sonatype-releases (http://oss.sonatype.org/content/repositories/releases/) - 
[Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
on project additions: Could not resolve dependencies for project 
org.dspace.modules:additions:jar:3.0-rc4-SNAPSHOT: Could not find artifact 
org.dspace:dspace-api:jar:3.0-rc4-SNAPSHOT in sonatype-releases 
(http://oss.sonatype.org/content/repositories/releases/)
at 
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)
at 
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
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.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.project.DependencyResolutionException: Could not 
resolve dependencies for project 
org.dspace.modules:additions:jar:3.0-rc4-SNAPSHOT: Could not find artifact 
org.dspace:dspace-api:jar:3.0-rc4-SNAPSHOT in sonatype-releases 
(http://oss.sonatype.org/content/repositories/releases/)
at 
org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:189)
at 
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:185)
... 22 more
Caused by: org.sonatype.aether.resolution.DependencyResolutionException: Could 
not find artifact org.dspace:dspace-api:jar:3.0-rc4-SNAPSHOT in 
sonatype-releases (http://oss.sonatype.org/content/repositories/releases/)
at 

Re: [Dspace-tech] New Submission don't populate automatically

2012-11-27 Thread Umair Kayani
I am still waiting for the folks to reply on my below mentioned concern.


Thanks  Regards
Umair Kayani

-Original Message-
From: Umair Kayani [mailto:ukay...@niftetrust.com] 
Sent: Monday, November 26, 2012 11:40 AM
To: 'Andrea Bollini'
Cc: 'dspace-tech@lists.sourceforge.net'
Subject: RE: [Dspace-tech] New Submission don't populate automatically,

Hi Andrea, Can you help me in my below mentioned problem.


Thanks  Regards
Umair Kayani

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Friday, November 23, 2012 3:37 PM
To: Umair Kayani; Andrea Bollini
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] New Submission don't populate automatically,

On Fri, Nov 23, 2012 at 11:33 AM, Umair Kayani ukay...@niftetrust.com wrote:
 I am using JSPUI and using submission with interface. If you check the demo 
 of it on dspace.org, whatever item you submit gets automatically populated. 
 Well I can do the scheduling of update index script but my question is if 
 discovery Facelet options provided in dspace.cfg was configured according to 
 dspace manual then what is the reason for not populating the items 
 automatically. Secondly is this related to BrowseDAO of discovery which I 
 didn’t configure.

I'm not sure, but Andrea (in CC) should be able to answer that.


Regards,
~~helix84

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



--
Keep yourself connected to Go Parallel: 
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
___
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