Re: [Dspace-tech] Browse by Author/Subject in Chinese

2010-03-19 Thread Mr Havercamp
Thanks Allen. If HKU is satisfied with natural ordering then it should 
be more than sufficient for our project as well.

Are you handling pinyin, or latinized, names as well within your author 
lists? If so, are they listed along with the chinese names and how are 
they sorted on the screen?

Cheers


Hayden

On 19/03/10 13:23, Allen Lam wrote:
 Hi Hayden,

 Part of our dspace items are having chinese titles and chinese author names.
 We do not have special ordering for any specific languages so that
 chinese texts are ordered in their natural ordering.
 We are storing data in UTF-8. The meaning of natural is that when each
 char (in english or chinese or any languages) of a string of text is
 interpreted as an integer value, the strings of integers are ordered
 from small to big.

 For example, a list of chinese names are naturally ordered like that:

 何子雅
 何存德
 何存邦
 何學儉
 何學強
 何宏德
 何宗憲
 何宗義
 何定邦
 何宛珊

 because their numerical values are that:

 20309 23376 38597
 20309 23384 24503
 20309 23384 37030
 20309 23416 20745
 20309 23416 24375
 20309 23439 24503
 20309 23447 25010
 20309 23447 32681
 20309 23450 37030
 20309 23451 29642

 It is subjective to define what is the correct order. I feel the
 natural ordering is correct enough for our use.

 You can re-define the ordering by providing information of stroke,
 binary or phonetic for each string of text you want to order in dspace.
 It means defining extra dc tags and supplying extra metadatavalues when
 you submit each item.

 Best,
 Allen Lam.
 HKU Hub Administrator, http://hub.hku.hk



 Mr Havercamp wrote:

 We have a DSpace instance which is storing metadata in the Chinese
 language. We are wondering whether anybody has tackled this and been
 successful in ordering the Author and Subject correctly. If so, did you
 use the stroke, binary or phonetic method for sorting the relevant fields.

 Cheers


 Hayden

 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

  

 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech



--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] message.properties with different language

2010-03-18 Thread Mr Havercamp
Run native2ascii against the Messages.properties file you created then 
deploy again.


Cheers


Hayden

On 18/03/10 18:04, Rajshekhar Pandey wrote:

Hello to all,

I am using dspace 1.5.2, and want other language to be integrated with 
it for e.g. Hindi.


I have customized XMLUI part of dspace by building new message file in 
which messages are written in hindi, but when I tried the same in 
JSPUI the messages are not recognized and gives in ??? message 
instead of what I have written.


Also, I have tried to save the file in UTF-8 format, but does not worked?

Please suggest me how to build message.properties file.

Thanks.


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev


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


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Language properties files

2010-03-17 Thread Mr Havercamp

Thanks.

I ended up downloading and installing the Resource Bundle Editor to 
check the resource files and this allows me to view the languages 
side-by-side.


The url is http://sourceforge.net/projects/eclipse-rbe/ for anyone 
interested in editing resource files which have already had native2ascii 
run against them.


Cheers


Hayden

On 17/03/10 14:04, Mark Diggory wrote:
yes, a reverse ascii2native method does exist for the ant task we are 
using the Maven build process.  that may allow you to transform the 
ascii to native.


http://ant.apache.org/manual/OptionalTasks/native2ascii.html

But I would also recommend trying out some tools like the Eclipse, 
IDEA or Netbeans resource bundle editor.  Which will allow you to edit 
the ascii files directly.


Mark


On Tue, Mar 16, 2010 at 6:52 PM, Mr Havercamp mrhaverc...@gmail.com 
mailto:mrhaverc...@gmail.com wrote:


Cheers. Exactly what I was looking for.

Many of the encoded properties files do not have corresponding
native2ascii representations. Is this because 3rd party
contributors are only submitting encoded files only?


On 17/03/10 09:20, Mark Diggory wrote:

Same project but in the native2ascii directory



On Mar 16, 2010, at 18:10, Mr Havercamp mrhaverc...@gmail.com
mailto:mrhaverc...@gmail.com wrote:


Thanks for the direction. Yes this is what we are looking for
although it appears these files have already been ascii encoded.
Are there any native properties files that we can use as a base?


It would be very helpful to other community members if you
could contribute your corrections back to the community.

Yes, this would be the plan once we have completed the updates.

Cheers


Hayden

On 17/03/10 00:31, Mark Diggory wrote:

The correct place to work on these is here:

API/JSPUi

http://scm.dspace.org/svn/repo/modules/dspace-api-lang/trunk/src/main/resources/

XMLUI

http://scm.dspace.org/svn/repo/modules/dspace-xmlui-lang/trunk/src/main/webapp/i18n/

We would like to see these maintained in this svn rather than
in a wiki page.  It would be very helpful to other community
members if you could contribute your corrections back to the
community.  You can either choose to provide svn patches for
these files for commit (just open a JIRA ticket in the DSpace
1.x project for now) or if you wish to participate in the
process more regularly with each release we can arrange svn
access for you to commit updates.

Note, we will be organizing a release of lang now that we have
1.6.0 out the door. Getting your changes into it will assure
that you do not need to maintain these files locally on your own.

Cheers,
Mark


On Tue, Mar 16, 2010 at 7:33 AM, Mr Havercamp
mrhaverc...@gmail.com mailto:mrhaverc...@gmail.com wrote:

We are updating the language properties files for our
DSpace 1.6
installation and are looking for the following translations;

- Russian
- Chinese (Simple)
- Arabic
- French
- Spanish

I've downloaded various versions from the DSpace Wiki but,
except for
Arabic, am struggling to find the original property files
(i.e. those
that have not had native2ascii run against them). We're not
really
worried about what version they belong to, just that there
is a base
from which we can work.

Any help would be much appreciated.

Regards


Hayden


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling,
find bugs
proactively, and fine-tune applications for parallel
performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
mailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech




-- 
Mark R. Diggory

Head of U.S. Operations - @mire

http://www.atmire.com - Institutional Repository Solutions
http://www.togather.eu - Before getting together, get t...@ther







--
Mark R. Diggory
Head of U.S. Operations - @mire

http://www.atmire.com - Institutional Repository Solutions
http://www.togather.eu - Before getting together, get t...@ther


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw

[Dspace-tech] Browse by Author/Subject in Chinese

2010-03-17 Thread Mr Havercamp
We have a DSpace instance which is storing metadata in the Chinese 
language. We are wondering whether anybody has tackled this and been 
successful in ordering the Author and Subject correctly. If so, did you 
use the stroke, binary or phonetic method for sorting the relevant fields.

Cheers


Hayden

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Language properties files

2010-03-16 Thread Mr Havercamp
We are updating the language properties files for our DSpace 1.6 
installation and are looking for the following translations;

- Russian
- Chinese (Simple)
- Arabic
- French
- Spanish

I've downloaded various versions from the DSpace Wiki but, except for 
Arabic, am struggling to find the original property files (i.e. those 
that have not had native2ascii run against them). We're not really 
worried about what version they belong to, just that there is a base 
from which we can work.

Any help would be much appreciated.

Regards


Hayden

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] J-CAR 0.2.1 for DSpace

2010-01-17 Thread Mr Havercamp
A quick note to inform everyone that a v0.2.1 maintenance release of 
J-CAR has just been uploaded and is ready for use.

In case you are wondering what it is, J-CAR is a group of extensions 
that provides the Joomla! content management system with tools to 
display and search meta data and assets stored in a DSpace repository. 
Additionally, we have released it under a free and open source license 
which means users can modify, customize and redistribute the code as 
they see fit, provided they pass on any changes they may have made.

This maintenance release includes bug fixes but we've also added a new 
component that enables SWORD deposits from Joomla! into DSpace (or any 
SWORD compatible software really). The component is not particularly 
user-friendly but does show off the power of DSpace and the SWORD interface.

If you need more information or would like to download it go to 
http://www.wijiti.com/projects/j-car.

Cheers


Hayden

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] SRW's response in XML

2009-12-09 Thread Mr Havercamp
As the XML is generated on the fly and probably transformed 
programmatically, the easiest solution may be to just comment out or 
delete the contents of searchRetrieveResponse.xsl. If you delete or 
comment out everything below;

xsl:stylesheet version=1.0
 xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
 xmlns:srw=http://www.loc.gov/zing/srw/;

you will be left with unformatted XML.

If you are using the XML output programmatically, you wouldn't need to 
do this as you should be able to read and manipulate the XML without the 
XSL transforming the document as the transformation occurs on the web 
browser.

Cheers


Hayden

Joan Caparros wrote:
 Is it possible to show the results of SRW-operations without the xsl 
 parsing? only showing the xml file?
 I mean... I just want to recieve
 searchRetrieveResponse
 version1.1/version
 numberOfRecords47/numberOfRecords
 resultSetIdsppfif/resultSetId
 resultSetIdleTime300/resultSetIdleTime
 records
 record
 recordSchemainfo:srw/schema/1/dc-v1.1/recordSchema
 recordPackingxml/recordPacking
 recordData
 srw_dc:dc
 dc:contributor...
 instead of the xml converted to html. Is it possible?

 Thank you
 Joan

 --
 Return on Information:
 Google Enterprise Search pays you back
 Get the facts.
 http://p.sf.net/sfu/google-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
   


--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] SRWU Setup failing

2009-10-30 Thread Mr Havercamp

Hi Ralph

Please find attached the SRWU install and configuration documentation I 
have put together. The installation is very much targeted at my current 
system so the path naming is in no way generic.


Cheers


Hayden

LeVan,Ralph wrote:

I'd be happy to see it!

Thanks to both of you!

Ralph

  

-Original Message-
From: Mr Havercamp [mailto:mrhaverc...@gmail.com]
Sent: Wednesday, October 28, 2009 11:32 PM
To: SUZUKI Keiji
Cc: LeVan,Ralph; dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] SRWU Setup failing

Hi Keiji

Thanks for your help. Yep worked a treat.

Just to confirm;

- I patched the SRWLuceneDatabase java src,
- I then compiled SRWU and copied over the SRW.jar to SRWDspace
- I compiled SRWDSpace then copied the SRWDSpace jar back to the SRWU,
- I compiled SRWU again and deployed it

Ralph,

I have created an ODT of the steps to building and deploying the SRWU.
Would you mind if I sent it through for you to proof? I think I may be
carrying out a few too many steps.

Cheers


Hayden

SUZUKI Keiji wrote:


Hi Hayden,

Though you might already have solved, I got the same error today.

I could work around this with the following patch. Also I had to
  

copy
  

commons-dbcp.jar, commons-pool.jar and postgres.jar from DSpace
to SRW's WEB-INF/lib.

I used DSpace 1.5.2 and SRW/U checked out from svn/trunk.

Regards,

Keiji Suzuki
Ebetsu, Japan

Index: SRWLuceneDatabase.java

  

==
=


--- SRWLuceneDatabase.java  (revision 36)
+++ SRWLuceneDatabase.java  (working copy)
@@ -312,7 +312,7 @@


 public void init(String dbname, String srwHome, String dbHome,
-  String dbPropertiesFileName, Properties dbProperties) {
+  String dbPropertiesFileName, Properties dbProperties,
HttpServletRequest request) {
 if(log.isDebugEnabled())log.debug(entering
SRWLuceneDatabase.init, dbname=+dbname);
 super.initDB(dbname, srwHome, dbHome, dbPropertiesFileName,
dbProperties);
 System.setProperty(dspace.configuration,
  

dbHome+config/dspace.cfg);



2009/10/3 Mr Havercamp mrhaverc...@gmail.com:

  

Thanks for responding.

I exported trunk HEAD from both subversion repositories. Am I


exporting
  

from the right location? Should I be exporting from a branch


perhaps?
  

Would you like me to report any issues on the googlecode issue


tracker
  

or is here okay?

Cheers


Hayden

LeVan,Ralph wrote:



Sorry for the tardy response!

It looks to me like you have the SRWDspaceLucene jar out of synch
  

with
  

the SRW jar.  Have you switched to the 1.5.1 jar?  There is a new
  

SRW
  

jar to go with that.

Ralph

-Original Message-
From: Mr Havercamp [mailto:mrhaverc...@gmail.com]
Sent: Friday, September 25, 2009 3:36 PM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] SRWU Setup failing

Hi

I am attempting to set up SRW/U for a second time, and, while I am
  

able
  

to get the test working, I have been completely unsuccessful this
  

time
  

round in getting it to work with DSpace.

I continue to get the following error, which I thought was related
  

to a
  

missing axis jar file but I've installed and configured it and
  

still I
  

get nowhere;

java.lang.AbstractMethodError:

  

ORG.oclc.os.SRW.SRWDatabase.init(Ljava/lang/String;Ljava/lang/String;Lja
  
va/lang/String;Ljava/lang/String;Ljava/util/Properties;Ljavax/servlet/ht
  

tp/HttpServletRequest;)V
ORG.oclc.os.SRW.SRWDatabase.createDB(SRWDatabase.java:327)
ORG.oclc.os.SRW.SRWDatabase.getDB(SRWDatabase.java:1000)


  

ORG.oclc.os.SRW.SRWServletInfo.handleExplain(SRWServletInfo.java:228)


ORG.oclc.os.SRW.SRWServlet.doGet(SRWServlet.java:320)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)


  

org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.j
  

ava:327)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

My SRWServer.props configure looks like the following (everything
  

else
  

is commented out);

default.database=DSpace
resultSetIdleTime=300
makeIndex.html=true


  

db.DSpace.class=ORG.oclc.os.SRW.DSpaceLucene.SRWLuceneDatabase


db.DSpace.home=/home/dspace/i/testing/
db.DSpace.configuration=config/DSpace.SRWDatabase.props

The DSpace.SRWDatabase.props file is in my DSpace instance's
  

config
  

directory.

Could I be missing something?

Any help much appreciated.

Cheers


Hayden


  


  

--
Come build with us! The BlackBerryreg; Developer Conference in
  

SF, CA
  

is the only developer event you need to attend this year.
  

Jumpstart your
  

developing skills, take BlackBerry mobile applications to market
  

and
  

stay
ahead of the curve

Re: [Dspace-tech] Logged in user not consistent when using apache with tomcat

2009-10-30 Thread Mr Havercamp
Hi John

Ran into exactly the same problem not long ago. The problem stems from 
the Reverse proxy (i.e. there are issues with authenticated sessions and 
reverse proxying from Apache).

To resolve;

Apache config;

Keep your proxypass but remove proxypassreverse

Tomcat config (Handle reverse proxying from Tomcat);

- Open web.xml,
- Find the Connector xml tag, it will look something like;

Connector port=8180 maxHttpHeaderSize=8192
   maxThreads=150 minSpareThreads=25 .../

- Add (or uncomment) your proxy info in the Connector tag so it reads 
something like;

Connector port=8180 maxHttpHeaderSize=8192
   maxThreads=150 minSpareThreads=25 maxSpareThreads=75
   enableLookups=false redirectPort=8443 acceptCount=100
   connectionTimeout=2 disableUploadTimeout=true 
proxyPort=80 proxyName=xxx/

Where xxx is your public domain.

Reload tomcat and apache and it will (hopefully) solve your problem.

Cheers


Hayden

John Preston wrote:
 OK, I have narrowed it down to the redirection using ajp:

 ProxyPass /ui ajp://localhost:8009/ui
 ProxyPassReverse /ui ajp://localhost:8009/ui

 If I use http:xxx then I don't see this problem. Does anyone know why 
 this is so.

 John

 On Wed, Oct 28, 2009 at 2:35 PM, John Preston byhisde...@gmail.com 
 mailto:byhisde...@gmail.com wrote:

 I am running DSpace 1.5.2 inside tomcat 2.6.20 along with apache
 2.x for redirection. My apache config file are:

 VirtualHost *:80
   RewriteEngine on

 # Redirect / to /ui
   RewriteCond %{REQUEST_URI} ^/
   RewriteRule ^/$ /ui/ [R]

 # Disable apache caching for all repository content, this will be
 handled by tomcat
 CacheDisable /ui

 /VirtualHost
 (I use ui instead of xmlui)

 and

 ProxyPass /ui ajp://localhost:8009/ui
 ProxyPassReverse /ui ajp://localhost:8009/ui

 Everything seems to work fine however I have an intermittent
 problem. If I login as one user, and navigate to some pages, log
 out and login as another user, then when navigating through
 various pages I see where the current eperson changes from the
 currently logged in user to the previously logged in user. If
 however I connect to the site directly via http://xxx:8080/ui then
 I don't have this problem.

 I am using firefox 3.5 and ie 7 and the results are the same. Can
 anyone who uses the apache infront of tomcat say whether I an
 doing  something wrong.

 John


 

 --
 Come build with us! The BlackBerry(R) Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay 
 ahead of the curve. Join us from November 9 - 12, 2009. Register now!
 http://p.sf.net/sfu/devconference
 

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


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] HTML5 and the future of DSpace

2009-10-29 Thread Mr Havercamp
I think the support of HTML 5 would be advantageous, especially in the 
embedded video and audio elements area, as it would be good to see the 
support of open formats such as ogv and oga in an open source repository 
such as DSpace.

While ogv is not the most efficient video format around at the moment, 
it is starting to make progress, and oga is definitely a mature and well 
established audio format even if it is not as widespread as the 
proprietary MP3 format. Add to this Wikipedia's ongoing out-of-the-box 
support for these open standards, and there is a good chance these 
formats, especially oga, will gain some traction in the mainstream 
Internet community.

Cheers


Hayden

Michael Guthrie wrote:
 On a somewhat related note, J-CAR allows for importation of these 
 audio and video formats to be displayed inside Joomla and play 
 natively in Firefox and Chrome
 http://openrepository.com/products/cms-integration/ogg-audio-example
  
  
 Michael Guthrie
 Manager, Open Repository

 *Bio**Med** Central* 

 *www.openrepository.com http://www.openrepository.com/*

 
 *From:* Jason Fowler [mailto:jfow...@sbts.edu]
 *Sent:* Wednesday, October 28, 2009 6:16 PM
 *To:* DSpace-tech@lists.sourceforge.net
 *Subject:* [Dspace-tech] HTML5 and the future of DSpace

 There has been a good deal of talk in development circles about the 
 future of HTML, especially as it concerns HTML5. Several new elements 
 are being added to the HTML standard that seem advantageous to many 
 developers. Some new elements like nav, header, footer, and figure, 
 are semantically advantageous. Other elements will add certain 
 capabilities to HTML5 compliant browsers. For example, the audio and 
 video elements will allow audio and video files to be directly 
 embedded in the same way that images currently are. HTML5 compliant 
 browsers will be expected to provide some support for embedded video 
 and audio without relying on third party plugins. For example, both 
 Firefox 3.5 and Chrome 3 already provide built in support for open 
 video and audio created with Vorbis and Theora (ie. .ogv, oga).

  

 I was curious to know if DSpace developers have given any discussion 
 to DSpace and these new developments in HTML5. Will near-future 
 versions of DSpace and DSpace themes support these new element tags? 
 With open video and audio formats be added to the default metadata 
 registry at any time in the near future?

  

  

 Jason Fowler, CA, MSLS

 Archives and Special Collections Librarian

 The Southern Baptist Theological Seminary

 Vice President, ALABI

 502-897-4573

 jfow...@sbts.edu

  

 

 --
 Come build with us! The BlackBerry(R) Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay 
 ahead of the curve. Join us from November 9 - 12, 2009. Register now!
 http://p.sf.net/sfu/devconference
 

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


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] SRWU Setup failing

2009-10-28 Thread Mr Havercamp
Hi Keiji

Thanks for your help. Yep worked a treat.

Just to confirm;

- I patched the SRWLuceneDatabase java src,
- I then compiled SRWU and copied over the SRW.jar to SRWDspace
- I compiled SRWDSpace then copied the SRWDSpace jar back to the SRWU,
- I compiled SRWU again and deployed it

Ralph,

I have created an ODT of the steps to building and deploying the SRWU. 
Would you mind if I sent it through for you to proof? I think I may be 
carrying out a few too many steps.

Cheers


Hayden

SUZUKI Keiji wrote:
 Hi Hayden,

 Though you might already have solved, I got the same error today.

 I could work around this with the following patch. Also I had to copy
 commons-dbcp.jar, commons-pool.jar and postgres.jar from DSpace
 to SRW's WEB-INF/lib.

 I used DSpace 1.5.2 and SRW/U checked out from svn/trunk.

 Regards,

 Keiji Suzuki
 Ebetsu, Japan

 Index: SRWLuceneDatabase.java
 ===
 --- SRWLuceneDatabase.java(revision 36)
 +++ SRWLuceneDatabase.java(working copy)
 @@ -312,7 +312,7 @@


  public void init(String dbname, String srwHome, String dbHome,
 -  String dbPropertiesFileName, Properties dbProperties) {
 +  String dbPropertiesFileName, Properties dbProperties,
 HttpServletRequest request) {
  if(log.isDebugEnabled())log.debug(entering
 SRWLuceneDatabase.init, dbname=+dbname);
  super.initDB(dbname, srwHome, dbHome, dbPropertiesFileName,
 dbProperties);
  System.setProperty(dspace.configuration, 
 dbHome+config/dspace.cfg);



 2009/10/3 Mr Havercamp mrhaverc...@gmail.com:
   
 Thanks for responding.

 I exported trunk HEAD from both subversion repositories. Am I exporting
 from the right location? Should I be exporting from a branch perhaps?

 Would you like me to report any issues on the googlecode issue tracker
 or is here okay?

 Cheers


 Hayden

 LeVan,Ralph wrote:
 
 Sorry for the tardy response!

 It looks to me like you have the SRWDspaceLucene jar out of synch with
 the SRW jar.  Have you switched to the 1.5.1 jar?  There is a new SRW
 jar to go with that.

 Ralph

 -Original Message-
 From: Mr Havercamp [mailto:mrhaverc...@gmail.com]
 Sent: Friday, September 25, 2009 3:36 PM
 To: dspace-tech@lists.sourceforge.net
 Subject: [Dspace-tech] SRWU Setup failing

 Hi

 I am attempting to set up SRW/U for a second time, and, while I am able
 to get the test working, I have been completely unsuccessful this time
 round in getting it to work with DSpace.

 I continue to get the following error, which I thought was related to a
 missing axis jar file but I've installed and configured it and still I
 get nowhere;

 java.lang.AbstractMethodError:
 ORG.oclc.os.SRW.SRWDatabase.init(Ljava/lang/String;Ljava/lang/String;Lja
 va/lang/String;Ljava/lang/String;Ljava/util/Properties;Ljavax/servlet/ht
 tp/HttpServletRequest;)V
 ORG.oclc.os.SRW.SRWDatabase.createDB(SRWDatabase.java:327)
 ORG.oclc.os.SRW.SRWDatabase.getDB(SRWDatabase.java:1000)

 ORG.oclc.os.SRW.SRWServletInfo.handleExplain(SRWServletInfo.java:228)
 ORG.oclc.os.SRW.SRWServlet.doGet(SRWServlet.java:320)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:689)

 org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.j
 ava:327)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

 My SRWServer.props configure looks like the following (everything else
 is commented out);

 default.database=DSpace
 resultSetIdleTime=300
 makeIndex.html=true

 db.DSpace.class=ORG.oclc.os.SRW.DSpaceLucene.SRWLuceneDatabase
 db.DSpace.home=/home/dspace/i/testing/
 db.DSpace.configuration=config/DSpace.SRWDatabase.props

 The DSpace.SRWDatabase.props file is in my DSpace instance's config
 directory.

 Could I be missing something?

 Any help much appreciated.

 Cheers


 Hayden

 
 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and
 stay
 ahead of the curve. Join us from November 9#45;12, 2009. Register
 now#33;
 http://p.sf.net/sfu/devconf
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech



   
 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo

Re: [Dspace-tech] SRWU Setup failing

2009-10-03 Thread Mr Havercamp
Thanks for responding.

I exported trunk HEAD from both subversion repositories. Am I exporting 
from the right location? Should I be exporting from a branch perhaps?

Would you like me to report any issues on the googlecode issue tracker 
or is here okay?

Cheers


Hayden

LeVan,Ralph wrote:
 Sorry for the tardy response!

 It looks to me like you have the SRWDspaceLucene jar out of synch with
 the SRW jar.  Have you switched to the 1.5.1 jar?  There is a new SRW
 jar to go with that.

 Ralph

 -Original Message-
 From: Mr Havercamp [mailto:mrhaverc...@gmail.com] 
 Sent: Friday, September 25, 2009 3:36 PM
 To: dspace-tech@lists.sourceforge.net
 Subject: [Dspace-tech] SRWU Setup failing

 Hi

 I am attempting to set up SRW/U for a second time, and, while I am able 
 to get the test working, I have been completely unsuccessful this time 
 round in getting it to work with DSpace.

 I continue to get the following error, which I thought was related to a 
 missing axis jar file but I've installed and configured it and still I 
 get nowhere;

 java.lang.AbstractMethodError: 
 ORG.oclc.os.SRW.SRWDatabase.init(Ljava/lang/String;Ljava/lang/String;Lja
 va/lang/String;Ljava/lang/String;Ljava/util/Properties;Ljavax/servlet/ht
 tp/HttpServletRequest;)V
 ORG.oclc.os.SRW.SRWDatabase.createDB(SRWDatabase.java:327)
 ORG.oclc.os.SRW.SRWDatabase.getDB(SRWDatabase.java:1000)
  
 ORG.oclc.os.SRW.SRWServletInfo.handleExplain(SRWServletInfo.java:228)
 ORG.oclc.os.SRW.SRWServlet.doGet(SRWServlet.java:320)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
 
 org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.j
 ava:327)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

 My SRWServer.props configure looks like the following (everything else 
 is commented out);

 default.database=DSpace
 resultSetIdleTime=300
 makeIndex.html=true

 db.DSpace.class=ORG.oclc.os.SRW.DSpaceLucene.SRWLuceneDatabase
 db.DSpace.home=/home/dspace/i/testing/
 db.DSpace.configuration=config/DSpace.SRWDatabase.props

 The DSpace.SRWDatabase.props file is in my DSpace instance's config 
 directory.

 Could I be missing something?

 Any help much appreciated.

 Cheers


 Hayden

 
 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and
 stay 
 ahead of the curve. Join us from November 9#45;12, 2009. Register
 now#33;
 http://p.sf.net/sfu/devconf
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


   


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace Opensearch support

2009-09-29 Thread Mr Havercamp
I'm working on a Joomla! search plugin for DSpace using both Open Search 
and SRW/U. This would be of major use to me too.

Cheers


Hayden

mikan.d.dspace listmail wrote:
 *Reposting this*

 What is the state of OpenSearch for DSpace 1.6? Is it already
 committed to trunk version and if so, how can I access the search
  interface.

  Thanks,
  Mika



   
 2009/6/5 Richard Rodgers rrodg...@mit.edu:
 
 Mika  Alexandre:

 There is a widely adopted set of conventions for expressing search results
 in standard formats called OpenSearch - http://www.opensearch.org  Mark Wood
 and I wrote an implementation for DSpace that includes RSS and Atom, and is
 available on both the JSP and XML UIs. We hope to have it included in the
 1.6 release if there is interest from the community in doing so.

 Thanks,

 Richard

 mikan.d.dspace listmail wrote:
   
 Alexandre,

 After my post I got a reply from Urban Andersson at Univerisy of
 Gothenburg, where they have developed such a utility. With their help
 we have implemented a working search with XML results in DSpace. I
 think feature like this should definelety be included in default
 DSpace installation.

 Below is the reply I got. Im sure Urban will share the code with the
 community if needed.

 Cheers,
 Mika

 --
 Hello Mika,

 I have made a modification (copy) of the SimpleSearchServlet, and
 corresponding JSP, to have it return XML (not actual RSS, but that
 should be easy to adapt) instead of HTML.
 This is a small fix that should be easy to implement. Although I am
 not sure if it is sufficient for you.

 An example of this:

 http://gupea.ub.gu.se:8080/dspace/simple-search-snabbsok?query=helsinkirpp=50submit=Go

 We use this for a quick search function on our web pages:
 http://www.ub.gu.se/

 Also we generate various DSpace RSS feeds directly from postgres SQL
 queries on our web pages, but that is done outside of DSpace.

 I have not done anything with the RSS class in DSpace. There might be
 some cache issues etc that you would want to look at when implementing
 RSS (my solution simply returns straight XML instead of the web page).

 Please let me know if you want to have at look at the above.


 / Urban
 - Näytä lainattu teksti -



 mikan.d.dspace listmail wrote:

- Näytä lainattu teksti -
Hi,

Has anyone tried/done the following on DSpace: modify the search code
so, that it would return any given search as RSS feed? This shouldn't
be too hard to implement, since DSpace already contains the
functionality to provide RSS feeds from a set of items. What Im hoping
to achieve, is to be able to create customized feeds to
author/institutional webpages (or live bookmarks) with ease. This
would actually allow a creation of virtual collections of any kind
very easily.

If this hasnt been done before, could someone throw in a few hints on
where/how to start experiencing? On a general level, Im thinking of
adding a RSS parameter to search query, which would throw the search
results to the class/function that creates RSS feeds and returns them
to the user. Maybe a parameter for a number of returned items could be
used as well.

I'd like to know where can I find:
1) Class that runs/processes search and results
2) Class that creates RSS feeds

Thanks for any tips,
Mika


  
 --
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech





 
   

 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay 
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
   


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] SRWU Setup failing

2009-09-26 Thread Mr Havercamp
More information about the error is included below (was able to track 
down my logs);



Sep 26 12:59:55 r19972 jsvc.exec[13062]: 4925 *[TP-Processor10]* INFO  
ORG.oclc.os.SRW.SRWDatabase  - No databases created yet for database 
testing 4926 *[TP-Processor10]* INFO  ORG.oclc.os.SRW.SRWDatabase  - 
creating a database for testing 4927 *[TP-Processor10]* ERROR 
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/srwu/testing2].[SRWServlet]
  
- Servlet.service() for servlet SRWServlet threw exception 
java.lang.AbstractMethodError: 
ORG.oclc.os.SRW.SRWDatabase.init(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Properties;Ljavax/servlet/http/HttpServletRequest;)V
 
^Iat ORG.oclc.os.SRW.SRWDatabase.createDB(SRWDatabase.java:327) ^Iat 
ORG.oclc.os.SRW.SRWDatabase.getDB(SRWDatabase.java:1000) ^Iat 
ORG.oclc.os.SRW.SRWServletInfo.handleExplain(SRWServletInfo.java:228) 
^Iat ORG.oclc.os.SRW.SRWServlet.doGet(SRWServlet.java:320) ^Iat 
javax.servlet.http.HttpServlet.service(HttpServlet.java:689) ^Iat 
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.jav
Sep 26 12:59:55 r19972 jsvc.exec[13062]: service(HttpServlet.java:802) 
^Iat 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 
^Iat 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 
^Iat 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
 
^Iat 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
 
^Iat 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) 
^Iat 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) 
^Iat 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 
^Iat 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) 
^Iat 
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200) 
^Iat org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) 
^Iat org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773) 
^Iat org.apache.jk.common.Ch
Sep 26 12:59:55 r19972 jsvc.exec[13062]: :703) ^Iat 
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
 
^Iat 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
 
^Iat java.lang.Thread.run(Thread.java:619)




I've copied my previous SRW installation over and it is working 
flawlessly so it appears that the issue arose around revision 105 in 
subversion.

Mr Havercamp wrote:
 Hi

 I am attempting to set up SRW/U for a second time, and, while I am 
 able to get the test working, I have been completely unsuccessful this 
 time round in getting it to work with DSpace.

 I continue to get the following error, which I thought was related to 
 a missing axis jar file but I've installed and configured it and still 
 I get nowhere;

 java.lang.AbstractMethodError: 
 ORG.oclc.os.SRW.SRWDatabase.init(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Properties;Ljavax/servlet/http/HttpServletRequest;)V
  

ORG.oclc.os.SRW.SRWDatabase.createDB(SRWDatabase.java:327)
ORG.oclc.os.SRW.SRWDatabase.getDB(SRWDatabase.java:1000)
ORG.oclc.os.SRW.SRWServletInfo.handleExplain(SRWServletInfo.java:228)
ORG.oclc.os.SRW.SRWServlet.doGet(SRWServlet.java:320)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)

 org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
  

javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

 My SRWServer.props configure looks like the following (everything else 
 is commented out);

 default.database=DSpace
 resultSetIdleTime=300
 makeIndex.html=true

 db.DSpace.class=ORG.oclc.os.SRW.DSpaceLucene.SRWLuceneDatabase
 db.DSpace.home=/home/dspace/i/testing/
 db.DSpace.configuration=config/DSpace.SRWDatabase.props

 The DSpace.SRWDatabase.props file is in my DSpace instance's config 
 directory.

 Could I be missing something?

 Any help much appreciated.

 Cheers


 Hayden


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] SRWU Setup failing

2009-09-25 Thread Mr Havercamp
Hi

I am attempting to set up SRW/U for a second time, and, while I am able 
to get the test working, I have been completely unsuccessful this time 
round in getting it to work with DSpace.

I continue to get the following error, which I thought was related to a 
missing axis jar file but I've installed and configured it and still I 
get nowhere;

java.lang.AbstractMethodError: 
ORG.oclc.os.SRW.SRWDatabase.init(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Properties;Ljavax/servlet/http/HttpServletRequest;)V
ORG.oclc.os.SRW.SRWDatabase.createDB(SRWDatabase.java:327)
ORG.oclc.os.SRW.SRWDatabase.getDB(SRWDatabase.java:1000)
ORG.oclc.os.SRW.SRWServletInfo.handleExplain(SRWServletInfo.java:228)
ORG.oclc.os.SRW.SRWServlet.doGet(SRWServlet.java:320)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)

org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

My SRWServer.props configure looks like the following (everything else 
is commented out);

default.database=DSpace
resultSetIdleTime=300
makeIndex.html=true

db.DSpace.class=ORG.oclc.os.SRW.DSpaceLucene.SRWLuceneDatabase
db.DSpace.home=/home/dspace/i/testing/
db.DSpace.configuration=config/DSpace.SRWDatabase.props

The DSpace.SRWDatabase.props file is in my DSpace instance's config 
directory.

Could I be missing something?

Any help much appreciated.

Cheers


Hayden

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] SRW/U search within a collection or collections

2009-09-16 Thread Mr Havercamp
I was wondering if anyone has had success searching DSpace using SRW/U 
whilst limiting their searches to specific collections?

Any help much appreciated.

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] SRW/U search within a collection or collections

2009-09-16 Thread Mr Havercamp
Thanks Ralph

Does SRW/U respect DSpace's authorization settings? For example, I set 
DEFAULT_BITSTREAM_READ, DEFAULT_ITEM_READ and READ on a collection to be 
authorized to the Administrator group only. However, when I execute a 
search via SRW/U on an item in this collection, it still shows up.

Cheers


Hayden

LeVan,Ralph wrote:
 From: Mr Havercamp [mailto:mrhaverc...@gmail.com]
 I was wondering if anyone has had success searching DSpace using SRW/U
 whilst limiting their searches to specific collections?
 

 This seems more like a hack now than it did at the time I wrote it.  You
 add the collection or community ID to the path of the URL.  For
 instance, if your normal SRU URL looked like this:
 me.edu/dspace/search?query=dog, you'd turn it into
 me.edu/dspace/search/collection123?query=dog.

 Ralph

   


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] SRW/U search within a collection or collections

2009-09-16 Thread Mr Havercamp
If is any help, an OAI GetRecord query results in the same issue; i.e. I 
can still access it even though I have restricted read access to only 
administrators.

LeVan,Ralph wrote:
 From: Mr Havercamp [mailto:mrhaverc...@gmail.com]

 Does SRW/U respect DSpace's authorization settings? For example, I set
 DEFAULT_BITSTREAM_READ, DEFAULT_ITEM_READ and READ on a
 collection to be
 authorized to the Administrator group only. However, when I execute a
 search via SRW/U on an item in this collection, it still shows up.
 

 The SRU server knows nothing about the source of the query, so I don't
 see how any authorization based logic could work.  Internally, I create
 a DSpace Context object and I assume that I get whatever default
 authorization comes with that.

 If this seems to be a glaring hole and someone has ideas on how to patch
 it, I'd be glad to work on it.

 Ralph

   


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Virtual Site Proxy

2009-09-16 Thread Mr Havercamp
Are you running two ips off of the one server?

If you have two ips, e.g. 192.168.5.1 and 192.168.5.2, try declaring two 
virtual hosts;

VirtualHost 192.168.5.1:80

/VirtualHost

VirtualHost 192.168.5.2:80

/VirtualHost

Place your proxy details in one virtual host and your default site in 
the other.

Sean Carte wrote:
 I should also have mentioned that the default server does have another
 IP address. I suppose that's a clue -- perhaps I should configure the
 default server to listen to its own address only? But how can I get
 the proxy to do likewise?

 Sean
   


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] filter-media IOException Permission denied

2009-07-17 Thread Mr Havercamp
Correct, java.io.File will throw an IOException error if the 
createNewFile method attempts to create a new file over the top of an 
existing one.

Running filter-media with the -v should force the update on existing 
files as well as creating new ones.

Cheers


Hayden

Van Ly wrote:

 Hi,

 I ran a filter-media job and found a number of errors of the kind
 `skipping bitstream #N' which to be expected. The very first of them
 is listed below. At a guess, it looks like the IOException is due to
 the process wanting to create a file but it already exists and this is
 a condition for complaint. Do you think if I gave it the `force'
 option, this kind of IOException would go away?

 bitstream #3636 is fine, I can search for and retrieve it according to 
 handle id.

 Thanks in advance.

 -- Van Ly

 -- details of 1.4.2 Dspace as follows with attempt to interpret the 
 stack trace

 [0] // open(2) with O_RDWR | O_CREAT | O_EXCL may fail if file already 
 exists
 [1] // has GeneralFile file = getFile(bitstream); file.createNewFile();
 [2] // has Bitstream b = targetBundle.createBitstream(destStream);
 [3] // MediaFilterManager.java:108 has option to force all bitstreams 
 to be processed

 ... ERROR filtering, skipping bitstream #3636 java.io.IOException: 
 Permission denied
 ... java.io.IOException: Permission denied
 ...  at java.io.UnixFileSystem.createFileExclusively(Native Method)
 [0]  at java.io.File.createNewFile(File.java:850)
 ...  at edu.sdsc.grid.io.local.LocalFile.createNewFile(LocalFile.java:486)
 [1]  at 
 org.dspace.storage.bitstore.BitstreamStorageManager.store(BitstreamStorageManager.java:332)
 ...  at org.dspace.content.Bitstream.create(Bitstream.java:184)
 ...  at org.dspace.content.Bundle.createBitstream(Bundle.java:362)
 [2]  at 
 org.dspace.app.mediafilter.MediaFilter.processBitstream(MediaFilter.java:168)
 ...  at 
 org.dspace.app.mediafilter.MediaFilterManager.filterBitstream(MediaFilterManager.java:327)
 ...  at 
 org.dspace.app.mediafilter.MediaFilterManager.filterItem(MediaFilterManager.java:296)
 ...  at 
 org.dspace.app.mediafilter.MediaFilterManager.applyFiltersItem(MediaFilterManager.java:266)
 ...  at 
 org.dspace.app.mediafilter.MediaFilterManager.applyFiltersAllItems(MediaFilterManager.java:234)
 [3]  at 
 org.dspace.app.mediafilter.MediaFilterManager.main(MediaFilterManager.java:185)
  


 

 --
 Enter the BlackBerry Developer Challenge  
 This is your chance to win up to $100,000 in prizes! For a limited time, 
 vendors submitting new applications to BlackBerry App World(TM) will have
 the opportunity to enter the BlackBerry Developer Challenge. See full prize  
 details at: http://p.sf.net/sfu/Challenge
 

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


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Batch loading

2009-07-16 Thread Mr Havercamp
We've built an open source converter called the Dublin Core Meta Toolkit 
(www.wijiti.com/projects/dcmetatoolkit) which can convert xml formatted 
files to dublin core compatible format. Unfortunately it takes a little 
work and requires some knowledge of XML/XSL but I think most converters 
are going to require some degree of heavy lifting required.

We've had success exporting files out of Access in XML format, so you 
may have similar success with an Excel spreadsheet.

Cheers


Hayden

Lewatle Phaladi wrote:

 Hi Again

 The format is in Microsoft Excel.

 Regards

 Lewatle


 -Original Message-
 From: Jayan Kurian [mailto:jayan...@gmail.com]
 Sent: Wed 7/15/2009 2:54 PM
 To: Mr Havercamp
 Cc: Lewatle Phaladi; dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] Batch loading

 Hi!

 This program helps to convert metadata in a spreadsheet to DSpace SIP
 format.

 http://wiki.dspace.org/index.php/Google_Summer_of_Code_2008_Batch_Import


 Jayan
 On Wed, Jul 15, 2009 at 7:30 PM, Mr Havercamp mrhaverc...@gmail.com 
 wrote:

  In what format do you have the digitized items' metadata?
 
  If you have it in an xml format or in a Microsoft Office spreadsheet or
  Access database, there are a number of 3rd party tools available for
  converting your material to Dublin Core compatible assets ready for
  importation.
 
  We successfully imported 18,000 records for a museum in the UK from
  Microsoft Access 2000.
 
  Cheers
 
 
  Hayden
 
  Lewatle Phaladi wrote:
  
   Hi again
  
   We have digitizes 24000 items and we want to batch load them into
   dspace, what would be the best option.
  
   Regards
  
   Lewatle
  
   This communication is intended for the addressee only. It is
   confidential. If you have received this communication in error, please
   notify us immediately and destroy the original message. You may not
   copy or disseminate this communication without the permission of the
   University. Only authorized signatories are competent to enter into
   agreements on behalf of the University and recipients are thus advised
   that the content of this message may not be legally binding on the
   University and may contain the personal views and opinions of the
   author, which are not necessarily the views and opinions of The
   University of the Witwatersrand, Johannesburg. All agreements between
   the University and outsiders are subject to South African Law unless
   the University agrees in writing to the contrary.
  
   
 
  
  
  
 --
   Enter the BlackBerry Developer Challenge
   This is your chance to win up to $100,000 in prizes! For a limited 
 time,
   vendors submitting new applications to BlackBerry App World(TM) 
 will have
   the opportunity to enter the BlackBerry Developer Challenge. See full
  prize
   details at: http://p.sf.net/sfu/Challenge
   
 
  
   ___
   DSpace-tech mailing list
   DSpace-tech@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/dspace-tech
  
 
 
 
  
 --
  Enter the BlackBerry Developer Challenge
  This is your chance to win up to $100,000 in prizes! For a limited time,
  vendors submitting new applications to BlackBerry App World(TM) will 
 have
  the opportunity to enter the BlackBerry Developer Challenge. See 
 full prize
  details at: http://p.sf.net/sfu/Challenge
  ___
  DSpace-tech mailing list
  DSpace-tech@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/dspace-tech
 

 This communication is intended for the addressee only. It is 
 confidential. If you have received this communication in error, please 
 notify us immediately and destroy the original message. You may not 
 copy or disseminate this communication without the permission of the 
 University. Only authorized signatories are competent to enter into 
 agreements on behalf of the University and recipients are thus advised 
 that the content of this message may not be legally binding on the 
 University and may contain the personal views and opinions of the 
 author, which are not necessarily the views and opinions of The 
 University of the Witwatersrand, Johannesburg. All agreements between 
 the University and outsiders are subject to South African Law unless 
 the University agrees in writing to the contrary.



--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize

Re: [Dspace-tech] Exporting Items Into Dspace

2009-07-15 Thread Mr Havercamp
Hi

What steps did you take and at what point did it fail?

Are you using the DSpace command line tools to export/import your records?

Cheers


Hayden

Lewatle Phaladi wrote:

 Hi Everyone

 We have two instances of Dspace and we want to export seven thousand 
 Items from one dspace instance into the other, we read documents but 
 steps written there they never worked.

 regards

 lewatle

 This communication is intended for the addressee only. It is 
 confidential. If you have received this communication in error, please 
 notify us immediately and destroy the original message. You may not 
 copy or disseminate this communication without the permission of the 
 University. Only authorized signatories are competent to enter into 
 agreements on behalf of the University and recipients are thus advised 
 that the content of this message may not be legally binding on the 
 University and may contain the personal views and opinions of the 
 author, which are not necessarily the views and opinions of The 
 University of the Witwatersrand, Johannesburg. All agreements between 
 the University and outsiders are subject to South African Law unless 
 the University agrees in writing to the contrary.

 

 --
 Enter the BlackBerry Developer Challenge  
 This is your chance to win up to $100,000 in prizes! For a limited time, 
 vendors submitting new applications to BlackBerry App World(TM) will have
 the opportunity to enter the BlackBerry Developer Challenge. See full prize  
 details at: http://p.sf.net/sfu/Challenge
 

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


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Batch loading

2009-07-15 Thread Mr Havercamp
In what format do you have the digitized items' metadata?

If you have it in an xml format or in a Microsoft Office spreadsheet or 
Access database, there are a number of 3rd party tools available for 
converting your material to Dublin Core compatible assets ready for 
importation.

We successfully imported 18,000 records for a museum in the UK from 
Microsoft Access 2000.

Cheers


Hayden

Lewatle Phaladi wrote:

 Hi again

 We have digitizes 24000 items and we want to batch load them into 
 dspace, what would be the best option.

 Regards

 Lewatle

 This communication is intended for the addressee only. It is 
 confidential. If you have received this communication in error, please 
 notify us immediately and destroy the original message. You may not 
 copy or disseminate this communication without the permission of the 
 University. Only authorized signatories are competent to enter into 
 agreements on behalf of the University and recipients are thus advised 
 that the content of this message may not be legally binding on the 
 University and may contain the personal views and opinions of the 
 author, which are not necessarily the views and opinions of The 
 University of the Witwatersrand, Johannesburg. All agreements between 
 the University and outsiders are subject to South African Law unless 
 the University agrees in writing to the contrary.

 

 --
 Enter the BlackBerry Developer Challenge  
 This is your chance to win up to $100,000 in prizes! For a limited time, 
 vendors submitting new applications to BlackBerry App World(TM) will have
 the opportunity to enter the BlackBerry Developer Challenge. See full prize  
 details at: http://p.sf.net/sfu/Challenge
 

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


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Installing Dspace on ubuntu

2009-07-15 Thread Mr Havercamp
Make sure you run maven as sudo or at the very least as the postgres user;

# sudo mvn package

Cheers


Hayden

François Parmentier wrote:
 Do you have a proxy?

 In this case, you need to configure maven to use this proxy.

 On Tue, Jul 14, 2009 at 4:06 PM, Lewatle
 Phaladilewatle.phal...@wits.ac.za wrote:
   
 Thanks for reply

 What i dit is:


 My Operating System : Ubuntu 9.4

 sudo apt-get install java-1.6.0-sun

 sudo useradd -m dspace
 sudo passwd dspace

 sudo mkdir /dspace-1.5.2-src-release
 sudo chown dspace /dspace-1.5.2-src-release


 $sudo su postgres
 createuser -U postgres -d -A -P dspace
 createdb -U dspace -E UNICODE  dspace

 then

 sudo vi /dspace-1.5.2-src-release/dspace/config/dspace.cfg

 I changed


 dspace.dir = /dspace-1.5.2-src-release
 dspace.url = http://localhost:8080/xmlui
 db.url = jdbc:postgresql://localhost:5432/dspace


 sudo su - dspace
 $ cd  /dspace-1.5.2-src-release/dspace/



 dsp...@lewatle-desktop:/dspace-1.5.2-src-release/dspace$ mvn package
 [INFO] Scanning for projects...
 [INFO] Reactor build order:
 [INFO]   DSpace XML-UI (Manakin)
 [INFO]   DSpace XML-UI (Manakin) :: Wing-Framework
 [INFO]   DSpace Kernel :: API and Implementation
 [INFO]   DSpace XML-UI (Manakin) :: API and Core Aspects
 [INFO]   DSpace XML-UI (Manakin) :: Web Application Resources
 [INFO]   DSpace Addon Modules
 [INFO]   DSpace XML-UI (Manakin) :: Web Application
 [INFO]   DSpace LNI
 [INFO]   DSpace LNI :: Core Implementation
 [INFO]   DSpace LNI :: Web Application Resources
 [INFO]   DSpace LNI :: Web Application
 [INFO]   DSpace OAI
 [INFO]   DSpace OAI :: API and Implementation
 [INFO]   DSpace OAI :: Web Application Resources
 [INFO]   DSpace OAI :: Web Application
 [INFO]   DSpace JSP-UI
 [INFO]   DSpace JSP-UI :: API and Implementation
 [INFO]   DSpace JSP-UI :: Web Application Resources
 [INFO]   DSpace JSP-UI :: Web Application
 [INFO]   DSpace SWORD
 [INFO]   DSpace SWORD :: API and Implementation
 [INFO]   DSpace SWORD :: Web Application Resources
 [INFO]   DSpace SWORD :: Web Application
 [INFO]   DSpace LNI :: CLI Client Application
 [INFO]   DSpace Assembly and Configuration
 [INFO]
 
 [INFO] Building DSpace XML-UI (Manakin)
 [INFO]task-segment: [package]
 [INFO]
 
 Downloading:
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-6/maven-site-plugin-2.0-beta-6.pom



 the command maven never completed it was just showing Downloading until when
 it terminated. complaining about the repository. my repository from synaptic
 package manager works well. but mvn package it doesn' t complete download.


 From here i started to get errors with other steps .


 Regards

 Lewatle



























 On Tue, Jul 14, 2009 at 01:33:42PM +0200, Lewatle Phaladi wrote:
 
 I am struggling on dspace installation on ubuntu can everyone assist,
 please sent me installation manual that can be very easy, i want to use
 dspace 1.5.2 on ubuntu 9.4.

 I installed all prerequisites and i am not able to finish on dspace.
   
 Two things will help you to get useful answers:

 o  Don't Reply to a message that has no connection with your problem.
Often this is expressed:  don't hijack threads.  If you are
presenting a new question, start a new thread.

 o  Do tell us what your specific problem is.  I am not able to
finish tells us nothing that we can act on.  Step by step:

o  What did you do?  (What command did you enter, or what feature
   of a GUI panel did you activate, or suchlike?)

o  What did you expect to happen?

o  What happened instead?  Please include details, such as literal
   text of messages or dialogs.

o  Why do you believe that was wrong?

 DSpace, Tomcat (or your other servlet container), PostgreSQL or
 Oracle, and your OS all write message logs.  You can find a lot of
 useful information by gathering up the relevant entries from those
 logs.  We may need to see it too.

 --
 Mark H. Wood, Lead System Programmer   mw...@iupui.edu
 Friends don't let friends publish revisable-form documents.

 This communication is intended for the addressee only. It is confidential.
 If you have received this communication in error, please notify us
 immediately and destroy the original message. You may not copy or
 disseminate this communication without the permission of the University.
 Only authorized signatories are competent to enter into agreements on behalf
 of the University and recipients are thus advised that the content of this
 message may not be legally binding on the University and may contain the
 personal views and opinions of the author, which are not necessarily the
 views and opinions of The University of the Witwatersrand, Johannesburg. All
 agreements between the University and outsiders are subject to South African
 Law unless the University agrees in 

Re: [Dspace-tech] SRW oclc installation problems

2009-06-10 Thread Mr Havercamp
I'd hazard a guess that the cause of your error is related to SRW not 
being able to a) find a particular DSpace method, or b) call the 
particular DSpace method with the correct parameters.

If I remember correctly, I had to copy a number of jars from DSpace and 
the Java lib dir to the SRW directory in order to get everything to work 
correctly. Therefore, if the documentation for SRW is incomplete, I 
would recommend contacting the developer; he is very helpful and 
responds to issues in a timely manner.

If I can get my demo server running, I will try and document the steps I 
took to build it and post it over to you (it took me about 8 hours 
straight to get the thing to work so hopefully it will save you a bit of 
time!).

Cheers


Hayden

Joan Caparros wrote:
 Hi I'm just wondering if anyone can help me, I'm trying to install the 
 SRW server into my current Dspace.
 Using:
 Tomcat6
 postgresql-8.2.13
 DSpace 1.4.2
 Java jdk1.6.0_14
 Apache Ant version 1.7.1

 I followed that steps :
 - First of course I have my DSpace running correctly
 - Checked that the database appears and all Dspace is running.
 - I have downloaded the SRW Server source from the OCLC's svn (svn 
 checkout */http/*://oclcsrw.googlecode.com/svn/trunk/ oclcsrw-read-only)
 - I have downloaded the SRW/SRU interface for DSpace from the OCLC's 
 svn (svn checkout 
 http://oclcsrwdspacelucene.googlecode.com/svn/tags/DSpace-1.4.2 
 oclcsrwdspacelucene-1.4.2)
 - Compiled the SRW Server with ant
 - Copied the SRW.war inside tomcat/webapps/
 - Rebooted tomcat, just to see that the webserver test was running 
 fine. (http://localhost:8080/SRW/search/test)
 - Compiled the SRW/SRU interface for DSpace copied the 
 SRWDSpaceLucene-1.4.2.jar inside tomcat/webapps/SRW/WEB-INF/lib/
 - Copied the DSpace.SRWDatabase.props inside my dspace/config/ folder
 - Edited the /WEB-INF/classes/SRWServer.props :

 default.database=DSpace
 resultSetIdleTime=300
 makeIndex.html=true
 # parameters for the test database
 db.test.class=ORG.oclc.os.SRW.SRWTestDatabase
 db.DSpace.class=ORG.oclc.os.SRW.DSpaceLucene.SRWLuceneDatabase
 db.DSpace.home=/dades/dspace/
 db.DSpace.configuration=config/DSpace.SRWDatabase.props
 *
 -** Rebooted tomcat
 - Identifying a problem in the* 
 http://localhost:8080/SRW/search/dspace *'s* *call*

 *type* Exception report
 *message*
 *description* _The server encountered an internal error () that 
 prevented it from fulfilling this request._
 *exception*
 javax.servlet.ServletException: Servlet execution threw an exception
 *root cause*

 java.lang.NoClassDefFoundError: org/dspace/browse/BrowseScope
   java.lang.Class.forName0(Native Method)
   java.lang.Class.forName(Class.java:169)
   ORG.oclc.os.SRW.SRWDatabase.createDB(SRWDatabase.java:291)

   ORG.oclc.os.SRW.SRWDatabase.getDB(SRWDatabase.java:1000)
   ORG.oclc.os.SRW.SRWServletInfo.handleExplain(SRWServletInfo.java:228)
   ORG.oclc.os.SRW.SRWServlet.doGet(SRWServlet.java:320)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:617)

   
 org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 *root cause*

 java.lang.ClassNotFoundException: org.dspace.browse.BrowseScope
   
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
   
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)

   java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
   java.lang.Class.forName0(Native Method)
   java.lang.Class.forName(Class.java:169)
   ORG.oclc.os.SRW.SRWDatabase.createDB(SRWDatabase.java:291)
   ORG.oclc.os.SRW.SRWDatabase.getDB(SRWDatabase.java:1000)

   ORG.oclc.os.SRW.SRWServletInfo.handleExplain(SRWServletInfo.java:228)
   ORG.oclc.os.SRW.SRWServlet.doGet(SRWServlet.java:320)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
   
 org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)

   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)


 *- Copied the */dades/dspace/lib/dspace.jar* in 
 *tomcat/webapps/SRW/WEB-INF/lib/*
 - And Identifying a new problem that I can't solve.*

 java.lang.AbstractMethodError
   ORG.oclc.os.SRW.SRWDatabase.createDB(SRWDatabase.java:430)
   ORG.oclc.os.SRW.SRWDatabase.getDB(SRWDatabase.java:1000)
   ORG.oclc.os.SRW.SRWServletInfo.handleExplain(SRWServletInfo.java:228)
   ORG.oclc.os.SRW.SRWServlet.doGet(SRWServlet.java:320)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
   
 org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

 - *I've tryed to change my current version of Java with the jdk1.5.0_19 with 
 the same result

 Joan
 *
   


 

 

Re: [Dspace-tech] Image Thumbnail

2009-05-27 Thread Mr Havercamp
Have you run ./bin/filter-media once your config updates have been made?

Cheers


Hayden

prathap nk wrote:
 How to get image thumbnail option in Dspace. I have tried in changing 
 dspace.cfg but still its not displaying.please send me a solution.

  Regards
 prathap


 
 Explore and discover exciting holidays and getaways with Yahoo! India 
 Travel Click here! 
 http://in.rd.yahoo.com/tagline_Travel_1/*http://in.travel.yahoo.com/
 

 --
 Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
 is a gathering of tech-side developers  brand creativity professionals. Meet
 the minds behind Google Creative Lab, Visual Complexity, Processing,  
 iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
 Group, R/GA,  Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
 

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


--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA,  Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] (no subject)

2009-05-27 Thread Mr Havercamp
I believe this may have come up before in the mailing list. I think the 
suggestion was to edit the 
org.dspace.app.webui.servlet.PasswordServlet.java file, adding a session 
variable to monitor the number of attempts.

Hope this helps

Cheers


Hayden

Sizwe Futshane wrote:

  Good day all

  

 I am trying to limit the number of login attempts on my Dspace.

  

 Can anyone assist me

 

 --
 Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
 is a gathering of tech-side developers  brand creativity professionals. Meet
 the minds behind Google Creative Lab, Visual Complexity, Processing,  
 iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
 Group, R/GA,  Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
 

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


--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA,  Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] where the heck is this?

2009-04-03 Thread Mr Havercamp
It's a news item in the config file ./config/news-xmlui.xml. Hope this 
helps.

Cheers


Hayden

Mark Ludwig wrote:
 Man, do we feel stupid.
 Our web designer has done a great job customizing DSpace,
 but we can't seem to find this opening text for the front page.
 Can anyone clue us in about where it comes from?


   DSpace/Manakin Repository

 Welcome to the new Manakin interface to the DSpace digital repository. 
 DSpace is a digital service that collects, preserves, and distributes 
 digital material. Repositories are important tools for preserving an 
 organization's legacy; they facilitate digital preservation and 
 scholarly communication.


 -- 
 Mark Ludwig
 Library Systems Manager
 520 Lockwood Memorial Library
 SUNY at Buffalo
 Buffalo, NY 14260
 716 645 5952
 

 --
   
 

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


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


Re: [Dspace-tech] How to shift Dspace one system to another system

2009-02-18 Thread Mr Havercamp
Export the records from DSpace 1.4.2 using the batch tool export, copy 
over the exported records to your new installation and use the import 
batch tool to import the records into the latest DSpace version. Check 
out the [dspace-install]/bin/ directory for the appropriate import and 
export batch tools.

Hope this helps


Hayden

thandu venkat narayana wrote:
 Respected all,
  
 I am using Dspace 1.4.2 on windows-xp, I want to shift my dspace to 
 another latest configuration system with windows-xp.
  
 How can I transfer, Please help to me.
  
 Regards
 Venkat


 
 Add more friends to your messenger and enjoy! Invite them now. 
 http://in.rd.yahoo..com/tagline_messenger_6/*http://messenger.yahoo.com/invite/
  

 

 --
 Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
 -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
 -Strategies to boost innovation and cut costs with open source participation
 -Receive a $600 discount off the registration fee with the source code: SFAD
 http://p.sf.net/sfu/XcvMzF8H
 

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


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Dspace 1.5.1 in Ubuntu 8.10

2009-02-12 Thread Mr Havercamp
Try installing the ant optional package;

sudo apt-get install ant-optional

Zico wrote:
 Hello Mark. i need your help again.

 Hello,

 Now, i am trying to install dspace 1.5.1 in Ubuntu 8.10. Everything 
 was pretty much same like Debian 4.0. But, when i go for ant 
 fresh_install .. then.. i got this error...

 /Buildfile: build.xml

 BUILD FAILED
 /opt/src/dspace-1.5.1-release//
 /dspace/target/dspace-1.5.1-//build.dir/build.xml:88: No supported 
 regular expression matcher found: java.lang.//ClassNotFoundException: 
 org.apache.tools.ant.util.//regexp.Jdk14RegexpRegexp

 Total time: 0 seconds
 z...@zico-desktop:/opt/src// 
 /dspace-1.5.1-release/dspace///target/dspace-1.5.1-build.dir#
 /
 I cannot understand the problem. Can you please help me again?


 -- 
 Best,
 Zico
 

 --
   
 

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


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


Re: [Dspace-tech] Install Dspace 1.5.1

2009-02-11 Thread Mr Havercamp
What step are you stuck on?

Regards


Hayden

Miguel A. Robledo wrote:
 Hi,
 I'm trying install Dspace 1.5.1 on ubuntu follow this page
 http://wiki.dspace.org/index.php/Installing_DSpace_1.5_on_Ubuntu_8.04,
 but the directory or path to file is wrong.

 Any have a correct install guide?

 Thanks

 --
 Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
 software. With Adobe AIR, Ajax developers can use existing skills and code to
 build responsive, highly engaging applications that combine the power of local
 resources and data with the reach of the web. Download the Adobe AIR SDK and
 Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
   


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Install Dspace 1.5.1

2009-02-11 Thread Mr Havercamp
Miguel A. Robledo wrote:
 Excuse me, i write wrong the problem.

 In the step 13-4 (mvn package) the result is:

 mvn package
 [INFO] Scanning for projects...
 [INFO] Reactor build order:
 [INFO]   DSpace Addon Modules
 [INFO]   DSpace XML-UI (Manakin) :: Web Application
 [INFO]   DSpace LNI :: Web Application
 [INFO]   DSpace OAI :: Web Application
 [INFO]   DSpace JSP-UI :: Web Application
 [INFO]   DSpace SWORD :: Web Application
 [INFO]   DSpace Assembly and Configuration
 [INFO]
 
 [INFO] Building DSpace Addon Modules
 [INFO]task-segment: [package]
 [INFO]
 
 Downloading:
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-6/maven-site-plugin-2.0-beta-6.pom
  

 Downloading:
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-6/maven-site-plugin-2.0-beta-6.pom
  

 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] Error building POM (may not be this project's POM).


 Project ID: org.apache.maven.plugins:maven-site-plugin

 Reason: POM 'org.apache.maven.plugins:maven-site-plugin' not found in
 repository: Unable to download the artifactfrom any repository

  org.apache.maven.plugins:maven-site-plugin:pom:2.0-beta-6

 from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  maven.dspace.org/snapshot (http://maven.dspace.org/snapshot)
 for project org.apache.maven.plugins:maven-site-plugin


 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time:  1 second
 [INFO] Finished at: Wed Feb 11 13:17:55 ARST 2009
 [INFO] Final Memory: 2M/41M
 [INFO]
 

 The error is downloading the file.

 Is the file correct?

 Thanks
I had to run sudo to get mine to work;

sudo mvn package

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Federating a number of DSpace instances

2009-02-10 Thread Mr Havercamp
You can submit your sitemaps to yahoo and use their BOSS API to search 
across multiple domains using 
domain=dspace1.domain.tld,dspace2.domain.tld,dspace-n.domain.tld. I 
believe yahoo is also working towards indexing dc meta data for the 
semantic web, and hopefully they will integrate this into their search 
api in the near future.

Alternatively you could use the SRW/U server and SRW DSpace plugin to 
search the DSpace database directly. Unfortunately you can only search 
one db at a time so you would have to combine your results before 
listing them on the screen. However, SRW/U does output results in dublin 
core xml so they are easy to format using an XSL transformation or some 
other type of XML manipulation.

Regards


Hayden

John Preston wrote:
 The individuals departments will want to maintain their own instances
 in some cases, thus I need to be able to search across them in these
 cases.

 John

 On Tue, Feb 10, 2009 at 4:19 PM, Dorothea Salo ds...@library.wisc.edu wrote:
   
 On Tue, Feb 10, 2009 at 3:14 PM, John Preston byhisde...@gmail.com wrote:
 
 My use case involves running a number of DSpace instances in various
 departments, and collaborating entities that hold digital materials
 (text, image, video, spatial, etc). I need to have a central point for
 users to search across all these instances. Some of the instances may
 not be public.

 The Carrot2 software looks interesting from my perspective.

 Anyone think I'm going in the wrong direction?

 John
   
 Why not have one DSpace with Manakin theming and individual-collection
 policies on access? Seems to me that solves the problem, although it
 may not be feasible if individual departments insist on owning their
 entire DSpace.

 If you're running the whole shebang, though, it seems workable, and
 might even be less work than the alternatives.

 Dorothea

 --
 Dorothea Salods...@library.wisc.edu
 Digital Repository Librarian  AIM: mindsatuw
 University of Wisconsin
 Rm 218, Memorial Library
 (608) 262-5493

 --
 Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
 software. With Adobe AIR, Ajax developers can use existing skills and code to
 build responsive, highly engaging applications that combine the power of 
 local
 resources and data with the reach of the web. Download the Adobe AIR SDK and
 Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

 

 --
 Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
 software. With Adobe AIR, Ajax developers can use existing skills and code to
 build responsive, highly engaging applications that combine the power of local
 resources and data with the reach of the web. Download the Adobe AIR SDK and
 Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
   


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Filtering OAI ListRecords

2009-02-04 Thread Mr Havercamp
I was hoping to retrieve records from DSpace via OAI that match a 
particular subject (dc.subject). I've reviewed the OAI documentation and 
was wondering if there is some way of doing this via ListRecords as 
there does not seem to be a SearchRecords or similar verb.

I can filter by set (i.e. collection handle) and using a start and end 
date but that seems to be it.

Is there any way to achieve this in DSpace's OAI implementation?

Any help much appreciated.


Hayden

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] question about deploying dspace-sword

2009-02-04 Thread Mr Havercamp
No, there should be more files than that. If you look in the sword 
directory you should see the sub directories META-INF/ and WEB-INF/.

What about in oai/ and lni/?

Were there any errors during installation?

Cheers


Hayden

Debashree Pati wrote:
 Thanks Hayden for the reply.

 I had added the context path for Dspace SWORD user like you've mentioned. 
 And, yes I am able to browse to both jspui and xmlui.

 Another thing I noticed is that under 

 C:\Program Files\apache-tomcat-6.0.18\work\Catalina\localhost\sword
 There is only a single file called SESSIONS.ser. I believe this must be what
 Tomcat is attempting to deploy. All the other subdirectories like
 [Tomcat]\work\Catalina\localhost\jspui or xmlui have whole bunch of various
 files. How does your directory content under sword look like?

 Tomcat logs two SEVERE errors in catalina.log file: (but I am not able to
 figure out how to resolve them)
 
 
   
 INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
 Feb 4, 2009 10:37:46 AM org.apache.catalina.core.StandardContext start

 SEVERE: Error listenerStart
 Feb 4, 2009 10:37:46 AM org.apache.catalina.core.StandardContext start

 SEVERE: Context [/dspace-sword] startup failed due to previous errors
 Feb 4, 2009 10:37:48 AM org.apache.catalina.startup.HostConfig deployWAR

 INFO: Deploying web application archive sword-client.war
 Feb 4, 2009 10:37:49 AM org.apache.coyote.http11.Http11Protocol start
 INFO: Starting Coyote HTTP/1.1 on http-8080
 Feb 4, 2009 10:37:49 AM org.apache.jk.common.ChannelSocket init
 INFO: JK: ajp13 listening on /0.0.0.0:8009
 Feb 4, 2009 10:37:49 AM org.apache.jk.server.JkMain start
 INFO: Jk running ID=0 time=0/31  config=null
 Feb 4, 2009 10:37:49 AM org.apache.catalina.startup.Catalina start
 INFO: Server startup in 3594 ms
 
 ---

 Thanks for any help.
 -Deb


 -Original Message-
 From: Mr Havercamp [mailto:mrhaverc...@gmail.com] 
 Sent: Wednesday, February 04, 2009 10:05 AM
 To: Debashree Pati
 Cc: DSpace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] question about deploying dspace-sword

 I was able to get sword working by adding the context;

 Context path=/dspace-sword docBase=/path/to/dspace/webapps/sword 
 debug=0 reloadable=true cachingAllowed=false allowLinking=true/

 If you are able to browe jspui and/or xmlui I'm assuming you may have 
 done this; if so, is Tomcat logging any additional errors?

 Cheers


 Hayden

 Debashree Pati wrote:
   
 Hi,

 The DSpace 1.5 documentation (3.4 Windows Installation - Installation 
 Steps - step 10) states:

 10. Browse to either |http://localhost:8080/jspui| or 
 |http://localhost:8080/xmlui|. You should see the DSpace home page for 
 either the JSPUI or XMLUI, respectively.

 What about the dspace-sword instance? The documentation does not 
 mention it anywhere.

 The installation step in README under the download 
 *dspace-sword-6-11-2007/dspace-sword* states:

 7/ When deployed you should be able to view your service document at

 the following url:

 http://[dspace.hostname]/dspace-sword/servicedocument

 But, it just gives me the 404 message of resource not found.

 Can someone please help me in getting this to work?

 Thanks,

 Deb

 


 
 
 --
   
 Create and Deploy Rich Internet Apps outside the browser with
 
 Adobe(R)AIR(TM)
   
 software. With Adobe AIR, Ajax developers can use existing skills and code
 
 to
   
 build responsive, highly engaging applications that combine the power of
 
 local
   
 resources and data with the reach of the web. Download the Adobe AIR SDK
 
 and
   
 Ajax docs to start building applications
 
 today-http://p.sf.net/sfu/adobe-com
   
 

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

   


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] question about deploying dspace-sword

2009-02-04 Thread Mr Havercamp
Debashree Pati wrote:
 Yes, in my [Dspace]/webapps/sword/ there are WEB-INF/ and META-INF/ with
 contents. 
 Also, the lni/ and oai/ have folders and files. 

 But, [Tomcat]/work/Catalina/localhost/oai is empty. There isn't any lni
 subdirectory here. I don't remember of any error while installing Tomcat. 
   
Yes, checking my Catalina/localhost/ directory I see similar directories 
to you.
 Shouldn't these web apps. supposed to be under [Tomcat]/webapps? - Here I
 only have the folders - docs, examples, host-manager, manager, ROOT,
 sword-client, and sword-client.war(put by me). Why doesn't it have the
 jspui, xmlui, etc.? I am reading up some Tomcat tutorial to figure out
 what's going on. Will appreciate any help.
   
You can either deploy the generated war files from 
/your/build/path/build/dspace-1.5.1-release/dspace/modules/oai/target/ 
to the tomcat webapps directory, or you can reference the dspace app 
directly from /usr/local/dspace/webapps/ (these are the unpacked war 
files, all dropping them into tomcat/webapps will do is unpack them from 
there instead).

Without the error logs above SEVERE: Error listenerStart it's hard to 
diagnose.

One thing I had to do was set TOMCAT5_SECURITY=no. Not sure where this 
setting is on a Windows platform.

Could you also provide your Tomcat context config?
 Thanks,
 Deb


 -Original Message-
 From: Mr Havercamp [mailto:mrhaverc...@gmail.com] 
 Sent: Wednesday, February 04, 2009 11:09 AM
 To: Debashree Pati
 Cc: DSpace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] question about deploying dspace-sword

 No, there should be more files than that. If you look in the sword 
 directory you should see the sub directories META-INF/ and WEB-INF/.

 What about in oai/ and lni/?

 Were there any errors during installation?

 Cheers


 Hayden

 Debashree Pati wrote:
   
 Thanks Hayden for the reply.

 I had added the context path for Dspace SWORD user like you've mentioned. 
 And, yes I am able to browse to both jspui and xmlui.

 Another thing I noticed is that under 

 C:\Program Files\apache-tomcat-6.0.18\work\Catalina\localhost\sword
 There is only a single file called SESSIONS.ser. I believe this must be
 
 what
   
 Tomcat is attempting to deploy. All the other subdirectories like
 [Tomcat]\work\Catalina\localhost\jspui or xmlui have whole bunch of
 
 various
   
 files. How does your directory content under sword look like?

 Tomcat logs two SEVERE errors in catalina.log file: (but I am not able to
 figure out how to resolve them)

 
 
   
 
  
 INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
 Feb 4, 2009 10:37:46 AM org.apache.catalina.core.StandardContext start

 SEVERE: Error listenerStart
 Feb 4, 2009 10:37:46 AM org.apache.catalina.core.StandardContext start

 SEVERE: Context [/dspace-sword] startup failed due to previous errors
 Feb 4, 2009 10:37:48 AM org.apache.catalina.startup.HostConfig deployWAR

 INFO: Deploying web application archive sword-client.war
 Feb 4, 2009 10:37:49 AM org.apache.coyote.http11.Http11Protocol start
 INFO: Starting Coyote HTTP/1.1 on http-8080
 Feb 4, 2009 10:37:49 AM org.apache.jk.common.ChannelSocket init
 INFO: JK: ajp13 listening on /0.0.0.0:8009
 Feb 4, 2009 10:37:49 AM org.apache.jk.server.JkMain start
 INFO: Jk running ID=0 time=0/31  config=null
 Feb 4, 2009 10:37:49 AM org.apache.catalina.startup.Catalina start
 INFO: Server startup in 3594 ms

 
 
   
 ---

 Thanks for any help.
 -Deb


 -Original Message-
 From: Mr Havercamp [mailto:mrhaverc...@gmail.com] 
 Sent: Wednesday, February 04, 2009 10:05 AM
 To: Debashree Pati
 Cc: DSpace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] question about deploying dspace-sword

 I was able to get sword working by adding the context;

 Context path=/dspace-sword docBase=/path/to/dspace/webapps/sword 
 debug=0 reloadable=true cachingAllowed=false allowLinking=true/

 If you are able to browe jspui and/or xmlui I'm assuming you may have 
 done this; if so, is Tomcat logging any additional errors?

 Cheers


 Hayden

 Debashree Pati wrote:
   
 
 Hi,

 The DSpace 1.5 documentation (3.4 Windows Installation - Installation 
 Steps - step 10) states:

 10. Browse to either |http://localhost:8080/jspui| or 
 |http://localhost:8080/xmlui|. You should see the DSpace home page for 
 either the JSPUI or XMLUI, respectively.

 What about the dspace-sword instance? The documentation does not 
 mention it anywhere.

 The installation step in README under the download 
 *dspace-sword-6-11-2007/dspace-sword* states:

 7/ When deployed you should be able to view your service document at

 the following url:

 http://[dspace.hostname]/dspace-sword/servicedocument

 But, it just gives me the 404 message of resource not found.

 Can someone please help me in getting this to work

Re: [Dspace-tech] question about deploying dspace-sword

2009-02-04 Thread Mr Havercamp
Sounds good. I can give a bit more assistance for Linux installs as I 
have never installed dspace on a windows machine.

Good luck.

Debashree Pati wrote:
 Thank you very much for keeping up with my postings. I decided to do a fresh
 install of dspace in my linux machine and go from there. Hopefully, things
 will work well there. If not, I'll be back to posting again. 

 - deb

 -Original Message-
 From: Mr Havercamp [mailto:mrhaverc...@gmail.com] 
 Sent: Wednesday, February 04, 2009 1:30 PM
 To: Debashree Pati
 Cc: DSpace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] question about deploying dspace-sword

 Debashree Pati wrote:
   
 Yes, in my [Dspace]/webapps/sword/ there are WEB-INF/ and META-INF/ with
 contents. 
 Also, the lni/ and oai/ have folders and files. 

 But, [Tomcat]/work/Catalina/localhost/oai is empty. There isn't any lni
 subdirectory here. I don't remember of any error while installing Tomcat. 
   
 
 Yes, checking my Catalina/localhost/ directory I see similar directories 
 to you.
   
 Shouldn't these web apps. supposed to be under [Tomcat]/webapps? - Here I
 only have the folders - docs, examples, host-manager, manager, ROOT,
 sword-client, and sword-client.war(put by me). Why doesn't it have the
 jspui, xmlui, etc.? I am reading up some Tomcat tutorial to figure out
 what's going on. Will appreciate any help.
   
 
 You can either deploy the generated war files from 
 /your/build/path/build/dspace-1.5.1-release/dspace/modules/oai/target/ 
 to the tomcat webapps directory, or you can reference the dspace app 
 directly from /usr/local/dspace/webapps/ (these are the unpacked war 
 files, all dropping them into tomcat/webapps will do is unpack them from 
 there instead).

 Without the error logs above SEVERE: Error listenerStart it's hard to 
 diagnose.

 One thing I had to do was set TOMCAT5_SECURITY=no. Not sure where this 
 setting is on a Windows platform.

 Could you also provide your Tomcat context config?
   
 Thanks,
 Deb


 -Original Message-
 From: Mr Havercamp [mailto:mrhaverc...@gmail.com] 
 Sent: Wednesday, February 04, 2009 11:09 AM
 To: Debashree Pati
 Cc: DSpace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] question about deploying dspace-sword

 No, there should be more files than that. If you look in the sword 
 directory you should see the sub directories META-INF/ and WEB-INF/.

 What about in oai/ and lni/?

 Were there any errors during installation?

 Cheers


 Hayden

 Debashree Pati wrote:
   
 
 Thanks Hayden for the reply.

 I had added the context path for Dspace SWORD user like you've mentioned.
   

   
 And, yes I am able to browse to both jspui and xmlui.

 Another thing I noticed is that under 

 C:\Program Files\apache-tomcat-6.0.18\work\Catalina\localhost\sword
 There is only a single file called SESSIONS.ser. I believe this must be
 
   
 what
   
 
 Tomcat is attempting to deploy. All the other subdirectories like
 [Tomcat]\work\Catalina\localhost\jspui or xmlui have whole bunch of
 
   
 various
   
 
 files. How does your directory content under sword look like?

 Tomcat logs two SEVERE errors in catalina.log file: (but I am not able to
 figure out how to resolve them)

 
   
 
   
   
 
 
 
 INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
 Feb 4, 2009 10:37:46 AM org.apache.catalina.core.StandardContext start

 SEVERE: Error listenerStart
 Feb 4, 2009 10:37:46 AM org.apache.catalina.core.StandardContext start

 SEVERE: Context [/dspace-sword] startup failed due to previous errors
 Feb 4, 2009 10:37:48 AM org.apache.catalina.startup.HostConfig deployWAR

 INFO: Deploying web application archive sword-client.war
 Feb 4, 2009 10:37:49 AM org.apache.coyote.http11.Http11Protocol start
 INFO: Starting Coyote HTTP/1.1 on http-8080
 Feb 4, 2009 10:37:49 AM org.apache.jk.common.ChannelSocket init
 INFO: JK: ajp13 listening on /0.0.0.0:8009
 Feb 4, 2009 10:37:49 AM org.apache.jk.server.JkMain start
 INFO: Jk running ID=0 time=0/31  config=null
 Feb 4, 2009 10:37:49 AM org.apache.catalina.startup.Catalina start
 INFO: Server startup in 3594 ms

 
   
 
   
   
 
 ---

 Thanks for any help.
 -Deb


 -Original Message-
 From: Mr Havercamp [mailto:mrhaverc...@gmail.com] 
 Sent: Wednesday, February 04, 2009 10:05 AM
 To: Debashree Pati
 Cc: DSpace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] question about deploying dspace-sword

 I was able to get sword working by adding the context;

 Context path=/dspace-sword docBase=/path/to/dspace/webapps/sword 
 debug=0 reloadable=true cachingAllowed=false allowLinking=true/

 If you are able to browe jspui and/or xmlui I'm assuming you may have 
 done this; if so, is Tomcat logging any additional errors?

 Cheers


 Hayden

 Debashree Pati

Re: [Dspace-tech] question about deploying dspace-sword

2009-02-04 Thread Mr Havercamp
I can confirm that renaming dspace-sword to sword fixes the 404 not 
available error.

Kim Shepherd wrote:
 Hi Deb,

 In addition to the other suggestions give here, I would make sure you are 
 using either jspui or xmlui as the ROOT webapp in your Tomcat installation. 
 This causes less problems for SWORD deposits, and is as easy as renaming your 
 jspui (or xmlui) webapp dir/war to ROOT.

 If you do not want to/can't use jspui or xmlui as ROOT, you can edit 
 dspace.cfg to configure your own deposit URL, eg:

 sword.deposit.url = http://www.yoursitename.com/sword/deposit

 This was one trick that got me when I first started using SWORD, though as I 
 recall I didn't have trouble with getting initial service documents..

 If the 1.5 documentation is telling you to use 'dspace-sword' as a webapp 
 name, it must be out of date -- by default, the webapp is just called sword 
 now.

 Cheers,

 Kim.

   
 -Original Message-
 From: Debashree Pati [mailto:dp...@oln.org]
 Sent: Thursday, 5 February 2009 8:00 a.m.
 To: 'Mr Havercamp'
 Cc: DSpace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] question about deploying dspace-sword

 Thank you very much for keeping up with my postings. I decided to do a
 fresh
 install of dspace in my linux machine and go from there. Hopefully,
 things
 will work well there. If not, I'll be back to posting again.

 - deb

 -Original Message-
 From: Mr Havercamp [mailto:mrhaverc...@gmail.com]
 Sent: Wednesday, February 04, 2009 1:30 PM
 To: Debashree Pati
 Cc: DSpace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] question about deploying dspace-sword

 Debashree Pati wrote:
 
 Yes, in my [Dspace]/webapps/sword/ there are WEB-INF/ and META-INF/
   
 with
 
 contents.
 Also, the lni/ and oai/ have folders and files.

 But, [Tomcat]/work/Catalina/localhost/oai is empty. There isn't any
   
 lni
 
 subdirectory here. I don't remember of any error while installing
   
 Tomcat.
 
 Yes, checking my Catalina/localhost/ directory I see similar
 directories
 to you.
 
 Shouldn't these web apps. supposed to be under [Tomcat]/webapps? -
   
 Here I
 
 only have the folders - docs, examples, host-manager, manager, ROOT,
 sword-client, and sword-client.war(put by me). Why doesn't it have
   
 the
 
 jspui, xmlui, etc.? I am reading up some Tomcat tutorial to figure
   
 out
 
 what's going on. Will appreciate any help.

   
 You can either deploy the generated war files from
 /your/build/path/build/dspace-1.5.1-release/dspace/modules/oai/target/
 to the tomcat webapps directory, or you can reference the dspace app
 directly from /usr/local/dspace/webapps/ (these are the unpacked war
 files, all dropping them into tomcat/webapps will do is unpack them
 from
 there instead).

 Without the error logs above SEVERE: Error listenerStart it's hard to
 diagnose.

 One thing I had to do was set TOMCAT5_SECURITY=no. Not sure where this
 setting is on a Windows platform.

 Could you also provide your Tomcat context config?
 
 Thanks,
 Deb


 -Original Message-
 From: Mr Havercamp [mailto:mrhaverc...@gmail.com]
 Sent: Wednesday, February 04, 2009 11:09 AM
 To: Debashree Pati
 Cc: DSpace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] question about deploying dspace-sword

 No, there should be more files than that. If you look in the sword
 directory you should see the sub directories META-INF/ and WEB-INF/.

 What about in oai/ and lni/?

 Were there any errors during installation?

 Cheers


 Hayden

 Debashree Pati wrote:

   
 Thanks Hayden for the reply.

 I had added the context path for Dspace SWORD user like you've
 
 mentioned.

 
 And, yes I am able to browse to both jspui and xmlui.

 Another thing I noticed is that under

 C:\Program Files\apache-tomcat-6.0.18\work\Catalina\localhost\sword
 There is only a single file called SESSIONS.ser. I believe this must
 
 be
 
 what

   
 Tomcat is attempting to deploy. All the other subdirectories like
 [Tomcat]\work\Catalina\localhost\jspui or xmlui have whole bunch of

 
 various

   
 files. How does your directory content under sword look like?

 Tomcat logs two SEVERE errors in catalina.log file: (but I am not
 
 able to
 
 figure out how to resolve them)


 
 ---
 -
 
 

 INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
 Feb 4, 2009 10:37:46 AM org.apache.catalina.core.StandardContext
 
 start
 
 SEVERE: Error listenerStart
 Feb 4, 2009 10:37:46 AM org.apache.catalina.core.StandardContext
 
 start
 
 SEVERE: Context [/dspace-sword] startup failed due to previous
 
 errors
 
 Feb 4, 2009 10:37:48 AM org.apache.catalina.startup.HostConfig
 
 deployWAR
 
 INFO: Deploying web application archive sword-client.war
 Feb 4, 2009 10:37:49 AM

[Dspace-tech] DSpace and SRW

2009-02-04 Thread Mr Havercamp
I was wondering if anyone has successfully installed the Search and 
Retrieve Web/URL (SRW/U) service for DSpace.

I've managed to get it to successfully run by installing thew SRW server 
and SRW/DSpace interface from http://code.google.com/p/oclcsrw/ and 
http://code.google.com/p/oclcsrwdspacelucene/ but the configuration 
requires a file called DSpace.SRWDatabase.props which I cannot find 
anywhere.

If anyone has successfully installed it and has it querying their DSpace 
instance, I was wondering if;

1. I am retrieving the SRW source files from the correct location

2. Where I obtain a copy of the DSpace.SRWDatabase.props file

3. Whether the configuration details on the googlecode site 
(http://code.google.com/p/oclcsrw/wiki/ConfigurationFiles) are correct, 
and if not where the correct configuration details can be found.

Any help would be much appreciated.

Cheers


Hayden

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Migrating from Gallery2 to Dspace?

2009-02-03 Thread Mr Havercamp
We were able to migrate data out of Joomla! to DSpace by exporting the 
MySQL data as XML and then using a converter we wrote  and which is now 
available at http://www.sourceforge.net/projects/dcmetatoolkit we were 
able to convert the MySQL XML data into Dublin Core compatible XML and 
batch import it.

The Joomla site is also running Gallery2 so I would assume it would be 
possible.

Hope this helps

Cheers


Hayden

Tim Ribaric wrote:

 Hello,

   Does anyone have any experience migrating content from a Gallery2 
 (http://gallery.menalto.com/)site to a Dspace instance?  I know Dspace 
 has the command line import tool but I think getting the information 
 out of the Gallery site into a suitable import format is where the 
 trouble would be.

  

 Thanks,

  Tim

  

  

 Tim Ribaric

 +  Digital Services Librarian

 +  James A Gibson Library, Brock University

 +++

 triba...@brocku.ca mailto:triba...@brocku.ca

 905-688-5550 x5358

  

  

 

 --
 Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
 software. With Adobe AIR, Ajax developers can use existing skills and code to
 build responsive, highly engaging applications that combine the power of local
 resources and data with the reach of the web. Download the Adobe AIR SDK and
 Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
 

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


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Error 404 and Tomcat configuration

2009-02-02 Thread Mr Havercamp
Make sure the permissions on your dspace file hierarchy are set to your 
tomcat user. I had the same problem last night while installing a new 
dspace instance and missed this step only to wind up with a 404 error.

Hope this helps

Cheers


Hayden

Stan Orlov wrote:
 Hi Susan,

 I edited the files as suggested, so now I have the following lines:

 in /usr/local/dspace/config/dspace.cfg:
 log.init.config = ${dspace.dir}/config/log4j.xml
 log.dir = ${dspace.dir}/log


 in /usr/local/dspace/config/log4j.xml:
 param name=File value=/usr/local/dspace/log/dspace.log /

 in /usr/local/dspace/config/log4j.properties:
 log4j.appender.A1.File=/usr/local/dspace/log/dspace.log
 log4j.appender.A2.File=/usr/local/dspace/log/checker.log

 Restarted Catalina and have the same problem. Tomcat is running, but 
 Dspace is not listed as an application and xmlui and jspui give me 404 
 errors. Shall I rebuild dspace or are there some more things to try 
 first?

 Cheers,
 Stan
 P.S. I'm attaching two log files just in case. There isn't much in the 
 dspace.cfg though.


 On Tue, Jan 27, 2009 at 1:32 PM, Susan M. (LARC-B702)[NCI INFORMATION 
 SYSTEMS] Thornton susan.m.thorn...@nasa.gov 
 mailto:susan.m.thorn...@nasa.gov wrote:

 Hi Stan,

 You can put the dspace.log and checker.log files wherever you want
 them. We have ours in /export/home/dspace/log/….Just make sure
 they are fully qualified and don't use the ${log.dir} symbolic in
 the log4j files. I did leave the symbolics in our dspace.cfg files
 as follows:

 # Logging configuration #

 # These settings are currently NOT used by the XMLUI.

 # The XMLUI writes its logs to the '[dspace-xmlui]/WEB-INF/logs/'

 # in the actual XMLUI web application.

 # Override default log4j configuration

 # you may provide your own configuration here, existing

 # alternatives are:

 log.init.config = ${dspace.dir}/config/log4j.xml

 # Where to put the logs (used in configuration only)

 log.dir = ${dspace.dir}/log

 And it wouldn't hurt to create the log directory where you want
 it, because I do believe it will create the files, but don't think
 it can create the directory.

 Let me know if you have any further problems!

 Good luck,

 Sue


 

 --
 Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
 software. With Adobe AIR, Ajax developers can use existing skills and code to
 build responsive, highly engaging applications that combine the power of local
 resources and data with the reach of the web. Download the Adobe AIR SDK and
 Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
 

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


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] host for dspace

2009-02-01 Thread Mr Havercamp
Van Ly wrote:
 I have used gandi.net for hosting in general and for some more see
  
 http://delicious.com/vy0123/hosting
  
 -- Van Ly : University of Sydney Library
 
 *From:* Andrew Marlow
 *Sent:* Mon 2/02/2009 5:10 AM
 *To:* Cirilo Macanze
 *Cc:* dspace-tech@lists.sourceforge.net
 *Subject:* Re: [Dspace-tech] host for dspace

 On Sun, Feb 1, 2009 at 5:15 PM, Cirilo Macanze mutx...@gmail.com 
 mailto:mutx...@gmail.com wrote:

 Hi Adam,

 I'm looking for ta good hosting company to host my DSpace
 application. Do anyone have a such experience with a provider?
 Please help me.


 I don't know of such a provider so I can't help. Sorry. But it seems 
 to me that the issue is which providers have either postgres or 
 oracle. Without those a provider cannot host a DSpace.  All the ones I 
 have come across, admittedly for small scale deployments, only support 
 MySQL. This is why I am keen to see support added for mySQL.
 -- 
 Regards,

 Andrew M.
 http://www.andrewpetermarlow.co.uk/

 

 --
 This SF.net email is sponsored by:
 SourcForge Community
 SourceForge wants to tell your story.
 http://p.sf.net/sfu/sf-spreadtheword
 

 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
   
What of disk space will you be looking at to store your assets?

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Viewing Item Records as XML

2009-01-22 Thread Mr Havercamp
Hi

I would like to allow my users to manage and display collections of 
assets via an external web site (say, for example, an exhibition site). 
I was thinking I could retrieve the record from DSpace as pure XML then 
transform it within my external site.

Therefore, I was wondering if there is some way of viewing DSpace item 
records as raw XML? Alternatively if someone could suggest an 
alternative method it would be much appreciated.

Kind regards


Hayden

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Viewing Item Records as XML

2009-01-22 Thread Mr Havercamp
Thanks for the suggestions.

OAI  looks very promising for what we want to achieve.

For anyone else who's interested one can use a url similar to the 
following;

http://your.dspace.domain.tld/oai/request?verb=GetRecordmetadataPrefix=metsidentifier=oai:your.dspace.domain.tld/dspace:10431/24
 


Cheers


Hayden

Claudia Jürgen wrote:
 Hi Hayden,

 oai is one possibility to expose the metadata. Apart from using the 
 crosswalks provided, you can define other crosswalks and expose them 
 via OAI.

 RSS feeds are another possibility.

 Hope that helps

 Claudia Jürgen

 Robin Taylor schrieb:
 Dspace does expose the items for harvesting using OAI-PMH, which (I 
 think) is just XML. So, if you could send OAI-PMH requests to your 
 Dspace instance you could transform the responses to suit your needs 
 (I think).

 Cheers, Robin.


 Robin Taylor
 Main Library
 University of Edinburgh
 Tel. 0131 6515208 
 -Original Message-
 From: Mr Havercamp [mailto:mrhaverc...@gmail.com] Sent: 22 January 
 2009 14:55
 To: dspace-tech@lists.sourceforge.net
 Subject: [Dspace-tech] Viewing Item Records as XML

 Hi

 I would like to allow my users to manage and display collections of 
 assets via an external web site (say, for example, an exhibition site).
 I was thinking I could retrieve the record from DSpace as pure XML 
 then transform it within my external site.

 Therefore, I was wondering if there is some way of viewing DSpace 
 item records as raw XML? Alternatively if someone could suggest an 
 alternative method it would be much appreciated.

 Kind regards


 Hayden

 --
 
 This SF.net email is sponsored by:
 SourcForge Community
 SourceForge wants to tell your story.
 http://p.sf.net/sfu/sf-spreadtheword
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech







--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] problem with dspace 1.5 installation in debian 4.0

2009-01-18 Thread Mr Havercamp
Zico wrote:

 I am trying to install dspace 1.5.1 in debian 4.0 release 0. Alvaro 
 helped me a lot.
 I configured jdk, apache maven, apache ant,postgresql. And added 
 dspace user. After
 that, when i went to create database with the command: createdb -U 
 dspace -E UNICODE,
 the error came:

 *createdb: could not connect to database template1: FATAL:  Ident 
 authentication failed for user dspace*

 what should i do now? 


 -- 
 Best,
 Z
 

 --
 This SF.net email is sponsored by:
 SourcForge Community
 SourceForge wants to tell your story.
 http://p.sf.net/sfu/sf-spreadtheword
 

 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
   
What was the full command you used for creating the database?

To create the user and db in Ubuntu I used the following;

# sudo su - postgres -c 'createuser -P -d -R -S dspace'
# createdb -U dspace -h 127.0.0.1 -W -e -E UNICODE seayourhistory

Hope this helps.

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Removing thumbnails/previews

2009-01-10 Thread Mr Havercamp
I was wondering if there is some way to remove thumbnails and/or 
previews created using filter-media?

I had a look at the filter-media help but could not find anything to do 
with purging previously created indexes.

While I know one can turn it off for jsp-ui and one could alter their 
xml-ui themes to hide them I would like to reclaim the hard-disk space.

Any help much appreciated.

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] xmlui versus jspui

2009-01-08 Thread Mr Havercamp
Lyn Amery wrote:

 I’m new to DSpace, setting up an archives repository. I’m reasonably 
 technical,

 but not overly experienced in web development or the technologies 
 utilised therein.

 I’ll need to adapt DSpace to suit my agency’s needs. As a first step, 
 I’m trying

 to decide whether to go with the JSP or XML (Manakin) interface. I’ve 
 yet to

 find any discussions on what the advantages are of one to the other. As a

 newbie, would one be simpler to modify? Are there things which one 
 does or

 doesn’t do particularly well?

 Thanks for any suggestions!

 Cheers,

 Lyn

 /Lyn Amery/

 /Web Analyst/Programmer/

 /State Records Office/

 /(08) 9427 3493///

 /lyn.am...@sro.wa.gov.au mailto:lyn.am...@sro.wa.gov.au/

 

 --
 Check out the new SourceForge.net Marketplace.
 It is the best place to buy or sell services for
 just about anything Open Source.
 http://p.sf.net/sfu/Xq1LFB
 

 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
   
Go with the XML if you require template customization for your agency. 
The XML ui takes advantage of XSL translations to simplify customized 
themes although there is a trade-off as some things that work in the JSP 
ui don't work out-of-the-box in the XML ui. For example, you will need 
to obtain a patch to get reporting working in the XML ui.

Hope this helps.

Cheers


Hayden

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace and MySQL

2009-01-07 Thread Mr Havercamp
Diggory Mark wrote:

 On Jan 7, 2009, at 9:19 AM, Andrew Marlow wrote:

 On Tue, Dec 30, 2008 at 7:41 AM, mikan.d.dspace listmail 
 mikan.dsp...@gmail.com mailto:mikan.dsp...@gmail.com wrote:

 Andew,
 If I remember correctly, DSpace 2.0 should not be dependent on
 database software, so you can use whatever DB you like. 


 Having looked some more into DSpace 2.0 I think it is not ready 
 enough. I hope someone will correct me if I am wrong. DSpace 1.5.1 
 seems eminently usable to me and seems to have most of the 
 functionality that I require. So it seems to me that an increment to 
 support MySQL is more appropriate. I wonder who else is using or 
 considering using DSpace 1.5.1 with MySQL?

 Yes, 2.0 is not going to be giving you an immediate solution to your 
 problem.

 I would recommend exploring this further, I'm not sure why 
 there hasn't been a port to MySQL placed into dspace/etc/myslq/*.sql 
 yet. It would be a starting point for customization.  The challenge 
 with porting to any other SQL dialect with DSpace is that there are 
 conditional blocks of code peppered throughout the implementation that 
 are vendor specific, you may find yourself adding conditions to these 
 for mysql where appropriate.

 Regards,
 Mark



 2008/12/24 Andrew Marlow marlow.and...@googlemail.com
 mailto:marlow.and...@googlemail.com:
  By trawling the web I see that othershave asked in the past
 about DSpace
  supporting MySQL. Soneone even submitted a patch for it, I
 believe, but this
  appears not to have made it into 1.5.1. However, versions with
 the changes
  necessary for MySQL are out there. See the article about one
 million items
  at http://digital-scholarship.org/digitalkoans/category/dspace.
 So I was
  wondering, what plans are there to officially support mySQL?

 -- 
 Regards,

 Andrew M.
 http://www.andrewpetermarlow.co.uk

 --
 Check out the new SourceForge.net Marketplace.
 It is the best place to buy or sell services for
 just about anything Open Source.
 http://p.sf.net/sfu/Xq1LFB___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

 ~
 Mark R. Diggory
 _http://purl.org/net/mdiggory/homepage_



 

 --
 Check out the new SourceForge.net Marketplace.
 It is the best place to buy or sell services for
 just about anything Open Source.
 http://p.sf.net/sfu/Xq1LFB
 

 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
   
We carried out a MySQL port a couple of years back for DSpace 1.3(?) and 
found that some Java code changes were required. However, these were 
centralized and so the number of changes and the amount of change 
required were minimal. Mark is absolutely correct, most updates required 
additions to the db connection condition statements to account for MySQL.

We submitted a patch with the MySQL port but it was not accepted, but if 
we find the time and resources we may attempt submitting another.

Cheers


Hayden

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Handle Server and Multiple DSpace Instances

2008-12-29 Thread Mr Havercamp
I have a server hosting multiple DSpace instances and set them up using 
the instructions outlined at 
http://wiki.dspace.org/index.php/MultipleDspaceOneServer. Two or more of 
the customers I'm hosting the instances for would like to use a global 
handle and so I'm wondering whether this is possible.

As far as I know (and please correct me if I'm wrong) I need to have a 
local handle server listen on port 2641 and that a handle server belongs 
to a single DSpace instance.

What I would like to know is whether I can have a single handle server 
manage handles for multiple DSpace instances and where I might find 
information on going about setting this up. If this is not the case, 
will I need to run a handle server for each instance on a unique port?

I'd preferably like to implement the former as I'm hoping to make this 
an automated service and don't at to have to manage multiple handle 
servers listening on multiple ports.

Any help much appreciated.

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


Re: [Dspace-tech] Updating from 1.5 to 1.5.1

2008-12-01 Thread Mr Havercamp
Stanley Laufer wrote:
 The 1.5.1 documentation unfortunately does not include a section on
 updating from 1.5 to 1.5.1:

http://www.dspace.org/1_5_1Documentation/ch04.html

 Does anyone know if there's any documentation available on updating
 from 1.5 to 1.5.1?

 Thanks in advance for any replies.




 Stanley E. Laufer
 Network Administrator
 School of Library and Information Science
 San Jose State University


 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
   
Here are our notes from updating a DSpace installation on an Ubuntu 
Linux 8.04 Server, hope it helps;

Updating the DSpace configuration requires not only an update of the 
dspace.cfg file but also an update of the DSpace compiled files.
Download;

# wget 
http://transact.dl.sourceforge.net/sourceforge/dspace/dspace-1.5.1-release.tar.gz

Reconfigure the Dspace.cfg file;

# vim /path/to/dspace/install/config/dspace.cfg
dspace.dir = /path/to/dspace/install
dspace.url = http://localhost:8180/site_name
dspace.name = Your DSpace Site Name
db.password = ***
db.url = jdbc:postgresql://localhost:5432/db_name
default.language = en_GB
assetstore.dir = /path/to/assets
log.dir = /path/to/logs
search.dir = /path/to/search
handle.dir = /path/to/handle-server
report.dir = /path/to/reports
upload.temp.dir = /path/to/upload
mail.server=mail.server.url
mail.from.address = [EMAIL PROTECTED]
mail.admin = [EMAIL PROTECTED]

To compile the new version;

# cd /path/to/dspace-1.5.1-release/dspace/
# sudo mvn package

To update the configuration;

# cd /path/to/dspace-1.5.1-release/dspace/target/dspace-1.5.1-build.dir/
# sudo ant -Dconfig=/path/to/dspace/install/config/dspace.cfg update
# sudo /etc/init.d/tomcat5.5 force-reload

Hope this helps.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] dspace and xmlui environmental problems after installation

2008-11-27 Thread Mr Havercamp
Andrew Marlow wrote:
 hello,

 I am still struggling with setting up dspace. I finally got it working with 
 jspui after 
 editing the jspui/WEB-INF/web.xml file to specify the full pathname to the 
 dspace.cfg file. 

 I think the need to do this should be more clearly documented.

 I then went on to try using xmlui instead. It failed with a mysterious error 
 saying there was a problem logging to
 xmlui/WEB-INF/logs/core.log. It turns out the logs directory was not there! I 
 created it. Is this perhaps another

 rough edge to the install process? But then I got a different error. The 
 error is shown below. It looks like it 
 might be something to do with cocoon initialisation. The tomcat logs don't 
 have any errors in and do not shed any light.

 The logs in the newly created logs directory are empty.

 javax.servlet.ServletException: Servlet.init() for servlet Cocoon threw 
 exception
   
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)

   
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
   
 org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
   
 org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)

   
 org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
   
 org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
   
 org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)

   java.lang.Thread.run(Unknown Source)
   

 *root cause*

 java.lang.NullPointerException
   
 org.apache.cocoon.servlet.multipart.RequestFactory.init(RequestFactory.java:61)
   org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:490)

   
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
   
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
   
 org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)

   
 org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
   
 org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
   
 org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)

   
 org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
   java.lang.Thread.run(Unknown Source)
   
 Can anybody shed any light on this please? I am keen to use xmlui 
 instead of jspui because I want to move to using manakin.
 -- 
 Regards,

 Andrew M.
 

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 

 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
   
I have a similar issue when trying to run xml ui and it turned out my 
permissions were wrong for all webapps directory under the dspace 
installation.

I'm on Ubuntu Linux and my tomcat user is tomcat55 so I chown-ed 
everything to that user;

sudo chown tomcat55: -R /usr/local/dspace/webapps


Hope this helps.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] dspace and xmlui environmental problems after installation

2008-11-27 Thread Mr Havercamp
Andrew Marlow wrote:
 On Thu, Nov 27, 2008 at 8:54 AM, Mr Havercamp [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:


  Can anybody shed any light on this please? I am keen to use
 xmlui instead of jspui because I want to move to using manakin.
 -- 
 Regards,

 Andrew M.

  

 I have a similar issue when trying to run xml ui and it turned out
 my permissions were wrong for all webapps directory under the
 dspace installation.

 I'm on Ubuntu Linux and my tomcat user is tomcat55 so I chown-ed
 everything to that user;

 sudo chown tomcat55: -R /usr/local/dspace/webapps


 Yes this was the problem. Many thanks for the tip!

 I am on windoze so I did what you have to do to open up permissions 
 there and now it works. IMO this is something else that is missing 
 from the manual. In step 8 when it tells you to copy over the jspui 
 and xmlui directories it should say something about the permissions 
 requirements. What can be done to get this fed back into whoever 
 maintains that document? Is it enough to just be mentioning it on this 
 mailing list?


 -- 
 Regards,

 Andrew M.

 

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 

 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
   
Not sure actually. Maybe bring it up over at the dspace forums or post 
an entry here; http://jira.dspace.org/jira/secure/Dashboard.jspa.

Someone else will probably have a better answer than me though.

Glad to hear you got it working, and yes, permissions have been an 
ongoing issue for me but I think my problem might be I don't know enough 
about tomcat.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Postgres won't work after violent shutdown

2008-11-26 Thread Mr Havercamp
juuventud wrote:
 Hi all

 I've been on this problem for two days! Would seriously appreciate some
 suggestions.
 My server went down unexpectedly, and since restarting, the Postgres db
 won't come back on.
 I'm running PostgreSQL8.1 on Windows Server 2003 with DSpace 1.4.2
 I'm getting various error messages:
 Server doesn't listen
 The server doesn't accept connections: the connection library reports 
 could not connect to server: Connection refused (0x274D/10061) Is the
 server running on host 127.0.0.1 and accepting TCP/IP connections on port
 5432?
 This is when trying to open the db in pgAdminIII.

 I don't think its a TCP/IP problem though, because I get the problem when
 working on the server (that's a guess).

Is postmaster running?
 pg_ctl: PID file C:\Program Files\PostgreSQL\8.1\data\postmaster.pid does
 not exist. Is postmaster running?   
 I get this when trying pg_ctl command.

 So naturally I check to see if the postmaster is running. It is not, I cant
 get it on either because it tells me (when starting it as a restricted
 user): Error 5: Access denied

 I have totally no clue where the problem lies. Firewall is off, Postgres
 exceptions is on on the right port anyway... Out of ideas. Out of steam.
 PPLLEEAASSEE apply your genius/knowledge/experience to my problem, because I
 have none.

 Many thanks
 Juuventud




   
I haven't used windows in a while but I can try a couple of suggestions 
to kick things off.

When you look in the Services list (you get to it via control 
panel-administration i think) is postgres showing as running?

Also, in the task manager, is postgres.exe there?

Are there any more details in the logs (Event Viewer?)?

You may also want to check the config files in case your machine's ip 
address has changed since the reboot and postgres is still listening on 
the old ip.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Harvest up to date

2008-11-12 Thread Mr Havercamp
Gladys Chacartegui Prosperi wrote:
 Hello,

 I'd like to know how can I have Items harvested in DSpace that come from an 
 OpenCourseWare management system like eduCommons. I want to keep these Items 
 always up to date... Is there any RSS service on DSpace to do this? Or 
 anything similar? Do I have to develop something for do this?

 Thank you in advance.

   
 

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 

 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
   
If you can export the OpenCourseWare data to XML you could transform it 
to Dublin Core format using an XML converter 
(http://www.sourceforge.net/projects/dcmetatoolkit) and import it into 
DSpace using DSpace's import script. While some programming would be 
involved, you would probably be able to automate the majority of tasks 
in a script of some sort. You could probably run it as a cron job that 
would execute every minute, hour, day (depending on how much data is 
being harvested and how up-to-date DSpace needs to be) to update DSpace.

Alternatively, and I don't know if this is possible in DSpace, but if 
you could develop a web service that the OpenCourseWare and DSpace 
applications can use to communicate with each other.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Hardware used in DSpace repositories

2008-11-12 Thread Mr Havercamp
If you're running linux vm's that do not run X I think you're main issue 
will be enough RAM but if you've got enough you should be fine. I'm 
definitely no expert in VMs but I think they are CPU intensive only if 
you're running a GUI desktop, so if you're not using Windows to run your 
servers you should be okay.

I guess the reason I suggest running multiple VMs is you may get better 
memory management but I'm really only speculating an am definitely no 
expert. I guess the question lies in whether the memory limits are a 
result of the OS or Java and I'd be leaning towards Java as it appears 
the Java VM that is reporting the memory error and not the OS. 
Therefore, if you split up your DSpace installs into VMs you would be 
able to overcome Java's limitations.

Alternatively, you could load up the machine with more memory if possible.

I could ask one of my sysadmins if you require more information.

cachiusa wrote:
 Hi Havercamp,
 Thanks a lot for your reply. But more VM will take more resources and be
 more expensive in CPU, rite? I just have 1 server for all (DNS, mail, web
 hosting, ...) 
 Best, 
 Cachiusa

 Mr Havercamp wrote:
   
 Maybe splitting the load using virtual machines may help. Instead of 
 running 24 dspace instances on one machine, use something like 2 virtual 
 machines with 12 instances on each or 4 and 6, 3 and 8, etc.

 cachiusa wrote:
 
 Dear all,
 I am looking for solution for 24 Dspace for 24 communities run on 1
 server.
 Which solution I should choose:

 1) 24 instances of Tomcat, one for each Dspace instance, or
 2) One Tomcat for 24 Dspace instances. 

 I choose second solution by following the link 
 http://www.nabble.com/Changing-DB-Name-%C2%BFhow--td19053520.html 
 and already finished installation. But my server is broken if I  try to
 access 24 DSpace at the same time (it is ok to open 12 Dspace). 

 Some sites show error:
 java.lang.OutOfMemoryError: PermGen space

 The others return errors:
  java.io.FileNotFoundException:
 /usr/local/gmseenet/partners/gmseenet/dspace/webapps/jspui/WEB-INF/web.xml
 (Too many open files)
  
 or: 
 org.apache.jasper.JasperException: Unable to compile class for JSP

 I already set heap memory for Tomcat to 2048 by
 JAVA_OPTS=-Xmx2048M -Xms64M -Dfile.encoding=UTF-8, but I still face the
 same problem.

 I have to run 24 DSpace in 1 machine, so what is solution for me?
 Please help me. Thanks in advance.
 Best,
 Cachiusa


 Robin Taylor-2 wrote:
   
   
 Hi Mika,

 For what it is worth, we currently run 5 Dspace instances in the same
 Tomcat
 without any problems. Using Tomcat manager allows us to
 stop/start/deploy
 one instance without affecting the others. We are running on a
 Sun/Solaris
 v240. We run an  Apache Webserver in front of Tomcat to avoid the user
 having to append 8080 to the URL. We allocate 2G of memory to Tomcat, my
 understanding is that Tomcat doesn't like having more although that may
 be
 just a vicious rumour. We did investigate the possibility of separating
 the
 Dspace's into different virtual machines or into different instances of
 Tomcat on the same machine, but came to the conclusion that we would be
 introducing a layer of complexity and increased maintenance for no real
 gain.  

 Cheers, Robin.




  


 -- 
 The University of Edinburgh is a charitable body, registered in
 Scotland, with registration number SC005336.


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Mika
 Stenberg
 Sent: 08 April 2008 12:38
 To: 'dspace-tech@lists.sourceforge.net'
 Subject: [Dspace-tech] Hardware used in DSpace repositories

 We are planning to centralize all DSpace instances used in our
 University
 into one server. Eventually a total of 5-6 individual DSpace instances
 would
 end up running on the same platform, either on virtualized OS's or
 simply
 distributed on different ports.

 What I'd be interested in, is to learn the your experiences on the issue
 and
 acquire the following info from other members of the community:

 1) How many instances of DSpace does your institution run and
what kind of hardware (CPU, memory, disk space  OS) are they
running on?

 2) How many items are stored in your repository?

 3) Have you experienced any performance issues with your
repositories using the hardware described above?


 You can reply directly to me by e-mail at mika.stenberg(at)helsinki.fi. 
 If other parties are interested on summary, I will be happy to provide
 it.

 Thanks for the input,

 Mika Stenberg
 University of Helsinki
 Finland

 -
 This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
 Register
 now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use
 priority code J8TLD2. 
 http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao
 ne
 ___
 DSpace-tech mailing list

Re: [Dspace-tech] Hardware used in DSpace repositories

2008-11-08 Thread Mr Havercamp
Maybe splitting the load using virtual machines may help. Instead of 
running 24 dspace instances on one machine, use something like 2 virtual 
machines with 12 instances on each or 4 and 6, 3 and 8, etc.

cachiusa wrote:
 Dear all,
 I am looking for solution for 24 Dspace for 24 communities run on 1 server.
 Which solution I should choose:

 1) 24 instances of Tomcat, one for each Dspace instance, or
 2) One Tomcat for 24 Dspace instances. 

 I choose second solution by following the link 
 http://www.nabble.com/Changing-DB-Name-%C2%BFhow--td19053520.html 
 and already finished installation. But my server is broken if I  try to
 access 24 DSpace at the same time (it is ok to open 12 Dspace). 

 Some sites show error:
 java.lang.OutOfMemoryError: PermGen space

 The others return errors:
  java.io.FileNotFoundException:
 /usr/local/gmseenet/partners/gmseenet/dspace/webapps/jspui/WEB-INF/web.xml
 (Too many open files)
  
 or: 
 org.apache.jasper.JasperException: Unable to compile class for JSP

 I already set heap memory for Tomcat to 2048 by
 JAVA_OPTS=-Xmx2048M -Xms64M -Dfile.encoding=UTF-8, but I still face the
 same problem.

 I have to run 24 DSpace in 1 machine, so what is solution for me?
 Please help me. Thanks in advance.
 Best,
 Cachiusa


 Robin Taylor-2 wrote:
   
 Hi Mika,

 For what it is worth, we currently run 5 Dspace instances in the same
 Tomcat
 without any problems. Using Tomcat manager allows us to stop/start/deploy
 one instance without affecting the others. We are running on a Sun/Solaris
 v240. We run an  Apache Webserver in front of Tomcat to avoid the user
 having to append 8080 to the URL. We allocate 2G of memory to Tomcat, my
 understanding is that Tomcat doesn't like having more although that may be
 just a vicious rumour. We did investigate the possibility of separating
 the
 Dspace's into different virtual machines or into different instances of
 Tomcat on the same machine, but came to the conclusion that we would be
 introducing a layer of complexity and increased maintenance for no real
 gain.  

 Cheers, Robin.




  


 -- 
 The University of Edinburgh is a charitable body, registered in
 Scotland, with registration number SC005336.


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Mika
 Stenberg
 Sent: 08 April 2008 12:38
 To: 'dspace-tech@lists.sourceforge.net'
 Subject: [Dspace-tech] Hardware used in DSpace repositories

 We are planning to centralize all DSpace instances used in our University
 into one server. Eventually a total of 5-6 individual DSpace instances
 would
 end up running on the same platform, either on virtualized OS's or simply
 distributed on different ports.

 What I'd be interested in, is to learn the your experiences on the issue
 and
 acquire the following info from other members of the community:

 1)   How many instances of DSpace does your institution run and
  what kind of hardware (CPU, memory, disk space  OS) are they
  running on?

 2)   How many items are stored in your repository?

 3)   Have you experienced any performance issues with your
  repositories using the hardware described above?


 You can reply directly to me by e-mail at mika.stenberg(at)helsinki.fi. 
 If other parties are interested on summary, I will be happy to provide it.

 Thanks for the input,

 Mika Stenberg
 University of Helsinki
 Finland

 -
 This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register
 now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use
 priority code J8TLD2. 
 http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao
 ne
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech



 -
 This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
 Don't miss this year's exciting event. There's still time to save $100. 
 Use priority code J8TL2D2. 
 http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


 

   


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] dynamic updates to dspace.cfg

2008-10-16 Thread Mr Havercamp
Gagan mandayam wrote:
 Hi,
 How do changes get *reflected in dspace.cfg (of /dspace/bin), beyond 
 the first-time fresh install*?
 ie. how does the DSpace app accept 'latest changes' from 
 /dspace/bin/dspace.cfg?


 thanks,
 gagan mg
 

 *DISCLAIMER STATEMENT*

  Save a tree. don't print this email or any documents unless you really 
 need to

 *Confidentiality Warning : This e-mail and any files transmitted along with 
 it are for the sole use of the intended recipient(s) and may contain 
 confidential and privileged information. If you are not the intended 
 recipient, you are hereby notified that any review, re-transmission, 
 conversion to hard copy, copying, circulation or other use of this message 
 and any attachments is strictly prohibited. If you are not the intended 
 recipient, please notify the sender immediately by return e-mail, and destroy 
 the original message along with all copies of the same and any attachments, 
 from your system.



 Virus Warning:  Although the company has taken reasonable precautions to 
 ensure no viruses are present in this email, the company cannot accept 
 responsibility for any loss or damage arising from the use of this email or 
 attachment.*
 

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 

 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
   
You'll need to reload tomcat;

e.g.

# sudo /etc/init.d/tomcat5 reload

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace 1.5.1 -- item import question

2008-10-15 Thread Mr Havercamp
Are you using the import script or calling ItemImport directly? While 
they're probably identical, import may do a couple of additional things 
that solve your problem.

Also are you getting any errors or issues in any of your logs; try 
checking postgresql and tomcat logs for any issues or errors that may be 
reported.

Lastly, does the eperson you are reimporting as have the necessary 
rights to make changes?

Giuseppe Vacanti wrote:
 Hi,

 I have a problem with importing items. I think I have already RTFMed on
 the web site :).

 I can export an item without trouble. If I then try to re-import it,
 either unchanged or by changing some values, I only get two lines of output

 Destination collections:
 Owning  Collection: Technical Notes and Reports

 but nothing happens. I have also tried to craft my own contents and
 dublin_core.xml according to the instructions, but, again, nothing
 happens besides those two lines of output.

 Is there a way to run the ItemImport in a way that makes it be more verbose?

 In case it is relevant, import a single PDF via the Packager works.
 Exporting a METS package works, and reimporting it doesn't. I mention
 METS here in case it gives additional clues: normally I would like to
 import through ItemImport.

 Thanks. Giuseppe



   


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace import throwing SQL connection error

2008-10-08 Thread Mr Havercamp
Thanks for the reply.

I tried your solution and something interesting has happened; the error 
has changed to;

Exception in thread main org.postgresql.util.PSQLException: FATAL: the 
database system is shutting down
at 
org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:275)
at 
org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:94)
at 
org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:65)
at 
org.postgresql.jdbc2.AbstractJdbc2Connection.init(AbstractJdbc2Connection.java:116)
at 
org.postgresql.jdbc3.AbstractJdbc3Connection.init(AbstractJdbc3Connection.java:30)
at org.postgresql.jdbc3.Jdbc3Connection.init(Jdbc3Connection.java:24)
at org.postgresql.Driver.makeConnection(Driver.java:369)
at org.postgresql.Driver.connect(Driver.java:245)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:185)
at 
org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:48)
at 
org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
at 
org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:840)
at org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:175)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:207)
at 
org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:514)
at org.dspace.core.Context.init(Context.java:117)
at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:336)

Does this mean my database is corrupted or am I able to recover from this?

mikan.d.dspace listmail wrote:
 Just a thought; try to run importer by changing to dspace/bin 
 directory first.

 -Mika


 2008/10/7 Mr Havercamp [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED]

 I've recently been importing a few thousand records into dspace using
 the import tool that is supplied within the ./bin directory.

 Up until recently I have been importing collections without incident
 until last night when, during an import, I lost my remote
 connection to
 my DSpace server.

 When attempting to resume an import;

 # sudo /path/to/dspace/bin/import -c 123456789/8 -a -R -m
 /path/to/dspace/imports/photographs.log -e [EMAIL PROTECTED] -s
 /path/to/assets/photographs

 the following error is thrown;

 Exception in thread main java.sql.SQLException:
 java.lang.ClassNotFoundException:
at
 
 org.dspace.storage.rdbms.DatabaseManager.initialize(DatabaseManager.java:1555)
at
 
 org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:512)
at org.dspace.core.Context.init(Context.java:117)
at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:336)

 I've checked the logs and have not been able to find any other
 information except for when I restart postgresql I see;

 2008-10-07 12:54:46 UTC LOG:  received smart shutdown request
 2008-10-07 12:54:46 UTC LOG:  autovacuum launcher shutting down
 2008-10-07 12:56:11 UTC LOG:  incomplete startup packet

 Restarting the Postgresql server a number of times fixed the
 problem but
 unfortunately, during the second update I lost the connection
 again and
 this time I get the same outcome above but I cannot seem to
 resolve it.
 I've checked my import log file for incomplete data but it looks fine
 and checking the last record in DSpace show that it was imported
 successfully.

 Any help would be much appreciated as I do not fancy setting up the
 entire dspace database again.

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win
 great prizes
 Grand prize is a trip for two to an Open Source event anywhere in
 the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 mailto:DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech




-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
DSpace-tech

Re: [Dspace-tech] DSpace import throwing SQL connection error

2008-10-08 Thread Mr Havercamp
Yes, I've restarted the database a number of times but the problem still 
persists.

I've just restarted it again and tried a re-import and same problem.

During restart, the Postgresql logs report;

2008-10-08 08:22:21 UTC LOG:  incomplete startup packet

mikan.d.dspace listmail wrote:
 To me, it seems your postgres database is not running at all. Shutdown 
 and restart the database (etc/init.d/postqres restart, or similar), 
 then run importer.

 -Mika


 2008/10/8 Mr Havercamp [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED]

 Thanks for the reply.

 I tried your solution and something interesting has happened; the
 error has changed to;

 Exception in thread main org.postgresql.util.PSQLException:
 FATAL: the database system is shutting down
   at
 
 org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:275)
   at
 
 org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:94)
   at
 
 org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:65)
   at
 
 org.postgresql.jdbc2.AbstractJdbc2Connection.init(AbstractJdbc2Connection.java:116)
   at
 
 org.postgresql.jdbc3.AbstractJdbc3Connection.init(AbstractJdbc3Connection.java:30)
   at
 org.postgresql.jdbc3.Jdbc3Connection.init(Jdbc3Connection.java:24)
   at org.postgresql.Driver.makeConnection(Driver.java:369)
   at org.postgresql.Driver.connect(Driver.java:245)
   at java.sql.DriverManager.getConnection(DriverManager.java:582)
   at java.sql.DriverManager.getConnection(DriverManager.java:185)
   at
 
 org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:48)
   at
 
 org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
   at
 
 org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:840)
   at
 org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:175)
   at java.sql.DriverManager.getConnection(DriverManager.java:582)
   at java.sql.DriverManager.getConnection(DriverManager.java:207)
   at
 
 org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:514)


   at org.dspace.core.Context.init(Context.java:117)
   at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:336)

 Does this mean my database is corrupted or am I able to recover
 from this?


 mikan.d.dspace listmail wrote:

 Just a thought; try to run importer by changing to dspace/bin
 directory first.

 -Mika


 2008/10/7 Mr Havercamp [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]


I've recently been importing a few thousand records into
 dspace using
the import tool that is supplied within the ./bin directory.

Up until recently I have been importing collections without
 incident
until last night when, during an import, I lost my remote
connection to
my DSpace server.

When attempting to resume an import;

# sudo /path/to/dspace/bin/import -c 123456789/8 -a -R -m
/path/to/dspace/imports/photographs.log -e
 [EMAIL PROTECTED] -s
/path/to/assets/photographs

the following error is thrown;

Exception in thread main java.sql.SQLException:
java.lang.ClassNotFoundException:
   at
  
  
 org.dspace.storage.rdbms.DatabaseManager.initialize(DatabaseManager.java:1555)
   at
  
  
 org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:512)
   at org.dspace.core.Context.init(Context.java:117)
   at
 org.dspace.app.itemimport.ItemImport.main(ItemImport.java:336)

I've checked the logs and have not been able to find any other
information except for when I restart postgresql I see;

2008-10-07 12:54:46 UTC LOG:  received smart shutdown request
2008-10-07 12:54:46 UTC LOG:  autovacuum launcher shutting down
2008-10-07 12:56:11 UTC LOG:  incomplete startup packet

Restarting the Postgresql server a number of times fixed the
problem but
unfortunately, during the second update I lost the connection
again and
this time I get the same outcome above but I cannot seem to
resolve it.
I've checked my import log file for incomplete data but it
 looks fine
and checking the last record in DSpace show that it was
 imported
successfully.

Any help would be much appreciated as I do not fancy
 setting up the
entire dspace database again

Re: [Dspace-tech] DSpace import throwing SQL connection error

2008-10-08 Thread Mr Havercamp
Well good news. I carried out an upgrade on our Ubuntu server and had to 
reboot it due to a kernel update. When it came back up, I started the 
import again and it's working.

Not sure what has happened here but I'm wondering if simply restarting 
the postgres daemon is not enough and whether I need to restart it using 
something more than;

sudo /etc/init.d/postgresql restart

Thanks again for the help.

mikan.d.dspace listmail wrote:
 To me, it seems your postgres database is not running at all. Shutdown 
 and restart the database (etc/init.d/postqres restart, or similar), 
 then run importer.

 -Mika


 2008/10/8 Mr Havercamp [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED]

 Thanks for the reply.

 I tried your solution and something interesting has happened; the
 error has changed to;

 Exception in thread main org.postgresql.util.PSQLException:
 FATAL: the database system is shutting down
   at
 
 org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:275)
   at
 
 org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:94)
   at
 
 org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:65)
   at
 
 org.postgresql.jdbc2.AbstractJdbc2Connection.init(AbstractJdbc2Connection.java:116)
   at
 
 org.postgresql.jdbc3.AbstractJdbc3Connection.init(AbstractJdbc3Connection.java:30)
   at
 org.postgresql.jdbc3.Jdbc3Connection.init(Jdbc3Connection.java:24)
   at org.postgresql.Driver.makeConnection(Driver.java:369)
   at org.postgresql.Driver.connect(Driver.java:245)
   at java.sql.DriverManager.getConnection(DriverManager.java:582)
   at java.sql.DriverManager.getConnection(DriverManager.java:185)
   at
 
 org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:48)
   at
 
 org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
   at
 
 org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:840)
   at
 org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:175)
   at java.sql.DriverManager.getConnection(DriverManager.java:582)
   at java.sql.DriverManager.getConnection(DriverManager.java:207)
   at
 
 org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:514)


   at org.dspace.core.Context.init(Context.java:117)
   at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:336)

 Does this mean my database is corrupted or am I able to recover
 from this?


 mikan.d.dspace listmail wrote:

 Just a thought; try to run importer by changing to dspace/bin
 directory first.

 -Mika


 2008/10/7 Mr Havercamp [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]


I've recently been importing a few thousand records into
 dspace using
the import tool that is supplied within the ./bin directory.

Up until recently I have been importing collections without
 incident
until last night when, during an import, I lost my remote
connection to
my DSpace server.

When attempting to resume an import;

# sudo /path/to/dspace/bin/import -c 123456789/8 -a -R -m
/path/to/dspace/imports/photographs.log -e
 [EMAIL PROTECTED] -s
/path/to/assets/photographs

the following error is thrown;

Exception in thread main java.sql.SQLException:
java.lang.ClassNotFoundException:
   at
  
  
 org.dspace.storage.rdbms.DatabaseManager.initialize(DatabaseManager.java:1555)
   at
  
  
 org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:512)
   at org.dspace.core.Context.init(Context.java:117)
   at
 org.dspace.app.itemimport.ItemImport.main(ItemImport.java:336)

I've checked the logs and have not been able to find any other
information except for when I restart postgresql I see;

2008-10-07 12:54:46 UTC LOG:  received smart shutdown request
2008-10-07 12:54:46 UTC LOG:  autovacuum launcher shutting down
2008-10-07 12:56:11 UTC LOG:  incomplete startup packet

Restarting the Postgresql server a number of times fixed the
problem but
unfortunately, during the second update I lost the connection
again and
this time I get the same outcome above but I cannot seem to
resolve it.
I've checked my import log file for incomplete data but it
 looks fine
and checking the last record in DSpace show that it was
 imported

[Dspace-tech] DSpace import throwing SQL connection error

2008-10-07 Thread Mr Havercamp
I've recently been importing a few thousand records into dspace using 
the import tool that is supplied within the ./bin directory.

Up until recently I have been importing collections without incident 
until last night when, during an import, I lost my remote connection to 
my DSpace server.

When attempting to resume an import;

# sudo /path/to/dspace/bin/import -c 123456789/8 -a -R -m 
/path/to/dspace/imports/photographs.log -e [EMAIL PROTECTED] -s 
/path/to/assets/photographs

the following error is thrown;

Exception in thread main java.sql.SQLException: 
java.lang.ClassNotFoundException:
at 
org.dspace.storage.rdbms.DatabaseManager.initialize(DatabaseManager.java:1555)
at 
org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:512)
at org.dspace.core.Context.init(Context.java:117)
at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:336)

I've checked the logs and have not been able to find any other 
information except for when I restart postgresql I see;

2008-10-07 12:54:46 UTC LOG:  received smart shutdown request
2008-10-07 12:54:46 UTC LOG:  autovacuum launcher shutting down
2008-10-07 12:56:11 UTC LOG:  incomplete startup packet

Restarting the Postgresql server a number of times fixed the problem but 
unfortunately, during the second update I lost the connection again and 
this time I get the same outcome above but I cannot seem to resolve it. 
I've checked my import log file for incomplete data but it looks fine 
and checking the last record in DSpace show that it was imported 
successfully.

Any help would be much appreciated as I do not fancy setting up the 
entire dspace database again.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Dspace+Cpanel

2008-09-28 Thread Mr Havercamp
Does CPanel have a command line? Are you able to install the required 
software, such as maven, postgres and ant?

If you have access to a full shell you should be able to execute the 
appropriate commands and may be able to install it.

Dorothea Salo wrote:
 I cannot IMAGINE this is possible.

 Dorothea

 On Sat, Sep 27, 2008 at 9:42 AM, Zico [EMAIL PROTECTED] wrote:
   
 Hi all,

 I have to install dspace in one server. They are not going to provide me any
 server here. Moreover they are just providing me the cpanel. Experts, is it
 possible to install dspace completely with cpanel only?

 Please, i need your answer as early as possible. Cause, i have to say yes/no
 within very few days.

 --
 Best,
 Z

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


 



   


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Mirroring dspace instance

2008-09-15 Thread Mr Havercamp
The replicating server is not on the internet, rather it is on the same 
class c network as the production server.

The handle prefix is something we do not need to worry about at this 
stage as we are not currently using a global or local handle, although 
I'm assuming the handle prefix would be the same for two or more servers 
in a cluster as the handle prefix identifies the site and not the 
individual server. That said, my understanding of handles is limited 
(we've just started investigating setting up a handle for our production 
server) and I my assumptions may need correcting.

Cheers


Hayden

Sunita Barve wrote:
 Dear Haver,

 Thanks for your mail.

 Could you pl. tell me whether this replicating server is on Internet and
 what happens to handle prefix?

 Sunita


 On Mon, 15 Sep 2008, Mr Havercamp wrote:

   
 Sunita Barve wrote:
 
 We would like to mirror our running dspace repository on another server.
 Can anybody tell me how to go about it? We have Fedora Core 8 OS on which
 dspace 1.5 is installed.

 I am curious to know how to configure handle server and how periodically
 data will get mirrored on another server.

 Any help is appreciated.

 Sunita Barve
 SIRC-In-Charge
 National Centre for Radio Astrophysics
 Post Bag No. 3, Pune Univ. Campus
 Pune 411 007, INDIA
 Phone : 91-20-25719211
 FAX   : 91-20-25697257 ; 25692149
 Email :[EMAIL PROTECTED]


 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

   
 We have been mirroring a dspace installation on Ubuntu Server 8.04 using 
 rsync
 and simply replicating the dspace home and postgres home directories on the
 backup server and all seems to work fine.

 The dspace production server has an rsync daemon running on it and every time
 the backup server is booted up, it runs it's own service to start the
 replication process during startup. Alternatively, you could use something
 like pg_comparator which is effectively rsync for postgres for the database
 replication.

 If you require periodic updates, you can simply run rsync/pg_comparator via a
 cron job.

 Cheers


 Hayden

 

 with regards,

 sincerely,

 Sunita Barve
 SIRC-In-Charge
 National Centre for Radio Astrophysics
 Post Bag No. 3, Pune Univ. Campus
 Pune 411 007, INDIA
 Phone : 91-20-25719211
 FAX   : 91-20-25697257 ; 25692149
 Email :[EMAIL PROTECTED]

   


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] HELP - DSpace 1.5 upgrade and tomcat error

2008-08-11 Thread Mr Havercamp
Clive Gould wrote:
 Hi

 I've somewhat solved the problem by manually editing the following files
 to correct the path to dspace.cfg:

 /home/dspace/tomcat/webapps/dspace/WEB-INF/web.xml
 /home/dspace/tomcat/webapps/dspace-oai/WEB-INF/web.xml

 Tomcat now starts without any errors and I can see our communities and
 collections as expected.

 However when I try to do a search I get an internal error message
 generated and the dspace.log file contains:

 2008-08-11 09:45:08,472 WARN 
 org.dspace.app.webui.servlet.InternalErrorServlet @
 :session_id=7F6C14A4FE8574EE60C1EC7765568F26:internal_error:-- URL Was:
 http://testvle.bromley.a
 c.uk/dspace/simple-search?query=photosubmit=Go
 -- Method: GET
 -- Parameters were:
 -- submit: Go
 -- query: photo

 org.apache.jasper.JasperException: Unable to compile class for JSP

 An error occurred at line: 234 in the jsp file: /search/results.jsp
 Generated servlet error:
 Syntax error on token , invalid AssignmentOperator

 An error occurred at line: 234 in the jsp file: /search/results.jsp
 Generated servlet error:
 Syntax error on token =, != expected

 An error occurred at line: 242 in the jsp file: /search/results.jsp
 Generated servlet error:
 Syntax error on token(s), misplaced construct(s)

 An error occurred at line: 242 in the jsp file: /search/results.jsp
 Generated servlet error:
 Syntax error on token ), : expected


 at
 org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
 at
 org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
 at
 org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:397)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
 at
 org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
 at
 org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
 at
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)

 What Have I got wrong now?

 Thanks all :)

 Clive



   
 Hi

 Can anyone please help?

 I'm still trying to upgrade from DSpace 1.4.2 to 1.5.0 on our test server.

 I get through the complete upgrade process successfully with no apparent
 error messages but when I go to our repository home page I get the
 following error message within the DSpace main window:

 null 
 Internal System Error
 The system has experienced an internal error. Please try to do what you
 were doing again, and if the problem persists, please contact us so we can
 fix the problem.
 Leave a message for the null administrators.
 Go to the DSpace home page


 On checking the tomcat log catalina.out it contains the following lines:

 INFO: Loading provided config file: ${dspace.dir}/config/dspace.cfg
 FATAL: Can't load configuration: file:/${dspace.dir}/config/dspace.cfg
 java.io.FileNotFoundException: /${dspace.dir}/config/dspace.cfg (No such
 file or directory)

 I have double checked /home/dspace/config/dspace.cfg and it all appears to
 be correctly and fully completed.


 When I do a grep on /home/dspace/config for dspace.dir I get:

 [EMAIL PROTECTED] logs]$ grep -R dspace.dir /home/dspace/config/*
 /home/dspace/config/dspace.cfg:dspace.dir = /home/dspace
 /home/dspace/config/dspace.cfg:# log.init.config =
 ${dspace.dir}/config/log4j.xml
 /home/dspace/config/dspace.cfg:# log.init.config =
 ${dspace.dir}/config/log4j-console.properties
 /home/dspace/config/dspace.cfg:#authentication.x509.ca.cert =
 ${dspace.dir}/config/MyClientCA.pem
 /home/dspace/config/templates/apache13.conf:  #SSLCertificateFile
 @@dspace.dir@@/etc/https-server-cert.crt
 /home/dspace/config/templates/apache13.conf:  SSLCertificateFile
 @@dspace.dir@@/etc/dspace.pem
 /home/dspace/config/templates/apache13.conf:  #SSLCertificateKeyFile
 @@dspace.dir@@/etc/https-key.pem

 Help please what have I missed??

 Thanks in advance :)

 Clive




 


 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
   
Just to begin with, what version of Java are you running?


Re: [Dspace-tech] HELP - DSpace 1.5 upgrade and tomcat error

2008-08-11 Thread Mr Havercamp
Clive Gould wrote:
 Hi everyone

 Thanks for the help so far :)

 I include the Tomcat and Java version numbers as requested.

 Best wishes

 Clive


 DSpace 1.4.2 works fine but DSpace 1.5 on the same platform gives internal
 server errors when I try to do a search.

 When I try to do a search I get an internal error message generated and
 the dspace.log file contains:

 2008-08-11 09:45:08,472 WARN
 org.dspace.app.webui.servlet.InternalErrorServlet @
 :session_id=7F6C14A4FE8574EE60C1EC7765568F26:internal_error:-- URL Was:
 http://testvle.bromley.a
 c.uk/dspace/simple-search?query=photosubmit=Go
 -- Method: GET
 -- Parameters were:
 -- submit: Go
 -- query: photo

 org.apache.jasper.JasperException: Unable to compile class for JSP

 An error occurred at line: 234 in the jsp file: /search/results.jsp
 Generated servlet error:
 Syntax error on token , invalid AssignmentOperator

 An error occurred at line: 234 in the jsp file: /search/results.jsp
 Generated servlet error:
 Syntax error on token =, != expected

 An error occurred at line: 242 in the jsp file: /search/results.jsp
 Generated servlet error:
 Syntax error on token(s), misplaced construct(s)

 An error occurred at line: 242 in the jsp file: /search/results.jsp
 Generated servlet error:
 Syntax error on token ), : expected


   at
 org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
   at
 org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
   at
 org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:397)
   at org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
   at org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
   at org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
   at
 org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
   at
 org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
   at
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java

 Versions are as follows:

 JAVA:

 [EMAIL PROTECTED] bin]# /usr/java/jdk/bin/java -version
 java version 1.5.0_04
 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
 Java HotSpot(TM) Server VM (build 1.5.0_04-b05, mixed mode)

 TOMCAT:

 [EMAIL PROTECTED] bin]# ./version.sh
 Using CATALINA_BASE:   /home/dspace/tomcat
 Using CATALINA_HOME:   /home/dspace/tomcat
 Using CATALINA_TMPDIR: /home/dspace/tomcat/temp
 Using JRE_HOME:   /usr/java/jdk
 Server version: Apache Tomcat/5.5.9
 Server built:   Mar 26 2005 02:21:04
 Server number:  5.5.9.0
 OS Name:Linux
 OS Version: 2.6.9-67.0.22.ELsmp
 Architecture:   i386
 JVM Version:1.5.0_04-b05
 JVM Vendor: Sun Microsystems Inc.



 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
   
Is it possible tomcat is running the gcj instead of sun's java?

Just wondering as java -version appears to use the gcj so it's possible 
you've got two java distributions running. The fact that it is running 
gcj would be consistent with the problems you are experiencing.

If I remember correctly you can change the default java by editing 
/etc/jvm and moving the sun java to the top of the list (I'm pretty sure 
this is how it is achieved in CentOS so Redhat should be the same).

Hope this helps.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Dublin Core Converter

2008-07-28 Thread Mr Havercamp
Thought the following might be of interest to some;

We have recently released some command line tools for simplifying the 
process of converting a database such as Microsoft Access or MySQL into 
the Dublin Core format.

http://sourceforge.net/projects/dcmetatoolkit/

The tool is currently a command line script and is targeted at *nix 
users but could possibly be used by Windows users using the Cygwin 
environment.

This is an open source project so feel free to change and enhance the 
software. We are also open to any feature requests as we have just 
started this project and would really like to create an overall 
solution. We've also only just started documenting the system so it may 
not initially be easy to understand or to get working but please bear 
with it.

We've successfully used this to import data into the Royal Naval 
Museum's DSpace installation which consists of about 10,000 to 11,000 
records.

Regards


Hayden

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech