[dspace-tech] Re: Eperson.java Dspace 5.6

2017-05-02 Thread Mark Wood
The only cases where s="m.text_value" are 'case LANGUAGE' and 'default'. In each of those, 't' will be nonempty and so the first query() call should be used. In that query, 'm' is defined. I think we'll need to see some of the log surrounding the internal error, so that we know what kind of e

Re: [dspace-tech] Error running cleanup task in DSpace 5.x

2017-04-26 Thread Mark Wood
On Tuesday, April 25, 2017 at 11:28:05 AM UTC-4, Alan Orth wrote: > > Hello, a small update. > > It took me a few days, but I ran the cleanup task over and over and waited > for it to crash, each time adding the conflicting bitstream ID to a long > list of IDs to delete (70 in total, in a SQL que

[dspace-tech] Re: Downloads.

2017-04-10 Thread Mark Wood
On Tuesday, April 4, 2017 at 11:10:58 PM UTC-4, Mark Lamont wrote: > > I'm am in the process of setting up an information repository with DSpace > and am wondering if there is a way to make files available to users without > them being downloadable? Most of what I've submitted needs to be downloa

[dspace-tech] Re: dspace 5.6 rest api

2017-04-10 Thread Mark Wood
On Monday, April 3, 2017 at 4:12:42 PM UTC-4, Ricardo Campos wrote: > > Hi. > > >> Some further information on the problem. >> > > I configured DSpace to give me some debug information and I found some > errors, all related to same thing: > > 2017-04-03 16:54:57,749 ERROR org.dspace.statistics.S

[dspace-tech] Re: How to set the metadata type according to the file format?

2017-03-30 Thread Mark Wood
[Need to set the dc.type of a number of items, based on the format of a bitstream of the item.] This sounds like a job for a curation task . -- You received this message because you are subscribed to the Google Groups "DSpace Technic

[dspace-tech] Re: Adding e-people into groups automatically

2017-03-28 Thread Mark Wood
On Tuesday, March 28, 2017 at 5:57:05 AM UTC-4, Layale Bassil wrote: > > I have seen this question on the forums and the answer to it was to use > LDAP authentication which we are already using and then edit the > authentication-ldap.cfg file and set the logins.specialgroup = A property > and gi

[dspace-tech] Re: i'm trying restore an community with dspace packager -r -s -k -a -t AIP

2017-03-24 Thread Mark Wood
I answered this in http://stackoverflow.com/questions/42982637/im-trying-restore-an-community-with-dspace-packager but for the list, a quick summary: PREMISCrosswalk can't deal with the number 2237780334 because it uses an int rather than a long to compare the declared size with the long retu

[dspace-tech] Re: Logout issue

2017-03-16 Thread Mark Wood
On Thursday, March 16, 2017 at 6:13:16 AM UTC-4, admin wrote: > > Hello, > > I use DSpace 6, tomcat 8.5.4, and experience http 302 issue upon logout. > I found this entry: > https://groups.google.com/forum/#!topic/dspace-community/EHEpYhIcYCE but > the solution didn't help, or I am doing somethin

Re: [dspace-tech] Auto-assign e-person to a group upon registration

2017-03-16 Thread Mark Wood
But please note that "special groups" are assigned to *user sessions*, not to epersons. Special group membership lasts until logout and is not recorded anywhere. If you need for a new account to be permanently a member of a group, so that this membership affects what others do, a special grou

[dspace-tech] Re: delete on table "eperson" violates foreign key constraint

2017-03-08 Thread Mark Wood
Well, I would say that it's doing what it is supposed to, by preventing us from breaking one or more resource policies which would otherwise be referring to a nonexistent object. But that's not very interesting if you need to delete an eperson. DO you need to delete the account, or would it b

[dspace-tech] Re: Batch uploading bitstreams before adding metadata

2017-02-28 Thread Mark Wood
The spreadsheet is not necessary; lots of people use that method because they are familiar with spreadsheet tools. The important thing is that you somehow create the archive format that DSpace will try to read. It shouldn't be too difficult to write a script that would, for example: walk a di

[dspace-tech] Re: Dspace Handle Server error

2017-02-27 Thread Mark Wood
It seems that the handle service is not opening sockets. If it isn't logging any errors at startup, you may have to run it in a system call tracer (strace, truss, whatever you have) and see what happens when it tries to open these sockets. Silly question: the handle service *is* still configu

[dspace-tech] Re: PSA: Security issue in Ruby version manager (rvm)

2017-02-17 Thread Mark Wood
On Wednesday, February 15, 2017 at 8:03:06 AM UTC-5, Alan Orth wrote: > > Hello, > > I just thought I'd send word of several security issues in Ruby version > manager (rvm). If you're using Mirage 2 with DSpace 4, 5, or 6 you most > likely have rvm installed and should upgrade it at your soonest

[dspace-tech] Re: ant fresh_install vs postgres

2017-01-31 Thread Mark Wood
On Monday, January 30, 2017 at 7:16:53 PM UTC-5, Walter Rutherford wrote: > > I think that all makes sense. If I'm logging in from user 'dspace' to > 'dspace' in posgres it uses > the peer rule and lets me in without a password. Any other user would have > to be accessing > their own user/databa

Re: [dspace-tech] 6.0 upgrade

2016-12-14 Thread Mark Wood
I've seen cases where the relevant information was in another Tomcat log. Here, I also get logs named localhost-$DATE.log. (Not the same as localhost_access-$DATE.log) I would look around in Tomcat's log directory to see if there is anything else covering the same time span, and what might b

[dspace-tech] Re: SAF and Metadata Export Ordering

2016-12-08 Thread Mark Wood
It's probably ordered by whatever the DBMS finds convenient. In that case it may not even be consistently ordered as items are added to a collection. A relational query doesn't guarantee any particular order; the DBMS is free to arrange and re-arrange its own storage in implementation-depende

[dspace-tech] Re: Question about DSpace code and version control of local mods

2016-12-08 Thread Mark Wood
We used to keep our local DSpace in SVN alongside a copy of stock code, to make it easy to keep our mod.s updated. Some time ago we switched to git, and now keep local DSpace and stock in a local instance of GitHub Enterprise. I find SCM tools to be much easier to work with than the overlay s

[dspace-tech] Re: Tomcat 8 versus Tomcat 7

2016-12-08 Thread Mark Wood
On my development box I'm currently using Tomcat 8.0 with 5x and 6. We're still on 7.0 in production (5x) but I want to move to 8 when I can find the time. The only issue I can recall is that Tomcat 8's classloader setup is much more finicky, and that collides with the way I like to deploy web

[dspace-tech] Re: [dspace-community] Re: PostgreSQL question in upgrading to DSpace 6.0

2016-11-28 Thread Mark Wood
On Monday, November 28, 2016 at 8:43:12 AM UTC-5, wangyo wrote: > > Hi Mark, > > > You can change that last record from "md5" (which requires a password) > to "trust"... > > I did that. > > Then I restarted postgresql-9.5, and ran the cammond as follows: > > [root@dr data]# /usr/pgsql-9.5/bin/psql

[dspace-tech] Re: Handle server in separate machine

2016-11-28 Thread Mark Wood
See https://github.com/DSpace/Remote-Handle-Resolver for one approach. -- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscr...@google

[dspace-tech] Re: Sub-communities and collections not sorted alphabetically in the new version (6.0-rc2-SNAPSHOP)

2016-11-23 Thread Mark Wood
This was discussed today in the DSpace developers' meeting. It looks like a bug, and the recommendation is to submit a Jira issue so that it stays on the radar. -- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from t

[dspace-tech] Re: PostgreSQL question in upgrading to DSpace 6.0

2016-11-23 Thread Mark Wood
On Wednesday, November 23, 2016 at 10:17:31 AM UTC-5, wangyo wrote: > > Dear all, > > One of the DSpace 6.0 pre-requisites is PostgreSQL 9.4 or above. My > current DSpace 5.1 installation has PostgreSQL 9.2. So I have to upgrade my > PostgreSQL first in order to upgrade to DSpace 6.0. My OS is R

[dspace-tech] Re: Help with setting up virus scan curation task

2016-11-09 Thread Mark Wood
It's trying to send an email (UIUtil.sendAlert()), and it looks like there is something funny about the current user's EPerson, or at least the in-memory copy of it. This code path definitely needs more logging. -- You received this message because you are subscribed to the Google Groups "DSp

Re: [dspace-tech] problem user dspace

2016-11-08 Thread Mark Wood
On Monday, November 7, 2016 at 2:16:06 PM UTC-5, hoska...@gmail.com wrote: > > thanks for your reply > > in my system tomcat run under user tomcat8. i have not changed this. > i set the dspace's installation directory owner to user tomcat8. (Chown > -R tomcat8:tomcat8 /opt/dspace) > i afraid for

Re: [dspace-tech] problem user dspace

2016-11-07 Thread Mark Wood
You should not have two users "dspace" and "tomcat"! If Tomcat is run by a user named "fred" then the installed DSpace files and directories should be owned by user "fred". It is that simple. Whatever user owns Tomcat should own DSpace too. They are not two separate processes. If Tomcat is

[dspace-tech] Re: Εrror Related to SHERPA beans initialization

2016-10-27 Thread Mark Wood
By reading [DSpace-source]/dspace/src/main/config/build.xml I see that '-Dconfig=' specifies the location of dspace.cfg, while local.cfg is specified using '-Dlocal-config='. I can imagine that many strange things happen when DSpace is deprived of most of its configuration. This is interesting

[dspace-tech] DSpace 6.0 Release Candidate #4 is available now. 6.0 final coming soon.

2016-10-17 Thread Mark Wood
The fourth release candidate of 6.0 is now available for download and testing. 6.0-RC4 (Release Candidate #4) is a pre-release of 6.0, and we hope that the 6.0 final release will follow closely in its footsteps. We'd appreciate additional testers to help us verify no additional major bugs or

[dspace-tech] Re: Assetstore Size limitation

2016-10-06 Thread Mark Wood
The only limitation I can think of in DSpace itself is the size of the unique identifier by which a bitstream is retrieved. In DSpace 6, that's a UUID, which is a 128-bit number. In v5 and earlier it was a Java 'int', which is *only* 32 bits signed (so, can identify 2 billion bitstreams). The

[dspace-tech] Re: db password question

2016-10-06 Thread Mark Wood
In DSpace 6, local.cfg is read using Apache Commons Configuration, so see https://commons.apache.org/proper/commons-configuration/userguide/howto_properties.html. In short: you could escape the '#' as '\#', and might need to if this were read using java.util.Properties, but it appears that th

[dspace-tech] Re: IPV6?

2016-09-15 Thread Mark Wood
We've been running DSpace from v1.5x through v5.2 with both v4 and v6 addresses for longer than I can recall. It works well. We run it behind Apache HTTPD 2.4 via mod-proxy-ajp, so Tomcat 7 only has to deal with the local HTTPD, but I'm not aware of any particular IPv6 problems in Tomcat. >

[dspace-tech] Re: Dspace on WebSphere

2016-09-07 Thread Mark Wood
I have never heard of anyone trying DSpace on WebSphere. I can't think of any reason why it *cannot* work. But JEE provides a lot more infrastructure than DSpace is used to, and you may see collisions between JARs provided by the container and those packaged with DSpace. That was my experien

[dspace-tech] Re: How do I set XMLUI as the default interface without including /XMLUI in the url?

2016-08-18 Thread Mark Wood
On Thursday, August 18, 2016 at 2:27:37 PM UTC-4, Tom Avino wrote: > > We are currently using Dspace 3 JSPUI and are upgrading to XMLUI Dspace > 5.5. > Is there a way for our current url to use XMLUI without adding that to the > URL? I have noticed on the Dspace site under "Who is using Dspace",

[dspace-tech] Re: Request Copy of Document, but its too big for the mailserver...

2016-08-10 Thread Mark Wood
On Tuesday, August 9, 2016 at 5:34:13 PM UTC-4, Anton Angelo wrote: > > If a client wants to release a copy of a document, but it is too large for > our puny University mail server, they get the following error: > > > > "552 5.3.4 Error writing message - message size exceeds the size limit of >

[dspace-tech] Re: installation failed of Dspace in Ubuntu

2016-07-26 Thread Mark Wood
On Friday, July 22, 2016 at 11:47:03 PM UTC-4, Souradip Banerjee wrote: > > [java] 2016-07-23 09:15:09,647 INFO > org.dspace.services.caching.CachingServiceImpl @ destroy() > Notice that in this very first message that you report, DSpace is already shutting down. The error had already h

Re: [dspace-tech] HA Clustering Dspace

2016-07-22 Thread Mark Wood
On Thursday, July 21, 2016 at 3:13:35 PM UTC-4, Peter Dietz wrote: > > From my investigations into DSpace, the key element that I would like to > de-couple from DSpace is SOLR. > > Say you were going to build a new frontend to DSpace that heavily used the > DSpace REST API. You could have multip

[dspace-tech] Re: DSpace, JDBC PostgreSQL Connector and tcpKeepAlive

2016-07-20 Thread Mark Wood
You could try adding it to the db.url value: "db.url = jdbc:postgresql://localhost:5432/DS-3176?tcpKeepAlive=true" I'd be more inclined to configure the connection pool to test connections before use, but that is a bit more involved: you'd need to explicitly declare to Tomcat a for DSpace (i

Re: [dspace-tech] Recommended Testing Strategy

2016-06-08 Thread Mark Wood
On Tue, Jun 07, 2016 at 12:09:41PM -0500, Tim Donohue wrote: > As far as I'm aware, that's just how a Maven test runs. It automatically > will try to run tests in all modules, but it only will execute ones that > it finds. So, most modules will report that no tests were found. I'm > unaware of an

[dspace-tech] Re: No parameter substitution in ant when creating log.dir - DSpace 6 RC1

2016-05-23 Thread Mark Wood
This should have been corrected in https://github.com/DSpace/DSpace/pull/1364. log.dir no longer exists in the DSpace configuration; it is only defined in the log4j configuration. If a property is not defined, no substitution is done. -- You received this message because you are subscribed