Re: [Dspace-tech] REST API: collection administrators and submitters

2015-08-26 Thread Mark H. Wood
On Wed, Aug 26, 2015 at 02:27:02PM -0400, Elias Tzoc wrote:
 We’re testing a basic REST API script for creating collections for new users, 
 and it’s partially working.  We can create collections but we’re not sure how 
 to add (new) e-persons to recently created collections, the e-person should 
 be an administrator and submitter for his/her collection.
 
 We’ve checked these pages, but we cannot seem to find an example for adding 
 administrators or submitters
 https://wiki.duraspace.org/display/DSDOC5x/REST+API 
 https://wiki.duraspace.org/display/DSDOC5x/REST+API
 https://github.com/DSpace/DSpace/tree/master/dspace-rest 
 https://github.com/DSpace/DSpace/tree/master/dspace-rest

I haven't tried to do that, but I can say that an EPerson is not added
to a Collection but to one of several EPersonGroups associated with
the collection.  I think that's not supported yet.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
___
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] Hibernate

2015-08-25 Thread Mark H. Wood
On Mon, Aug 24, 2015 at 01:47:53PM +, Monika C. Mevenkamp wrote:
 I have a 2006 copy of
 [http://www.manning.com/peak/peak_cover150.jpg]
 Hibernate Quickly
 
 Patrick Peak and Nick Heudecker
 
 since the committers will do the heavy lifting of mapping the current DB 
 structure to hibernate, I am mainly interested in getting a good foundation 
 in hibernate style querying
 
 did the query interface stay stable  or should I trash this book ?
 
 yes - yes - I know I can go online and yes a good link would be helpful - but 
 for some things I prefer to start out with a book - but i don’t want to waste 
 my time on a prehistoric API

I've been studying Antonio Goncalves' _Beginning Java EE 6 Platform
with Glassfish 3_ since it has several chapters on JPA.  I'm trying to
avoid proprietary Hibernate-isms and stick to JSR 317 as much as
possible, so that we don't get tied down again.

I've also referred to Wikibooks' _Java Persistence_:

  https://en.wikibooks.org/wiki/Java_Persistence

and to the online Hibernate documentation.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
___
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] Deprecated Error when i tried to create Multiple instance of Dspace

2015-08-25 Thread Mark H. Wood
On Tue, Aug 25, 2015 at 01:05:24AM +0300, Mansoor Ali wrote:
 I tried to have created a multiple instance a Dspace with the different
 configs and tried to trigger the xmlui of both instances by the browser
 then i got the Deprecated Error message so can any one help me to resolve
 this issue.

The deprecation warning is annoying but I think it can be ignored.
The IO Exception messages are probably unrelated to the deprecation
but they are the first thing I would investigate in pursuit of your
other problem, whatever it is.

Setting aside the log messages, what happens when you try to browse
each instance of DSpace?

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
___
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] Administrative Statistics

2015-08-19 Thread Mark H. Wood
On Tue, Aug 18, 2015 at 02:12:18PM -0500, Tim Donohue wrote:
 The Administrative Statistics are the (very old) legacy DSpace 
 statistics pulled from log files, which pre-dated the Usage Statistics 
 (based on Solr).  They are only generated by running these commandline 
 options:
 
 [dspace]/bin/dspace stat-initial
 [dspace]/bin/dspace stat-general
 [dspace]/bin/dspace stat-monthly
 
 The only reason they still exist is that the Usage Statistics don't 
 provide all the same information (yet).  The Usage Statistics are much 
 more accurate in providing usage information (as these legacy, log-based 
 stats do not filter out spiders or similar).  But, the legacy, log-based 
 stats do provide some unique administrative statistics, like the counts 
 of the number of actions performed in your DSpace, etc.

[tangent]

I don't find the situation confusing at all.  Service administrators
have different needs than contributors and editors.  While the
mechanism for gathering and storing sitewide admin. statistics might
be improvable, I think we ought to look at bringing them up to date
and fleshing them out with other information that admin.s would want.

As an example, people interested in the content will appreciate having
robot accesses filtered out, but admin.s might profit from seeing
filtered and unfiltered counts side by side.  Even more so if they can
sample these counts mechanically and accumulate them for visualization.

Some other stuff I get asked for includes simple counts of how much
stuff we have:  how many Items, how many Bitstreams, how many image
Bitstreams.  End users don't care about such things, but senior
administrators do.

For the future, another thing that our biggest statistical consumers
want very much is views aggregated by *author*.  I'm looking forward
to first-class support for author identities so that we can do this
well.

[tired old refrain]

Statistics doesn't mean the same thing to everyone.  It may not mean
the same thing to *anyone*.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
___
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 remove jspui in url to access jspui interface

2015-08-18 Thread Mark H. Wood
On Mon, Aug 17, 2015 at 11:51:31AM -0400, Yongming Wang wrote:
 We just implemented DSpace 5.2 and use jspui interface. In order to access 
 the application, we use the url http://.tcnj.edu/jspui; (we have already 
 changed the default port 8080 to 80). 
 
 Is it possible to remove the jspui part? So that when people enter 
 http://.tcnj.edu;, it will access the jspui application.

If you are using Tomcat as your servlet container, the webapp. at the
root path (/) is named ROOT.  So find the place where JSPUI was
deployed to Tomcat and rename it:

o  If you are using an unpacked webapp, it will be a directory named
   jspui.  Rename it to ROOT.

o  If you are using a WAR, it will be named jspui.war, and should be
   renamed to ROOT.war.

o  If you are using separate Context descriptor files, the file will
   be named jspui.xml, and should be renamed ROOT.xml.  The directory
   or WAR which is named as the docbase in that file need not be
   renamed, and it is probably most convenient not to.

http://tomcat.apache.org/tomcat-8.0-doc/config/context.html#Naming

If you're using some other container, I can't give specific advice.
I'm sure there is a way to do this, but it will be different.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
___
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 5.3 SOLR can't find libs

2015-08-18 Thread Mark H. Wood
On Tue, Aug 18, 2015 at 02:52:44PM +0200, Brouns, Francis wrote:
 I am testing out the DSpace 5.3 upgrade on my local Windows machine. The 
 solr.log reports many warnings when trying to add lib dirs. to classloader. 
 Is this a Windows specific problem? Where do I correct this path?

Those are left-over examples from the stock Solr distribution which
should have been removed from the authority configuration as they were
in the search and statistics configurations.  You can ignore these
messages, but they are annoying.  These libraries are declared in
[DSpace]/solr/authority/conf/solrconfig.xml and I think you can safely
comment them all out.  Look for the lib ... / elements.

I've created a Jira ticket to track this problem:

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

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
___
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] Handle service

2015-08-14 Thread Mark H. Wood
On Fri, Aug 14, 2015 at 02:31:21PM +0300, Stephano John wrote:
 We have not implemented any handle services in our repository. After
 accepting the document to be archived in our repository, the submitter gets
 the following message
 
 Your submission has been accepted and archived in DSpace,
 and it has been assigned the following identifier:
 http://hdl.handle.net/123456789/390
 Please use this identifier when citing your submission.
 
 But when you click the link, you get the following message
 
 [image: Handle.net Logo]
 
 The handle you requested, *123456789/390*, could not be found.
 
 This handle is not valid. The numbers 123456789 are just a place holder for
 a valid handle prefix. It appears the DSpace site you encountered has not
 yet implemented handles. You will need to send an email to a contact from
 the DSpace site. There is nothing we can do from this end. Good luck.
 
 I know we need to have a mechanism of identifying all the records submitted
 with its handle. Can any one give us steps on how to implement the same or
 DOI??

First: you can easily change the constant text of the email template.
It is in config/emails/submit_archive.  You could explain that the
Handle has only local meaning instead of recommending it for citation.
This edit would take only a moment.

You could provide the local working URL for the Item to the email
formatter, so that it can be merged into the text in place of (or
addition to) the unusable Handle URL.  This is done in
org.dspace.workflow.WorkflowManager at around line 770 using
email.addArgument(String).  I needed to do this just recently.  I
suggest simply adding a new argument rather than bothering to replace
the call that adds the Handle argument.

You mention DOI.  Are you providing DOIs for your site's submissions?
You could easily provide a DOI argument to the submit_archive
template.  That was the change I needed to make:

---8--cut here for patch---8-
diff --git a/dspace-api/src/main/java/org/dspace/workflow/WorkflowManager.java 
b/dspace-api/src/main/java/org/dspace/workflow/WorkflowManager.java
index db06c55..70ab452 100644
--- a/dspace-api/src/main/java/org/dspace/workflow/WorkflowManager.java
+++ b/dspace-api/src/main/java/org/dspace/workflow/WorkflowManager.java
@@ -38,6 +38,7 @@ import org.dspace.curate.WorkflowCurator;
 import org.dspace.eperson.EPerson;
 import org.dspace.eperson.Group;
 import org.dspace.handle.HandleManager;
+import org.dspace.identifier.DOI;
 import org.dspace.storage.rdbms.DatabaseManager;
 import org.dspace.storage.rdbms.TableRow;
 import org.dspace.storage.rdbms.TableRowIterator;
@@ -768,6 +769,17 @@ public class WorkflowManager
 email.addArgument(coll.getMetadata(name));
 email.addArgument(HandleManager.getCanonicalForm(handle));
 
+// Argument {3} is best identifier:  DOI if present, or Handle.
+String doi = HandleManager.getCanonicalForm(handle);
+for (String identifier : i.getIdentifiers(c))
+if (identifier.startsWith(DOI.SCHEME)
+| identifier.startsWith(DOI.RESOLVER))
+{
+doi = identifier;
+break;
+}
+email.addArgument(doi);
+
 email.send();
 }
 catch (MessagingException e)
diff --git a/dspace/config/emails/submit_archive 
b/dspace/config/emails/submit_archive
index 187cb53..89240b3 100644
--- a/dspace/config/emails/submit_archive
+++ b/dspace/config/emails/submit_archive
@@ -2,7 +2,8 @@
 #
 # {0}  Title of submission
 # {1}  Name of collection
-# {2}  handle 
+# {2}  handle
+# {3}  DOI (or Handle if none)
 #
 Subject: DSpace: Submission Approved and Archived 
 
@@ -14,6 +15,6 @@ Your submission of {0} to {1} has been accepted for deposit.  
This item
 will be archived to provide long-term access.
 
 Your submission has been assigned a digital object identifier [DOI] to 
-enable easy citation and discovery.  This identifier is:  {2}
+enable easy citation and discovery.  This identifier is:  {3}
 
 Explore how your data is being viewed and downloaded at {2}/statistics.
---8--cut here for patch---8-

The above patch is against DSpace 5.2.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
___
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-devel] PLEASE VOTE on whether to include Services API refactoring in DSpace 6.0

2015-08-07 Thread Mark H. Wood
On Thu, Aug 06, 2015 at 11:06:52PM +0200, Adan Román Ruiz wrote:
 Its a good idea, but there are alternatives to hibernate. Why not mybatis?

We keep saying Hibernate, but we should be thinking JPA.  If
MyBatis implements JPA then you should be able to swap it in.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
___
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 error when trying to edit a collection

2015-08-07 Thread Mark H. Wood
On Thu, Aug 06, 2015 at 11:56:47AM -0500, Freddy Guerrero wrote:
 The problem is that i can not edit collections - get internal system error.
 With communities do not have this problem. However, the collection can be
 deleted through the Recycle Bin icon. Trying to edit was performed with
 administrative rights. Everything else works fine. Version dspace - 5.2.
 Was carried out a fresh installation, and then were data recover from the
 previous 3.2. And consistently applied schemes. A fragment of a log file
 that is related to the error:
 
 WARN  org.dspace.app.webui.servlet.DSpaceServlet @ dsp...@dlpt.com:
 session_id=EBCD46AD4C0A259482EDF82958714309:ip_addr=186.46.206.48:database_error:org.postgresql.util.PSQLException\colon;
 ERROR\colon; permiso denegado a la relación harvested_collection
 org.postgresql.util.PSQLException: ERROR: permiso denegado a la relación
 harvested_collection

I don't actually read Spanish, but this seems to be saying that the
DBMS denied access to the table harvested_collection.  I would check
the ownership and permissions on the DSpace database and all objects
in it.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
___
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 5.1 slow complete submission process

2015-08-06 Thread Mark H. Wood
On Thu, Aug 06, 2015 at 10:45:08AM +0300, allybit...@udsm.ac.tz wrote:
 I am having a problem in the complete submission process is very slow it
 took like 5 min to complete submission sometimes without errors.
 
 Can any one help me to made it be fast process thank you

The first step is to find out what it is doing with all that time.  I
would search dspace.log for the time of such a submission and see if
there are any warnings or errors that might explain the delay.  A
single submission just doesn't give DSpace very much work to do, so I
expect that it is waiting on some other resource.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
___
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] what is the resource_type_id in metadatavalue table of dspace database?

2015-08-03 Thread Mark H. Wood
On Mon, Aug 03, 2015 at 03:11:36PM +0530, Code 2 dogears wrote:
 I am new to dspace. I am retrieving values from dspace metadatavalue table.
 One think I don't understand is resource_type_id in metadatavalue table.
 Resource_type_id has specific values. It has value 3 for coleection name
 and its description, 0 for bitstreams etc

You can find those in dspace-api:org.dspace.core.Constants:
Constants.BITSTREAM, Constants.ITEM, etc.  It refers to the type of
object, and qualifies the resource_id.  (Each subclass of DSpaceObject
is persisted in its own table and has its own sequence of object IDs,
so one must specify both type and ID to uniquely identify an object.)

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
___
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] tomcat bound to port 80

2015-08-03 Thread Mark H. Wood
)
 at 
 org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)
 at 
 org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)
 at 
 org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:448)
 ... 40 more
 
 --
 ___
 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
 

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
___
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] Nested Metadata

2015-07-30 Thread Mark H. Wood
On Wed, Jul 29, 2015 at 04:06:19PM -0400, Peter Dietz wrote:
 Has anyone stored nested / rich metadata in DSpace?
 
 An example I'm thinking of is for storing richer amounts of metadata for an
 object. For example:
 
- Author
   - first-name: Peter
   - last-name: Dietz
   - name-as-it-appears: Peter Dietz
   - institution: Longsight
   - date-of-birth: ...
   - ...
- Author
   - first-name: Sam
   - last-name: Ottenhoff
   - ...
 
 The Authority Control system of DSpace looks like it approaches this, but
 the documentation isn't clear, and I'm not sure if it requires that your
 data values reside in some Library of Congress registry.

You can create other authority providers.  (The documentation is
indeed sketchy.  The code is in
dspace-api:org.dspace.content.authority.  Sadly there is no
package-level documentation to help us understand how the package is
organized.)

 The hack-job I have in mind would be to serialize the information... to
 json... and then store that into a metadata field.
 
 So.
 schema.author.serialized = {first-name: Peter, last-name: Dietz,
 name-as-it-appears : Peter Dietz, institution: Longsight, ... }
 
 However, I'm tempted to think that DSpace should either have the ability to
 plug into any registry (hopefully there are registries you can populate and
 maintain with your own local data), or to extend DSpace's metadata data
 model to support nested/rich data.

DSpace already has infrastructure sufficient to represent the above.
We just don't define:

  somenamespace.person.givenname
  somenamespace.person.surname
  somenamespace.person.preferred
  somenamespace.person.affiliation
  somenamespace.person.dob

That part is easy to fix.  The hard part is that DSpace treats author
names as immediate strings rather than identifiers for related
person objects.  Fixing that will take a bit of work.  It ties in
with existing and ongoing work to integrate ORCID, too.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
___
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] Need Advice on DSpace Upload Error

2015-07-30 Thread Mark H. Wood
On Thu, Jul 30, 2015 at 02:50:48PM -0400, Matt Sherman wrote:
 Hi all,
 
 I could use some help diagnosing an upload error I am getting when I try to
 upload files.  Any assistance would be appreciated as I am unsure what the
 issues is.  The error message is posted below.  Thanks for any assistance
 you can provide.
 
 Matt Sherman
 
 
 Problem in creating the Request
 Message: null
 Description: No details available.
 Sender: org.dspace.app.xmlui.cocoon.servlet.multipart.DSpaceMultipartFilter
 Source: Cocoon Servlet
 cause
 Malformed stream: No space left on device
^^^
Apparently the disk is full.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
___
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] About to Create Multiple Instance for Dspace-5.2-src-release

2015-07-29 Thread Mark H. Wood
On Wed, Jul 29, 2015 at 01:46:00PM +0300, Mansoor Ali wrote:
 Iam really thankful if any one would help me in this case.
 
 Iam trying this to implement on windows.
 I want to create two instances for dspace-5.2-src-release and to keep both
 the instances in two different servers called ServerA  ServerB and my main
 intention is to view the same data from both instances so please any body
 have a solution for this case or what will be the best way to view the same
 data from two instance which are on two different Servers and these two
 servers are connected to a single DB server  a single assetstore.

I have not tried to build such a system, but here is what I would do.

The two instances of DSpace should in this case use a single database,
not two separate databases.  That is:  db.url should be the same for
both.

The shared assetstore should be in a filesystem that can coordinate
concurrent use across a cluster of hosts and is configured to do so.
It appears to me that you are running your DSpaces on MS Windows, and
I haven't touched a Windows server in years so I don't have any good
specific advice on that.

The behavior that you see with two separate databases, even though
stored in the same DBMS instance, is what I would expect.  The
database is how DSpace knows what it has and where to find it.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
___
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 when using import command in DSpace 5.2

2015-07-28 Thread Mark H. Wood
On Tue, Jul 28, 2015 at 02:12:31PM +0300, Layale Bassil wrote:
 I am trying to import items into Dspace 5.2 using the /data/bin/dspace import 
 command but I am getting the following error which I am not being able to 
 know the reason for:
 
 log4j:ERROR setFile(null,true) call failed.
 java.io.FileNotFoundException: /data/log/dspace.log.2015-07-28 (Permission 
 denie   d)
[snip]
 log4j:ERROR setFile(null,true) call failed.
 java.io.FileNotFoundException: /data/log/cocoon.log.2015-07-28 (Permission 
 denie   d)
[snip]
 log4j:ERROR setFile(null,true) call failed.
 java.io.FileNotFoundException: /data/log/dspace.log.2015-07-28 (Permission 
 denie   d)

The account in which your Servlet container (e.g. Tomcat) runs does
not have permission to open those files for writing.  I would check
the ownership and permission on those files.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
___
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] Stats import export

2015-07-27 Thread Mark H. Wood
On Mon, Jul 27, 2015 at 02:36:20PM -0300, Germán Biozzoli wrote:
 Dear all
 
 I've been working with import/export script stats solr from a production
 instance that have +- 2M entries. Data comes from an early 5.0 realease and
 I'm testing with trunk.
 
 As far as I can see the process finishes OK (I've used reindex option) the
 number of entries remain the same  comparing the test instance with
 production and the countries and cities have the same number of downloads
 as can be seen from several items. But... the command does not finish free
 of errors:
 
 org.dspace.util.SolrImportExportException: Directory
 /Users/germanbiozzoli/Documents/dspace-base-experiment/solr/startistics/conf/
 doesn't exist or isn't readable. The reindexing process requires the Solr
 configuration directory for this index to be present on the local machine
 even if Solr is running on a different host. Not reindexing index
 startistics
 
 at org.dspace.util.SolrImportExport.reindex(SolrImportExport.java:227)
 
 
 The command that I've used is
 
 /dspace solr-reindex-statistics -a reindex -d
 /Users/germanbiozzoli/Documents/dspace-base-experiment/tmpstats/ -i
 startistics
 ^

Do you really have a Solr core named startistics, with an r?
That's not stock DSpace.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
___
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 log

2015-07-27 Thread Mark H. Wood
On Mon, Jul 27, 2015 at 02:22:53PM +, Saidy Binta wrote:
 Can someone kindly explain this error, since I cannot make any sense of what 
 it means. Thanks
 
 
 2015-07-27 13:51:50,892 WARN  org.dspace.statistics.util.SpiderDetector @ Not 
 loading panchma.tivra.com:  null
 2015-07-27 13:51:51,695 WARN  org.dspace.statistics.util.SpiderDetector @ Not 
 loading pixnat09.whizbang.com:  null
 2015-07-27 13:51:52,516 WARN  org.dspace.statistics.util.SpiderDetector @ Not 
 loading morgue1.corp.yahoo.com:  null
 2015-07-27 13:51:53,306 WARN  org.dspace.statistics.util.SpiderDetector @ Not 
 loading crawl8-public.alexa.com:  Unresolvable host name (empty response)
 2015-07-27 13:51:54,112 WARN  org.dspace.statistics.util.SpiderDetector @ Not 
 loading zeus.nj.nec.com:  null
 2015-07-27 13:51:54,606 WARN  org.dspace.statistics.util.SpiderDetector @ Not 
 loading xs4.kso.co.uk:  Unresolvable host name (empty response)
 2015-07-27 13:51:55,078 WARN  org.dspace.statistics.util.SpiderDetector @ Not 
 loading crawler918.com:  Unresolvable host name (empty response)
 2015-07-27 13:51:55,504 WARN  org.dspace.statistics.util.SpiderDetector @ Not 
 loading idle.eidetica.com:  Unresolvable host name (empty response)
 2015-07-27 13:51:56,790 WARN  org.dspace.statistics.util.SpiderDetector @ Not 
 loading hanta.yahoo.com:  null
 2015-07-27 13:51:57,595 WARN  org.dspace.statistics.util.SpiderDetector @ Not 
 loading pixnat06.whizbang.com:  null

These are warnings, and mostly harmless.  They concern the names of
old web spiders that probably should be removed from DSpace since they
no longer resolve.  You could comment them out or remove them from
config/spiders/iplists.com-non_engines.txt if you wish.  It does take
some seconds to get past them when initializing the spider detector code.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
___
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] problems about protecting PDF files in Dspace

2015-07-24 Thread Mark H. Wood
On Fri, Jul 24, 2015 at 02:49:36AM +, Higgins wrote:
 Is there a way to protect pdf or doc files from downloading on Dspace server, 
 but viewing is allowed?

How would DSpace know what a client is planning to do with the
document?  There is no technical means of preventing a user from
saving a copy of a document he can read.

The only available protection is legal.  Permit access only to
logged-on users who are known to have signed an agreement not to save
copies.  If you find that someone broke his contract with you, sue.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
___
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 5.2 not displaying homepahe

2015-07-15 Thread Mark H. Wood
On Wed, Jul 15, 2015 at 07:13:19PM +0530, P. S. Mukhopadhyay wrote:
 You made it crystal clear to me. Thanks a ton. Is psi probe available for
 Ubuntu?

I don't know for sure -- I use Gentoo where I can, CentOS when a
product insists on Red Hat infrastructure.

I was not able to find it in the Debian packages database.  You may
need to build it from source, or select a different servlet-container
monitoring package.  There are some Ubuntu sites on this list, so
maybe someone else can give you a more useful answer.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/___
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 v3.3 does not work with Java 8

2015-07-15 Thread Mark H. Wood
On Wed, Jul 15, 2015 at 01:56:36PM +, Avino, Thomas W. (LARC-B702)[LITES] 
wrote:
 We upgraded all of our Dspace instances from 1.7 to 3.3.  We are running Java 
 7.  Security issues require us to install Java 8.  When we installed Java 8 
 on our development server, the Dspace application does not work.  Users get 
 the main page, but there is nothing on the page. No collections, communities, 
 nothing.  Has anyone run into this?  Is there a fix?

Do you find anything interesting in the logs?

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/___
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 in authority control SHERA/RoMEO

2015-07-15 Thread Mark H. Wood
On Wed, Jul 15, 2015 at 12:02:26AM -0300, royopa wrote:
 I configure my DSpace repository to use SHERPA/RoMEO authority control as
 explained in the page
 http://www.royopa.url.ph/2015/07/14/criando-um-controle-de-autoridades-com-sherpa-romeo-no-dspace
 
 The buttons Lookup are showing in form (Publisher and Other Authors), but
 when I click in the button, the error below occurs:

The log ([DSpace]/logs/dspace.log) may have more information about the
problem.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/___
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 Error

2015-07-15 Thread Mark H. Wood
On Wed, Jul 15, 2015 at 03:16:35PM +0200, Eric Martyns wrote:
 In trying to register an E-Person the error below occurs
 
 *An error has occurred*
 
 Go to Repository home http://196.222.5.9:8080/xmlui
 
 java.mail.AuthenticationFailedException:
 Cocoon stacktrace [show]
 
 Java stacktrace [show]
 
 Java full stacktrace [show]
 
 
 
 and uploading a file the following error occurs
 
 
 *An error has occurred*
 
 Go to Repository home http://196.222.5.9:8080/xmlui
 
 java.io.IOException: No such file or directory
 
 Cocoon stacktrace [show]
 
 Java stacktrace [show]
 
 Java full stacktrace [show]
 
 
 How do i resolve this.

The first step in resolving a problem with any software is finding as
much information as possible about what happened.  That information
may be in the stack traces, and more information may be in the log
files.

If you need more help, we will need to see the stack traces and the
portions of the log file which surround the time of the error.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/___
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] Question about database values

2015-07-14 Thread Mark H. Wood
On Tue, Jul 14, 2015 at 03:36:12PM +, George Stanley Kozak wrote:
 Back in DSpace 1.8.2, I executed a bunch of SQL queries to generate reports 
 for people at my site.
 One of my reports relied on getting the name and description of a bitstream.
 The report that I generated used this SQL query:
 select bitstream_id,name,description,sequence_id,size_bytes from bitstream;
 I see now in DSpace 5.2  that name and description are no longer part of 
 the bitstream table.  Where are these values now held?

Bitstreams can now have metadata, and those fields moved to the
metadatavalue table.  You can for example:

  JOIN metadatavalue md
   WHERE resource_id = bitstream_id
AND resource_type_id = 0
AND metadata_field_id = (
 SELECT metadata_field_id FROM metadatafieldregistry
  WHERE metadata_schema_id = (
   SELECT metadata_schema_id FROM metadataschemaregistry
WHERE short_id = 'dc')
   AND element = 'title'
   AND qualifier IS NULL
 )

 Also, is there a document out there that details the SQL changes in DSpace 
 5.2?

I don't recall one, but the main idea is that metadata support moved
from Item to DSpaceObject, and then all extends DSpaceObject had
their interesting fields changed into metadata.  I went and looked at
Bitstream.getName() to recall that that is now stored in dc.title.
What is left in the object tables is mainly internal bookkeeping stuff
like checksums.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/___
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] Why does Dspace throw this error when I try to submit sometimes?

2015-07-10 Thread Mark H. Wood
On Fri, Jul 10, 2015 at 06:41:14PM +, Schuster, David wrote:
 I get this error very often, and if you click back and submit again a few 
 times or click refresh, then it will go through?
 
 I've attached the Stack trace/Java etc...

[FileNotFoundError from CreateFileExclusively]

The first thing I would check is the ownership and permissions of all
directories under the current assetstore.  The behavior is, I believe,
consistent with having some, but not all, assetstore directories
unwritable by the account used to run the container (Tomcat, etc.)

 I did find this Jira report.
 
 https://jira.duraspace.org/browse/DS-1143
 
 I am running Dspace 4.2 that was upgraded from 3.2 where I had the problem as 
 well (working on upgrading to 5.x)
 
 I see that there is discussion about dspace user separate from Tomcat - which 
 may be my problem.
 
 How can I fix this or do I fix it in the next upgrade?

If it's an ownership issue, then something like 'chown tomcat:tomcat
/path/to/assetstore -R' should do it, assuming that your servlet
container is run as user 'tomcat', and substituting the proper path to
the current assetstore.

Or you might prefer:

  find /path/to/assetstore -not -user tomcat -exec chown tomcat:tomcat \{\} \;

which should only touch the files that need it.  I have *not* tried
that particular construction (-not -user) so you may want to make up a
small directory tree and test it first.  Leave out everything
including and after 'exec' to see a list of what it would 'chown'.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/___
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] Failing to view upload files

2015-07-08 Thread Mark H. Wood
On Wed, Jul 08, 2015 at 10:01:09AM +0200, Admire Mutsikiwa wrote:
 I have installed Dspace 5.2 on my test server accessible on the intranet. I
 have uploaded a document onto the Dspace system but  one cannot view it when
 they click Open or View. On accessing the logs, I am seeing the following
 message in the logs
 
 2015-07-08 09:56:55,731 INFO
 org.dspace.app.xmlui.aspect.artifactbrowser.ItemViewer @ Unhandled
 identifier URI http://sswlibrary.uz.ac.zw:8080/xmlui/handle/123456789/3

This message may be harmless.  It means that ItemViewer found an
identifier URI on the item which matches neither a Handle.net URL
pattern nor a DOI pattern.  The Handle pattern it is using is
hdl:|https?://hdl\\.handle\\.net/, which doesn't match the URI
above.

 Any pointers

Would you please describe in more detail the meaning of one cannot
view it when they click Open or View.  What happens?

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/___
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] Multiple pairs of dc.rights, dc.rights.uri

2015-07-08 Thread Mark H. Wood
I was working on the crosswalk that generates DataCite metadata for
DOI submissions through EZID, and saw a potential problem.  So long as
an Item has one value each for dc.rights and dc.rights.uri, it's easy
enough to compose a rights rightsURI='foo'bar/rights element.  But
I don't think there is any rule requiring only single values here.
Multiple rights statements are actually rather common on software
these days, and I don't see why they wouldn't be useful with some
works of any type.

Notice that it's not unreasonable to have both paired and unpaired
values of dc.rights.  I don't see any support for sparse ordered lists
of metadata values, so how to ensure that the pairs line up?

So, please discuss:

1.  If and when we build real schema support for metadata namespaces,
we may want to include cardinality rules.  Some fields may not
have a sensible meaning for multiple values.  We may need to
*require* at least one value for other fields.

2.  dc.rights/dc.rights.uri would seem to be a nice entering wedge for
support of hierarchial metadata structures, since clearly some
uses of these fields (CC for example) are naturally paired.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/___
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] user registration

2015-07-06 Thread Mark H. Wood
On Mon, Jul 06, 2015 at 01:19:18PM +, Saidy Binta wrote:
 Hi All,
 
 The registration only take users with @mrc.gm, the registration does not that 
 @yahoo.com, @hotmail, @gmail.com etc . I have list these domain at the 
 password authentication and rebuild but still its the same error * Unable to 
 send email to this address.
 
 
 # Only emails ending in the following domains are allowed to self-register
 # Example - example.com domain : @example.com
 # Example - MIT domain and all .ac.uk domains: @mit.edu, .ac.uk
 domain.valid = @mrc.gm, @yahoo.com, @gmail.com, @hotmail.com
 
 can someone kindly help.

Registration of a new user causes a message to be sent to that user's
email address.  The first thing I would check is whether the outgoing
mail server ([DSpace]/config/dspace.cfg: mail.server) is configured to
allow your DSpace host to send mail to hosts outside of mrc.gm.  It's
possible that your institution requires specific authorization for
that.

If that is not the problem, then I think that we will need more
information.  Specifically, any messages from dspace.log from a few
seconds before to a few seconds after after the failure.

The timestamps from those messages would also help you to ask the
person responsible for your mail server for any log messages from that
service which might be helpful.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/___
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 build failure dspace 5.2

2015-06-30 Thread Mark H. Wood
On Tue, Jun 30, 2015 at 05:25:01AM -0700, cotanio wrote:
 I'm doing upgrade to dspace 5.2 on Oracle database and run:
 
 mvn -Ddb.name=oracle -U clean package
 
 the following error message appears:
 
 /Failed to execute on project goal additions: Could not resolve
 dependencies for project org.dspace.modules: additions: jar: 5.2: Could not
 find artifact com.oracle:ojdbc6:jar:11.2.0.4.0 in Sonatype-releases https:
 //oss.sonatype.org/content/repositories/releases//
 
 Is there an alternative repository to add in pom.xml to solve?

You need to have that artifact manually installed in your local Maven
repository (~/.m2/repository).  The upgrade instructions don't discuss
that, but you can follow the instructions under Installation:

  
https://wiki.duraspace.org/display/DSDOC5x/Installing+DSpace#InstallingDSpace-Installation

in step 4 (Database Setup) under Oracle:.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/___
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 User registration, password reset and feedback not working DSpace3.3 XMLUI

2015-06-23 Thread Mark H. Wood
On Tue, Jun 23, 2015 at 02:30:24PM +0600, Md. Ataur Rahman wrote:
 Hello,
 
 I have installed DSpace 3.3 on a brand new Debian wheeze machine with
 XMLUI. All things are working ok except user registration, Feedback and
 reset user password etc. I have configured postfix with gmail which is also
 working fine. My email configuration on dspace.cfg is as follows-
 
 
 # SMTP mail server
 
 # mail.server = smtp.example.com
 
 mail.server = smtp.gmail.com
 
 # SMTP mail server authentication username and password (if required)
 
 #mail.server.username =
 
 #mail.server.password =
 
 mail.server.username = x...@gmail.com
 
 mail.server.password = VCC
 
 # SMTP mail server alternate port (defaults to 25)
 
 # mail.server.port = 25
 
 mail.server.port = 587
 
 --
 
 # the key and the value. For example:
 
 mail.extraproperties = mail.smtp.socketFactory.port=587, \
 
 
 mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory,
 \
 
mail.smtp.socketFactory.fallback=false

These properties combine to force the use of SMTP-in-TLS.  That is:
the mailer will first try to establish a TLS session and then run an
SMTP session inside of it.

But you specified port 587, which expects to establish an SMTP session
first.  It can use the SMTP STARTTLS verb to perform upward
negotiation and carry out the actual SMTP transactions in a TLS
session.

In short:  I think your port and class here are incompatible.

 The Error message for user registration is as follows:-
 
 Register an account to subscribe to collections for email updates, and
 submit new items to DSpace.
 
1. Email Address:
 
 This address will be verified and used as your login name. * Unable to send
 email to this address.
 
 
 
  The output of the command -- ./dspace dsrun org.dspace.core.Email
 
  INFO [main] (DSpaceKernelInit.java:52) - Created new kernel:
 DSpaceKernel:org.dspace:name=0f2e2427-bac7-4e06-85fa-36ce88d721f9,type=DSpaceKernel:lastLoad=null:loadTim
 
 e=0:running=false:kernel=null
 
  INFO [main] (ConfigurationManager.java:1224) - Loading from classloader:
 file:/soft/dspace/config/dspace.cfg
 
  INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log
 configuration (log.init.config)
 
  INFO [main] (ConfigurationManager.java:1224) - Loading:
 /soft/dspace/config/log4j.properties
 
 About to send test email:
 
  - To: ataurb...@gmail.com
 
  - Subject: DSpace test email
 
  - Server: smtp.gmail.com
 
 Error sending email:
 
  - Error: javax.mail.MessagingException: Exception reading response;
 
   nested exception is:
 
 javax.net.ssl.SSLException: Unrecognized SSL message, plaintext
 connection?

This shows that DSpace tried to start a TLS session, but the other end
responded with plaintext, which result is what the above-described
mismatch should produce.

If you want SMTP-in-TLS, use SSLSocketFactory and submission port 465.
If you want plain SMTP, use the default socket factory and submission
port 587.  If you want plain SMTP with STARTTLS, also set
mail.smtp.starttls.enable=true.

My guess is that you want SMTP-in-TLS and that this would work:

  mail.extraproperties = mail.smtp.sslEnable = true, \
 mail.smtp.socketFactory.port=465

But I have not tried that combination.

 Is there any way to create and manage user through command line?

There is a 'dspace user' command in v5.x, but I don't think it was
available in v3.3.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical  virtual servers, alerts via email  sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___
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 a subset of Handles out of DSpace

2015-06-19 Thread Mark H. Wood
On Thu, Jun 18, 2015 at 06:44:36PM +, Halliday, James Leonard wrote:
 Thanks Mark. I just had another idea as well. We already have this community 
 under a separate, unique, XMLUI theme. Could we alter that theme to include a 
 redirect META tag, that redirects to the new location, or to a service that 
 finds the appropriate URL? I don't know if XMLUI themes can do things like 
 that.

An interesting question and I don't know the answer.

meta refresh is kind of icky, unless you need to interpose one of
those sit here forever and eventually your browser will show you what
you asked for pages.  But I think that a theme could include a
transformer that changes the response to an HTTP Redirect.  I'd be
surprised if there isn't one already, but if not, it should be simple
to write.  This might at least be a good alternative if the meta tag
doesn't work out.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
___
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 a subset of Handles out of DSpace

2015-06-18 Thread Mark H. Wood
I almost forgot:  there is a Jira issue for moving to a stock Handle
resolver:

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

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
___
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 a subset of Handles out of DSpace

2015-06-18 Thread Mark H. Wood
On Thu, Jun 18, 2015 at 05:01:54PM +, Halliday, James Leonard wrote:
 We have a DSpace instance which has one community that has moved elsewhere 
 (to OJS). So there are 4000+ items that are no longer valid and should be 
 removed, withdrawn, or deleted. I would like to have the handles for those 
 4000 articles redirect to the corresponding article in OJS. But I assume this 
 requires hacking the handle server? Has anyone done something like this 
 before or have any tips?

The actual difficulty is that the Handle resolver that comes with
DSpace is already hacked:  it is configured to use a custom storage
backend which depends on DSpace's Handle table.  A stock Handle
resolver would be able to comprehend having this resource on service
A, that on service B...but DSpace doesn't know how to deal with the
resolver directly.  The two services communicate through the shared
database.

It probably wouldn't take too much effort to build a new Handle
provider that interacts with a stock Handle resolver, and I've been
thinking that that is really the way for DSpace to go.  Has anyone
already done that?

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
___
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 a subset of Handles out of DSpace

2015-06-18 Thread Mark H. Wood
I also forgot https://jira.duraspace.org/browse/DS-1171 which has a
patch attached.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
___
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] Define xmlui as ROOT

2015-06-18 Thread Mark H. Wood
On Thu, Jun 18, 2015 at 10:38:23AM -0500, Shannon Meisenheimer wrote:
 We are running DSpace 5.1 on a Win server with Tomcat alone (no Apache).
 We've deployed DSpace webapps using Technique A from the installation doc
 (define xml context paths).
 
 Any ideas on how we can eliminate the need for xmlui in the URL?
 
 Would defining a context path file of root.xml with docbase set to
 [dspace]\webapps\xmlui work without affecting any of the other webapps
 (solr in particular)?

That is how you do it, except that the name must be ROOT.xml
(uppercase ROOT).

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

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
___
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] missing Messages.properties file - re-post

2015-06-12 Thread Mark H. Wood
On Mon, Jun 08, 2015 at 10:30:37AM -0400, Yongming Wang wrote:
 I don't get any response for my previous posting a week ago. So try again. 
 (please see the description below for the problem I encountered.)
 
 My installation is definitely missing the critical Messages.properties file. 
 The reason, I guess, may be that I downloaded dspace-5.1-release.tar.gz, 
 which probably doesn't contain Messages.properties. Can anyone tell me if 
 that is why I don't have Messages.properties. Thanks so much.

You are correct.  'dspace-5.1-release.tar.gz' is the precompiled
version, and Messages.properties is packed inside one of the .jar
files that it downloads.

 If that's really the reason, what is the remedy? 

If you unpack a copy of the file, edit it, and place it in
[DSpace]/webapps/jspui/WEB-INF/classes, I think that copy will be
found before the one in the JAR, but I have not tested this.  You can
unpack it this way:

  cd [DSpace]
  jar xf webapps/jspui/WEB-INF/lib/dspace-api-5.1.jar Messages.properties

That should result in a copy of the file being placed in [DSpace].

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
___
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] Some Solr Statistics are lost when upgraded version

2015-06-05 Thread Mark H. Wood
On Fri, Jun 05, 2015 at 03:06:55PM +0200, Hilton Gibson wrote:
 On 5 June 2015 at 14:43, Mark H. Wood mw...@iupui.edu wrote:
 
  what is preventing you doing that with the
  usage data that DSpace collects?
 
 
 ​Again, I have to advise, give Piwik a spin.
 I type two-fingered - the reply is too long for me to type - sorry.

I don't see the relevance of some other product to the question of why
you can't get cases out of Solr.  I do it all the time, mostly with
little Perl scripts.  Once you figure out the query, the rest is
fairly simple.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
___
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] Some Solr Statistics are lost when upgraded version

2015-06-05 Thread Mark H. Wood
On Fri, Jun 05, 2015 at 09:31:18AM +0200, Hilton Gibson wrote:
 On 5 June 2015 at 08:48, Bram Luyten b...@atmire.com wrote:
 
  what are you currently lacking in DSpace stats, that make them less
  trustworthy than Piwik?
 
 
 ​Hi Bram
 
 Piwik lets you examine logs in detail.
 Give it a spin, you will see.

OK, now I have to ask:  what is preventing you doing that with the
usage data that DSpace collects?  I have no particular trouble
extracting cases from the 'statistics' core.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
___
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 500 while trying POST \login

2015-06-05 Thread Mark H. Wood
 is available in the Apache
 Tomcat/8.0.21 logs.*
 
 
 Php fcode which I am using for this purpose is below ...
 
 ?php
 
 
 $header=['Content-Type:application/json','Accept:JSON'];
 $ch = curl_init();
 
 curl_setopt($ch, CURLOPT_URL,http://localhost:8080/rest/login/;);
 curl_setopt($ch, CURLOPT_POST, 1);
 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); // receive server response ...
 curl_setopt($ch, CURLOPT_TIMEOUT, 4);
 curl_setopt($ch, CURLOPT_HTTPHEADER, $header);
 //curl_setopt($ch, CURLOPT_USERPWD, $your_username.':'.$your_password);
 curl_setopt($ch,
 CURLOPT_POSTFIELDS,http_build_query(array('email'='emailaddress','password'='passs')));

Should the above line not be:

 CURLOPT_POSTFIELDS,http_build_query(array('email'=$your_username,'password'=$your_password)));

 
 
 
 $server_output = curl_exec ($ch);
 echo $server_output;
 // var_dump($server_output
 if (curl_errno($ch)) {
  print curl_error($ch);
 } else {
 
 }
 curl_close ($ch);
 
 
 // further processing 
 ?
 
 
 If anyone can point out the error in my code and how to debug it ?
 
 Thanks in advance

 --

 ___
 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


-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
___
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 5.2, Tomcat 8, JSPUI and servlet-api version problems?

2015-05-27 Thread Mark H. Wood
Sorry, my previous post was a bit terse.

DSpace should not be including *any* version of servlet-api.jar in its
webapp.s.  The Servlet spec. requires that this be provided by the
container.  The PR previously mentioned is meant to prevent
servlet-api being pulled in.

I would be interested to learn whether this patch is helpful.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
___
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 5.2, Tomcat 8, JSPUI and servlet-api version problems?

2015-05-27 Thread Mark H. Wood
I think you may be seeing https://jira.duraspace.org/browse/DS-2502
(Incorrect dependencies drag javax.servlet:servlet-api into all
webapp.s)

There's an untested patch at https://github.com/DSpace/DSpace/pull/953

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
___
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 possible to submit new DSpace item

2015-05-08 Thread Mark H. Wood
On Fri, May 08, 2015 at 08:29:24AM +, KNOWLES Claire wrote:
 DSpace needs to handle the CC API failure in a better way though, as it's 
 bound to happy again in the future.

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

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
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 stop users from printing and downloading

2015-05-08 Thread Mark H. Wood
On Fri, May 08, 2015 at 03:09:53PM +0530, Dspace Tech wrote:
 I have a Dspace repository running. I want to restrict the user from
 printing and downloading.

Then you need to deny anonymous READ access, grant READ access to a
group, and require users to sign an agreement not to print or download
before granting them membership in that group.  No web service, not
even DSpace, has any way of knowing what the client will do with the
documents it provides.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
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 V5 New database schema

2015-05-07 Thread Mark H. Wood
On Thu, May 07, 2015 at 02:09:57PM +0200, Fernando Gómez Romero wrote:
 I've just upgrade my DSpace version recently from v4.3 to 5.1. I
 developed external statistics with some database queries asking for the
 group and eperson names. In the v4 schema this was very handy, in tables
 epersongroup.name or eperson.firstname/eperson.lastname . 
 
 But in the 5.1 schema I have seen that these name and lastname values
 are gone, with some other more. Where can I get that info? It has to be
 somewhere because DSpace uses it, but I want to get it for my external
 info. 

These moved into the metadatavalue table in 5.0.  Use eperson_id as
the resource_id, org.dspace.core.Constants.EPERSON or .GROUP as
resource_type_id, and (SELECT metadata_field_id FROM
metadatafieldregistry WHERE metadata_schema_id = (SELECT
metadata_schema_id FROM metadataschemaregistry WHERE namespace =
'http://dspace.org/eperson') AND element = 'firstname') [for example]
as metadata_field_id.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
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] Handle server limit (99999 items?)

2015-05-07 Thread Mark H. Wood
I think 2147483647 or 9223372036854775807 is much more likely as the
limit.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
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] Handle server limit (99999 items?)

2015-05-07 Thread Mark H. Wood
On Thu, May 07, 2015 at 08:35:22AM -0400, Mark H. Wood wrote:
 I think 2147483647 or 9223372036854775807 is much more likely as the
 limit.

The suffix is generated by a DBMS SEQUENCE object.  In PostgreSQL,
handle_seq.max_value is the latter of the above.  (2**63 - 1: the
limit of an SQL BIGINT, or java.lang.Long.MAX_VALUE.)

However, HandleManager.createHandle(Context, DSpaceObject) uses
TableRow.getIntColumn to retrieve it, and this will throw
IllegalArgumentException when the value exceeds the former of the
above (2**31 - 1: java.lang.Integer.MAX_VALUE).

We should fix that.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
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] Autosubscribe to group does not work as expected

2015-04-28 Thread Mark H. Wood
On Tue, Apr 28, 2015 at 05:43:09PM +0200, Carlos Alonso Vega wrote:
 (Platform Dspace 5.1 - xmlui)
 
 We got a problem with new users and submissions. New users are expected 
 to be allowed to submit to certain collection after they create their 
 account at dspace, they are unable to.
 
 
 *1*- At account creation they are added to special group (through param 
 login.specialgroup=myUsers)

My recollection is that special groups don't work that way.
Membership in a special group is a property of a *session*, not an
eperson.  You won't see such memberships in the database because they
are not permanent.

 *2*- At first login, the user can see him belonging to myUsers 
 (clicking in profile)

That sounds like a design flaw in the user interface.  Special groups
should be shown as distinct from other groups.

 *3*- There is a collection My Users' Collection with submissions 
 allowed from group myUsers
 
 
 But he cannot submit to it (the collection is not listed)...

That sounds like an error in the code, yes.

 *4*- In DB (Oracle) no entry actually  is done at EPERSONGROUP2EPERSON 
 as any ordinary addition to group could have done
 
 *5*- Administrator does not see any user at myUsers group, despite 
 users see them belonging to it in their profiles (this is probably due 
 to #4)

As above, this is what I would expect to see.

 Perhaps the auto groups ( as login.specialgroup=myUsers) have an 
 special management, but it seems not to be managed ok when reading 
 permissions to submission.
 
 Anyone has seem a similar behaviour, are we missing something o has any 
 ideas to workaround this?
 
 
 Carlos

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
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 in Group and Eperson administration

2015-04-28 Thread Mark H. Wood
.
 http://ad.doubleclick.net/ddm/clk/290420510;117567292;y

 ___
 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


-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
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] Assistance

2015-04-24 Thread Mark H. Wood
#0];
 root of factory hierarchy
  INFO [org.dspace.servicemanager.spring.SpringServiceManager] Spring
 Service Manager started up in 2611 ms with 111 services...
  INFO [org.dspace.servicemanager.DSpaceKernelImpl] DSpace kernel startup
 completed in 2685 ms and registered as MBean:
 org.dspace:name=33f4ac76-47ef-4b08-8b20-68a696f830b0,type=DSpaceKernel
  INFO [org.dspace.core.ConfigurationManager] Loading provided config file:
 /dspace/config/dspace.cfg
  INFO [org.dspace.core.ConfigurationManager] Using dspace provided log
 configuration (log.init.config)
  INFO [org.dspace.core.ConfigurationManager] Loading:
 /dspace/config/log4j.properties
 Loading catalog:
 file:/var/lib/tomcat7/work/Catalina/localhost/xmlui/cocoon_xml_resolver_entities/catalog
 
 Now what is the problem.
 
 --
 One dashboard for servers and applications across Physical-Virtual-Cloud 
 Widest out-of-the-box monitoring support with 50+ applications
 Performance metrics, stats and reports that give you Actionable Insights
 Deep dive visibility with transaction tracing using APM Insight.
 http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
 ___
 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
 

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
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] spider ip recognition

2015-04-24 Thread Mark H. Wood
On Thu, Apr 23, 2015 at 05:39:01PM +, Monika C. Mevenkamp wrote:
 I found a couple of really suspicious numbers in my solr stats, aka lots of 
 entries were marked as isBot=false although the probably should has been 
 isBot=true.
 
 In the config file  I use
 
 spiderips.urls = http://iplists.com/google.txt, \
  http://iplists.com/inktomi.txt, \
  http://iplists.com/lycos.txt, \
  http://iplists.com/infoseek.txt, \
  http://iplists.com/altavista.txt, \
  http://iplists.com/excite.txt, \
  http://iplists.com/northernlight.txt, \
  http://iplists.com/misc.txt, \
  http://iplists.com/non_engines.txt
 
 
 I could not find downloadable lists for Bing, Baidu, Yahoo.
 The best I saw was:   
 http://myip.ms/info/bots/Google_Bing_Yahoo_Facebook_etc_Bot_IP_Addresses.html
 Is that reliable  ?
 
 Does anybody out there have lists / sources that they can share ?

What version of DSpace are you running?  Recent versions can also
recognize spiders by regular expression matching of the domain name or
UserAgent: string.  (However, that only works for new entries.  I've
recently found that some of the tools for loading and grooming the
stat.s core don't use SpiderDetector and are oblivious of these newer
patterns.)

 Also: does the dspace code gracefully deal with IP address patterns ?

That depends on what is considered graceful.  The code (in
org.dspace.statistics.util.IPTable) accepts patterns in three forms:

  11.22.33.44-11.22.33.55
  11.22.33.44
  11.22.33

Addresses in the first form may be suffixed with a CIDR mask-length,
but it is currently ignored.

If I've understood the code, a range (the first form) is assumed to
differ only in the fourth octet.  It will match all addresses between
44 and 55 within the /24 containing the start of the range.

The second form is an exact match of a single address.

The third form is a match of the first 24 bits -- an entire Class C
subnet.

There is no provision for IPv6.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
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)

2015-03-10 Thread Mark H. Wood
Either your Solr is not running, it is not listening at the address
and port where DSpace expects to find it, or a firewall is blocking
contact between them.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. 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] install error for upstream/master

2015-03-05 Thread Mark H. Wood
On Wed, Mar 04, 2015 at 07:34:44PM +, Monika C. Mevenkamp wrote:
 Ah - Yikes - Thanks
 
 It compiles now   after I changed the dependencies to rely on  
 artifactIdjavax.servlet-api/artifactId
 Unfortunately this had to be done in all sorts of pom.xml files
 
 BUT
 
 after the compile I still find WEB-INF/lib/servlet-api-2.5-20081211.jar in 
 webapps/*/WEB-INF/lib directories
 
 when I do
  ant update
  rm $DSPACE_HOME/webapps/jspui/WEB-INF/lib/*servlet*
 then restart tomcat and localhost:8080/jspui comes up fine

My reading of the output of 'mvn dependency:tree' suggests that this
is org.mortbay.jetty:servlet-api, pulled in transitively due to the
dependency on org.mortbay.jetty.jetty by
com.google.oauth-client-jetty, which for some reason is a dependency
of dspace-api.  I wonder what happens when we exclude
o.m.j:servlet-api?

It looks to me as though at least oauth-client-jetty, and perhaps
others, should be in scopetest/scope.  That's probably a better fix.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. 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] (no subject)

2015-03-05 Thread Mark H. Wood
On Thu, Mar 05, 2015 at 12:36:23AM +0200, Skevas Spiridon wrote:
 I've installed the dspace and when i go to browse Authors or By Issue
 Date or Titles as Administrator i get an error. This happens also when i
 try to browse Private Items or Withdraw items again as
 administrator.What happens?

It appears to me that your Solr instance for DSpace either is not
running, is not listening at the URL that DSpace has been configured
to use for it, or is configured to reject connections from the address
and/or port that DSpace uses to contact it.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. 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] install error for upstream/master

2015-03-04 Thread Mark H. Wood
On Wed, Mar 04, 2015 at 03:19:02PM +, Monika C. Mevenkamp wrote:
 Thanks Andrea  and a follow up question to mvn experts
 
 My tomcat8 says in its release notes
 * servlet-api.jar (Servlet 3.1 API)
 so I changed the main pom to say
 dependency
groupIdjavax.servlet/groupId
artifactIdservlet-api/artifactId
version3.1.0/version
 /dependency
 
 then a couple rounds of unsuccessful mvn package attempts
 
 Finally  I removed  ~/.m2/repository/javax  and tried again
  mvn clean
  mvn -U package
 
 this triggers downloading of all sorts of a javax packages. As you can see in 
 the list below there is a
 javax/servlet/servlet-api/3.1.0/servlet-api-3.1.0.jar and pom
 
 despite this I get the error
 
 [ERROR] Failed to execute goal on project dspace-services: Could not resolve 
 dependencies for project org.dspace:dspace-services:jar:6.0-SNAPSHOT: Could 
 not find artifact javax.servlet:servlet-api:jar:3.1.0 in sonatype-releases 
 (https://oss.sonatype.org/content/repositories/releases/)
 
 I am at a loss - since the jar/pom was downloaded - why is maven / am I 
 confused  ?

They changed the name of the artifact starting with 3.0.1.  The GAV
coordinates are now javax.servlet:javax.servlet-api:3.1.0.

http://search.maven.org/#artifactdetails|javax.servlet|javax.servlet-api|3.1.0|jar

Personally I think this sort of renaming should be a hanging offense.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. 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] Encryption, APIs in DSpace

2015-02-17 Thread Mark H. Wood
On Tue, Feb 17, 2015 at 09:47:25AM +, Vikram . wrote:
 I was hoping to hear on just a couple of more things:   
- DSpace being Open Source, how feasible would it be to add encryption 
 DSpace itself. What i mean is, would it be possible to modify the code to 
 integrate encryption so that DSpace does the encryption/decryption itself? 

Possible?  Yes.

- Would such an effort be practical? I mean would be too much effort to 
 achieve something which may/may not be achieved using simpler means?

First show us your threat model.  Why do you need to encrypt?  Against
what attacks are you defending?  How does the system recognize
legitimate access to the repository? to a single object in the
repository?

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/4140/ostg.clktrk___
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] Help with mod_jk, SSL, and local authority cert

2015-01-30 Thread Mark H. Wood
Perhaps the code cannot recognize that the cert. you provided is the
one it wants.  It could be a host name resolution problem.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. 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] How to count submissions within an interval?

2015-01-30 Thread Mark H. Wood
I wanted to double-check: given DSpace 4.0 with PostgreSQL, should
this not give me the number of Items submitted in the year 2014?

  SELECT COUNT(*) FROM metadatavalue
   WHERE metadata_field_id =
(SELECT metadata_field_id FROM metadatafieldregistry
 WHERE metadata_schema_id = 1
 AND element = 'date'
 AND qualifier = 'accessioned')
   AND to_date(text_value,'-MM-DD') = '2014-01-01'
   AND to_date(text_value,'-MM-DD')  '2015-01-01';

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. 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] dpsace3, solr, tomcat7, debian question

2015-01-23 Thread Mark H. Wood
On Fri, Jan 23, 2015 at 02:14:01PM +0100, Lars Schimmer wrote:
 Hi!
 
 I took over a dspace installation with dspace3, Tomcat7 on a debin 7.8
 system.
 
 Now we got a issue with solr: We always get a 403 error, even on a
 localhost request.
 I did checked some online ressources, but they did not bring me along so
 far.
 In tomcat server.xml I did enter this:
 Context path=/solr reloadable=true
Valve className=org.apache.catalina.valves.RemoteAddrValve
 allow=127\.0\.0\.1|129\.27\.218\.d+/

This RE is not quite right, if you meant to accept 129.27.218.0/24.

allow=127\.0\.0\.1|129\.27\.218\.\d+

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet___
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-tech]: Export Import using SAF technique

2015-01-14 Thread Mark H. Wood
On Wed, Jan 14, 2015 at 12:43:00PM +0300, Nada Abo-Eita wrote:
 Hi All,
 
 I just noticed that I have this error in dspace.log:
 
 2015-01-14 10:00:38,797 ERROR org.dspace.discovery.SolrServiceImpl @ *Error
 while writing item to discovery index:* 10576/10556 message:Server at
 http://tspace.qu.edu.qa:8080/solr/search returned non ok status:500,
 message:Internal Server Error
 org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException:
 Server at http://tspace.qu.edu.qa:8080/solr/search returned non ok
 status:500, message:Internal Server Error

mwood@mhw ~ $ HEAD http://tspace.qu.edu.qa:8080/solr/search
500 Can't connect to tspace.qu.edu.qa:8080 (Bad hostname)
Content-Type: text/plain
Client-Date: Wed, 14 Jan 2015 14:00:20 GMT
Client-Warning: Internal response

mwood@mhw ~ $ host tspace.qu.edu.qa
Host tspace.qu.edu.qa not found: 3(NXDOMAIN)
mwood@mhw ~ $

There's your problem.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet___
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] help on recent submissions

2015-01-08 Thread Mark H. Wood
On Wed, Jan 07, 2015 at 11:46:06PM +0100, Hugo Agud wrote:
 On the other hand we have the euskera language translated, how can we share
 with the community.

There is advice on how to contribute to DSpace here:

https://wiki.duraspace.org/display/DSPACE/How+to+Contribute+to+DSpace#HowtoContributetoDSpace-HowToContributeIdeasorSuggestNewFeatures

I think that to contribute a localization, you would add it to the
project dspace-api-lang (for JSPUI and command line tools) and/or
dspace-xmlui-lang (for XMLUI).

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. 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] What's DSpace--Ubuntu--vg-root?

2015-01-04 Thread Mark H. Wood
On Sat, Dec 27, 2014 at 05:27:38AM -0800, P.Hadadan (NW) wrote:
 What's /dev/mapper/DSpace--Ubuntu--vg-root? Where is refer to? It's used most 
 of my storage. Can I Delete It or not, How?

/dev/mapper/* are device nodes created by the Linux kernel's device
mapper.  This one appears to represent an LVM volume group.  It
probably does account for most of your storage, but it isn't *using*
any of it; it should contain logical volumes, which in turn contain
filesystems.  To delete it might have results ranging from disruptive
to disastrous, or might not work at all -- I've never tried.  Do not
manipulate DM nodes as if they were files.

The Ubuntu documentation should explain how the OS uses DM and LVM to
organize raw storage.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. 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] Multiple instances of Dspace 4.x in one Tomcat 7

2014-11-24 Thread Mark H. Wood
On Fri, Nov 21, 2014 at 10:27:10AM -0800, Pablo Courault wrote:
 I was tried to mount two instances Dspace 4.x in one Tomcat 7
 unsuccessfully.
 
 Someone found a way to di it ?

Yes.  In what way were you unsuccessful?

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk___
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] Experience using external handle and/or use cases

2014-11-14 Thread Mark H. Wood
As discussed on #dspace, one important thing to keep in mind is that
DSpace does Handles backwards: it supplies a class for the Handle
server to load, which queries DSpace's database for Handle resolution.
I believe that what was envisioned by CNRI as typical would be for
things to work the other way around: the Handle server is given newly
minted handles by the information service (such as DSpace) and stores
them itself.  So extending the DSpace way across other products may
require writing backwards Handle support for each of those products.

Yes, you can create derived prefixes.  Yes, there is a separate
Annual Service Fee for each prefix, derived or not.  There is no
Registration Fee for derived prefixes.

  http://www.handle.net/HSj/hdlnet-2-SVC-AGREE-3.pdf

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111iu=/4140/ostg.clktrk___
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] Solr Statistics still not working DSpace 4.1

2014-10-20 Thread Mark H. Wood
On Mon, Oct 20, 2014 at 03:16:15PM +1100, Keir Vaughan-Taylor wrote:
 I took a copy of the working Solr statistics from a working machine.
 Then copied the database, the log files and the assetstore across.
 
 The test line
 wget http://127.0.0.1/solr/statistics/select?q=*:*
  works and also the discovery index optime etc doesn;t crash.
 
 Only one problem - no statistics!
 
 i notice in the postgres database there is a table called webapp that
 contains the url of each server from a previous existance.
 
 So we clone the server - recompile dspace and get a new URL in this
 table. On a trial clone i tried making the url all the name of the
 server instance and it didn't seem to do anything helpful ( or bad)
 
 What does this table do? Is it likely to be related to my problem?

I think it unlikely that the webapps table is related to your
problem.  It only exists to allow 'bin/dspace version' to know what
webapp.s are running.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho___
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] idle in transaction

2014-10-13 Thread Mark H. Wood
On Fri, Oct 10, 2014 at 02:53:47PM -0600, James Holobetz wrote:
 We are running:
  
 Dspace version 3.2 on Suse Linux Enterprise Server 11 SP3
  
 java 1.6.0_33
 postgres 8.3.23
 tomcat 6.0.18  
 (these versions are within the SLES upgrade cycle)

That is a very old, no-longer-supported-by-postgresql.org PostgreSQL.

What version of the JDBC driver are you using?  I've seen this problem
with older drivers.

Here we are running on PostgreSQL 9.3.5 and jdbc-postgresql 9.2_p1003.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://p.sf.net/sfu/Zoho___
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 jsp-api-2.1.jar not loaded (DSpace 4.2)

2014-10-13 Thread Mark H. Wood
On Mon, Oct 13, 2014 at 04:45:41PM +0700, Nguyen Hung Thanh wrote:
 I install DSpace 4.2 on windows. When start apache tomcat, dspace run very
 slow.

Do you mean that DSpace takes a long time to start, or that, after is
is completely started, DSpace responds slowly?  Recent versions of
Tomcat spend a lot of time searching every JAR in a webapp. for
descriptor fragments, taglib descriptors, and such stuff, and for a
large product like DSpace, with many dependency JARs, startup can be
slow.

 I would appreciate it very much to have this bug fixed.
 
 *From tomcat7-stderr.2014-10-13.log file*
 
 INFO: *validateJarFile(C:\dspace\webapps\xmlui\WEB-INF\lib\jsp-api-2.1.jar)
 - jar not loaded.* See Servlet Spec 3.0, section 10.7.2. Offending class:
 javax/el/Expression.class
 Oct 13, 2014 2:17:50 PM org.apache.catalina.loader.WebappClassLoader
 validateJarFile
 INFO: validateJarFile(C:\dspace\webapps\jspui\WEB-INF\lib\jsp-api-2.1.jar)
 - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class:
 javax/el/Expression.class

These messages are unrelated to your problem.  See
https://jira.duraspace.org/browse/DS-1997 for details.  These messages
are annoying but harmless.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://p.sf.net/sfu/Zoho___
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] Is it possible to enforce/check that the user use a valid and existing email address when using DSpace forms?

2014-10-01 Thread Mark H. Wood
On Wed, Oct 01, 2014 at 12:49:38AM -0700, euler wrote:
 I'm pretty sure that you have encountered this kind of scenario especially if
 you have enabled the item request feature where a user put a non existing
 email address. You will later discover the Delivery to the following
 recipient failed permanently message when responding to the users'
 request/feedback. Although it is the user's fault for using an invalid/non
 existing email address, we take our user's requests/feedback seriously and
 as much as possible we want to make sure to respond or serve any of their
 requests/feedbacks. Is there a workaround for this? Or is there some way to
 check first and then enforce that the user will use a valid and existing
 email address? Using some sort of verification link to be sent to the users'
 email address like during self-registration might be overkill or a hassle to
 them right? Any ideas?

We are up against fundamental characteristics of Internet mail.  It's
a store-and-forward system distributed over any number of links,
across multiple administrative domains, with indefinite possible
delays.  I think the most that DSpace could reasonably do without
human interaction is to verify that the address is syntactically
correct.

This is why you see that we'll send you an email with a link in it
method so often: it's about the only thing that works.

A possible heuristic approach: send a we're working on it email to
the requester immediately, wait a moment for a bounce message and, if
one arrives, tell the requester what the problem is and to try again.
But, depending on your local network services and policies, DSpace
might not be able to receive bounce messages (or any other messages)
at all.  Or it might take longer than the configured delay for any
number of reasons.  And meanwhile the user is sitting there waiting,
wondering what is taking so long.

(At first it seems simple: send an SMTP VRFY to the distant host and
look at the response.  But these days, you may not be permitted to
open an off-site SMTP connection; the distant host may refuse to talk
to you; the distant SMTP may be configured to deny the use of VRFY --
this is recommended practice.  There are too many ways that this is
commonly broken, for it to be very reliable.)

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk___
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] metadata batch import bug?

2014-09-29 Thread Mark H. Wood
On Fri, Sep 26, 2014 at 10:12:24AM -0400, Peter Dietz wrote:
 Hi Pablo,
 
 Ideally we'd like to be validating that dc.date.* are all valid ISO8601
 dates, but using non-standard values is quite widespread. dc.date.issued:
 WWI, or Circa 1950, or Sept 2014, or 2014 Summer, or Unknown.

I think it's optimistic to suppose that we could always get an ISO
8601 date here.  Those odd values contain information that a day-date
cannot represent.

Aside from fixing the bug (unparseable dates lead to null values which
then make code which expects dates sick), we need to consider how date
metadata are used.  Some need to be convertible to some kind of common
representation of time bindings, but others may not.  Those on which
DSpace does not operate, and whose formats are not defined by external
metadata standards, can probably remain free-form.  For the rest...

Given some time, we ought to build something that can understand
reasonable values here.  I see several classes that must be addressed:

o  Imprecise dates:  Sep-2014, 20th Century.  These have calculable
   limits but may need special-purpose parsing.  They represent
   definite intervals and can be matched without much trouble.

o  Fuzzy dates:  c. 1969, before 1492.  We might represent these as
   intervals with a fuzzy bit to indicate uncertainty:  they cannot
   really participate in comparison without defining just how much
   fuzz is acceptable for a match.

o  Named events and intervals:  WWI.  There are probably too many
   variations for DSpace to handle these out-of-the-box.  Maybe we can
   provide room for pluggable parsing and comparison modules, to
   recognize these as convertible to our hypothetical common
   representation and to do appropriate matching.

o  Unknown.  We should define one or two external representations of
   this and require conformance to them if you really want to enter an
   explicitly unknown date.  Or perhaps anything not parseable should
   be filed as unknown, with a warning on the submission form as you
   suggest.

It might be best to think of these values as sentences in a small
language as we design recognizers and manipulators for them.

The common representation is probably an object containing a pair of
Dates (an interval), the fuzzy bit, the unknown bit, perhaps some
information about how it was understood, and methods for manipulating
these complex beasties.  There is already some code (DCDate) to deal
with imprecise dates, but it may not yet be used everywhere we need
it.  OTOH if the language model fits well, the best common
representation might be a parse tree.

Has anyone formally studied the kinds of date information that
repositories deal with?  What they actually *need*, that is, not the
*interesting* things that people come up with when they have no
standard for dealing with novel problems. :-)

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
Slashdot TV.  Videos for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk___
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 , unable to send email to the address

2014-09-29 Thread Mark H. Wood
I see two problems.

On Mon, Sep 29, 2014 at 08:42:58AM -0700, SSK wrote:
 I run [dspace]/bin/dspace test-email 
 result:
 
 dspace@dspace-pc:/dspace/bin$ ./dspace test-email
 log4j:ERROR setFile(null,true) call failed.
 java.io.FileNotFoundException: /dspace/log/dspace.log.2014-09-29 (Permissão
 negada)

I don't speak Portugese, but I think this is saying that the user who
is running bin/dspace is not permitted to write into the DSpace log
file.  That should not be related to the other problem:

 About to send test email:
  - To: 
  - Subject: DSpace test email
  - Server: **
 
 Error sending email:
  - Error: javax.mail.MessagingException: Exception reading response;
   nested exception is:
   javax.net.ssl.SSLHandshakeException:
 sun.security.validator.ValidatorException: PKIX path building failed:
 sun.security.provider.certpath.SunCertPathBuilderException: unable to find
 valid certification path to requested target
 
 Please see the DSpace documentation for assistance.

DSpace and the mail server attempted to negotiate an encrypted
connection, but the servlet container (Tomcat?) in which DSpace is
running does not have a copy of the root certificate which the mail
server is using, and so does not trust the connection.  If you want to
use SMTP-in-TLS or STARTTLS then you will need to get a copy of the
mail server's root certificate and place it in the servlet container's
trust store so that the mail server's own certificate can be validated.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
Slashdot TV.  Videos for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk___
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 - Statistics issue

2014-09-16 Thread Mark H. Wood
On Mon, Sep 15, 2014 at 10:03:25AM -0500, Naveen Srinivasan wrote:
 I am new to Dspace . I am looking at the installed version to fix the issue.

Since about version 1.7, DSpace has added a Generator META element to
every page, which gives the DSpace version.  Your browser likely can
show it to you if you ask for something like page info.

More recent versions also have the 'bin/dspace version' command.

You can also look at [DSpace]/lib/dspace-api-*.jar, whose name
includes the version.

 Issue : After login to Repository .  On clicking the Statistics link under
 Administrative section is not producing the output .I am getting the below
 message There are currently no reports available for this service. Please
 check back later.
 
 My question is how to find the installed version ? I verified most of the
 cfg files ,but no luck.
 
 Second is how to get the statistics ,i came to know that cron jobs should
 be scheduled,But to schedule it below files are required which I am not
 able to find in my bin directory,
  [dspace]/bin/stat-general
  [dspace]/bin/stat-monthly
  [dspace]/bin/stat-report-general
  [dspace]/bin/stat-report-monthly

That suggests a fairly recent version.  Newer versions of DSpace have
replaced the individual scripts in /bin with the 'dspace' command:

  bin/dspace stat-general
  bin/dspace stat-monthly
  bin/dspace stat-report-general
  bin/dspace stat-report-monthly

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk___
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 1.8.2 Highest supported PostgreSQL

2014-09-11 Thread Mark H. Wood
On Wed, Sep 10, 2014 at 05:35:42PM +, Avino, Thomas W. (LARC-B702)[LITES] 
wrote:
 According to the Dspace documentation, v 1.8.2 supports PostgreSQL versions 
 8.3 and 8.4
 Does anyone have experience with 1.8.2 working with Postgres 9.2 or 9.3?

https://folio.iupui.edu/ is running DSpace 1.8.1 with PostgreSQL 9.3.3.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk___
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] Tomcat takes forever

2014-09-02 Thread Mark H. Wood
On Tue, Sep 02, 2014 at 03:11:15PM +0300, John Chris wrote:
 I have installed DSpace 4.2 through upgrade from 3.1 and also with a 
 fresh install. Both times when I copied the webapps inside Tomcat 
 installation, Tomcat stops rensponding and loading takes forever. If I 
 delete the sword, swordv2 and xmlui folders, the jspui that I want to 
 use works fine. What should cause this bug?
 System: Windows 2008 R2 Standard, Apache Tomcat 8, Apache Ant 1.9.4, 
 Apache Maven 3.2.2, PostgreSQL 9.2, JDK 1.7.0_65 with JRE 7

If you have no use for sword, swordv2, or xmlui then don't copy them
into Tomcat.  It is quite proper to only run the webapp.s that you
intend to use.  (solr is used by xmlui and jspui, and perhaps others,
so it should always be included.)  If the documentation says
otherwise, we should correct it.

Do you find anything suggestive in the Tomcat or DSpace log files,
when Tomcat stops responding?

I see that you have a very recent Tomcat, which is good, but Tomcat 8
and recent Tomcat 7 will search through every JAR looking for
configuration fragments and taglibs unless told not to.  We need to
work out how DSpace should inform Servlet 3.x containers as to which
JARs are worth inspecting.  In the meantime, starting up DSpace on
recent Tomcat releases may indeed just be slow.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/___
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] IMPORTANT NEWS: Important Info for Future Editions | Ranking Web of Repositories

2014-09-02 Thread Mark H. Wood
Points 4, 6 and  7 reveal a profound lack of understanding of
hypertext and fundamental security issues, and I would not be
surprised to learn that they ignore typical user behavior as well.
Does anyone but a sysadmin. or developer really type in direct URLs to
repository content?  Citations please.

I would argue that we can better do without appearing in the Ranking
Web of Repositories, whatever that is, than to give up the ability
to protect our users' credentials.  (Point 4, which disallows HTTPS)

Point 5 is just bizarre.  Why does someone think this is a problem?
Not that I think it particularly useful to use the name of supporting
software in naming a repository service, but how can it possibly hurt?

Are there any actual statistics to support the belief that long URLs
in the interior of a service actually affect anyone's behavior?

It sounds like there should be some discussion among the various
parties.  Where?

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/___
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] Permissions dspace

2014-08-21 Thread Mark H. Wood
On Wed, Aug 20, 2014 at 12:34:57PM -0600, Charlene Chinda Barina wrote:
 Thanks Hilton, but I'm running this on CENTOS 6.5, with tomcat7 being
 pulled from the epel YUM repo; it doesn't store tomcat user data in the
 location mentioned on the wiki.

If you installed Tomcat from your distribution's package manager, then
the package manager probably created a username to run it.  In that
case, the simplest approach is to have DSpace's files owned by the
account that runs Tomcat, rather than trying to fix Tomcat to run as
some other user.  That's what we do here.  You don't need a 'dspace'
account; you need DSpace to be fully accessible to whatever account
runs Tomcat, since DSpace is just kind of a glorified subroutine of
Tomcat (or whatever Servlet container it runs in).

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/___
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 installation problems with 4.1

2014-07-10 Thread Mark H. Wood
On Thu, Jul 10, 2014 at 10:48:41AM +0200, Hilton Gibson wrote:
 Hi Ruben
 
 Is this a bug?

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

This is fixed in DSpace 3.3, 4.2 (unreleased) and 5.0 (unreleased).

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


signature.asc
Description: Digital signature
--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
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 uploading doc

2014-07-02 Thread Mark H. Wood
On Wed, Jul 02, 2014 at 11:26:42AM +0100, Eric Martyns wrote:
 I get this internal system error when ever a submitter is about uploading
 a doc. But after a resend most times the doc eventually gets uploaded,
 sometimes it never does even after many attempts. What could be the reason
 for this and how can I resolve this.

Step one is to find out what the actual problem is.  This message
means have your DSpace administrator look in the DSpace and servlet
container logs for more details.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


signature.asc
Description: Digital signature
--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
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] Setting up SSL with Dspace 4.1

2014-06-25 Thread Mark H. Wood
On Tue, Jun 24, 2014 at 07:41:26PM +, Michael O Holt wrote:
 I'm trying to setup SSL with my Dspace instance (university is now requiring 
 it) and I'm having a hard time getting it to work. I've imported the certs 
 from our institution, and I followed the directions in the documentation to 
 the letter, yet SSL still refuses to work. Currently, I get an 
 ERR_SSL_PROTOCOL_ERROR when trying to connect in Chrome. My Dspace instance 
 is the only site I have the issue with in Chrome, so it's not the usual 
 problem that causes that particular error to come up. Any suggestions as to 
 how I can proceed. Thanks for any help you can offer.

Does Chrome say anything about what *kind* of protocol error it saw?
The more details, the better.

More information might help.  Are you proxying through e.g. Apache
HTTPD or going direct to the servlet container?  Could we see the
configuration of whatever is handling SSL connections (minus
passwords) please?

Does the servlet container (and/or the proxy if you use one) log
anything interesting for these problematic connections?

There is a rather nice SSL/TLS diagnostic at Qualys SSL Labs:

  https://www.ssllabs.com/ssltest/analyze.html

It might tell you something useful.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


signature.asc
Description: Digital signature
--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
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] exceptions in dspace.log

2014-06-25 Thread Mark H. Wood
On Wed, Jun 25, 2014 at 10:18:36AM -0400, Monika Mevenkamp wrote:
 I see a lot of 'java.net.SocketException: Connection reset' in our 
 production system dspace.log.
 For example between 10:05 and 10:13 today, I see 36 lines with 
 'view_bitstream' and 12 lines with 'bitstream threw exception'. Here are 
 two samples:
 
 2014-06-25 10:05:34,224 INFO  TP-Processor10 
 org.dspace.app.webui.servlet.BitstreamServlet @ 
 anonymous:session_id=600DC9838C6246C339A86057ED0E3697:ip_addr=194.248.77.110:view_bitstream:bitstream_id=5087
 
 2014-06-25 10:12:57,168 ERROR TP-Processor12 
 org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/jspui].[bitstream]
  
 @ Servlet.service() for servlet bitstream threw exception
 
 We are running 1.8 with JSPUI
 
 How should I go about finding the root cause ?

Seeing references to JK, it looks like Tomcat is writing the response
back to a proxy over AJP, but the proxy has closed the connection.
What does the proxy log at this time?

 2014-06-25 08:53:27,698 INFO  TP-Processor1 
 org.dspace.usage.LoggerUsageEventListener @ 
 anonymous:session_id=637AE762BBA5BF2F36B3BE614C0AE106:ip_addr=180.222.140.37:view_bitstream:bitstream_id=3358
 2014-06-25 08:53:27,976 ERROR TP-Processor1 
 org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/jspui].[bitstream]
  
 @ Servlet.service() for servlet bitstream threw exception
 java.net.SocketException: Connection reset
  at 
 java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:96)
  at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
  at org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:538)
  at 
 org.apache.jk.common.JkInputStream.doWrite(JkInputStream.java:162)
  at org.apache.coyote.Response.doWrite(Response.java:560)
  at 
 org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:361)
  at 
 org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
  at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:347)
  at 
 org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:392)
  at 
 org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:381)
  at 
 org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:89)
  at 
 java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
  at 
 java.io.BufferedOutputStream.write(BufferedOutputStream.java:109)
  at org.dspace.core.Utils.copy(Utils.java:238)
  at org.dspace.core.Utils.bufferedCopy(Utils.java:264)
  at 
 org.dspace.app.webui.servlet.BitstreamServlet.doDSGet(BitstreamServlet.java:142)
  at 
 org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:126)
  at 
 org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:71)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
  at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
  at 
 org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
  at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
 
 -- 
 Monika Mevenkamp
 phone: 609-258-4161
 Lewis Library,Washington Road and Ivy Lane, Princeton University, Princeton, 
 NJ 08544
 

 --
 Open source business process management suite built on Java and Eclipse
 Turn processes into business applications with Bonita BPM Community Edition
 Quickly connect people, data, and systems into organized workflows
 Winner of BOSSIE, CODIE, OW2 and Gartner awards
 http://p.sf.net/sfu/Bonitasoft

 ___
 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


-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


signature.asc
Description: Digital signature
--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https

[Dspace-tech] DSpace 3.3 released: fixes minor issues in the 3.x platform

2014-06-23 Thread Mark H. Wood
Dear DSpace Community:

On behalf of the DSpace developers, I would like to formally announce
that DSpace 3.3 is now available!  DSpace 3.3 is a bug-fix release and
contains no new features.  It includes several bug fixes which have
been backported to the 3.x platform (from the upcoming 4.2 bug-fix
release).

DSpace 3.3 will likely be the last release on the DSpace 3.x platform.

DSpace 3.3 can be downloaded immediately at either of the following
locations: 

* SourceForge: https://sourceforge.net/projects/dspace/files/
* GitHub: https://github.com/DSpace/DSpace/  (see the dspace-3.3 tag)

== Fixed in 3.3 ==

o  Handle prefix containing a dot generated incorrect identifier.uri
   (DS-1536)

o  Out of Memory errors may occur when indexing large bitstreams/files
   in Discovery (DS-1958)

o  A possible memory leak in the OAI webapp (DS-1898)

o  A problem with repeatable fields in XMLUI submission forms losing
   values (DS-1893)

o  The dspace classpath command threw an error (DS-1998)

o  Thumbnails were not displayed when using JSPUI + Oracle database
   (DS-2013)

o  A fix in OAI harvester test for source sites with many OAI sets
   (DS-1834)

o  If the optional SOLRBrowseDAO was enabled, attempts to remove items
   may have failed with a database exception (DS-1619)

o  Other minor fixes. See Changes in 3.x section for a list of all fixes.

For much more information on each of these features, please visit our
3.x Release Notes: 

  https://wiki.duraspace.org/display/DSPACE/DSpace+Release+3.3+Notes

== 3.3 Documentation == 

The DSpace 3.x documentation is available online at: 
https://wiki.duraspace.org/display/DSDOC3x/

A PDF copy of the documentation can be downloaded from:
http://sourceforge.net/projects/dspace/files/DSpace%20Stable/3.3/DSpace-Manual.pdf/download

== 3.3 Acknowledgments == 

The DSpace application would not exist without the hard work and
support of the community. Thank you to the many developers who have
worked very hard to deliver all the new features and
improvements. Also thanks to the users who provided input and feedback
on the development, as well those who participated in the
testathons. Additionally I would like to thank Tim Donohue of
DuraSpace for ensuring that DSpace 3.3 went off without a hitch. 

A detailed listing of all known people/institutions who contributed
directly to DSpace 3.3 is available in the Release Notes.  If you
contributed and were accidentally not listed, please let us know so
that we can correct it!

For DSpace 3.3, we had a total of 45 individuals contribute bug
reports and bug fixes.  A big thanks goes out to everyone who
participated.  We hope you'll continue to be a valuable addition to
the DSpace community for the next release and beyond!

== More Information == 

More information on this release is also available in the DSpace 3.3
Release Notes at: 

  https://wiki.duraspace.org/display/DSDOC3x/Release+Notes

As always, we are happy to hear back from the community about DSpace.
Please let us know what you think of 3.3! 

- Mark Wood, on behalf of the DSpace 3.3 Release Team, and all the
  DSpace developers.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


signature.asc
Description: Digital signature
--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems___
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] Build Failure running maven

2014-06-03 Thread Mark H. Wood
This (DS-1961) is fixed in DSpace 4.2 (coming soon), DSpace 3.3
(coming soon), and DSpace 5.0.  In the meantime, it is a one-character
fix to [DSpace-source]/pom.xml:  near the bottom, change the URL:

  http://oss.sonatype.org/content/repositories/releases/

to

  https://oss.sonatype.org/content/repositories/releases/

(http: becomes https:.)

https://github.com/mwoodiupui/DSpace/commit/77a8929c72b09d9c26c1ac0e6942e9f9dd98632c

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


signature.asc
Description: Digital signature
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech___
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] Background vs. periodic work [was Re: JAVA_OPTS for cron jobs?]

2014-06-02 Thread Mark H. Wood
On Fri, May 30, 2014 at 10:16:25AM -0400, Peter Dietz wrote:
[snip]
 Not to derail onto a tangent, but one thing I'd like to see DSpace support
 is some type of background-processing-queue.

I would distinguish different types of background activities.

 i.e. new content submitted should be queued to get: initial checksum, virus
 check, media-filters to generate thumbnail and fulltext extraction,
 Discovery needs to index the content

Good idea.  These are relatively short-running, as-needed tasks whose
demand is unrelated to the size of the repository.  They should happen
at submission but it may be annoying to wait for them before
submission completes.  They can all be done using Curation Tasks.  (I
think we ought to do a lot more by attaching tasks to workflow steps
rather than hardcoding stuff or pushing it off to later batch
processing.)

 And then there are maintenance jobs: Recompute the checksum, OAI harvest,
 index-maintenance, ...

Cron and Task Scheduler are your friends.  These grovel over the
entire repository, perhaps for hours, and can demand a lot of storage
bandwidth.  Wearing my sysadmin. hat, I would very much prefer to
schedule these myself using the same facilities that I use for other
long-running resource-hungry periodic maintenance tasks, so that I can
get a complete picture of the expected load by looking in one place.

 New submissions add to the queue, some scheduler can add maintenance tasks
 to the queue. This way you don't run into the issue of 3+ concurrent cron
 jobs because they didn't complete in time. Maybe you can even tie this in
 to the curation task queue system too. In the past we had a GitHub
 Enterprise/Firewall, and being an admin of that shows you fancy admin bells
 and whistles, where you can even inspect the queue.
 
 Now what happens if queue growth exceeds its throughput, we'll cross that
 bridge when we get there.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


signature.asc
Description: Digital signature
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech___
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] Google Scholar - not indexed correctly

2014-05-21 Thread Mark H. Wood
On Wed, May 21, 2014 at 02:00:00PM +0200, Bram Luyten wrote:
 Interesting, thank you for reporting back Stuart.
 It's good to know that downtime in the past can trigger exclusion.

This gave me to think.  We have done quite some work to exclude
spiders from the usage statistics, but I wonder if we could use those
same judgments to generate periodic reports showing *only* who is
spidering a site, and perhaps how often or how aggressively.  It might
be useful for e.g. noticing that a desired spider is *not* listed.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


signature.asc
Description: Digital signature
--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs___
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.x ou 4.x on linux debian 64-bit

2014-04-28 Thread Mark H. Wood
On Mon, Apr 28, 2014 at 10:40:40AM -0300, Anisio Monteiro 
(IPEN/GDS-Informática) wrote:
 Someone could say whether the dspace 3.x or 4.x works on 64-bit computers?

Yes, I can, and yes, it does.  DSpace is written in Java, so it
doesn't care about 32- or 64-bitness.  If you have 64-bit hardware,
you can use the 64-bit version of the Java Runtime Environment.  We
run that way here.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


signature.asc
Description: Digital signature
--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs___
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 get /sorl deployed in 4.1

2014-04-07 Thread Mark H. Wood
On Fri, Apr 04, 2014 at 03:31:49PM -0400, Jose Blanco wrote:
 Before this error takes place I see this in the log file:
 
 Apr 04, 2014 3:27:49 PM org.apache.catalina.loader.WebappClassLoader
 validateJarFile
 INFO: 
 validateJarFile(/deepblue/dspace/repository/dev/webapps_dev/solr/WEB-INF/lib/jsp-api-2.1.jar)
 - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending
 class: javax/servlet/jsp/JspPage.class
 Apr 04, 2014 3:27:49 PM org.apache.catalina.startup.ContextConfig
 applicationWebConfig

This is just an annoyance.  The servlet container provides jsp-api and
already has it loaded by this point, but for some reason (probably
incorrect transitive dependencies?) dspace-solr and dspace-oai have
jsp-api-2.1.jar in their WEB-INF/lib directories.  This is messy but
can be ignored -- the container did the right thing.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


signature.asc
Description: Digital signature
--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test  Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees_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] can't get /sorl deployed in 4.1

2014-04-07 Thread Mark H. Wood
On Fri, Apr 04, 2014 at 04:54:31PM -0400, Jose Blanco wrote:
 Do you know why version dspace 4.1 now requires tomcat 7?  Someone
 here told me that solr is doesn't really needed it?  Is it for another
 dspace webapp that needs 7.  I just want to understand the reason for
 7.  I'm hoping it has to do with solr, because that would explain the
 problem I'm seeing.  Manakin seems to work fine with the tomcat I
 have.

Tomcat 5.5 is no longer maintained, so we can't recommend it.  Tomcat
6 will soon move to the same status, when Tomcat 8 leaves beta.  It
appeared that, well before the next DSpace release, only Tomcat 7
would be supportable.

http://tomcat.apache.org/whichversion.html

Tomcat 5.5 might be troublesome with DSpace 4.1 for other reasons,
since the version of jsp-api that it provides (overriding what DSpace
includes) is 2.0, while dspace-solr and dspace-oai were built against
2.1.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


signature.asc
Description: Digital signature
--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test  Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees_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] can't get /sorl deployed in 4.1

2014-04-07 Thread Mark H. Wood
On Mon, Apr 07, 2014 at 09:04:13AM -0400, Mark H. Wood wrote:
 On Fri, Apr 04, 2014 at 03:31:49PM -0400, Jose Blanco wrote:
  Before this error takes place I see this in the log file:
  
  Apr 04, 2014 3:27:49 PM org.apache.catalina.loader.WebappClassLoader
  validateJarFile
  INFO: 
  validateJarFile(/deepblue/dspace/repository/dev/webapps_dev/solr/WEB-INF/lib/jsp-api-2.1.jar)
  - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending
  class: javax/servlet/jsp/JspPage.class
  Apr 04, 2014 3:27:49 PM org.apache.catalina.startup.ContextConfig
  applicationWebConfig
 
 This is just an annoyance.  The servlet container provides jsp-api and
 already has it loaded by this point, but for some reason (probably
 incorrect transitive dependencies?) dspace-solr and dspace-oai have
 jsp-api-2.1.jar in their WEB-INF/lib directories.  This is messy but
 can be ignored -- the container did the right thing.

This is confusing, when combined with my later remarks.

The container did the right thing (refuse to load from a webapp a JAR
that the container provides) but the result may be bad (because the
provided JAR is older than what the webapp expects).

A newer container, providing a new enough version of jsp-api, will
still complain about the duplication, but should not cause any
problems related to a back-level jsp-api.

I don't know whether that has any connection with the logging problem.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


signature.asc
Description: Digital signature
--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test  Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees_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] problem with build failing in Dspace 3.2

2014-04-04 Thread Mark H. Wood
Odd:  I just moved my ~/.m2/repository/org/sonatype/oss/oss-parent
directory aside, ran 'mvn clean install', and it had no trouble using
http://oss.sonatype.org/content/repositories/releases/; to fetch
oss-parent.

But we may as well secure the connection.  The cost is negligible.
I've submitted an issue to Jira.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


signature.asc
Description: Digital signature
--
___
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 security-related questions

2014-03-18 Thread Mark H. Wood
On Mon, Mar 17, 2014 at 04:03:28PM -0500, Shazia Sathar wrote:
 The DSpace instance I am working on will be used to facilitate data sharing
 of very sensitive information, for example, identifiable health-related
 information. Hence, there is a need to make it a very secure application. I
 am in the process of obtaining information on what needs to be done in
 order to make it secure- server configurations, application configuration,
 database security, etc.

You will want everyone behind a good firewall, then.  Most of the work
on DSpace is done with open access in mind.  Reasonable attention is
paid to access control, but I don't think this has ever been
thoroughly audited.

To be honest, if it were my project I would not use DSpace for highly
sensitive information just yet.  (I don't know what I *would*
recommend.)

A possible work-around would be to store only assets which are already
encrypted.  If the metadata are not themselves sensitive information
then this might be workable.

 Currently,  I have setup the application on one server and the database on
 another. Upon reading the dspace documentation, however, I figured that the
 assetstore directory contains the uploaded data.
 
 1.  Any ideas on how I can secure this directory? Is it possible to
 retrieve the item if the directory gets compromised or does the database
 have some key which is required to retrieve the item?

Assets are not encrypted by DSpace.  They are scattered through a
moderately deep tree of subdirectories, by means of a well-known
hashing function of their content.  The database holds the
relationship.  So it's difficult to find a specific asset without
using the product, but not difficult at all to read or copy anything
you find.  Your only real defense here is to prevent shell access by
untrusted people.  (And, as usual, physical access means Game Over.)

 2. Does it make more sense to move the assetstore directory to a secure
 location? If yes, how can I go about doing this? Since the database will
 have login credentials for all registered users, and the fact that
 registered users have access to the protected information, should I
 consider keeping the assetstore directory and database separated from where
 the application resides?

If you are going that detailed, we need to know your threat model.

 3. Any configuration settings on Apache httpd and tomcat other than making
 dspace run on https?

Make sure that HTTPD does not itself give anyone access to the
assetstore.  Likewise Tomcat.

 4. How can I perform an audit on the system? For example, get a list of
 users who downloaded a particular item.

All access is logged to [DSpace]/log/dspace.log* .  There are a lot of
other records in there too, but the code contains examples of dredging
specific kinds of information out of the log.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


signature.asc
Description: Digital signature
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech___
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] Which log files can I remove

2014-03-18 Thread Mark H. Wood
Well, I don't have a complete answer, but the Cocoon logs are
voluminous and contain nothing I know of that has lasting value.

dspace.log* contain much that could be useful for recovering
statistical data, should you need to.

Common webserver logs can also be gleaned for statistics.

Very recent versions of DSpace also produce separate Solr log files,
which also grow very large.  I am unaware of anything in these that
should be saved for long.

DSpace and webserver log files are highly compressible.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


signature.asc
Description: Digital signature
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech___
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] SRB question

2014-03-17 Thread Mark H. Wood
On Mon, Mar 17, 2014 at 09:54:32AM +0200, Manuel Subredu wrote:
 we would like to use SRB to host the DSpace data to multiple
 servers/storages in multiple locations but at this moment we don't know
 how are the files (uploaded trough DSpace) stored when using SRB. Are
 they stored in filesystem as plain files (that can be easily recovered
 and included into backups) or are stored within a database or something
 else ?

As I recall, the files are stored just the same way in either case,
whether you have a local filesystem or a filesystem on SRB.  The
database only holds the metadata, regardless.

I don't know SRB well at all, so I don't know how hard it would be to
include it in your backups.  The answer to that should not depend on
DSpace.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


signature.asc
Description: Digital signature
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech___
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 to 4 and postgres DB update

2014-03-12 Thread Mark H. Wood
On Wed, Mar 12, 2014 at 05:51:31PM +, Schuster, David wrote:
 Does it matter what user I am when I run this?  Postgre, dspace, root?

An interesting question, since what user I am has two values here.

It doesn't matter what OS user you are.  The DBMS only cares what DBMS
user you are.  You should provide the DBMS credentials for the DSpace
user when upgrading the database:

  $ psql --user [dspace-dbms-user] -f 
[dspace-source]/dspace/etc/postgres/database_schema_3-4.sql [dspace-database]

You should be prompted for the DSpace DBMS user's password.

I'm updating the documentation to explain this better (I hope :-) .

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


signature.asc
Description: Digital signature
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech___
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] DSpace 4.1 released!

2014-03-04 Thread Mark H. Wood
Dear DSpace Community:

On behalf of the DSpace developers, I would like to formally announce
that DSpace 4.1 is now available!  DSpace 4.1 is a bug-fix release and
contains no new features.

DSpace 4.1 can be downloaded immediately at either of the following
locations: 

* SourceForge: https://sourceforge.net/projects/dspace/files/
* GitHub: https://github.com/DSpace/DSpace/  (see the dspace-4.1 tag)

In addition, you are welcome to try out DSpace 4.1 on
http://demo.dspace.org/ and continue to provide any early feedback you
may have.

== Fixed in 4.1 == 

o   Fixed issue where having a period (.) in your handle prefix
generated incorrect identifiers (DS-1536)

o   Fixed broken quick build (from [dspace-src]/dspace) (DS-1867)

o   Fixed a crash of DSpace during CSV import via BTE (DS-1857)

o   Fixed collection harvesting to DSpace via ORE (DS-1848)

o   Fixed deposit of new items via SWORD (DS-1846)

o   Fixed search hit highlighting in XMLUI (DS-1907)

o   Fixed broken 'stat-initial' script (DS-1795)

o   Other minor fixes. See Changes in 4.x section for a list of all fixes.

For much more information on each of these features, please visit our
4.x Release Notes: 

  https://wiki.duraspace.org/display/DSDOC4x/Release+Notes

== 4.1 Documentation == 

The DSpace 4.x documentation is available online at: 
https://wiki.duraspace.org/display/DSDOC4x/

A PDF copy of the documentation is still distributed with the
software.   In addition, it can also be downloaded from: 
http://www.dspace.org/latest-release/

== 4.1 Acknowledgments == 

The DSpace application would not exist without the hard work and
support of the community. Thank you to the many developers who have
worked very hard to deliver all the new features and
improvements. Also thanks to the users who provided input and feedback
on the development, as well those who participated in the
testathons. Additionally I would like to thank Tim Donohue of
DuraSpace for ensuring that DSpace 4.1 went off without a hitch. 

A detailed listing of all known people/institutions who contributed
directly to DSpace 4.1 is available in the Release Notes.  If you
contributed and were accidentally not listed, please let us know so
that we can correct it!

For DSpace 4.1, we had a total of 25 individuals contribute bug
reports and bug fixes.  A big thanks goes out to everyone who
participated.  We hope you'll continue to be a valuable addition to
the DSpace community for the next release and beyond!

== More Information == 

More information on this release is also available in the DSpace 4.1
Release Notes at: 

  https://wiki.duraspace.org/display/DSDOC4x/Release+Notes

As always, we are happy to hear back from the community about DSpace.
Please let us know what you think of 4.1! 

- Mark Wood, on behalf of the DSpace 4.1 Release Team, and all the
  DSpace developers.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


signature.asc
Description: Digital signature
--
Subversion Kills Productivity. Get off Subversion  Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951iu=/4140/ostg.clktrk___
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 update database schema into Window

2014-02-12 Thread Mark H. Wood
I'm not sure what is happening in the lower window.

In the upper window:

1.  ./something isn't a path to something on Windows; use .\something.

2.  There is no pgsql command; use psql.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


signature.asc
Description: Digital signature
--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk___
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] SOLR Optimize fails

2014-02-06 Thread Mark H. Wood
Using 'wget' with a sample request from one of these log entries
suggests that Found means we got back a 302 Found HTTP response code:

mwood@savage ~ $ wget 
'https://scholarworks.iupui.edu/solr/statistics/select?rows=0q=type: 2 AND 
id:807facet.mincount=1shards=scholarworks.iupui.edu/solr/statisticsfacet.field=idfacet=truefacet.limit=10fq=-isBot:truefq=-(bundleName:[*
 TO *]-bundleName:ORIGINAL)fq=-(statistics_type:[* TO *] AND 
-statistics_type:view)wt=javabinversion=2'
--2014-02-06 12:12:28--  
https://scholarworks.iupui.edu/solr/statistics/select?rows=0q=type:%202%20AND%20%20id:807facet.mincount=1shards=scholarworks.iupui.edu/solr/statisticsfacet.field=idfacet=truefacet.limit=10fq=-isBot:truefq=-(bundleName:[*%20TO%20*]-bundleName:ORIGINAL)fq=-(statistics_type:[*%20TO%20*]%20AND%20-statistics_type:view)wt=javabinversion=2
Resolving scholarworks.iupui.edu... 2001:18e8:3:be::102, 134.68.190.85
Connecting to scholarworks.iupui.edu|2001:18e8:3:be::102|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: unspecified
ERROR: Redirection (302) without location.

So we need to figure out what is redirecting and why.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


signature.asc
Description: Digital signature
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk___
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 with phpMyAdmin

2014-02-04 Thread Mark H. Wood
On Tue, Feb 04, 2014 at 05:01:40AM +, M. A. Hayek wrote:
 My university works with phpMyAdmin database, and I need to configure dspace 
 to work with this database.I did not find a clear, thorough and comprehensive 
 answer regarding this issue.So clearly and inclusively please;  can I use 
 dspace with phpMyAdmin database, and if so, what different configurations I 
 need to do from using postgreSQL or oracle.

phpMyAdmin is a front-end for managing MySQL.  DSpace does not
officially support MySQL, and I can't say whether the combination
works properly or ever has.  Others have investigated the possibility
but I don't know what they found.

PostgreSQL costs nothing to acquire, and I find it easy to operate and
maintain.  (And I am not now, nor have I ever been, a real DBA.)

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


signature.asc
Description: Digital signature
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk___
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] Postgresql 9.3

2014-02-04 Thread Mark H. Wood
On Tue, Feb 04, 2014 at 01:56:20PM +, Alain Tschanz wrote:
 Is DSpace 4.0 compatible with Postgresql version 9.3?

That describes my current DSpace development environment.  It works
well for me.  I've had no problems out of Pg 9.3 so far.

 If so, would there be an advantage to upgrading to the latest Postgresql 
 version?

That depends on whether you favor having all the latest bug fixes,
regardless of whether you have known problems, or you adhere more
strongly to the maxim:  if it ain't broke, don't fix it.  I haven't
heard of any problems with running DSpace 4.0 on Pg 9.1 either.

In short, I don't think you can go wrong with either 9.1 or 9.3.

The PostgreSQL maintainers recommend always running the latest
released version.  http://www.postgresql.org/support/versioning/

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


signature.asc
Description: Digital signature
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk___
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 mail issue

2014-02-04 Thread Mark H. Wood
On Tue, Feb 04, 2014 at 07:31:40PM +0530, rocky bang wrote:
 hii all,
 
 1) I installed dspace 1.8.2 on ubuntu 12.04 recently, but when i add
 e-person to dspace and try to login using username, i clicked on forgot
 password provided my email, but it throws internal system error.

Whenever you see that Internal system error message, you should look
in the log files to see if there is more information about what
happened.

https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error

 It seems there is problem regarding sending mail using dspace, How to i
 configure dspace to send mail?

That depends on the email environment at your site.  More information
would help.

 2) Another issue is when i try to import .sql file of other dspace into my
 dspace it throws some error
 psql -h hostname -d databasename -U username -f file.sql

It is difficult to assist, when all we have been told is some
error.  What error, specifically?

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


signature.asc
Description: Digital signature
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk___
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] directory size

2014-02-03 Thread Mark H. Wood
On Mon, Feb 03, 2014 at 06:03:49PM +0800, ad...@unhas.ac.id wrote:
  Current size of our dspace is like this:
  /log: 90 Gb
  /assetstore: 12 Gb
  /SOLR: 5.4 Gb
 
  Can you give suggestions on how to 'cut' the size of log directory?
  any hints for future daily operational to minimize the log?

A quick suggestion:  these log files are highly compressible.  You
could probably squeeze that 90Gb down to 9-10Gb just by packing the
older logs into Zip archives.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


signature.asc
Description: Digital signature
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk___
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/Tomcat Ownership

2014-01-31 Thread Mark H. Wood
On Fri, Jan 31, 2014 at 05:25:22PM +1100, David Cook wrote:
 I'm just curious as to why DSpace and Tomcat need to be run as the same
 user.

Because Tomcat needs access to DSpace's files and directories.  The
simplest way to do that is to have Tomcat own them.

Tomcat is the only thing that is running.  DSpace is a web
application deployed in the servlet container that Tomcat provides.

 I've often set built DSpace using a dspace user, then forgotten to switch
 ownership to Tomcat, and I've gotten errors when running DSpace for the
 first time.

Don't do that.  Install DSpace as whatever user owns Tomcat.  There's
no need for a user dspace unless Tomcat runs as dspace.

I'm aware that many distro.s set up the 'tomcat' user with /dev/null
for a home directory.  See below -- by install I only mean the final
placement of the files, which could be built anywhere.

 However, with subsequent builds, when I revert back to dspace and forget
 to switch back to tomcat, I don't receive those errors anymore.

[Groucho] Don't do that.

 I tend to install Tomcat via apt-get or yum so I don't have the control of
 installing Tomcat as the DSpace user. 

This is something that was not recognized in the documentation for
some time -- it was assumed that you were manually installing Tomcat
etc. from source and had full control of the account used.  I hope
that we have now fixed that, but the instructions you see will depend
on which version you are reading.

If you installed Tomcat using your distro's package manager, ignore
any mention of the 'dspace' user and use whatever account runs your
instance of Tomcat.

 Any tips or best practices on this one? (Rather than switching back and
 forth between a builder user and a server user)

When I want to install a new version that we've worked up, I log onto
the server as me, check out the new version from our local VCS,
build, 'su', 'su tomcat', and install.  All the installed files will
be owned by 'tomcat'.  I keep a second terminal window open running as
root for things like restarting Tomcat.

In my development environment, I make liberal use of ACLs to ensure
that my developer persona has sufficient access to my local test
Tomcat's directories and Tomcat has sufficient access to what I
install.  I have a directory ~/dspaces with a default ACL that makes
Tomcat an owner of any new DSpace instance I install under it, and
$CATALINA_BASE/conf/Catalina/localhost has an ACL that lets me drop
Context files into it as me, to be owned by me and readable by
Tomcat.

BTW I find it helpful to think of DSpace installation in two phases.
'mvn' is the build phase, and can be run as anyone.  'ant' is the
install phase and may be best done as Tomcat's owner.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


signature.asc
Description: Digital signature
--
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk___
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/Tomcat Ownership Followup

2014-01-31 Thread Mark H. Wood
On Fri, Jan 31, 2014 at 05:28:43PM +1100, David Cook wrote:
 If a person wanted to run Tomcat as the Dspace user, would it be enough to
 change the group for /usr/share/tomcat7 and to change the TOMCAT_USER in
 /etc/tomcat7/tomcat7.conf?

There might also be stuff in something like /var/lib/tomcat7.  There
is, in Gentoo:

  CATALINA_HOME=/usr/share/tomcat-7/
  CATALINA_BASE=/var/lib/tomcat-7/

But that seems like doing it the hard way.  You don't need to have a
dspace user at all.  All you need is your account for building (so
that if you make a mistake, you don't damage Tomcat) and the account
that runs Tomcat.  And fighting your package manager seems like a
great idea if you enjoy frustration.

I actually tried this once.  That's how I learned to never do it
again.  I recommend against it.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


signature.asc
Description: Digital signature
--
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk___
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

  1   2   3   4   5   6   >