Re: [Dspace-tech] StructBuilder says I am not authorized

2008-12-15 Thread James Rutherford
On Mon, Dec 15, 2008 at 11:17:45PM +, Andrew Marlow wrote:
 I am now having trouble running the StructBuilder. Here is the error I get:
 
 Using DSpace installation in: 
 G:\mystuff\tools\dspace-1.5.1-src-release\dspace\target\dspace-1.5.1-build.dir
 Exception in thread main org.dspace.authorize.AuthorizeException: Only 
 administrators can create communities
 at org.dspace.content.Community.create(Community.java:193)
 
 This used to work! The only thing I have done different is I blew away
 the database because previous imports filled it with rubbish. I
 stopped tomcat, dropped the database, said ant fresh_install and
 restarted tomcat. I must have missed off something, but what?

Sounds like you forgot to re-create the administrator account (see the
install instructions).

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
james.rutherf...@hp.com   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential
and may be legally privileged. If you have received this message in
error, you should delete it from your system immediately and advise the
sender. To any recipient of this message within HP, unless otherwise
stated you should consider this message and attachments as HP
CONFIDENTIAL.

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Resetting Handle-URLs

2008-08-11 Thread James Rutherford
On Sat, Aug 09, 2008 at 02:55:55PM +, Christian Voelker wrote:
 Now, I have to remove the child naming part of the
 handle URL for each item. I am not sure whether it
 is best to change the database directly. I am not
 sure whether I am done when stripping the child
 part for each item or whether this will leave my
 database in corrupted state. E.g.: 2339.3/851 -
 2339/851.

See [dspace]/bin/update-handle-prefix. This ought to work for you.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential
and may be legally privileged. If you have received this message in
error, you should delete it from your system immediately and advise the
sender. To any recipient of this message within HP, unless otherwise
stated you should consider this message and attachments as HP
CONFIDENTIAL.

-
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] java.net.UnknownHostException

2008-08-08 Thread James Rutherford
 let.java:215)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
 tionFilterChain.java:269)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
 erChain.java:188)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
 e.java:213)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
 e.java:174)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
 :127)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
 :117)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
 java:108)
 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
 74)
 at
 org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:87
 4)
 at
 org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
 essConnection(Http11BaseProtocol.java:665)
 at
 org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
 .java:528)
 at
 org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
 erWorkerThread.java:81)
 at
 org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
 .java:689)
 at java.lang.Thread.run(Unknown Source)
 Caused by: javax.mail.MessagingException: Unknown SMTP host:
 owasvr.staff.uniten.local;
   nested exception is:
 java.net.UnknownHostException: owasvr.staff.uniten.local
 at
 com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1280)
 at
 com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
 at javax.mail.Service.connect(Service.java:275)
 at javax.mail.Service.connect(Service.java:156)
 at javax.mail.Service.connect(Service.java:105)
 at javax.mail.Transport.send0(Transport.java:168)
 at javax.mail.Transport.send(Transport.java:98)
 at org.dspace.core.Email.send(Email.java:362)
 at
 org.dspace.eperson.AccountManager.sendEmail(AccountManager.java:296)
 at
 org.dspace.eperson.AccountManager.sendInfo(AccountManager.java:256)
 at
 org.dspace.eperson.AccountManager.sendForgotPasswordInfo(AccountManager.
 java:121)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
 Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at
 org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:230)
 at
 org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1244)
 at
 org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(C
 ontinuationInterpreter.java:1134)
 at
 org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(C
 ontinuationInterpreter.java:190)
 at
 org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(C
 ontinuationInterpreter.java:138)
 at
 org.mozilla.javascript.continuations.InterpretedFunctionImpl.call(Interp
 retedFunctionImpl.java:121)
 at
 org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1244)
 at
 org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java
 :1591)
 at
 org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpret
 er.handleContinuation(FOM_JavaScriptInterpreter.java:852)
 ... 123 more
 Caused by: java.net.UnknownHostException: owasvr.staff.uniten.local
 at java.net.PlainSocketImpl.connect(Unknown Source)
 at java.net.SocksSocketImpl.connect(Unknown Source)
 at java.net.Socket.connect(Unknown Source)
 at java.net.Socket.connect(Unknown Source)
 at
 com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:232)
 at
 com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)
 at
 com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1250)
 ... 146 more
 
 -Original Message-
 From: Mohamad Asmawi Bin Abdul Rahman
 Sent: Thursday, August 07, 2008 10:30 AM
 To: 'James Rutherford'
 Cc: dspace-tech@lists.sourceforge.net
 Subject: RE: [Dspace-tech] java.net.UnknownHostException
 
 Im already try to change SMTP Server from the file dspace.cfg, but still
 not working. After I made the changing, I need to compile ant update
 or how?
 
 -Original Message-
 From: James Rutherford [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, August 05, 2008 5:02 PM
 To: Mohamad Asmawi Bin Abdul Rahman
 Cc: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] java.net.UnknownHostException
 
 On Tue, Aug 05, 2008 at 08:54:28AM +, Mohamad Asmawi Bin Abdul
 Rahman wrote:
  Java full stacktrace

Re: [Dspace-tech] HandleManager ClassNotFoundException -- updating and xmlui

2008-08-05 Thread James Rutherford
On Mon, Aug 04, 2008 at 05:53:40PM +, Gabriel Farrell wrote:
 I'm updating to 1.5 from 1.4.2 on my dev box.  At this point, my xmlui
 says:
 
 java.lang.ClassNotFoundException: org.dspace.uri.handle.HandleManager

Are you sure you upgraded to 1.5? That class is in org.dspace.handle in
the most recent release. In trunk it has moved to org.dspace.uri.handle.

 This being a dev box, I'd rather not bother setting up the handle server
 for now.  Is there a way to make DSpace not bother with it?

Out of the box, you'll just have a dummy prefix that won't require a
handle server to be running in order for DSpace to work.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential
and may be legally privileged. If you have received this message in
error, you should delete it from your system immediately and advise the
sender. To any recipient of this message within HP, unless otherwise
stated you should consider this message and attachments as HP
CONFIDENTIAL.

-
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] java.net.UnknownHostException

2008-08-05 Thread James Rutherford
Please send a full stack trace and any other relevant information
(including the email address of the user you are trying to register).
It's probably either a typo in the domain of the email address, or the
machine DSpace is running on is having DNS issues.

Jim

On Tue, Aug 05, 2008 at 08:33:13AM +, Mohamad Asmawi Bin Abdul Rahman wrote:
 
 Hi All
 
 
  1.  I hav a problem related to registration of new user. When I put the 
 users email, dspace noticed me “Unable to sent email to this Address”. Until 
 now I cannot complete any new registrations.
 
 
 
  1.  when I want to reset password dspace showed me the error 
 “Java.net.UnknownHostException”
 
 
 please help me!!

Content-Description: ATT1.txt
 -
 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=/
Content-Description: ATT2.txt
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential
and may be legally privileged. If you have received this message in
error, you should delete it from your system immediately and advise the
sender. To any recipient of this message within HP, unless otherwise
stated you should consider this message and attachments as HP
CONFIDENTIAL.

-
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] DAO prototype

2008-06-09 Thread James Rutherford
On Mon, Jun 09, 2008 at 04:06:27PM +, Simon Brown wrote:
 I've been looking at the wiki page describing James Rutherford's work
 on the DAO prototype. It looks pretty good and also pretty complete -
 any thoughts on if/when it might make it in to the main trunk? It
 would almost certainly make some of the local customisations in my
 future a fair bit easier.

It's in trunk already. It will be included in the next 'major' release
(scheduled for May 09). I'm pretty sure that what I've done is actually
better than what's documented on the wiki (the documentation always lags
:) Let me know if you have any questions.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential
and may be legally privileged. If you have received this message in
error, you should delete it from your system immediately and advise the
sender. To any recipient of this message within HP, unless otherwise
stated you should consider this message and attachments as HP
CONFIDENTIAL.

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


Re: [Dspace-tech] Maven repositories

2008-05-22 Thread James Rutherford
On Thu, May 22, 2008 at 01:23:55PM +, Robin Taylor wrote:
 A daft question but whats new - Would I be correct in thinking that in the
 brave new Maven future software suppliers would make versions of their
 software available via publicly accessible Maven repositories ? If that is
 the case should we be pestering suppliers that don't currently do so, rather
 than downloading jars and sticking them in our local repositories ?

It wouldn't hurt to ask :) Given that Ivy uses maven repositories for
dependency resolution as well, this is almost certainly the way of the
future.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential
and may be legally privileged. If you have received this message in
error, you should delete it from your system immediately and advise the
sender. To any recipient of this message within HP, unless otherwise
stated you should consider this message and attachments as HP
CONFIDENTIAL.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Tomcat can't find DSpace

2008-05-13 Thread James Rutherford
On Tue, May 13, 2008 at 12:10:21PM +, Robert Roggenbuck wrote:
 $ java --version
 java version 1.4.2
 gij (GNU libgcj) version 4.1.2 20070626 (Red Hat 4.1.2-14)
 
 If it is it really necessary to work with Sun Java it should be
 mentioned more clearly in the docs.
 Is it possible to have Sun Java additionally to GNU Java? Because GNU
 Java is the standard java on RedHat EL I would feel more comfortable by
 keep it.

See this page for an explanation (and steps towards a solution):

http://www.ja-sig.org/wiki/display/CASUM/Deploying+CAS+3.0.x+in+RHEL+5+with+Sun+Java

As noted, GNU Java is only equivalent to J2SE 1.4.2 (and Java 1.5 is a
requirement for DSpace 1.5 -- I'm pretty sure that is specified in the
docs somewhere).

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential
and may be legally privileged. If you have received this message in
error, you should delete it from your system immediately and advise the
sender. To any recipient of this message within HP, unless otherwise
stated you should consider this message and attachments as HP
CONFIDENTIAL.

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Tomcat can't find DSpace

2008-05-13 Thread James Rutherford
On Tue, May 13, 2008 at 03:29:33PM +, Robert Roggenbuck wrote:
 Sun Java 1.5 is installed and now DSpace is online! Thank You!

Glad to hear it.

 But after restarting Tomcat I find in catalina.out some problems similar
   to the ones before:

 snip/
 
 The problems I see:
 - The Apache Tomcat Native library is still not found. Is it required.
 Should'nt it be part of Tomcat. Did I set a path wrong?

I think you can safely ignore this one, but I'm no tomcat expert.

 - Can I ignore the log4j-warning because of the later successful loading
 message regarding log4j?

Once you sort out the permissions problem, take a look at your
dspace.log and see if anything is in it. If so, yes, you can ignore that
warning :)

 - Tomcat still starts up as user 'tomcat', not 'dspace'. This seems to
 be the reason for the permission problems. But why does Tomcat ignore
 the settings in tomcat5.conf?

Pass. I'm not sure how Red Hat bundles  configures Tomcat, but there
ought to be a good amount of documentation on the matter (and if not,
presumably you can contact support).

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential
and may be legally privileged. If you have received this message in
error, you should delete it from your system immediately and advise the
sender. To any recipient of this message within HP, unless otherwise
stated you should consider this message and attachments as HP
CONFIDENTIAL.

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] [INFO] Error building POM (may not be thisproject'sPOM): Unable to download the artifact from any repository

2008-04-24 Thread James Rutherford
 to be clean.
 
 
 
 
 --
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.
 
 
 -
 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

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential
and may be legally privileged. If you have received this message in
error, you should delete it from your system immediately and advise the
sender. To any recipient of this message within HP, unless otherwise
stated you should consider this message and attachments as HP
CONFIDENTIAL.

-
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


Re: [Dspace-tech] security issues in dspace 1.4.2

2008-04-21 Thread James Rutherford
On Mon, Apr 21, 2008 at 06:47:24AM +, Veena wrote:
 We are using dspace 1.4.2 , Apache Tomcat  5.5.17 web server , ORACLE
 10g back end database on MS Windows 2003 server for digital collection
 of high court judgements project. We want to know any security issues
 need to be addressed in the current setup.

There are no known security issues in DSpace 1.4.2.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
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


Re: [Dspace-tech] mvn package build failure.

2008-04-21 Thread James Rutherford
Exactly which command are you running from which directory?

cheers,

Jim

On Mon, Apr 21, 2008 at 03:57:50PM +, Jeffrey Trimble wrote:
 We are attempting to build from scratch a Dspace installation to begin the
 task of learning Maven and its capabilities.
 
 We ran into this error and wanted to know if there is something we have
 done wrong.  I haven't seen this one out there before.
 
 [INFO] [compiler:compile]
 [INFO] Compiling 63 source files to 
 /dspace-1.5.0-src-release/dspace-xmlui/dspace-xmlui-wing/target/classes
 [INFO] 
 
 [ERROR] BUILD FAILURE
 [INFO] 
 
 [INFO] Compilation failure
 Failure executing javac, but could not parse the error:
 javac: directory not found: 
 /dspace-1.5.0-src-release/dspace-xmlui/dspace-xmlui-wing/target/classes
 Usage: javac options source files
 use -help for a list of possible options
 
 
 
 Failure executing javac, but could not parse the error:
 javac: directory not found: 
 /dspace-1.5.0-src-release/dspace-xmlui/dspace-xmlui-wing/target/classes
 Usage: javac options source files
 use -help for a list of possible options
 [INFO] 
 
 [INFO] For more information, run Maven with the -e switch
 [INFO] 
 
 [INFO] Total time: 9 minutes 39 seconds
 [INFO] Finished at: Mon Apr 21 11:12:43 EDT 2008
 [INFO] Final Memory: 11M/23M
 [INFO] 
 
 
 
 Again, Thanks in Advance for all your assistance out there.
 
 Jeffrey Trimble
 Systems Librarian
 Maag Library
 Youngstown State University
 330-941-2483 (Office)
 [EMAIL PROTECTED]mailto:[EMAIL PROTECTED]
 http://www.maag.ysu.edu
 http://digital.maag.ysu.edu
 
 
 

Content-Description: ATT1.txt
 -
 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
Content-Description: ATT2.txt
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential
and may be legally privileged. If you have received this message in
error, you should delete it from your system immediately and advise the
sender. To any recipient of this message within HP, unless otherwise
stated you should consider this message and attachments as HP
CONFIDENTIAL.

-
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


Re: [Dspace-tech] Error in Dspace 1.4.2 (Search option)

2008-04-11 Thread James Rutherford
On Fri, Apr 11, 2008 at 12:08:12PM +, Jos? A. Rubio wrote:
 I'm trying to update my repository from 1.4.1 to 1.4.2, and I get the
 following error when I use the Search option (once I have
 done the update process):
 
 snip/
 
 java.io.FileNotFoundException: no segments* file found: files:

Try running index-all from the [dspace]/bin directory. This should
generate the search indices again. If this doesn't work, it's probably a
path issue where the search indices are being looked for in the wrong
place.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential
and may be legally privileged. If you have received this message in
error, you should delete it from your system immediately and advise the
sender. To any recipient of this message within HP, unless otherwise
stated you should consider this message and attachments as HP
CONFIDENTIAL.

-
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


Re: [Dspace-tech] Persistent identifiers, again

2008-04-07 Thread James Rutherford
On Mon, Apr 07, 2008 at 03:04:58PM +, Gary McGath wrote:
 Each time I blow away DSpace (as often happens during early stages of
 code development), I've noticed that the ID's start over from 1. It
 looks to me as if the HandleManager doesn't provide a strong guarantee
 of uniqueness; if DSpace is totally reinitialized, old Handles may be
 recycled. If this happened in a production environment, Handles for
 obsolete objects could point to the wrong object, rather than failing to
 resolve as they should.

This is because the local part of the Handle comes from a database
sequence.

 This makes me think that for our environment, which stresses the
 unique in URN's, I need to add a stronger guarantee of uniqueness. It
 also seems like a minor bug in DSpace.

I think you are correct, yes.

 Have I missed anything? Does something come into play when a live handle
 server is used, which provides a stronger guarantee of uniqueness?

Not really, no. You're still responsible for knowing what points where.

 I'm aware, by the way, that DSpace 1.6 has totally new code for
 non-Handle persistent identifiers. Our schedule doesn't let us wait.
 Don't blame me, I'm only the programmer. :)

Understandable :) For the 1.6 code, myself and Richard Jones spent quite
a long time looking at methods of generating locally unique names for
content that would be independent of the database sequences (motivated
by the DAO work which could enable repositories to use something other
than a RDBMS if they so desire). This doesn't specifically address your
problem, though. From 1.6 forward, UUIDs will be used to identify
content, but the Handles (the default implementation of all the new
identifier code) will be generated in (approximately) the same way under
the hood. Check the 'handle' table in the DB and the 'createHandle'
method of HandleManager for more info.

Having said that, I think the Handle should be written into the Item
metadata when it is minted, so there will be some record there (as
dc.identifier or dc.identifier.uri).

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential
and may be legally privileged. If you have received this message in
error, you should delete it from your system immediately and advise the
sender. To any recipient of this message within HP, unless otherwise
stated you should consider this message and attachments as HP
CONFIDENTIAL.

-
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/javaone
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Implicit authentication issues . . .

2008-03-28 Thread James Rutherford
On Fri, Mar 28, 2008 at 04:27:41PM +, Michael White wrote:
 Problem 1:
 ===
 If a user logs in to our portal and then accesses DSpace and clicks
 My DSpace, the authentication class kicks in and they end up at
 their My DSpace page . . . Fine.
 
 snip/
 
 However, if a user logs on to our portal, and then accesses DSpace (so
 not actually logged on to DSpace at this point but portal auth cookies
 in place), the first time they try to access a bitstream they get the
 page Authorisation Required - however, when presented with the
 Authorisation Required page, it appears that they have been
 authenticated because the logged in as message has appeared, and
 hitting refresh brings up the required bitstream (and subsequent
 access to bitstreams works fine). So it looks like the authentication
 class is being correctly called when they try to access the bitstream,
 and the authentication context is being set up, but for some reason I
 can't fathom, they don't get access to the bitstream but instead get
 redirected to the Authorisation Required screen . . .

This sounds a little odd. Try checking the ordering of the authorization
processes in the two servlets (BitstreamServlet and MyDSpaceServlet if
my memory serves me correctly). Looking at the logs, it seems you are
challeneged to authenticate, you are logged in implicitly, but something
doesn't quite work correctly:

 2008-03-28 16:09:12,594 INFO  org.dspace.app.webui.servlet.DSpaceServlet @ 
 [EMAIL 
 PROTECTED]:session_id=1C92899D8684656C55C3EE88796A86CF:ip_addr=139.153.92.71:authorize_error:org.dspace.authorize.AuthorizeException:
  Authorization denied for action READ on
 BITSTREAM:232 by user 0

The logging code has your email address, but not your user ID. Can you
figure out why this is? This really shouldn't be possible, and the
reason it's failing is because the auth check is using your ID, not your
email address to do the resource policy lookup.

 Portal authentication is part of an authentication stack with normal
 authentication below (so external users can create accounts if needs
 be) - if a user who has NOT logged on to our portal attempts to access
 a bitstream the implicit authentication fails (correctly), and they
 are routed to the normal DSpace logon page - I've added a link to this
 page for our local users which goes to our portal logon page with a
 redirect back to the DSpace homepage - I would like, however, for this
 redirect to take the user back to whatever page/bitstream they were
 trying to access.

This is not an uncommon request. It is technologically possible to do
this by just passing around the request path  parameters from the URL,
but DSpace just doesn't do it. I'm not sure about the historical reasons
why (beyond simplicity of implementation), but it shouldn't be too much
work to include. When I've done this in the past, I just include the
requested page as a hidden parameter in the login form and have the
processing servlet look for the parameter and use it if appropriate.

 Another possibility is to remove the normal authentication class
 altogether (understanding that this means no external users can use
 this instance of DSpace) and have the portal authentication class
 automatically route them to our portal logon (along with an
 appropriate redirection URL back to DSpace) if the implicit
 authentication fails - is this doable? If so, anyone got any pointers
 on how best to achieve it?

This probably isn't going to be pleasant for your users because it rips
them out of the context of DSpace and puts an extra burden on your
portal to do the redirection back. Again, it would be possible, but I
think it's probably the wrong approach, and having DSpace take care of
the redirection would be for the best (indeed, if you can do this in a
general way and provide a patch, I'm sure you'd make some friends ;).

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential
and may be legally privileged. If you have received this message in
error, you should delete it from your system immediately and advise the
sender. To any recipient of this message within HP, unless otherwise
stated you should consider this message and attachments as HP
CONFIDENTIAL.

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Older versions of Dspace?

2008-03-26 Thread James Rutherford
They're all on SourceForge :

http://sourceforge.net/project/showfiles.php?group_id=19984package_id=64285

Jim

On Wed, Mar 26, 2008 at 04:58:06PM +, Maike Dulk wrote:
 Hi
 
 I've been asked to upgrade a Dspace 1.2.1 installation .. and it looks
 like I am going to do that in multiple stages.
 Problem is - I cant find older versions of dspace - anywhere in the
 internet.
 
 Does anyone know if and where they'd be available?
 
 TIA :)
 
 
 --
 Ms. Maike Dulk - Programmer / Analyst
 McPherson Library, University of Victoria
 (t) 250-886-5709 / (e) [EMAIL PROTECTED]
 
 -- Harthon gerithach aeair vilui / I hope you will have kind seas
 
 
 
 
 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential
and may be legally privileged. If you have received this message in
error, you should delete it from your system immediately and advise the
sender. To any recipient of this message within HP, unless otherwise
stated you should consider this message and attachments as HP
CONFIDENTIAL.

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] tcpip_socket parameter in postgresql.conf?

2008-03-25 Thread James Rutherford
On Tue, Mar 25, 2008 at 12:18:05AM +, Thornton, Susan M. (LARC-B702)[NCI 
INFORMATION SYSTEMS] wrote:
 I?m confused.  I thought we had to have tcpip_socket = true on our
 postgresql.conf file in PostgreSQL 8.2/DSpace 1.4.2, but when I put it
 in there and try and start postmaster, it gives me an error about
 invalid parameter ?tcpip_socket?.  Do I need this or not?

This is no longer a valid configuration parameter in postgres 8.2. See
http://www.postgresql.org/docs/8.2/static/runtime-config-connection.html

If you set the listen_addresses parameter correctly, it should work.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Error with DSpace administrator's account

2008-03-12 Thread James Rutherford
On Tue, Mar 11, 2008 at 11:09:47PM +, floriana perrucci wrote:
 E-mail address: [EMAIL PROTECTED]mailto:[EMAIL PROTECTED]

Is this actually the email address you input? If so, it's incorrect, and
you should only input your actual email address without the mailto:
stuff.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential
and may be legally privileged. If you have received this message in
error, you should delete it from your system immediately and advise the
sender. To any recipient of this message within HP, unless otherwise
stated you should consider this message and attachments as HP
CONFIDENTIAL.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Moving items to new collection

2008-03-05 Thread James Rutherford
On Wed, Mar 05, 2008 at 04:31:16PM +, Mika Stenberg wrote:
 Ability to move items from collection to another should be added to the
 WebUI. Has this been considered in the future releases?

The functionality of CommunityFiliator (a CLI app to move communities
around) has been extended to be usable for arbitrary DSpaceObjects for
the 1.6 release. Tools for one or more web interfaces may be made
available.

Jim

 -Mika
 
  David,
 
  David,
 
  Similar to what George mentioned, I've always done this at the database
  level.
 
  I use the same basic SQL query (mentioned by George):
 
  update collection2item set collection_id=new collection's id where
  item_id=item's id;
 
  Or, if you are moving *all* the items in one collection to another:
 
  update collection2item set collection_id=new collection's id where
  collection_id=OLD collection's id;
 
  And then re-run the [dspace]/bin/index-all script, which will correct
  all the DSpace browsing interfaces, etc.
 
  I hope that helps!
 
  - Tim
 
 
  George Kozak wrote:
  David:
 
  I would do this in SQL.  Here is an example of the command I use:
 
  update collection2item set collection_id=new collection's id where
  item_id=item's id;
 
  Then I do the following:
 
  update item set owning_collection=new collection's id where
  item_id=item's id;
 
  OR run index_all after making the changes and it would fix the owning
  collections and communities.
 
  If you have a lot of items to move, then a PERL script could be used
  (if you have DBD::Pg compiled for your PERL module).
 
  At 09:58 AM 3/4/2008, David Reynolds wrote:
  Dear colleagues,
 
  I want to move items from one collection to another in order to
  delete the old collection but still retain the handles on the items.
  One colleague suggested the following, but he stressed that he had
  not tried it before:
 
  I would try exporting the item ( you'll get the handle ), then
  deleting the collection and then reimport the item with the handle.
 
  Does this sound like the right approach? I've searched the
  documentation but have found nothing about moving items from one
  collection to another. Thanks in advance for your advice.
 
 
 
 
  David Reynolds
  Manager of Scholarly Digital Initiatives
  Johns Hopkins University
  3400 N. Charles St.
  Baltimore, MD 21218-2683
 
  [EMAIL PROTECTED]
  (410) 516-7220
 
 
  -
  This SF.net email is sponsored by: Microsoft
  Defy all challenges. Microsoft(R) Visual Studio 2008.
  http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
  ___
  DSpace-tech mailing list
  DSpace-tech@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/dspace-tech
  ***
  George Kozak
  Coordinator
  Web Development and Management
  Digital Media Group
  501 Olin Library
  Cornell University
  607-255-8924
  ***
  [EMAIL PROTECTED]
 
 
  -
  This SF.net email is sponsored by: Microsoft
  Defy all challenges. Microsoft(R) Visual Studio 2008.
  http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
  ___
  DSpace-tech mailing list
  DSpace-tech@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
 
 
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential
and may be legally privileged. If you have received this message in
error, you should delete it from your system immediately and advise the
sender. To any recipient of this message within HP, unless otherwise
stated you should consider this message and attachments as HP
CONFIDENTIAL.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] SQLException how can I see the offending raw SQL

2008-03-04 Thread James Rutherford
On Tue, Mar 04, 2008 at 08:40:32AM +, Charlotte Pollock wrote:
 I'm getting an the following intermittent error
 
 database_error:org.postgresql.util.PSQLException: ERROR: current transaction
 is aborted, commands ignored until end of transaction block
 
 With no clear pattern as to why
 
 What I really would like to do is to see the raw SQL that is causing
 postgres to error

 Does anyone know of a way to debug this error?

The only way to do this is to change your logging level from INFO to
DEBUG in your log4j.properties (you'll need to redeploy DSpace after
making the change, of course). Once you've done that, your dspace.log
should contain all the queries sent to the db.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Compiler error -- DIDLCrosswalk

2008-01-28 Thread James Rutherford
On Mon, Jan 28, 2008 at 01:57:58PM +, Thomas A McGee wrote:
 [javac] 
 /home/mcgee/Desktop/dspace-source/dspace-1.4.2-source/src/org/dspace/app/oai/DIDLCrosswalk.java:46:
  'class' or 'interface' expected
 [javac] import org.dspace.content.DCValue;
 [javac] ^
 [javac] 1 error

What exactly is on lines 45 and 46? Unless you've changed the file, this
should compile with no issues. Is there a missing semicolon at the end
of the previous line?

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential
and may be legally privileged. If you have received this message in
error, you should delete it from your system immediately and advise the
sender. To any recipient of this message within HP, unless otherwise
stated you should consider this message and attachments as HP
CONFIDENTIAL.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] How to get the connection to DSpace(how to build the DSpace request in Application)

2008-01-24 Thread James Rutherford
On Tue, Jan 22, 2008 at 11:45:55PM +, Feng Wang wrote:
 I have a question still. Can u give me a example for OAI,like search
 all the Papers about a person who named John, Smith. how whould the
 request in OAI look like? You know, i just wanna know, thanks

You'd need something like OAI-SQ (http://scout.wisc.edu/Projects/OAISQ/)
which DSpace doesn't support (it's an unofficial extension to the PMH
protocol). I performed some experiments with this a few months ago where
I hooked the SQ queries up to DSpace searches. Most of the code for
doing this is available as part of the pf-dspace prototype project on
google code. The relevant file is:

http://dspace-sandbox.googlecode.com/svn/prototypes/pf-dspace/trunk/dspace-oai/src/main/java/org/dspace/app/oai/DSpaceOAICatalog.java

see doRecordHarvest() and buildSet()

Note that parameters passed in the URL must correspond to indexed
metadata fields (ie: if you can't search for it using the basic /
advanced search utilities, you can't search for it with this
implementation of OAI-SQ).

If you want to use this code, you should download the files and diff it
against your DSpaceOAICatalog.java. I'm not sure when the last time the
pf-dspace branch was synced with trunk, but I think it was a long time
ago.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential
and may be legally privileged. If you have received this message in
error, you should delete it from your system immediately and advise the
sender. To any recipient of this message within HP, unless otherwise
stated you should consider this message and attachments as HP
CONFIDENTIAL.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] How to configure RSS feeds

2008-01-03 Thread James Rutherford
On Thu, Jan 03, 2008 at 07:52:18AM +, Kush Sharma wrote:
 1.I have gone through the RSS feeds instructions and I am getting the
 RSS 1.0 and RSS 2.0 buttons in the sidebar but when I click them I get
 an XML output. What I am not sure is : what should I expect when I
 click the rss button. As I had gone through the manual that a list of
 submissions should appear but I am not getting that output.

You need to point your RSS reader at the XML document, not your web
browser (unless you're using a web browser that can read RSS feeds, such
as Opera).

 2. For accessing RSS feeds the url in the manual is given as
 http://web-address-to-my-dspace/dspace-oai
 but I am getting an Error: Document not Found

Which manual are you using?

 3. Regarding the dspace-oai How to run the OAI PMH module . I want to
 use the dspace-oai. can someone just tell me what is the function of
 it and how to use it.

See the system documentation:

http://www.dspace.org/index.php?option=com_contenttask=viewid=144#oai

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace 1.4 Authentication problems

2007-12-19 Thread James Rutherford
On Wed, Dec 19, 2007 at 04:58:49PM +, Dorothea Salo wrote:
 On Dec 19, 2007 10:30 AM,  [EMAIL PROTECTED] wrote:
  We are running DSpace 1.4 and I have just noticed a serious issue with the
  authentication.  We are using the default implementation with the email
  address/password based login.  I have noticed that when I logout and then
  click to go onto any other page on our DSpace site it comes up in the top
  left corner that I am still logged in.
 
 I suspect that this is the browser cache at work; I often have it
 return authentication-required visited pages after I log out or my
 session expires. I'm not sure what DSpace could do about that except
 for no-cache tricks that break the Back button entirely (which would
 be a bad, bad idea).

Yes this is correct; it's a browser issue. After you log out, you are
actually logged out, but (eg) firefox will try to be clever about not
re-requesting pages that it has cached. Of course, if you try to do
anything that requires you being logged in, you will be prompted to do
so; your browser can't subvert that process. Most apps try to get around
this by asking you to shut down your browser (which would clear the
cache), but DSpace doesn't bother. You could modify the logged-out.jsp
to include this message if you feel it's important for your repository.

The only potential issue is that someone could potentially *see* what
you were looking at before you logged out; they wouldn't be able to *do*
anything though.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential
and may be legally privileged. If you have received this message in
error, you should delete it from your system immediately and advise the
sender. To any recipient of this message within HP, unless otherwise
stated you should consider this message and attachments as HP
CONFIDENTIAL.

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] How to use the SPI of DS1103

2007-12-18 Thread James Rutherford
Hi,

You seem to have found the wrong dspace. You're looking for
http://www.dspaceinc.com but you've found http://www.dspace.org.

cheers,

Jim

On Tue, Dec 18, 2007 at 05:48:11AM +, xixiu gong wrote:
 hi,all
   We have to use the SPI to transfer datas. and i try to using the following 
 s-function to transfer the data through the slaveDSP.
 
 But I can't get any ouput and even the SCLK is keeping high.
 
 
 /***
 FILE: onetran.c
 DESCRIPTION:
 S-function to transmit one data through the spi mode to extra device with the
 slave application (DS1103 version).
 Copyright (c) 1997-2005 dSPACE GmbH, GERMANY
 ***/
 #define S_FUNCTION_LEVEL 2
 #define S_FUNCTION_NAME onetran
 #include simstruc.h 
 /* Include basic real-time environment header. */
 /* Include the slave application source code to be found in
 %DSPACE_ROOT%\ds1103\Slvdsp1103.h */
 #ifndef MATLAB_MEX_FILE
 #include brtenv.h
 #include F:\dspace\ds1103\ds1103.h
 #include F:\dspace\ds1103\Slvdsp1103.h
 #endif
 
 /* Function: mdlInitializeSizes === */
 static void mdlInitializeSizes(SimStruct *S)
 {
 /* This S-function has no parameters. */
 ssSetNumSFcnParams(S, 0); /* No. of expected parameters */
 if (ssGetNumSFcnParams(S) != ssGetSFcnParamsCount(S)) return;
 
  /* Set the number of states to zero. */
 ssSetNumContStates(S, 0);
 ssSetNumDiscStates(S, 0);
 /* We have 4 input port with width 1*/
 
 if (!ssSetNumInputPorts(S, 1)) return;
 ssSetInputPortWidth(S, 0, 1);
 ssSetInputPortDataType(S, 0, SS_INT16);
 ssSetInputPortDirectFeedThrough(S, 0, 1);
 /* We have no output ports.*/
 
 if (!ssSetNumOutputPorts(S, 0)) return;
 
 /* This S-function has one sample time. */
 ssSetNumSampleTimes(S, 1);
 /* No work vectors and other special features are used. */
 ssSetNumRWork(S, 0);
 ssSetNumIWork(S, 0);
 ssSetNumPWork(S, 0);
 ssSetNumModes(S, 0);
 ssSetNumNonsampledZCs(S, 0);
 /* No additional options are used. */
 ssSetOptions(S, 0);
 }
 
 /* Function: mdlInitializeSampleTimes = */
 static void mdlInitializeSampleTimes(SimStruct *S)
 {
 /* Use INHERITED_sample time and no offset. */
 ssSetSampleTime(S, 0, INHERITED_SAMPLE_TIME);
 ssSetOffsetTime(S, 0, 0.0);
 }
 
 #define MDL_INITIALIZE_CONDITIONS
 #if defined(MDL_INITIALIZE_CONDITIONS)
 /* Function: mdlInitializeConditions === */
 static void mdlInitializeConditions(SimStruct *S)
 {
 #ifndef MATLAB_MEX_FILE
 {
   ds1103_slave_dsp_communication_init();
  ds1103_slave_dsp_spi_init(0, SLVDSP1103_SPI_MASTER, 115200, 
 SLVDSP1103_SPI_CLKPOL_FALL, SLVDSP1103_SPI_CLKPHS_WOD, 8);
  }
 #endif
 }
 #endif
 
 #undef MDL_START /* Change to #undef to remove function */
 #if defined(MDL_START)
 /* Function: mdlStart === */
 static void mdlStart(SimStruct *S)
 {
 
 }
 #endif /* MDL_START */
 
 /* Function: mdlOutputs ==*/
 static void mdlOutputs(SimStruct *S, int_T tid)
 {
  InputRealPtrsType u0 = ssGetInputPortRealSignalPtrs(S,0);
 
 #ifndef MATLAB_MEX_FILE
   int16_T idx0 = DSCOMDEF_AUTO_INDEX;
   ds1103_slave_dsp_spi_write_register(0, idx0);
  ds1103_slave_dsp_spi_write(0,idx0, *u0[0]);
 
 
 #endif
 }
 
 #undef MDL_UPDATE  /* Change to #undef to remove function */
 #if defined(MDL_UPDATE)
   /* Function: mdlUpdate 
 ==
* Abstract:
*This function is called once for every major integration time step.
*Discrete states are typically updated here, but this function is 
 useful
*for performing any tasks that should only take place once per
*integration step.
*/
   static void mdlUpdate(SimStruct *S, int_T tid)
   {
 }
 
 #endif /* MDL_UPDATE */
 
 
 
 /* Function: mdlTerminate ==*/
 static void mdlTerminate(SimStruct *S)
 {
 }
 #ifdef MATLAB_MEX_FILE /* Compile as a MEX file? */
 #include simulink.c /* MEX file interface mechanism */
 #else
 #include cg_sfun.h /* Code generation registration fcn */
 #endif
 
 
 
 
 
 Can you tell me what is wrong?

Content-Description: ATT1.txt
 -
 SF.Net email is sponsored by:
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services
 for just about anything Open Source.
 http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
Content-Description: ATT2.txt
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066

Re: [Dspace-tech] Allowing access to Postgres

2007-12-03 Thread James Rutherford
On Mon, Dec 03, 2007 at 12:42:09PM +, Mika Stenberg wrote:
 Im hoping to allow remote access to our postgres running with DSpace
 1.4.2. Im having problems with this though. Has anyone managed to
 configure Postgres to accept incoming connections from other than
 localhost as well?
 
 on postgres.conf I have added the following:
 
 listen_addresses = 'localhost, otto.terkko.helsinki.fi'
 
 and on pg_hba.conf i added host to listen :
 
 hostall USERNAMEmd5
 
 I also opened up the firewall for for 5432. Still I get a message:
 
 Is the server running on host tds.terkko.helsinki.fi and accepting
  TCP/IP connections on port 5432?
 
 Any ideas, what could be causing this?

On the local machine (as root) try running either

lsof -i tcp:5432

or

telnet localhost 5432

If either of those shows that postgres is indeed listening on that port,
try running the telnet command from the remote machine (something like
telnet otto.terkko.helsinki.fi 5432).

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential
and may be legally privileged. If you have received this message in
error, you should delete it from your system immediately and advise the
sender. To any recipient of this message within HP, unless otherwise
stated you should consider this message and attachments as HP
CONFIDENTIAL.

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Allowing access to Postgres

2007-12-03 Thread James Rutherford
On Mon, Dec 03, 2007 at 01:34:30PM +, Mika Stenberg wrote:
  On the local machine (as root) try running either
 
  lsof -i tcp:5432
 
 This gives me a list of postgres processes, so I guess its working fine?

Yes, that means it's definitely listening on the correct port.

  telnet localhost 5432
 
 This one leaves me hanging, though since it does not fail I think there
 is someone listening on 5432, right?

That's strange. It should eventually connect with a message like this:

$ telnet localhost 5432
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.

  If either of those shows that postgres is indeed listening on that port,
  try running the telnet command from the remote machine (something like
  telnet otto.terkko.helsinki.fi 5432).
 
 Trying telnet on another machine however, gives me:
 telnet: connect to address 128.214.167.212: Connection refused

Are you sure your firewall is set up correctly (/sbin/iptables -L)? If
so, try changing listen_addresses to '*' and see if that helps (after
restarting postgres, of course).

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential
and may be legally privileged. If you have received this message in
error, you should delete it from your system immediately and advise the
sender. To any recipient of this message within HP, unless otherwise
stated you should consider this message and attachments as HP
CONFIDENTIAL.

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] PostgreSQL refuse access

2007-11-20 Thread James Rutherford
On Tue, Nov 20, 2007 at 08:58:04AM +, Robert Roggenbuck wrote:
 Thanks for Your hint. The result of 'lsof -i tcp:5432' is:
 
 COMMAND   PID USER   FD   TYPE DEVICE SIZE NODE NAME
 postgres 5384 postgres3u  IPv4  17284   TCP localhost:postgresql
 (LISTEN)
 
 This looks quite ok. Or should there are more processes / files?

No, this is fine. The only thing I can think of then is that either
something changed in your pg_hba.conf to deny access to your DSpace user
or your dspace.cfg has been updated, and the incorrect password is in
there. Is the database running on the same machine as tomcat?

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential
and may be legally privileged. If you have received this message in
error, you should delete it from your system immediately and advise the
sender. To any recipient of this message within HP, unless otherwise
stated you should consider this message and attachments as HP
CONFIDENTIAL.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Differences between the data model and the trunk

2007-11-19 Thread James Rutherford
There are some acknowledged discrepancies between the data model, the
API, and the capabilities afforded by the UI. I'm not well placed to
discuss the decisions made in the early development of DSpace, but I
think the idea was to allow for many-to-many relationships in the model,
while being more restrictive in the API/UI mostly for pragmatic reasons
(basically, it was really hard / problematic to reflect the many-to-many
relationship all the way up the stack). There are all sorts of
implications of an object having multiple parents, the most obvious
being authorization policies, but I'm sure there are more.

Perhaps someone else (Rob?) can provide some insight here.

cheers,

Jim

daniele.ninfo wrote:
  Hi all,
 
  I'm writing to underline some differences between the data model shown in 
  the 
dspace site
  ( 
http://www.dspace.org/index.php?option=com_contenttask=viewid=149#data_model 
) 
and the actual code present in the /trunk ( 
http://dspace-sandbox.googlecode.com/svn/mirror/dspace/trunk/ ).
 
  There are differences in the associations between objects of the model: some 
one-to-many associations in the model are replaced in the code by many-to-many 
ones. I found 3 examples:
 
  - In the model, a Collection can be owned by only one Community, whereas in 
the code a Collection can be owned by many Community.
  - In the model, a Bundle can be owned by only one Item, and in the code it 
can be owned by more then one Item
  - In the model, a Bitstream can be owned by only one Bundle, and in the code 
by more then one.
 
  In the database schema, all the associations are many-to-many, there are no 
restrictions.
  I also looked at Jim's DAO-prototype ( 
http://dspace-sandbox.googlecode.com/svn/branches/dao-prototype/ ), and he 
reflects the database schema, using only many-to-many associations.
 
  I'm working on a prototype to introduce Hibernate, and i'd base my work on 
Jim's choice, but i'd like to have some opinions about it, what should we do? 
update the data model associations? follow the model and update the code in 
/trunk? what kind of associations should be kept and what dropped?
 
  My mentor Andrea will write his opinions replying to this email, to let 
everyone know them. We both are interested in having other opinions to choose 
the best way to go ahead.
 
  Cheers,
  Daniele
 
 
  -
  This SF.net email is sponsored by: Microsoft
  Defy all challenges. Microsoft(R) Visual Studio 2005.
  http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
  ___
  DSpace-tech mailing list
  DSpace-tech@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/dspace-tech

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] PostgreSQL refuse access

2007-11-19 Thread James Rutherford
Robert Roggenbuck wrote:
  Connection denied. Check the hostname and portnumber and be sure the
  the database server accept TCP/IP-connections.

Did you check this? Try running lsof -i tcp:5432 as root on the database
server to see if postgres is listening for TCP connections.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] OpenSearch support?

2007-11-16 Thread James Rutherford
Mark H. Wood wrote:
  There's interest here in adding OpenSearch support to our DSpaces.  I
  found some two-year-old pages suggesting the possiblity of such, but
  the author seems to have moved on.  There's no mention of OpenSearch
  on the DSpace Wiki.  Has this been done?

That depends on what you mean by support... Writing an OpenSearch
plugin for an individual DSpace should be really easy, since DSpace uses
parameterized URLs for searches. See, eg:

http://gizbuzz.co.uk/2007/making-your-own-opensearch-plugins/

Performing a simple / advanced search on your DSpace instance and
inspecting the URLs should make it pretty obvious what you need to do.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Browse access very slow

2007-10-25 Thread James Rutherford
On Wed, Oct 24, 2007 at 07:47:20AM +0100, Richard Jones wrote:
 Are you certain that you are using 1.5?  We have included in this 
 upcoming release a new browse system which removes Browse.java, and 
 offers a new configurable way of browsing archive contents.  I am 
 currently using this over an archive of 125,000 items with no noticeable 
 scalability problems, so it seems likely that there is something wrong 
 with your set up.

Have you tried this with Manakin? I experienced similar performance
problems (ie: taking ~1 min to browse to a Collection with ~20 items)
specifically with browsing under Manakin. The JSPUI performance was
fine.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential
and may be legally privileged. If you have received this message in
error, you should delete it from your system immediately and advise the
sender. To any recipient of this message within HP, unless otherwise
stated you should consider this message and attachments as HP
CONFIDENTIAL.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] DC date.modified and date.submitted

2007-10-11 Thread James Rutherford
Hi all,

I was wondering why we don't include date.modified in our DC registry.
It appears here http://dublincore.org/documents/dcmi-terms/, and I don't
see any reason why we shouldn't include it. I was also wondering about
our use of date.submitted[1], rather than dateSubmitted[2]. Was this
deliberate or an oversight?

cheers,

Jim

[1] http://dublincore.org/documents/2000/07/11/dcmes-qualifiers/
States that the only valid qualifiers for date are created, valid,
available, issued, and modified
[2] http://dublincore.org/documents/dcmi-terms/#dateSubmitted

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential
and may be legally privileged. If you have received this message in
error, you should delete it from your system immediately and advise the
sender. To any recipient of this message within HP, unless otherwise
stated you should consider this message and attachments as HP
CONFIDENTIAL.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Migration (1.3x to 1.4x) questions

2007-10-11 Thread James Rutherford
On Thu, Oct 11, 2007 at 03:47:56PM +0530, Satya Ranjan Sahu wrote:
 I tried following but unsuccessful:
 1. Drop the database of 1.4.1
 2. Creat new database
 3. psql dspace  dspace.sql (1.3.2)
 
 But it is showing problem as follows:
 SET
 SET
 ERROR:  permission denied to set session authorization
 REVOKE
 ERROR:  permission denied for schema public

Sounds like you're having permissions problems! Did you create the new
database with the correct user? Are you importing the old content as the
correct user? Are you following the upgrade instructions[1]?

cheers,

Jim

[1] http://www.dspace.org/index.php?option=com_contenttask=viewid=156#132_14
Also included in [dspace-src]/docs/.

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential
and may be legally privileged. If you have received this message in
error, you should delete it from your system immediately and advise the
sender. To any recipient of this message within HP, unless otherwise
stated you should consider this message and attachments as HP
CONFIDENTIAL.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] how to enable OAI-PMH

2007-10-10 Thread James Rutherford
On Wed, Oct 10, 2007 at 09:25:37AM -0700, asim naseem wrote:
   I am trying to enable the OAI-PMH interface but not successful,any
   idea how to enable OAI-PMH interface in dspace 1.4?

When you run the build_wars target with ant, it will give you two WAR
files, one for the JSP UI, and one for the OAI-PMH interface. Deploying
it is as simple as it is for the JSP UI: just give the WAR file to
tomcat. You will then (by default) be able to access the interface from
this URL:

http://hostname+port/dspace-oai?request

Also, see http://wiki.dspace.org/index.php/Use_the_OAI-PMH_interface,
and I'm pretty sure there are docs included in the release that tell you
how to do this.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential
and may be legally privileged. If you have received this message in
error, you should delete it from your system immediately and advise the
sender. To any recipient of this message within HP, unless otherwise
stated you should consider this message and attachments as HP
CONFIDENTIAL.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Tagging an exported item in DSpace

2007-10-09 Thread James Rutherford
On Tue, Oct 09, 2007 at 10:59:06AM +0200, Obiajulu Odu wrote:
 Is there any way to test  or put a tag in a DSpace instance that an
 item has been exported before? This will enable us not to export the
 same item next time we run export.

What kind of export do you mean? Assuming you mean command-line batch
export with ItemExport, the best way to keep track of this would be to
record the date of the export somewhere and filter the results based on
what is new. Note that DSpace doesn't do this for you (there's no
reason for it to assume that you don't want to export things multiple
times) so you would have to modify the ItemExport class to allow it to
accept a date range.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential
and may be legally privileged. If you have received this message in
error, you should delete it from your system immediately and advise the
sender. To any recipient of this message within HP, unless otherwise
stated you should consider this message and attachments as HP
CONFIDENTIAL.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Search Problem

2007-10-09 Thread James Rutherford
On Tue, Oct 09, 2007 at 01:36:07PM +0530, Surinder Kumar Gaba wrote:
 java.sql.SQLException: Query fiscal returned unresolvable handle:
 123456789/17341

It sounds like your indices are out of sync with your database. This
really shouldn't be able to happen unless you manually change the
Handles in your db (updates / deletes etc should be dealt with
automatically). Try running index-all and see if that helps.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential
and may be legally privileged. If you have received this message in
error, you should delete it from your system immediately and advise the
sender. To any recipient of this message within HP, unless otherwise
stated you should consider this message and attachments as HP
CONFIDENTIAL.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] (no subject)

2007-09-28 Thread James Rutherford
On Fri, Sep 28, 2007 at 05:47:23PM +0800, Jayan Chirayath Kurian wrote:
 Is there any way to get the hardware specs for the china digital museum
 project? Here they are looking for building a museum archive. Any
 suggestions are welcome. 

I'll see if I can find out, but you should derive the hardware spec from
your individual requirements (number of items, volume of content,
anticipated number of users, etc) rather than necessarily from what
other people are using. For instance, the data center nodes in the
project will be holding ~200TiB of content each, and will be serving all
of China, whereas the individual nodes will probably average around 2TiB
of content, and will be serving a much smaller audience...

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Pdf problems

2007-09-20 Thread James Rutherford
What exactly is the problem? The pdf opens in my browser just fine in
Opera 9  Firefox 2 on linux.

cheers,

Jim

On Thu, Sep 20, 2007 at 12:57:43PM +0300, Mika Stenberg wrote:
 Hi,
 
 We are experiencing increasing difficulties in opening pdf- files via 
 Dspace / Manakin.  This is beginning to look like a serious problem 
 which affects the overall usability of the software. The problem exists 
 both in Manakin UI and Dspace UI.
 
 If someone has any suggestions how to make pdf files open in browser, 
 please let me know.
 
 You can see a demo of such problem at:
 http://hdl.handle.net/2455/131898
 
 Thanks,
 Mika
 
 -- 
 Mika Stenberg
 IT-asiantuntija
 
 Terveystieteiden Keskuskirjasto
 Lääketieteellinen tdk
 PL 61 (Haartmaninkatu 4)
 Helsingin Yliopisto
 00290 Helsinki
 
 puh. +358-9-191 26807
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Clustering of Dspace servers

2007-09-19 Thread James Rutherford
On Wed, Sep 19, 2007 at 09:26:52AM +0530, Nandita Chaudhri wrote:
 I was told Dspace does not respond well to software clustering of servers
 but is OK with hardware clustering.

That depends on what you mean by software clustering.

 If we want a high availabilty
 application in Dspace what is the recommended configuration for the servers
 and software if any required. Regards,

A long time ago, a few of us looked into the feasibility of clustering
DSpace, and recorded the results here:

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

There are three layers which you may want to cluster, each having a
different level of difficulty in implementation: filesystem (relatively
easy), tomcat (still reasonably simple), and the database (much harder).
The conclusion that I came to about clustering the database was that to
do so with open source tools was, at the time, pretty much infeasible.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] different database on the same server

2007-09-12 Thread James Rutherford
On Wed, Sep 12, 2007 at 10:45:19PM +0800, wang jiahui wrote:
 The dspace.cfg file is ought to be right since that the destination dir name
 is exactly what I set in the file.

I can guarantee that one of three thigns are happening:

1. the database already exists with content in it (maybe from a previous
   install that you forgot about)
2. ant is using the incorrect dspace.cfg
3. the db.url specified in your dspace.cfg is incorrect

Remember, if your new db is called dspace-foo, your dspace.cfg should
have something like this:

db.url = jdbc:postgresql://localhost:5432/dspace-foo

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] different database on the same server

2007-09-12 Thread James Rutherford
The problem is that the fresh_install is loading the wrong (old)
dspace.cfg so it's trying to connect to the existing database, so it's
having problems with duplicate values. Pass the correct path to the new
config by calling ant -Dconfig=/path/to/new/dspace.cfg fresh_install.

Jim

On Wed, Sep 12, 2007 at 04:34:46PM +0200, Christian Voelker wrote:
 Hello,
 
 Am 12.09.2007 um 16:03 schrieb wang jiahui:
 
  When I changed the entry and run the fresh_install task, I got this  
  exception:
 
   [java] 2007-09-12 21:56:24,493 FATAL  
  org.dspace.administer.RegistryLoader @
   anonymous::error_loading_registries:
 
 I remember that I had this error once as well.
 I cant remember what the problem was but it was
 probably something too stupid to write down
 because I dont have it in my records. I guess
 I just removed the db, created again and ran
 fresh_install again, but thats not sure.
 
 Now for what I actually wanted to tell: There
 is a quite elaborate page in the wiki with a
 subject like Installing a test and a live
 instance on the same server or such, which
 describes several ways to do so with various
 degrees of separation (for one developer or
 several developers and so on), but which
 basically all rely on the same procedure that
 you try to use. I guess you will find more
 valuable details there.
 
 Bye, Christian
 
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Best practices for scripted metadata modifications

2007-09-11 Thread James Rutherford
On Tue, Sep 11, 2007 at 09:39:05AM +0300, Mathias Hjelt wrote:
 I guess using the API would be the safest way to access the metadata,
 but I'm wondering if it's overkill for operations that could easily be
 carried out with a small number of relatively simple SQL statements in a
 script. On the other hand, bypassing the API and tweaking database
 contents manually carries the risk of screwing stuff up unintentionally,
 unless one's 100% sure about the scripts.. Any thoughts about this?

Yes, using the DSpace API would be the officially recommended route.
Writing scripts would probably be much faster (in terms of development
time), but support would be more difficult and you would have to have a
lot of confidence that you got it right :) Something else to consider is
that if you write scripts, you would need to check that they still
worked every time you updated your DSpace installation (which isn't
going to be very often, presumably).

I don't have any code samples, but depending on what you're doing (and
which version of DSpace you're using), the DSpace Developer guide by
Richard Jones may be of interest:

http://wiki.dspace.org/static_files/7/7d/DevelopersDocumentation.pdf

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Psql error

2007-09-05 Thread James Rutherford
On Wed, Sep 05, 2007 at 04:27:27PM +0300, Mika Stenberg wrote:
 LOG:  unexpected EOF on client connection

This is a problem caused by DSpace not properly closing database
connections. It's nothing to worry about really (although it is probably
indicative of sloppy / incorrect use of the Context somewhere); all that
has happened is that the postgres JDBC driver is trying to use a
connection that it assumes is open when it's not. When the driver
realised it's actually closed, it will just go hunting for another. I
think this is in the list of things that need cleaning up in the near
future...

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] [Dspace-devel] Adding new buttons, metadata fields in UI

2007-08-16 Thread James Rutherford
On Wed, Aug 15, 2007 at 10:08:02PM +0530, Kamineni, Kiran wrote:
 I was wondering what the best way to add new buttons in the UI (Display
 Full Item Details page) and also to add additional fields in the
 metadata for an Item.

Which page do you want to add the buttons to? If you wanted to add
buttons *on* the full details page, you should look at display-item.jsp.
You might also want to look at ItemTag.java (in the jsptags package). Of
course if any form processing is to be done, then you'll need to look at
the appropriate servlet, etc.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace RSS feeds

2007-08-15 Thread James Rutherford
On Wed, Aug 15, 2007 at 02:50:10PM +0300, Mika Stenberg wrote:
 DSpace doesnt seem to provide RSS feeds for communities, but only for 
 collections - is this a feature or a bug? I think community wide RSS 
 would be very useful in trying to keep up with new submissions on 
 specific subjects.

Which version of DSpace are you using. Certainly with 1.4.2 RSS feeds
appear for Communities and Collecitons, and I'm pretty sure this was
always the case.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] OpenUrl response

2007-08-14 Thread James Rutherford
On Mon, Aug 13, 2007 at 01:33:18PM -0700, Daniel Fernandez wrote:
 The DSpace documentation, about OpenURL Support, says: 
  
  ...Additionally, DSpace can respond to incoming OpenURLs 
 
 (http://www.dspace.org/index.php?option=com_contenttask=viewid=149#openurl)
 
 
 What D-Space URL should I connect to get this response?

your-dspace-url/openURL

See org.dspace.app.webui.servlet.OpenURLServlet. As you will see, it's
very basic, only responding to a few parameters (title, author first +
last names) by redirecting them to the simple search mechanism. For
example:

http://dspace.foo.ac.uk/openURL?title=Some%20Title

redirects to

http://dspace.foo.ac.uk/simple-search?query=%20Some%20Title

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] error in running ant fresh_install command in windows

2007-08-14 Thread James Rutherford
Sounds like you're running ant from the wrong directory! Check the
install docs again and make sure you're in the right place before
running this.

Jim

On Tue, Aug 14, 2007 at 03:56:59AM -0700, Heny belay wrote:
 Dear all

   I am installing Dspace 1.4.2 on windows XP.But when I run ant fresh_install 
 command I got the following error.  Build file: Build.xml does not exist! 
 build failed. Any one can assist me in removing this error?

   I have already installed and configured PostgreSQL 8.1, jdk-1_5_0_01, 
 apache-ant-1.6.2, and apache-tomcat-5.5.17.

   Regards

   Solomon
 

 -
 Yahoo! oneSearch: Finally,  mobile search that gives answers, not web links. 
 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now   http://get.splunk.com/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] OAI harvesting of restricted access DSpace collections

2007-08-07 Thread James Rutherford
On Tue, Aug 07, 2007 at 01:26:37PM +0100, Clive Gould wrote:
 Came across this statement on the DSpace Web site referring to DSpace 1.3.2
 
 Is the content still true for Dspace 1.4.2 ???

Yes, I believe it is.

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Reply-To Header missing - list misconfigured?

2007-08-01 Thread James Rutherford
On Wed, Aug 01, 2007 at 12:34:23AM -0400, Larry Stone wrote:
 FWIW, some of the lists to which I subscribe mung the reply-to header
 to force replies to go to the list, and some don't -- I'm invariably
 annoyed by the ones that _do_ mung headers.  So take this as a vote NOT to
 change the behavior of the DSpace lists.
 
 My mail user agent is a certifiable antique, but it has simple, separate
 commands for reply to sender and reply to all.  I prefer to have that
 option, but it goes away if teh Reply-To header forces a reply to the
 list even when I choose to write only to sender.  I suspect we'll see
 a bunch of inadvertent posts to the whole lists if this gets changed, too.
 
 -- Larry

+1 from someone who always hits 'g'.

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Reply-To Header missing - list misconfigured?

2007-08-01 Thread James Rutherford
On Wed, Aug 01, 2007 at 11:41:41AM -0400, Hilmar Lapp wrote:
 On Aug 1, 2007, at 11:26 AM, Mark H. Wood wrote:
 
  (I hate receiving duplicates -- another religious issue.)
 
 Mailman (which runs this list too, I believe) has a per-user (as well  
 as per-list default) option to avoid duplicates. It has worked  
 extremely well for me so far.

Likewise. I think it's actually geared to do this in the default
settings when you sign up.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] [vote] Do we want to assign external identifiers (Handles) to files?

2007-07-27 Thread James Rutherford
On Fri, Jul 27, 2007 at 12:20:55AM -0400, Ekaterina Pechekhonova wrote:
 I meant to say that building a flexible ExternalIdentifier service is a
 challenging task (as James himself has said), so I am concerned that at
 some point the configuration options will be dropped (because of lack of
 time, etc.) and the bitstream identifier assignment will be turned on and
 difficult to disable.
  
 This is less likely to happen if, instead of one ExternalIdentifier 
 implementation, Dspace will have a mechanism to plug-in different
 implementations (and the default implementation will replicate current
 functionality)

I have actually already done this. What I'm having trouble with is
working through the code and figuring out what to use now where DSpace
used to use Handles (ie: strings of various forms). It is much more
appropriate in most of these places to use internal identifiers, and in
the places where this information is exposed externally (eg OAI-PMH), we
need to figure out how best to fall back if no external identifiers
are available, and to make this mechanism consistent throughout the
application. I should emphasise that (in my opinion) I've done the hard
bit; now we need to decide what on earth to do with it. I can't follow
the model that is currently employed both because it is broken, and
because it no longer applies. I would like to see some kind of
identifier task force emerge post 1.5 to properly sort this out before
the 1.6 release when I hope to include it. The discussions on the
mailing lists have been informative, but they don't get code written ;)

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] New Submission Notification

2007-07-27 Thread James Rutherford
On Fri, Jul 27, 2007 at 07:09:46PM +0530, Sahil Dave wrote:
 How do i configure dspace to automatically send a notification e-mail to all
 registered users whenever a new submission takes place..?
 Right now, the mail only goes to the user who submits.

This may sound like a silly question, but are you sure that's what you
want? That could end up generating a lot of email traffic for a lot of
people. Currently, users can subscribe to individual collections for
submission notifications, but I don't know of an easy way of doing this
in bulk either for the user or administrator. Another way of receiving
notifications of site-wide submissions would be to enable RSS feeds and
offer them instead.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] DSUG 2007 Advanced DSpace tutorial

2007-07-26 Thread James Rutherford
Hi all, 

With the help of Richards Jones and Rogers, I will be giving the
advanced DSpace tutorial at the User Group meeting in October, and I
thought it would be good to get input on what to cover. This is mostly
directed at those thinking of attending the tutorial, but input is
welcome from everyone. The session is going to run (I believe) for at
least 2 hours.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] [vote] Do we want to assign external identifiers(Handles) to files?

2007-07-24 Thread James Rutherford
On Mon, Jul 23, 2007 at 09:48:39AM +1000, Gary Browne wrote:
 James, thanks for raising this issue and in particular getting people to
 put their money where their collective mouths are.

Believe me, if I could possibly avoid it, I would leave the issue well
alone ;)

I'm sure this will come as no surprise to anyone, but it seems like this
issue has highlighted some conflicts of opinion. As I see it there are
(broadly) two camps: those who believe that every meaningful tier in the
DSpace content hierarchy should get external identifiers, and those who
don't (or at least those who can't decide and so want it to be
configurable). From the responses on- and off-list, it seems there are
more people in the former camp (which is basically what I expected).
While this kind of debate could usually be resolved with a make it
configurable argument, I have a fairly major concern with this, which I
will try to outline briefly for the brave few who are still following
this thread.

Users (and administrators) crave consistency. If we make this assignment
configurable, there is no guarantee of consistency of application
between collections, or even in a single collection over extended
periods of time. The usual arguments about what we intend people to do
with the tools we provide versus what they actually do apply as ever.
This flexibility could leave repositories in a very messy state. It also
adds another degree of complexity to the new identifier system I'm
putting in place. The configurable parameters (if we are going to please
everyone) would be:

 * whether or not to assign external identifiers at all
 * which external identifier system to use by default
 * whether or not external identifiers are re-assignable
 * whether or not new versions of objects get new identifiers
 * which tiers in the content hierarchy get identifiers (if any)

I'm sure I've missed a few, but does that sound like something that is
reasonable to want / implement / support?

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Run the bin/intall-configs script

2007-07-24 Thread James Rutherford
On Tue, Jul 24, 2007 at 10:37:33AM -0400, Rodrigo Castro Artigas wrote:
  
 [EMAIL PROTECTED] bin]# ./install-configs
 Processing and installing configuration files for external tools
 ./dsrun: line 70: java: command not found

This means that the command 'java' isn't in the $PATH environment
variable for root on that machine. Find out where java is installed and
make sure that directory is in the $PATH for root, or make a symlink for
java into one of the directories that is already in there (eg: /usr/bin)
Information on how to do this for your system and your shell should be
easily obtainable via google et al.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Having A Sub-Community Collection appear in 2 Communities?

2007-07-23 Thread James Rutherford
On Fri, Jul 20, 2007 at 06:06:42PM -0400, Richard Rodgers wrote:
 What behavior do you want when (one of) the parents is deleted?
 Normally DSpace deletes everything below a community (sub-communities,
 collections, etc) I assume you would want any sub-community that has
 more than one parent to *not* be deleted. Is this true with your
 modified code?

Even though it's not officially supported to have communities with
multiple parents, Community.removeSubcommunity() does check to make sure
that the child node is orphaned before deleting it.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] [vote] Do we want to assign external identifiers (Handles) to files?

2007-07-20 Thread James Rutherford
On Thu, Jul 19, 2007 at 06:46:20PM +0100, Graham Triggs wrote:
 Possibilities that should be supportable:
 * reassigning the existing id (handle) to a new file

This is, in my humble opinion, pure evil. How can you consider something
to be an *identifier* if you can't actually guarantee that it identifies
something? What if an object is replicated between repositories and the
file is only replaced in one? The user would be seeing two objects that
claim to be the same thing (given that they have the same identifier)
but would actually be confronted with different content! We can't ever
dilute the notion of what it means to be an identifier just to make our
lives easier or to reduce the cost of assigning new identifiers or
managing relationships between them.

 * provide a fallback mapping - for example, to the item
 * reporting that the id is invalid

These are more reasonable, but see my previous email on the subject.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] [vote] Do we want to assign external identifiers (Handles) to files?

2007-07-20 Thread James Rutherford
On Thu, Jul 19, 2007 at 01:47:19PM -0400, Ekaterina Pechekhonova wrote:
 +1 as it usually better to have more options then less. 
 However, in our repository we keep identifiers on item level as we
 see item as a repository atomic structure, and we think it's pretty
 important that file identifiers will be an option not a default.

Do you actually oppose assigning them, or just making them visible to
the user? Naturally the citation link would be exactly as it is now
(ie: pointing to an Item). Personally, I can't see any reason why having
this information available would be harmful, so I'm interested to
understand why you might think it was a bad idea (I'm very open to input
here).

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Fwd: Handler

2007-07-20 Thread James Rutherford
On Fri, Jul 20, 2007 at 09:19:04AM +0200, Christian Voelker wrote:
 Am 20.07.2007 um 06:50 schrieb Jayan Chirayath Kurian:
 (1) Enter the TCP/UDP port no this server will listen to [2641]

 For Q(1), can I give 80. In tomcat server.xml, I have Connector  
 port=80 protocol=HTTP/1.1

 The handle server runs separate from tomcat.
 It will conflict if you try to run it on the same port.
 You will have a hard time to get it running if you change
 all kinds of things compared to the installation guideline
 if you dont even recognize this problem yourself.

Yes, running the service on port 2641 is exactly what you should do
unless you have a very good reason not to.

 Port 2641 is a reserved port for CNRI.
 Try cat /etc/services | grep 2641 to check yourself.
 I guess the whole system relies on you to be reachable
 from outside on this port. You might use a firewall to
 run the service on one port and expose it to the outside
 on another, but what is it good for? there should not
 be any conflicting services running on this port.

 BTW, did you make sure to run tomcat using commons-daemon
 to avoid running it as root? Remember the rule that ports
 below 1024 are privileged.

Remember he's running DSpace on windows 2003 ;)

 (3) Would you like to disable UDP services (y/n) [N]

 For Q(3), is it fine to disable the UDP service?

 I guess so, but why would you want to? UDP service of
 handle server is not known to be a special security risk,
 no reason to avoid it. How do you want to get help from
 the list if your setup is that different. Others will
 lack experience with this kind of setup and wont be
 able to help you. It can be already tricky with the
 default values.

Agreed. Agian, unless you have a good reason to not do this, it's
recommended that you do.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Running DSpace in read-only mode.

2007-07-20 Thread James Rutherford
On Thu, Jul 19, 2007 at 05:59:39PM -0400, Kyle Brentnell wrote:
 Two possiblities come to mind right away.  Others may have more elegant
 solutions, that do not require DB or coding changes.
 
 1) In the EPerson table set the can_log_in column to false for all
 users(except the Administrator).  This assumes anonymous users can not make
 any changes to items (default Dspace behaviour).  To allow access reset the
 can_log_in flag to the original values.
 
 2) Change the authenticateInternal method in the AuthenticationManager.java
 class to always return BAD_ARGS or NO_SUCH_USER, etc. to prevent users
 from logging into Dspace.  To allow access again, restore the original
 authenticateInternal code (and compile and deploy of course).

These both seem reasonable, assuming you don't need to log in to be able
to read content as well. Being able to flag various elements in the
container hierarchy (from the entire site down to Items) as read-only
has been on my wish list for some time, and DSpace provides no easy
means for doing this readily.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] MySQL in Dspace

2007-07-20 Thread James Rutherford
See

http://sourceforge.net/tracker/index.php?func=detailaid=1715618group_id=19984atid=319984

Postgres  MySQL syntax is so similar (more so since MySQL added support
for nested queries in version 5) that I'm pretty sure you can use MySQL
without too much work. Thanks to Graham Triggs for investigating this
and providing the patch.

cheers,

Jim

On Thu, Jul 19, 2007 at 02:58:57PM -0400, Blanco, Jose wrote:
 I checked the tech archive to find out if there have been any
 discussions about using MySQL in Dspace and found none, so I will pose
 my question.
 
 I know Dspace is setup to be able to connect and work with either
 Postgres or Oracle, but has any one tried using DSpace with MySQL?  Or
 are there any plans to make it work with MySQL?
 
 We have been using Postgres exclusively for our Dspace instance just
 fine, but most of our expertise is in MySQL and all our other
 applications use MySQL.  It would be nice not have to maintain two DB
 engines and develop expertise in both.  So I know that if we could
 transition to MySQL, we would.  Are there any thoughts on this?
 
 Thank you!
 Jose
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Tomcat Exception to SMTP host

2007-07-19 Thread James Rutherford
On Thu, Jul 19, 2007 at 09:24:59AM -0400, Jeffrey Trimble wrote:
 We upgraded our server's o/s to a newer version (SLES 8 to SLES 10)  
 and I think
 something is not right.  We've not noticed this until now.  It's been  
 4 weeks since the upgrade.
 
 Did I miss something in Tomcat configuration?

No, I don't think so. I'd test the connection to the SMTP server to make
sure it's running.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] [vote] Do we want to assign external identifiers (Handles) to files?

2007-07-19 Thread James Rutherford
On Thu, Jul 19, 2007 at 11:14:15AM -0400, Mark Diggory wrote:
 Just for clarification to the group... Its unclear what your  
 requesting a vote on: Anyone can assign an external identifier to a  
 Bitstream in an external identification system. Can you answer the  
 two following questions for the group?

Only if I can answer them in the wrong order :)

 2.) Are you suggesting that Internal Identifiers (currently sequence  
 id's) will be structured differently in 1.6 such that one can assign  
 one to a bitstream independent of the parent items identifier?

Yes, definitely. At the moment, files get UUIDs, which are used in the
URL space instead of sequence ids etc. For example, the following url
points to a pdf in my testing repository:

[my_base_url]/dspace/resource/uuid:d0875067-6853-4c54-9d72-ff7888e43c42

 1.) Are you suggesting that we will support an infrastructure in  
 DSpace to assign those via an external identifier service (currently  
 the Handle System in 1.5, ExternalIdentifierManager in 1.6)?

It would work exactly the same for Bitstreams as it currently does for
Items. This is purely about enlarging the scope (and expanding the
flexibility) of what we're currently doing, not necessarily about
changing the way we do it (at least not yet).

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] maximum open cursors exceeded Exception in dsrun tool

2007-07-17 Thread James Rutherford
This has been addressed a few times before. Check the list archives on
SourceForge:

http://sourceforge.net/mailarchive/forum.php?forum_name=dspace-tech

Jim

On Tue, Jul 17, 2007 at 11:14:29AM +0300, Hlias Stavrakis wrote:
 Hi, i'm getting the following exception after 40 ingestions in dspace using 
 dsrun. 
 Can anyone help?
 
 java.sql.SQLException: ORA-01000: maximum open cursors exceeded
 
  
 
 at 
 oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
 
 at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:330)
 
 at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:287)
 
 at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:742)
 
 at 
 oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:215)
 
 at 
 oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:954)
 
 at 
 oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1167)
 
 at 
 oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3284)
 
 at 
 oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3367)
 
 at 
 org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101)
 
 at 
 org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101)
 
 at 
 org.dspace.storage.rdbms.DatabaseManager.updateQuery(DatabaseManager.java:519)
 
 at 
 org.dspace.storage.rdbms.DatabaseManager.updateQuery(DatabaseManager.java:539)
 
 at org.dspace.browse.Browse.itemRemoved(Browse.java:439)
 
 at org.dspace.browse.Browse.itemChanged(Browse.java:465)
 
 at org.dspace.content.Item.update(Item.java:1500)
 
 at org.dspace.content.Item.create(Item.java:247)
 
 at org.dspace.content.WorkspaceItem.create(WorkspaceItem.java:173)
 
 at org.dspace.app.itemimport.ItemImport.addItem(ItemImport.java:629)
 
 at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:506)
 
 at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:415)
 
 java.sql.SQLException: ORA-01000: maximum open cursors exceeded
 
 

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Expose DSpace as Tomcat ROOT application (was Re: First name, family name order)

2007-07-16 Thread James Rutherford
The easiest way to do this (and I should probably be responding to the
original email) is to move the ROOT directory out of the way (to
ROOT.bak or similar) and make a link from the dspace directory to ROOT.

cheers,

Jim

On Mon, Jul 16, 2007 at 01:38:13PM -, Arnkell Logi Pétursson wrote:
 Hi Jayan,
  
 There is supposed to be a way to do this in some easy way. I tried lots of 
 stuff and never got it to work. In the end I simply copied all the files and 
 folders of the Dspace folder that gets created in the Webapps of Tomcat and 
 moved them to the ROOT f
older. Simple as that, but probably not the right way to do it.
  
 best regards, Logi
  
 
 
 
 From: Jayan Chirayath Kurian [mailto:[EMAIL PROTECTED] 
 Sent: 16. júlí 2007 13:29
 To: Arnkell Logi Pétursson
 Subject: RE: [Dspace-tech] First name, family name order
 
 
 hi!  Logi,
  
 can you please let me know the configuration that you have made to Tomcat to 
 enable dspace access at http://skemman.khi.is 
 https://webmail.ntu.edu.sg/exchweb/bin/redir.asp?URL=http://skemman.khi.is  
 rather than http://skemman.khi.is/dspace. i configu
red to port 80 and removed the default 8080, but could not remove the dspace 
parameter for access. please suggest.
  
 thanks
 jayan
 
 
 
 From: [EMAIL PROTECTED] on behalf of Arnkell Logi Pétursson
 Sent: Mon 7/16/2007 9:23 PM
 To: dspace-tech@lists.sourceforge.net
 Subject: [Dspace-tech] First name, family name order
 
 
 Hi all,
  
 I've set up Dspace 1.4.1 for our university and all went well. We run it 
 using Win2003, Postgresql and Tomcat6. You can see it here: 
 http://skemman.khi.is http://skemman.khi.is/ 
  
 I've done some modifications to the code and for instance implemented a 
 locking mechanism so that during submission, users can decide that parts or 
 all of their work will become open to the public at a certain time (say June 
 2010). I  also completely r
ewrote the LDAP connector to work with our strange AD setup. 
  
 One thing is still not working. How do I change the way names are displayed 
 in the system? I basically want to get rid of the comma inserted between the 
 first name and family name. You can see it here: 
 http://skemman.khi.is/browse-author . Here in Icel
and we have patronyms (http://en.wikipedia.org/wiki/Patronymic) and names are 
always displayed in the order firsname familyname (patronym) with no comma in 
between. 
  
 Does anybody know how I can fix this?
  
 best regards, Logi
  
  
  
 
  
 
  
 
  
 
  
 
  
 
  
 
  
 
 Tölvupóstskeyti þetta og viðhengi þess kunna að innihalda 
 trúnaðarupplýsingar. Hafi tölvupósturinn ekki verið ætlaður þér 
 heldur borist fyrir misgáning er þess óskað að þú gætir fyllsta 
 trúnaðar.
 Tilkynnið sendanda tafarlaust og eyðið tölvupóstinum. Misbrestur getur 
 varðað bótaábyrgð og refsingu. Sjá nánar lög um fjarskipti nr. 
 81/2003.
 Tölvupósturinn er á ábyrgð sendanda ef hann tengist ekki starfsemi 
 Kennaraháskóla Íslands. 
 
 
 
 This message including attachments may contain information which is 
 confidential. If you are not the intended recipient and have received the 
 message through mistake,
 you are kindly requested to treat it in strict confidence and to notify us 
 without delay, as well as to delete the message. Failure may entail civil and 
 criminal liability.
 See act no. 81/2003 in Telecommunications.
 The message is at the responsibility of the sender if it is not connected 
 with the operations of Iceland University of Education.
 

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2

Re: [Dspace-tech] License Change

2007-07-09 Thread James Rutherford
On Mon, Jul 09, 2007 at 11:22:03AM -0400, Keith Jones wrote:
 If I wanted to change the license on a dspace installation I know this 
 does not change the license for items that have previously been submitted. 
 Is there a way to change the license for previously submitted items.

This might not be a good thing to do en-masse. If your authors have
granted a license, you probably can't go and change it without having
them grant the new one, surely? Unless it's a typo or something...

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Thumbnails for Flash FLA and SWF

2007-07-06 Thread James Rutherford
On Thu, Jul 05, 2007 at 07:13:37PM -0400, Henrik De Gyor wrote:
 Could DSpace display a keyframe/thumbnail/preview of a Adobe Flash .fla
 or .swf file inside the DAM? 

Theoretically, yes. Much like there is a MediaFilter plugin to generate
image thumbnails, if you write one that is capable of extracting a
thumbnail from a Flash movie, then it should be easy. This will
presumably require the existance of a Java library that understands
Flash (I have no idea if such a thing exists, but I assume it does).

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Any plans for result sorting in 1.5?

2007-07-06 Thread James Rutherford
On Fri, Jul 06, 2007 at 02:21:08PM +0100, Charlotte Pollock wrote:
 Does anyone know if there are plans to incorporate results sorting in the
 next release?

The configurable browse work from Richard Jones (which I'm pretty sure
includes more powerful sorting for browse) will be included in 1.5. I
don't think there are any plans to change the behaviour of search
results though.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] [Dspace-general] DSpace Bistream

2007-07-05 Thread James Rutherford
On Wed, Jul 04, 2007 at 01:13:38PM +0200, Ina Smith wrote:
 My question relates to the preservation of the bitstream URL: In stead
 of linking from another database (e.g. our library catalogue) to the
 Item URL, we would like to link directly to the Bitstream URL. Is
 there any guarantee that the Bitstream URL will also stay persistent
 if we decide to export our items to another server one day? We also
 use the CNRI Handle System.

The short answer is no. Bitstreams don't get handles, so if you move
your DSpace having directly referenced a Bitstream URL, that link will
either break, or you will have to maintain it yourself (which is a bad
road to go down). Until this is fixed (and I should point out that not
everyone thinks it's a problem) you shouldn't use Bitstream URLs
anywhere unless you're prepared to deal with it when the time comes.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] can I use xml instead of RDBMS for backend support?

2007-06-29 Thread James Rutherford
On Fri, Jun 29, 2007 at 03:16:49PM +0530, [EMAIL PROTECTED] wrote:
 4) there is no need for adding any further data in the store, just i
 need to browse through the the files, no need for addition.
 
 Please tell me , can I use xml for storing the metadata indexes to the
 pdf files?? or is it a mandatory  requirement  to have RDBMS support

It's actually far more complicated than that. DSpace simply won't
function without a database. You couldn't even have a format registry
that told you it was a pdf without a database, let alone have user
authentication, metadata, etc. The database is also used to store other
information about the file such as size, name, location on disk, etc.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Tomcat cluster configuration

2007-06-27 Thread James Rutherford
Hi,

It would be great if you could add some notes to the (embarrassingly
incomplete) wiki page that I started a few months ago:

http://wiki.dspace.org/HOWTO_Clustering

The page is mostly focussed on clustering of the database layer, so it
would be good to get more detailed information about setting up Tomcat.

cheers,

Jim

On Wed, Jun 27, 2007 at 09:57:47AM +0200, Jesus Martin wrote:
 Hi, I have been configuring Tomcat and DSpace to accomplish tomcat 
 clustering and the persistence of sessions in two machines that are 
 running Tomcat at the same time. First, I added the line of server.xml 
 under the Engine line:
 Engine defaultHost=localhost name=Catalina
 Cluster 
 className=org.apache.catalina.cluster.tcp.SimpleTcpCluster/
 ...
 
 Moreover, we need to modify the objects that sessions of DSpace uses, 
 consequently changing this objects for implementing the 
 java.io.Serializable. In fact, DSpace's sessions only use one object, 
 RequestInfo.java:
 
 public class RequestInfo implements java.io.Serializable{.}
 
 I made this changes with DSpace 1.4 , Tomcat 5.5.17 and Tomcat 6 and are 
 working very well. I hope this explanations can help anyone.
 
 Best regards,
 
 Jesús Martín
 
 -- 
 
 ..
  __
 / /  Jesús Martín García
   C E / S / C A  Tècnic en Sistemes
   /_/Centre de Supercomputació de Catalunya
 
   Gran Capità 2-4 (Edifici Nexus)  08034 Barcelona
   T. 93 205 6464  F.  93 205 6979  [EMAIL PROTECTED]
 .. 
 
 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Tomcat cluster configuration

2007-06-27 Thread James Rutherford
On Wed, Jun 27, 2007 at 09:10:53AM -0400, Jodi Schneider wrote:
 -What is the path of server.xml?
 -How do we modify the objects that sessions of DSpace uses?

This depends on where you installed Tomcat. For me, it's here:

/etc/tomcat-5.5/server.xml

 The structure of this page
 http://wiki.dspace.org/index.php//HOWTO_Clustering
 is also unclear to me--it seems like a list of options that were tried.

That's pretty much exactly what it is :)

 It would be preferable to me (as a novice), to have a recommendation
 at the top, clearly marked as such, followed by categorized
 alternatives. (For instance, how does Terracotta relate to Tomcat)?

Well until Jesus filled in some blanks, the page was mostly a collection
of failed experiments, and so there wasn't much to recommend.

 Scalability is definitely important, so and I hope that those who understand
 it will continue improving these instructions, and provide some scalability
 metrics as well at the stub
 http://wiki.dspace.org/index.php/ScalabilityMetrics

Yes, indeed. I was going to start fleshing this page out with content
once I had some kind of clustered setup running, but that never happened
(I was only experimenting with the database aspect), so the whole effort
lost momentum.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Does DSpace support versioning of items?

2007-06-26 Thread James Rutherford
On Tue, Jun 26, 2007 at 10:37:56AM +0300, Hlias Stavrakis wrote:
 Hi, I would like to ask if DSpace supports the versioning of items and how?

No, DSpace doesn't support versioning. However, one of the Summer of
Code projects is working on implementing this, and the project is
progressing very well indeed:

http://wiki.dspace.org/Google_Summer_of_Code_Versioning

If the project is a success, there is a very good chance it will make it
into a future release. I would say probably 1.6, but I don't think this
has been discussed.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Moving DSpace instance

2007-06-26 Thread James Rutherford
On Tue, Jun 26, 2007 at 12:53:02PM +0300, Mika Stenberg wrote:
 Im testing how to move our DSpace instance from one server to another.
 Importing the metadata and collections via pg_dump seems to work 
 smoothly. However, Im having problems with bitstreams. I copied the 
 assetstore directory to my new server but this doesnt make them 
 available, all I get is Internal Server Error.

What are the details of the error? The most likely candidates are either
the permissions on the files in the assetstore (make sure they are the
same as before) and the configured path to the asset store in dspace.cfg

 So my question is, how should the bitstreams be transferred to a new 
 DSpace instance?

It should be fine to just copy the contents of the directory.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Postgres Error--MAJOR BOO BOO

2007-06-14 Thread James Rutherford
You'll probably find that you updated libreadline and now that shared
object is no longer available because it's now called libreadline.so.5.
It usually lives in /lib. Do you have any libreadline.so* in /lib? Your
package management system shouldn't have let this happen, and it's
probably worth filing a bug report unless you've installed any of these
components by hand. It's hard to propose a fix without knowing more
details about your system.

cheers,

Jim

On Thu, Jun 14, 2007 at 12:25:44PM -0400, Jeffrey Trimble wrote:
 Okay,  Not to get into the gory details, but here's what I'm getting 
 when I start
 postgres:
 
 Starting PostgreSQL: /usr/local/pgsql/bin/pg_ctl: error while loading 
 shared lib
 raries: libreadline.so.4: cannot open shared object file: No such 
 file or direct
 ory
 
 Is something missing?  Any ideas?
 
 TIA,
 
 
 Jeffrey A. Trimble
 Systems Librarian
 Youngstown State University
 Youngstown, OH
 [EMAIL PROTECTED]
 (330) 941-2483
 http://digital.maag.ysu.edu
 http://www.maag.ysu.edu
 http://jupiter.ysu.edu
 
 
 
 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] RE : dsrun data register trouble

2007-06-06 Thread James Rutherford
On Wed, Jun 06, 2007 at 08:45:58AM -0400, Tellier, Stephane wrote:
 It could be a problem too for the DSpace web interface : does it means
 that every time we access an Item, it creates an instance of this
 object and puts it in the cache, and to be never removed as long as
 the user's session is still alive? Could someone confirms if that is
 actually the case?

Not really, no. It will be cached for the lifetime of the Context object
into which it was cached (I think). Contexts are usually created on a
per-request basis, so the cache is burned pretty frequently. Naturally,
this isn't the case for the indexing and media filters which is probably
why that's the only code that uses decache().

 If it is, we should maybe check if the decache() method could be used
 more often. It would certainly help large repositories having items
 with a lot of bitstreams...

I actually disagree with this statement (in the general case). In terms
of performance, it is much better to cache as much as possible (provided
that the information is accessed multiple times). Reaching into the data
layer every time we access an object will get expensive very quickly, so
we need to reconcile the two to achieve satisfactory performance.

The work I am doing on DAOs separates the in-memory objects from the
storage layer entirely (as well as introducing light-weight proxy
objects), which should make DSpace smarter about what is cached in
memory as well. Once this prototype stabilises (soon) I will be doing
some simple performance checks to see how this new mechanism compares to
the current method. The new layer of indirection I have introduced will
itself introduce a performance penalty, but should more than make up for
that by being clever (it will also present a much nicer API to code
against).

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Help needed with DBD::Pg

2007-06-04 Thread James Rutherford
yum install perl-DBD-Pg.x86_64 worked fine for me. Really you shouldn't
be building it by hand unless you have specific requirements about the
build, or it isn't supported by your package manager.

Jim

On Mon, Jun 04, 2007 at 01:51:45PM +0930, Steve Thomas wrote:
 Hi.
 
 I'm wondering if anyone has installed the DBD::Pg perl module on RedHat?
 (RHEL) I'm having severe problems trying to get it to build.
 
 I have PostgreSQL 8.2.4 installed from a package. The DBD::Pg install
 requires pg_config from the development kit, so I've unpacked that and ran
 gmake to build pg_config. But I still cannot get the make for DBD::Pg to run
 - it crashes immediately with this:
 
 $ make
 gcc -c  -I/home/uals/kit/postgresql-8.2.4/src/include
 -I/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/auto/DBI
 -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe
 -I/home/uals/kit/postgresql-8.2.4/src/include -D_LARGEFILE_SOURCE
 -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -DPGLIBVERSION=80204
 -DPGDEFPORT=5432 -O2 -g -pipe -m64  -DPERL_EXTMALLOC_DEF
 -Dmalloc=Perl_malloc -Dfree=Perl_mfree -Drealloc=Perl_realloc
 -Dcalloc=Perl_calloc -DVERSION=\1.49\ -DXS_VERSION=\1.49\ -fPIC
 -I/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE   Pg.c
 In file included from Pg.xs:14:
 Pg.h:21:22: libpq-fe.h: No such file or directory
 In file included from Pg.h:47,
  from Pg.xs:14:
 dbdimp.h:36: error: syntax error before PGconn
 dbdimp.h:36: warning: no semicolon at end of struct or union
 etc. for about another hundred error lines.
 
 (This  was after I tinkered with the DBD::Pg Makefile to adjust the
 erroneous paths provided by pg_config! Which made no difference.)
 
 I am afraid that at this point I am stumped. Any clues as to what to try
 next will be warmly welcomed.
 
 
 Steve
 
 Stephen Thomas,
 Senior Systems Analyst,
 University of Adelaide Library
 UNIVERSITY OF ADELAIDE SA 5005 AUSTRALIA
 Phone: +61 8 830 35190
 Fax: +61 8 830 34369
 Email: [EMAIL PROTECTED]
 URL: http://www.adelaide.edu.au/directory/stephen.thomas
 CRICOS Provider Number 00123M
 
 ---
 This email message is intended only for the addressee(s) and contains
 information that may be confidential and/or copyright. If you are not the
 intended recipient please notify the sender by reply email and immediately
 delete this email. Use, disclosure or reproduction of this email by anyone
 other than the intended recipient(s) is strictly prohibited. No
 representation is made that this email or any attachments are free of
 viruses. Virus scanning is recommended and is the responsibility of the
 recipient.
 
 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Persistent identifiers in DSpace -- thoughts please

2007-05-29 Thread James Rutherford
On Fri, May 25, 2007 at 03:39:12PM -0500, Brad Teale wrote:
 How do you determine which PI system generates a PId (base it
 on collection, community)?  What if one PI system fails (URL
 unreachable, temporarily down) and it is needed to resolve the PId?
 Could it be possible to create a loop of PIds that resolve to different
 PI systems while moving through the PI system stack?

Something to note is that I don't anticipate objects normally having
more than one identifier. While the prototype allows this, it will still
be the case that objects are only assigned one identifier (according to
configuration -- the details of which are still undecided) but now we
are able to associate multiople identifiers to objects (the stack is
there to define what we understand), and resolve them all to the correct
place.

 3) Including special characters in the URL string doesn't seem like a
 good idea.  While they are valid characters, it does take extra
 processing to encode/decode them from layer to layer.  Why not just
 leave the URL alone or change /handle to something like /uri, /id, or
 /pid?  Why encode the PI system into the URI?

As I mention on the wiki, my current idea is to have URLs of the form:

http://dspace.me.ac.uk/uri/hdl:1234/56

which will resolve to the object with Handle 1234/56, etc. If the
object also has a DOI with value 7890/12 then the following URL would
point to the object as well:

http://dspace.me.ac.uk/uri/doi:7890/12

It is necessary to include the hdl: and doi: parts so we can
distinguish between different persistent identifier mechanisms. The
values allowed for the persistent identifier are dependent on the
mechanism we are dealing with, and as far as possible this will be kept
simple.

 As far as having a default PI system out of the box for Dspace, I would
 recommend using a local identifier schema which used the existing URLs.
  Include the Handle PI system in the release as a configurable option,
 but not turned on by default.  This would remove the fake handle being
 assigned to all objects and clean up the default URLs out of the box.

I've already experimented with a null identifier that can be used to
resolve to objects locally. For example, in my prototype, the following
url would resolve to the Item with internal id 4:

http://dspace.me.ac.uk/uri/dsi:2/4

I'm still not convinced that this is a good idea, but it seems useful
and it makes accessing individual bitstreams a little more predictable
and consistent with the other objects.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Persistent identifiers in DSpace -- thoughtsplease

2007-05-29 Thread James Rutherford
On Tue, May 29, 2007 at 11:12:13AM +0100, Graham Triggs wrote:
 On Tue, 2007-05-29 at 10:44 +0100, James Rutherford wrote:
   3) Including special characters in the URL string doesn't seem like a
   good idea.  While they are valid characters, it does take extra
   processing to encode/decode them from layer to layer.
  
  As I mention on the wiki, my current idea is to have URLs of the form:
  
  http://dspace.me.ac.uk/uri/hdl:1234/56
  
  which will resolve to the object with Handle 1234/56, etc. If the
  object also has a DOI with value 7890/12 then the following URL would
  point to the object as well:
  
  http://dspace.me.ac.uk/uri/doi:7890/12
  
  It is necessary to include the hdl: and doi: parts so we can
  distinguish between different persistent identifier mechanisms. The
  values allowed for the persistent identifier are dependent on the
  mechanism we are dealing with, and as far as possible this will be kept
  simple.
 
 Whilst it is necessary to identify the persistent id scheme, that
 doesn't mean that using a colon as part of the identifier is necessary
 or desirable. Colons - or other 'unusual' characters - will end up
 causing problems.

I don't see what's so unusual or undesirable about colons. The reasoning
behind doing it this way was so that the value after /uri/ is the
canonical form of the identifier.

 In fact, I don't even see that there is a reason to include 'uri' in the
 url. Why not just support the existing:
 
 http://dspace.me.ac.uk/handle/1234/56
 
 for handles, and:
 
 http://dspace.me.ac.uk/doi/7890/12
 
 for DOIs, etc.?

This is certainly an option.

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Persistent identifiers in DSpace -- thoughtsplease

2007-05-29 Thread James Rutherford
On Tue, May 29, 2007 at 11:56:58AM +0100, Graham Triggs wrote:
 On Tue, 2007-05-29 at 11:43 +0100, James Rutherford wrote:
  I don't see what's so unusual or undesirable about colons. The reasoning
  behind doing it this way was so that the value after /uri/ is the
  canonical form of the identifier.
 
 The colon is a reserved character, and in this example would have to be
 encoded to be strictly valid according to the specifications - which
 would then mean it isn't the canonical form.

Well if we're going to be strict, we should escape the value of the
handle 1234/56 as 1234%2F56. Since DSpace already breaks this rule, I
didn't deem including a colon as such a great crime ;) Of course, it
would be better if we could use an identifier scheme that didn't require
escaped characters, but most will at least have a / to separate prefix
from suffix. If we're going to be strict, I think I'd favour the
following form:

http://dspace.me.ac.uk/uri/hdl%3A1234%2F56

or maybe

http://dspace.me.ac.uk/uri/hdl/1234%2F56

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Persistent identifiers in DSpace -- thoughtsplease

2007-05-29 Thread James Rutherford
On Tue, May 29, 2007 at 08:21:47AM -0400, Mark Diggory wrote:
 PI resolvers come in all shapes and sizes, What all your talking  
 about implementing is proxy/resolution. I would highly recommend NOT  
 conflating the PI resolution mechanism (and why do we even have to  
 have one) with the url path with which a Community, Collection, Item  
 or Bitstream is referenced under in DSpace. What this means is that  
 you do not have a url on with you have to worry about the identifier  
 being properly escaped. You also only have to be concerned with  
 resolving one path to the Item for any PI system.
 I.E.
 
 hdl:1234/5 -- http://dspace.me.ac.uk/item/ABCD
 
 and also
 
 doi:6789/0 -- http://dspace.me.ac.uk/item/ABCD

OK, this is fine, but we'll need to define the form that we want for the
URL. If we don't use the canonical form of persistent identifiers for
this, then we'll need to use another identifier that is unique across
the site (presumably, something based on the database id of the object).
Using UUIDs (as suggested earlier) would *work*, but would produce
horrid URLs.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace Upgradation to 1.4.2

2007-05-24 Thread James Rutherford
On Thu, May 24, 2007 at 04:37:41PM +0530, thirunavukarasu selvam wrote:
 I have done the DSpace upgradation from 1.4 to 1.4.2, the latest one.
 I just followed the same steps as given the doc file to upgrade.
 Is this enough or do i have to apply few patches with this.
 Becos after upgrading i didn't find some of the new features like
 Link to admin area in the navigation bar when logged in as an administrator.

That's odd. You should only have to run ant update, copy the new WARs
into the webapps directory of your servlet container (probably Tomcat)
and restart it. If you don't see the admin link (beneath Edit
profile), then you aren't running 1.4.2.

 If i have to apply the patches for this. can anybody explain how to do that.

You don't have to apply any patches.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Persistent identifiers in DSpace -- thoughts please

2007-05-23 Thread James Rutherford
On Tue, May 22, 2007 at 02:15:48PM -0700, Han, Yan wrote:
 The wiki mentions that DOI is using http, which is not totally correct.

I know this. The list of persistent identifier mechanisms was only
supposed to be examples of what we could use. I don't intend to actually
build support for DOIs or any other mechanism other than Handles into
DSpace, rather my goal is to make it extremely simple for others to do
so where necessary.

The point of my email wasn't to find out which persistent identifier
mechanism DSpace should use by default, it was to gather opinion on how
we can make DSpace less dependent on one mechanism in a way that isn't
limiting.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Persistent identifiers in DSpace -- thoughts please

2007-05-22 Thread James Rutherford
Hi all,

I've recently started looking into the way DSpace deals (or doesn't)
with persistent identifiers (prompted in part by patch #1690912 and a
conversation I had with Mark Diggory). I've put some thoughts on the
wiki:

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

and I'd like to gather some input. I've already implemented everything
discussed on the wiki in a prototype, and it seems to be working well.
Note that the implementation is being done in parallel with the DAO
prototype:

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

The most controversial aspects that I've come up against are:

 * deciding which persistent identifier method is used (if more than one
   is supported); and
 * what the URLs should look like (http://dspace.me.ac.uk/uri/hdl:12/34
   rather than http://dspace.me.ac.uk/handle/12/34, for instance)


I'm particularly interested in hearing from folks who already need to
support other identifiers (PURLs, DOIs, etc), but any input would be
appreciated.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Testing DSpace 1.4.2

2007-05-18 Thread James Rutherford
On Fri, May 18, 2007 at 03:49:56PM +0200, Lucia de la Iglesia Chamarro wrote:
 We're going to test DSpace 1.4.2 and we're wondering if we can configure 
 it against the same DB that 1.4.1.

It depends. If your 1.4.1 instance is just a test intance that you won't
use any more, then using it for 1.4.2 instead will be fine. If this
isn't the case, you should probably just make a copy of the database and
use that instead.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] DSpace 1.4.2 released

2007-05-10 Thread James Rutherford
Dear All,

The DSpace community is pleased to announce the release of DSpace 1.4.2!
Thanks to everyone who downloaded and tested the beta release.

This is primarily a bug fix release incorporating numerous bug fixes and
enhancements. Refer to the CHANGES file within the distribution for the
full list of enhancements, alternatively check here:
http://wiki.dspace.org/CurrentReleaseToDo

There was only bug introduced in the beta release, and that has been
addressed in this release. All DSpace users are encouraged to update to
this 1.4.2.

The documentation for this release is bundled within the package.

DSpace 1.4.2 can be downloaded from the files area at
http://sourceforge.net/projects/dspace/ or with SVN from
tags/dspace-1_4_2.

Please use the mailing lists to provide feedback on this release.

Those wishing to do development work with DSpace are strongly encouraged
to obtain the source code using SubVersion. This is very straightforward
and a guide to doing this is available here:
http://wiki.dspace.org/ContributionGuidelines

We would also like to take this opportunity to invite you all to take
part in the DSpace development process. Extra developer hands are always
welcome, but there are other ways you can help:

- Test the system and report bugs
- Provide documentation (for end users and institutions, as well as 
  technical)
- Provide or update language packs
- Share your deployment experiences
- Donate content and metadata for testing and research
- Share your technical experience and ideas

Please visit the DSpace Wiki to see the various resources and
collaboration tools available to the DSpace community:
http://wiki.dspace.org/DspaceResources

Regards,

The DSpace Committer Group

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace a memory hog?

2007-04-20 Thread James Rutherford
Hi Rob,

On Thu, Apr 19, 2007 at 08:27:32PM -0400, Robert Tansley wrote:
 batch export (classic): needs fixing
 batch import (classic): needs fixing
 browse indexer: needs fixing
 search (lucene indexer): needs fixing
 media filter: OK
 history system:  problems recording collection state (loads all items
 into memory)
 Sitemap generator: OK
 checksum checker: fine but only because it has its own DB access
 routines and doesn't use the APIs (!)
 
 The new-style packager (with plug-ins) only appears to be able to
 operate on one Item at a time.
 
 The above could probably be fixed for 1.4.2, with the potential
 exception of the checksum checker which needs to be changed to use the
 correct APIs.

I think these are a bit late for 1.4.2. I was hoping to get a beta out
on Monday, and make the full release a week after. If we have something
solid to aim for though, I don't see why we can't start work on 1.4.3
immediately (we can just keep committing to the branch after all).

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] DSpace 1.4.2 beta released

2007-04-20 Thread James Rutherford
Dear All,

The DSpace community is pleased to announce the release of DSpace 1.4.2
beta (3 days ahead of schedule!).

This beta is primarily a bug fix release incorporating numerous bug
fixes and enhancements. Refer to the CHANGES file within the
distribution for the full list of enhancements, alternatively check
here: http://wiki.dspace.org/CurrentReleaseToDo

The final release of 1.4.2 should be out within a week or so, and work
has already started in earnest on the 1.5 release.

The documentation for this release is bundled within the package.

DSpace 1.4.2 beta can be downloaded from the files area at 
http://sourceforge.net/projects/dspace/ or with SVN from
tags/dspace-1_4_2-beta.

Please use the mailing lists to provide feedback on this release.

Those wishing to do development work with DSpace are strongly encouraged
to obtain the source code using CVS. This is very straightforward and a
guide to doing this is available here:
http://wiki.dspace.org/ContributionGuidelines

We would also like to take this opportunity to invite you all to take
part in the DSpace development process. Extra developer hands are always
welcome, but there are other ways you can help:

- Test the system and report bugs
- Provide documentation (for end users and institutions, as well as 
  technical)
- Provide or update language packs
- Share your deployment experiences
- Donate content and metadata for testing and research
- Share your technical experience and ideas

Please visit the DSpace Wiki to see the various resources and
collaboration tools available to the DSpace community:
http://wiki.dspace.org/DspaceResources

Regards,

The DSpace Committer Group

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Warning in the Handle Server

2007-04-16 Thread James Rutherford
Hi,

On Mon, Apr 16, 2007 at 10:31:57AM +0200, José A. Rubio wrote:
 When I start the Handle Server, with dspace/bin/start-handle-server, I get
 an
 
 Warning: -Xmx256m not understood. Ignoring.
 Warning: -Xmx256m not understood. Ignoring.
 
 Is this a serious problems?, could be solve this with some solution?

I've seen this problem when using GNU java instead of Sun java. There is
a patch on the queue that should fix this (by inspecting the JAVA_HOME
environment variable rather than relying on PATH):

http://sourceforge.net/tracker/index.php?func=detailaid=1621109group_id=19984atid=319984

This fix will be included in the forthcoming 1.4.2 release (due at the
end of the month): http://wiki.dspace.org/CurrentReleaseToDo

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Accents

2007-04-13 Thread James Rutherford
On Fri, Apr 13, 2007 at 09:10:35AM -0300, [EMAIL PROTECTED] wrote:
 I had the same problem, you should try what Lucía said, if that  
 doesn't work you can make a search and replace with any editor like  
 this:
 
 á -- aacute;
 é -- eacute;
 í -- iacute;
 ó -- oacute;
 ú -- uacute;
 ñ -- ntilde;

This kind of approach, although effective, isn't a Good Idea. The
content you store in DSpace shouldn't be specific to any particular
presentation (in this case HTML). If you're having trouble making
accented characters display correctly, then I'm sure there are people
who have made it work cleanly who can help you out :)

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
DSpace-tech mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] DSpace Oracle support in SVN trunk

2007-04-06 Thread James Rutherford
Hi All,

As of yesterday, the code in SVN trunk (that will eventually become the
1.4.2 release) has all existing Oracle patches applied, and seems to be
stable. If there are any Oracle users out there who would be willing to
test, that would be greatly appreciated.

Thanks to everyone who has helped out, especially Graham Triggs for his
patches, and Stuart Lewis  Chris Yates for their work in testing and
applying the patches.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] 2 Tier Dspace Implementation

2007-04-03 Thread James Rutherford
On Mon, Apr 02, 2007 at 08:44:52PM +0800, Jayan Chirayath Kurian wrote:
 (1) Initailly i installed Dspace 1.4.1 and associated software
 (java,tomcat,postgresql) in machine1 and imported few items through
 batch import. DSpace is working fine. 
 (2) later it was decided to have 2 tier implementation,  machine1
 with DB and machineweb2 with Dspace, java, and Tomcat. The previous
 configuration of machine1 was not changed since DSpace was working
 fine. In machineweb2 i installed JDK, Tomcat and extracted DSpace
 1.4.1. When ant fresh_install was given at DSpace source - bin, the
 build was unsuccessful. 

This is the problem. When you run ant fresh_install it tries to do
everything, including populating the database. All you need to do on
machineweb2 is ant update (and maybe ant init_configs). You shouldn't
need to do anything to the database structure on machine1.

cheers,

Jim

 (3) Based on your suggestion, i feel it is due to database structure existing 
 with machine1 since it was installed with postgresql, java,tomcat, and 
 DSpace software initially . 
 (4) In this case shall i remove the items already imported or drop the 
 database. How shall i recreate the database once dropped so that it wont 
 effect machine1 DSpace configuration.
 (5) Is it better to reinstall postgresql in machine1. 
 (6) Will this effect the existing instance of DSpace running fine on   
 machine1. 
 (7) Is there an option to create a DSpace instance from machineweb2 without 
 changing existing configuration of machine1.
  
 Thanks for your reply and help.
 Only few items are existing in machine1 and removing them and importing 
 them again is not a big issue.Please suggest how shall i proceed .
  
 Thanks,
 Jayan
 
 
 
 From: James Rutherford [mailto:[EMAIL PROTECTED]
 Sent: Mon 4/2/2007 6:12 PM
 To: Jayan Chirayath Kurian
 Cc: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] 2 Tier Dspace Implementation
 
 
 
 On Mon, Apr 02, 2007 at 03:57:55PM +0800, Jayan Chirayath Kurian wrote:
  (3) when ant fresh_install was given from client machine, the DB
  connection error was not seen but build was not successful. I just
  copied the war files to Tomcat webapp folder. Accessing and browsing
  items was fine. But submitting a new item gives an internal error. Since
  I have not properly build DSpace, the log file was not seen. I am
  attaching the command line output when I execute ant fresh_install.
  The error starts with PSQLException: ERROR: function getnextid
  already exists with same argument types. Please suggest.
 
 This error is being thrown because the database structure already
 exists. How are you able to access and browse items if you can't
 submit them? It's difficult to figure out exactly how far you've got
 with your installation; if you haven't successfully completed a
 fresh_install, you shouldn't deploy the WARs and start using DSpace.
 Deploying DSpace half-built is definitely a Bad Idea.
 
 If there is no content in your database, I would recommend dropping it
 and starting again with a fresh_install.
 
 Jim
 
 --
 James Rutherford  |  Hewlett-Packard Limited registered Office:
 Research Engineer |  Cain Road,
 HP Labs   |  Bracknell,
 Bristol, UK   |  Berks
 +44 117 312 7066  |  RG12 1HN.
 [EMAIL PROTECTED]   |  Registered No: 690597 England
 
 The contents of this message and any attachments to it are confidential and
 may be legally privileged. If you have received this message in error, you
 should delete it from your system immediately and advise the sender. To any
 recipient of this message within HP, unless otherwise stated you should
 consider this message and attachments as HP CONFIDENTIAL.
 
 

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] 2 Tier Dspace Implementation

2007-04-02 Thread James Rutherford
On Mon, Apr 02, 2007 at 03:57:55PM +0800, Jayan Chirayath Kurian wrote:
 (3) when ant fresh_install was given from client machine, the DB
 connection error was not seen but build was not successful. I just
 copied the war files to Tomcat webapp folder. Accessing and browsing
 items was fine. But submitting a new item gives an internal error. Since
 I have not properly build DSpace, the log file was not seen. I am
 attaching the command line output when I execute ant fresh_install.
 The error starts with PSQLException: ERROR: function getnextid
 already exists with same argument types. Please suggest.

This error is being thrown because the database structure already
exists. How are you able to access and browse items if you can't
submit them? It's difficult to figure out exactly how far you've got
with your installation; if you haven't successfully completed a
fresh_install, you shouldn't deploy the WARs and start using DSpace.
Deploying DSpace half-built is definitely a Bad Idea.

If there is no content in your database, I would recommend dropping it
and starting again with a fresh_install.

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] 2 Tier Dspace Implementation

2007-03-27 Thread James Rutherford
On Tue, Mar 27, 2007 at 06:09:33PM +0800, Jayan Chirayath Kurian wrote:
 (1) By enabling Telnet service on the DB server, through services.msc,
 client was able to get connected to the DB server. 

As someone else noted, you definitely do not want telnet running on the
server. The use suggested by Stuart was to make sure you could connect
to the postgres tcp port (5432).

 (2) While giving telnet dspace.student.main.ntu.edu.sg 5432 from the
 client, the connection was getting refused. The message displayed was
 Could not open connection to the host, on port 5432: connection failed

On the database server, try running

lsof -i tcp:5432

This will let you know whether anything is listening on tcp port 5432.
If it isn't, then postgres has been set up incorrectly. Check to see
what arguments were passed to postgres at startup by running

ps ax | grep post

Which should show something like this:

[EMAIL PROTECTED] ~ $ ps ax | grep postmaster
31529 ?S  0:20 /usr/bin/postmaster -i

Note the -i flag which means my postmaster is listening for tcp
connections.

 (3) In the server, pg_hba was modified to include a single line that
 gives the IP address/subnet of client. 
 
 hostall all 155.69.24.194 255.255.255.0
 trust

That looks fine, but I wouldn't use 'trust' unless you're restricting
access to that machine by some other means; 'md5' would be safer.

 (4) In the server, postgresql.cfg file was modified to include 
 
 tcpip_socket=true
 
 listen_addresses = '*'  

That looks fine.

I'd check the scripts used to start postgres (usually in /etc/init.d/).
Just make sure the -i flag is being passed at startup. What operating
system is the database server running?

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] 2 Tier Dspace Implementation

2007-03-27 Thread James Rutherford
On Tue, Mar 27, 2007 at 08:23:09PM +0800, Jayan Chirayath Kurian wrote:
 we have Dspace 1.4.1 on Windows 2003 standard edition R2 with tomcat
 6.0 and postgresql 8.1

In this case, everything I said doesn't apply. They're linux commands. I
have no idea how to set up postgres on windows, sorry. There must be
some good postgres-on-windows tutorials out there somewhere.

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Fwd: JDBC error

2007-03-22 Thread James Rutherford
On Thu, Mar 22, 2007 at 10:15:37AM +0100, José A. Rubio wrote:
 After solving different problems with my installation of DSpace 1.4.1 on
 Oracle Application Server, now I have found the following one when I enter
 my credentials (e-mail and password) in My DSpace  section:
 
 2007-03-19 13:23:32,411 WARN
 org.dspace.app.webui.servlet.InternalErrorServlet @ :session_id=c0$--
 Method: POST
 -- Parameters were:
 -- login_submit: Log In
 -- login_email: [EMAIL PROTECTED]
 -- login_password: *not logged*
 
 java.lang.IllegalArgumentException: Unsupported JDBC type: -100
at org.dspace.storage.rdbms.DatabaseManager.process(

Looking at the code in DatabaseManagerl.java where this exception is
thrown, it looks like the column type is unknown (to DSpace). According
to java.sql.Types, -100 doesn't even correspond to a JDBC type. Check
your database structure to make sure everything looks as it should (in
particular, the eperson table).

Jim

-- 
James Rutherford  |  ASCII ribbon  /\
Research Engineer |campaign\ /
HP Labs, Bristol, UK  |  against HTML   \
[EMAIL PROTECTED]   |   mail  news  / \

Hewlett-Packard Limited registered Office:
Cain Road, Bracknell, Berks RG12 1HN.
Registered No: 690597 England

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Keeping spiders out of the statistics

2007-03-20 Thread James Rutherford
This may be of use: http://www.iplists.com/

Many people already maintain such lists (likewise for spammers).
Maintaining a blacklist of your own from these shouldn't be too
difficult.

Jim

On Tue, Mar 20, 2007 at 03:13:08PM -0400, Mark H. Wood wrote:
 Has anyone found a fairly good automatic method of maintaining a list
 of spider addresses, for ignoring hits from web indexing activities
 when counting document fetches?
 
 -- 
 Mark H. Wood, Lead System Programmer   [EMAIL PROTECTED]
 Typically when a software vendor says that a product is intuitive he
 means the exact opposite.
 



 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Error message when running dspace-info.pl

2007-03-16 Thread James Rutherford
On Fri, Mar 16, 2007 at 02:13:49PM -0400, Jeffrey Trimble wrote:
 ERROR:  column size does not exist
 ERROR:  column bs.size does not exist
 
 I believe I have an issue with my postgres database.  Someone want to 
 venture which table and

Sounds like the 'bitstream' table.

 how do I fix it?

Which version of DSapce are you running? It could be that the bitstream
table changed, and the dspace-info.pl script wasn't updated accordingly.

Jim

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] 2 Tier Design/ max item storage

2007-03-07 Thread James Rutherford
On Thu, Mar 08, 2007 at 12:06:19AM +0800, Jayan Chirayath Kurian wrote:
 What will be the maximum storage possible in a DSpace
 repository after which we may not be able to upload any more items. 

There is no hard limit. The only limitation will be in the amount of
hardware you have available. The largest known DSpace repositories hold
in the order of hundreds of thousands of items.

Jim

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


  1   2   >