Re: [Dspace-tech] Updating stats with new spider IP addresses

2012-12-20 Thread Steve Swinsburg
, December 20, 2012, Steve Swinsburg wrote: Does anyone ever update their solr stats? Does anyone know about the performance issue I am seeing here? thanks, Steve On 18/12/2012, at 5:15 PM, Steve Swinsburg steve.swinsb...@anu.edu.au wrote: Hi all, We have identified a number of new spider IP

Re: [Dspace-tech] Updating stats with new spider IP addresses

2012-12-19 Thread Steve Swinsburg
Does anyone ever update their solr stats? Does anyone know about the performance issue I am seeing here? thanks, Steve On 18/12/2012, at 5:15 PM, Steve Swinsburg steve.swinsb...@anu.edu.aumailto:steve.swinsb...@anu.edu.au wrote: Hi all, We have identified a number of new spider IP addresses

[Dspace-tech] Updating stats with new spider IP addresses

2012-12-17 Thread Steve Swinsburg
Hi all, We have identified a number of new spider IP addresses from Google and other indexers being responsible for vastly inflating our stats. I've created a local spider filter list with the IP addresses and I am running the stats updater: dspace stats-util -m to reprocess the stats and mark

[Dspace-tech] Interested in a simplified build?

2012-11-22 Thread Steve Swinsburg
a pull request. regards, Steve -- Steve Swinsburg Java Team Leader Information Technology Infrastructure Information Technology Services Building 3K The Australian National University Canberra ACT 0200 T: +61 2 6125 6608 F: +61 2 6125 0449

Re: [Dspace-tech] Interested in a simplified build?

2012-11-22 Thread Steve Swinsburg
the database etc, though these could still all be bootstrapped via Maven. regards, Steve -- Steve Swinsburg Java Team Leader Information Technology Infrastructure Information Technology Services Building 3K The Australian National University Canberra ACT 0200 T: +61 2 6125 6608 F: +61 2 6125 0449

[Dspace-tech] Using ant 1.8 on DSpace 1.8 or higher causes problems

2012-11-15 Thread Steve Swinsburg
Hi all, We've just discovered an issue in the build.xml on DSpace 1.8 and higher, if using an Ant version less than 1.8 (ie we are using Ant 1.7.1). There is a check in the build.xml for whether or not to overwrite configs (see the unless attribute): target name=copy_configs_keep

Re: [Dspace-tech] Using ant 1.8 on DSpace 1.8 or higher causes problems

2012-11-15 Thread Steve Swinsburg
Correction, I meant that if you set -Doverwrite=true (which is the default), then that target still runs even though its not meant to. In any case, Ant 1.8+ is required. cheers, Steve On 16/11/2012, at 12:44 PM, Steve Swinsburg steve.swinsb...@anu.edu.aumailto:steve.swinsb...@anu.edu.au

Re: [Dspace-tech] dspace.baseUrl

2012-09-16 Thread Steve Swinsburg
these placeholders. cheers, Steve -- Steve Swinsburg Java Team Leader Information Technology Services Division of Information Building 3K The Australian National University Canberra ACT 0200 Australia T: +61 2 6125 6608 F: +61 2 6125 0449 CRICOS Provider #00120C On 14/09/12 1:48 AM, Mark H. Wood

Re: [Dspace-tech] Enhancing DSpace thumbnail image resolution

2012-09-06 Thread Steve Swinsburg
To be frank, DSpace shouldn't be manually scaling images. I used to do this in code of my own too, and abandoned it for this library, which had much better performance and results: http://www.thebuzzmedia.com/software/imgscalr-java-image-scaling-library/ cheers, Steve -- Steve Swinsburg Java

Re: [Dspace-tech] Adding QR-code to a cover page

2012-07-22 Thread Steve Swinsburg
Hi, You need to encode the URL to the item before submitting it to the google API. The in your URL is truncating the request. If you URL encode it first then you won't have that problem. Cheers, Steve Sent from my iPad On 23/07/2012, at 12:55, Nemiz, Elvi S.

Re: [Dspace-tech] Listing articles of a given collection in a Departmental webpage

2012-07-17 Thread Steve Swinsburg
Hi You could use one of the feeds for a collection and then just transform that into HTML. We were looking at enhancing the RSS feed for this purpose. Cheers Steve Sent from my iPhone On 17/07/2012, at 16:58, amutsikiwa amutsik...@uzlib.uz.ac.zwmailto:amutsik...@uzlib.uz.ac.zw wrote: Hi We

Re: [Dspace-tech] [Dspace-devel] DSpace REST API

2012-07-10 Thread Steve Swinsburg
Which part of entitybroker/entitybus are you using that relies on the Sakai maven repo? I'm a Sakai developer and can get things squared away so the artifacts go to central instead. Cheers Steve Sent from my iPhone On 10/07/2012, at 21:40, Mark Diggory mdigg...@atmire.com wrote: I will

Re: [Dspace-tech] REST API for DSpace

2011-03-15 Thread Steve Swinsburg
A 500 is an internal server error, what do the logs say? cheers, Steve On 15/03/2011, at 9:03 PM, Mark Melia wrote: Hi Bojan, I have taken the latest code from the SVN address above and the authentication issue is still there. I am not sure how you are able to over come it without

Re: [Dspace-tech] Debugging JSP user interface

2011-03-10 Thread Steve Swinsburg
Hi, These are logged to the dspace logs, if you tail those you'll see the stacktrace. Although I'd be interested in knowing if we can present the stacktraces in the UI as well, maybe on that 'Internal Server Error' page. cheers, Steve On 10/03/2011, at 9:11 PM, Craig Brute wrote: Hi

Re: [Dspace-tech] Single Sign On with SharePoint

2011-02-17 Thread Steve Swinsburg
I asked a question about CAS and DSpace a while ago but received no response. Has anyone implemented DSpace with CAS? cheers, Steve On 18/02/2011, at 2:23 AM, Jason Stirnaman wrote: Palash, I haven't seen a response to your question, so I'll jump in even though I don't have firsthand

Re: [Dspace-tech] Blocking a single ip address from accessing a DSpace instance

2011-02-12 Thread Steve Swinsburg
Hi, The simplest way would be through your Apache configuration. This example limits to certain IP addresses, easy to make the other way around: Location / Limit GET POST deny from all allow from 123.546. 123.789. 30.100.0.0/13 123.0.2 /Limit /Location cheers, Steve On 13/02/2011,

Re: [Dspace-tech] Blocking a single ip address from accessing a DSpace instance

2011-02-12 Thread Steve Swinsburg
className=org.apache.catalina.valves.RemoteAddrValve deny=192.168.0.1/ Or what ever the IP address is that you wish to block. You will need to restart Tomcat after that. Cheers, Jason Message: 4 Date: Sun, 13 Feb 2011 09:33:53 +1100 From: Steve Swinsburg steve.swinsb...@gmail.com

Re: [Dspace-tech] Any way to purge empty metadata fields? (csv bulk editor woes)

2011-02-07 Thread Steve Swinsburg
We removed some empty metadata fields today. Whilst not a recommended approach, it's pretty easy. If you look at the logs, DSpace itself does the same thing. Assuming metadata_field_id is 12345: delete from metadatavalue where metadata_field_id='12345'; delete from metadatafieldregistry where

[Dspace-tech] Support for CAS Single Sign on

2011-02-06 Thread Steve Swinsburg
Hi all, Does DSpace support CAS? I found an old post with an expired link but apart from that, no other information. thanks, Steve -- The modern datacenter depends on network connectivity to access resources and

Re: [Dspace-tech] want to see my page http://localhost instead ofhttp://localhost:8080/dspace

2011-01-24 Thread Steve Swinsburg
A better way of doing this is to run Apache HTTP in front and connect it to Tomcat running on a port above 1024 using mod_jk or mod_proxy. If you run tomcat on port 80 (or anything below 1024) you need to run it as root. Running webapps as root is extremely dangerous as JSPs in particular can

Re: [Dspace-tech] Modifying bitstream authorization for the whole collection

2011-01-24 Thread Steve Swinsburg
Hi, We are interested in this feature also, is this new for 1.7.0? We are currently on 1.6.2 but can't seem to find it. cheers, Steve On 24/01/2011, at 10:52 PM, Claudia Jürgen wrote: Hello, in order to bulk change existing policies, you can use the Advanced/Item wildcard policy admin

Re: [Dspace-tech] multiple licenses

2010-12-22 Thread Steve Swinsburg
the possibility to enter a license text. best regards, Bram Luyten @mire Technologielaan 9 - Heverlee 3001 - Belgium 2888 Loker Avenue East, Suite 305 - Carlsbad, CA 92010 - USA atmire.com - Institutional Repository Solutions On Wed, Dec 22, 2010 at 12:31 AM, Steve Swinsburg steve.swinsb

[Dspace-tech] multiple licenses

2010-12-21 Thread Steve Swinsburg
Hi, We have multiple submission forms because our collections are somewhat different. However it appears we can only have one license? Are we able to have multiple licenses so we can associate each submission form with a different license? thanks, Steve

Re: [Dspace-tech] Problem installing 1.7

2010-12-07 Thread Steve Swinsburg
Hi Glenn, What user are you starting Tomcat as? Steve On 04/12/2010, at 6:57 AM, Bunton, Glenn A. wrote: Below is what I find in the tomcat6 log after trying to connect to the newly installed dspace 1.7. I noticed the access denied item so I went back and opened all the permissions for

Re: [Dspace-tech] index-init

2010-11-15 Thread Steve Swinsburg
HI, Can you try adding -v afterwards to turn on verbose logging, and so we get a bit more of what the cause might be? Also, you shouldn't need to run it as sudo? /home/dspace/bin/index-init -v cheers, Steve On 15/11/2010, at 9:56 PM, Webshet, Sisay (ILRI) wrote: Hi All, This is my

Re: [Dspace-tech] postgres/postmaster 99%

2010-11-14 Thread Steve Swinsburg
01:30, Steve Swinsburg steve.swinsb...@gmail.com wrote: Hi Graham, We have ~48000 records in the item table, and ~263,000 in the bi_4_dmap table. We've recreated the indexes (only via index-update though, should we run index-init?) and things went ok for a while, but now back up to 99

Re: [Dspace-tech] email problem

2010-11-13 Thread Steve Swinsburg
Hi, Here's your issue: javax.mail.AuthenticationFailedException at javax.mail.Service.connect(Service.java:306) at javax.mail.Service.connect(Service.java:156) at javax.mail.Service.connect(Service.java:105) at javax.mail.Transport.send0(Transport.java:168) at

[Dspace-tech] postgres/postmaster 99%

2010-11-10 Thread Steve Swinsburg
Hi all, We are experiencing an issue on both of our dspace instances where postmaster spins up 99% of the CPU. Sometimes it's just one process at 99%, othertimes its a dozen or more processes around 7-9% each. I ran some stats on postgres via: select * from pg_stat_activity I found this query

Re: [Dspace-tech] postgres/postmaster 99%

2010-11-10 Thread Steve Swinsburg
performed a vacuum. Any information would be much appreciated. cheers, Steve On 11/11/2010, at 9:12 AM, Steve Swinsburg wrote: Hi all, We are experiencing an issue on both of our dspace instances where postmaster spins up 99% of the CPU. Sometimes it's just one process at 99%, othertimes its

Re: [Dspace-tech] postgres/postmaster 99%

2010-11-10 Thread Steve Swinsburg
for the join between the tables). Additionally, you may need to analyze and/or reindex the tables. How many items are in the repository, and how many values do you have in the 4th browse option (subject?). And what version of Postgres are you running? G On 10 November 2010 22:42, Steve Swinsburg

Re: [Dspace-tech] thumbnails restricted if main item is restricted

2010-11-04 Thread Steve Swinsburg
-Original Message- From: Steve Swinsburg [mailto:steve.swinsb...@gmail.com] Sent: Wednesday, November 03, 2010 9:39 PM To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] thumbnails restricted if main item is restricted We've fixed this up with some carefully crafted SQL

[Dspace-tech] thumbnails restricted if main item is restricted

2010-11-03 Thread Steve Swinsburg
Hi, We have a situation where some items in a collection are restricted, ie you need to login to access the full version. However we want the thumbnails and branded previews to still show up for the general public. When we run the thumbnail generator, it seems to inherit the permissions from

Re: [Dspace-tech] thumbnails restricted if main item is restricted

2010-11-03 Thread Steve Swinsburg
the thumbnails. regards, Steve On 04/11/2010, at 10:53 AM, Steve Swinsburg wrote: Hi, We have a situation where some items in a collection are restricted, ie you need to login to access the full version. However we want the thumbnails and branded previews to still show up for the general

Re: [Dspace-tech] Error creating indexes 'invalid multibyte character for locale'

2010-10-31 Thread Steve Swinsburg
will still be in their original encoding. http://www.postgresql.org/docs/8.4/static/app-pgdump.html Cheers, Kim On 28 October 2010 10:46, Steve Swinsburg steve.swinsb...@gmail.com wrote: Hi all, We've completed another restore but are still having the same issue. This time we

Re: [Dspace-tech] Error creating indexes 'invalid multibyte character for locale'

2010-10-27 Thread Steve Swinsburg
with the above process? The next step we are going to attempt is checking the actual SQL dump for the bad characters but it is massive (1.5 Gb) thanks, Steve On 26/10/2010, at 10:10 AM, Steve Swinsburg wrote: Hi Kim, We took a *copy* of the database and refreshed it back to dev, so

[Dspace-tech] Error creating indexes 'invalid multibyte character for locale'

2010-10-25 Thread Steve Swinsburg
Hi all, We are having a problem upgrading an instance of dspace from 1.5.x-1.6.2. We built the new 1.6.2 code and took a snapshot of our old production database and migrated in back to our dev environment (along with the assets). We then ran the db upgrade script. Now, when running the

Re: [Dspace-tech] Error creating indexes 'invalid multibyte character for locale'

2010-10-25 Thread Steve Swinsburg
? (pass -E UNICODE or -E UTF8 to createdb) Cheers, Kim On 25 October 2010 14:57, Steve Swinsburg steve.swinsb...@gmail.com wrote: Hi all, We are having a problem upgrading an instance of dspace from 1.5.x-1.6.2. We built the new 1.6.2 code and took a snapshot of our old production