Re: [Dspace-tech] Reverse Dspace Instance Migration question

2007-10-25 Thread Gary Browne
 
Hi Brian

[dspace]/bin/update-handle-prefix



Gary Browne
Development Programmer
Library IT Services
University of Sydney
ph: 9351-5946

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian
Helstien
Sent: Thursday, 25 October 2007 11:41 AM
To: 'Christian Voelker'
Cc: 'dspace-tech@lists.sourceforge.net'
Subject: Re: [Dspace-tech] Reverse Dspace Instance Migration question

Christian,
Which script?  Please, give me the name.

Brian A. Helstien, SISD, MLS,
Director, Special Technologies Initiatives,
IDM, University Libraries   x06913
University of Southern California,  (213) 740-6913
Los Angeles, California, 90089[EMAIL PROTECTED]
   Information is independent of media or format

-Original Message-
From: Christian Voelker [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 24, 2007 4:05 PM
To: Brian Helstien
Cc: 'dspace-tech@lists.sourceforge.net'
Subject: Re: [Dspace-tech] Reverse Dspace Instance Migration question


Am 24.10.2007 um 23:57 schrieb Brian Helstien:

 I'm currently running Dspace 1.3.2/Oracle/Solaris 9/ on my production 
 server.

 I want to conduct an upgrade to 1.4.2.
 I successfully upgraded my test server to 1.4.2.
...
 I dropped entirely my Oracle database on my test server, exported the 
 production db into test, and then tarred and moved /dspace_source and 
 /dspace directories onto test.
 I've edited my dspace.cfg to point to the test Oracle db and the test 
 server, updated my wars and started Tomcat
...
 I have changed both the dspace.cfg handle number and the handle 
 config.dct files to represent my test server handle.
 How do I change the just the handle prefix number associated with the 
 entries.  I've seen the entry regarding migrating data from test to 
 production entry on the wiki and isn't what I need.  How do I change 
 the just the handle prefix number associated with the entries.
...
 Do I just need to modify all the prefix numbers in the Oracle db or is

 this handle value stored elsewhere?

As far as I know, the handle prefix is in the files you told and the
only place for handles is in one table in the db. There is a script that
comes with DSpace to do what you want to do. I think that this is what
you think is not the right thing for you, but I suggest that you take a
second look. I think this script does not touch the second half of your
handles (behind the slash) but changes only the prefix in all database
entries.

Besides, I dont understand exactly why your handles would have changed
unless you created new items during testing.
Depending on what you did exactly when exporting your production db to
test (e.g. dump production and run the dump on the test machine, then
running the sql upgrade script), the database should still contain all
valid handles unaltered. The settings in dspace.cfg apply to new items
only and the config.dct change made sure that your test server did not
answer external resolution requests, thats all.

If you are not sure, I would block the production system for write
access and do the same steps you did for testing once more, with a
snapshot of the latest production data- base, then switch to the new
machine. I would move only the /dspace dir containing the assetstore,
but not /dspace_source.
You have your 1.4.2 sources already there. If you have to merge local
changes, then you have to do that in advance and this will be the
largest task of your migration.
I would use a local cvs or svn repository to simplify that step ( I
actually did it that way already).

I would use the new config files as a template and merge with the values
of the old configs. For the handle server, I would do the same, as there
was a fix in the configuration script for 1.4 that did not make it
backwards to 1.3.2.
I guess that you did not notice this since you did not try with your
proper handle prefix. If you run into this, then you will notice it
because your handle server just wont start.
You can increment the version which is not the software version of the
handle server but the version of your local service. You can and
*should* copy the key files unaltered.
as of my understanding. Thats it.

Bye, Christian



-
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

-
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 

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


Re: [Dspace-tech] Reverse Dspace Instance Migration question

2007-10-25 Thread Jayan Chirayath Kurian
http://sourceforge.net/tracker/index.php?func=detailaid=1642563group_i
d=19984atid=319984

This was suggested by Stuart and may be of help to you. For me it works
fine.

Jayan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian
Helstien
Sent: Thursday, October 25, 2007 9:41 AM
To: 'Christian Voelker'
Cc: 'dspace-tech@lists.sourceforge.net'
Subject: Re: [Dspace-tech] Reverse Dspace Instance Migration question

Christian,
Which script?  Please, give me the name.

Brian A. Helstien, SISD, MLS,
Director, Special Technologies Initiatives,
IDM, University Libraries   x06913
University of Southern California,  (213) 740-6913
Los Angeles, California, 90089[EMAIL PROTECTED]
   Information is independent of media or format

-Original Message-
From: Christian Voelker [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 24, 2007 4:05 PM
To: Brian Helstien
Cc: 'dspace-tech@lists.sourceforge.net'
Subject: Re: [Dspace-tech] Reverse Dspace Instance Migration question


Am 24.10.2007 um 23:57 schrieb Brian Helstien:

 I'm currently running Dspace 1.3.2/Oracle/Solaris 9/ on my production
 server.

 I want to conduct an upgrade to 1.4.2.
 I successfully upgraded my test server to 1.4.2.
...
 I dropped entirely my Oracle database on my test server, exported the
 production db into test, and then tarred and moved /dspace_source and
 /dspace directories onto test.
 I've edited my dspace.cfg to point to the test Oracle db and the test
 server, updated my wars and started Tomcat
...
 I have changed both the dspace.cfg handle number and the handle
 config.dct files to represent my test server handle.
 How do I change the just the handle prefix number associated with the
 entries.  I've seen the entry regarding migrating data from test to
 production entry on the wiki and isn't what I need.  How do I change
 the just the handle prefix number associated with the entries.
...
 Do I just need to modify all the prefix numbers in the Oracle db or is
 this handle value stored elsewhere?

As far as I know, the handle prefix is in the files you told and the
only place for handles is in one table in the db. There is a script that
comes with DSpace to do what you want to do. I think that this is what
you think is not the right thing for you, but I suggest that you take a
second look. I think this script does not touch the second half of your
handles (behind the slash) but changes only the prefix in all database
entries.

Besides, I dont understand exactly why your handles would have changed
unless you created new items during testing.
Depending on what you did exactly when exporting your production db to
test (e.g. dump production and run the dump on the test machine, then
running the sql upgrade script), the database should still contain all
valid handles unaltered. The settings in dspace.cfg apply to new items
only and the config.dct change made sure that your test server did not
answer external resolution requests, thats all.

If you are not sure, I would block the production system for write
access and do the same steps you did for testing once more, with a
snapshot of the latest production data- base, then switch to the new
machine. I would move only the /dspace dir containing the assetstore,
but not /dspace_source.
You have your 1.4.2 sources already there. If you have to merge local
changes, then you have to do that in advance and this will be the
largest task of your migration.
I would use a local cvs or svn repository to simplify that step ( I
actually did it that way already).

I would use the new config files as a template and merge with the values
of the old configs. For the handle server, I would do the same, as there
was a fix in the configuration script for 1.4 that did not make it
backwards to 1.3.2.
I guess that you did not notice this since you did not try with your
proper handle prefix. If you run into this, then you will notice it
because your handle server just wont start.
You can increment the version which is not the software version of the
handle server but the version of your local service. You can and
*should* copy the key files unaltered.
as of my understanding. Thats it.

Bye, Christian



-
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

-
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 

[Dspace-tech] DSpace Installation: Java-Problem

2007-10-25 Thread Robert Roggenbuck
Dear All,

I'd like to install DSpace to check whether we can use it for our 
planned OA-Repository. But reaching the point to say 'ant fresh_install' 
I get the following error message where I can not figure out the reason:

Buildfile: build.xml

compile:

install_code:

build_wars:

init_configs:

setup_database:
  [java] 2007-10-25 12:36:16,477 INFO 
org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database
  [java] 2007-10-25 12:36:16,536 INFO 
org.dspace.core.ConfigurationManager @ DSpace logging installed using 
log4j.properties
  [java] Exception in thread main 
java.lang.UnsupportedClassVersionError: Bad version number in .class file
  [java] at java.lang.ClassLoader.defineClass1(Native Method)
  [java] at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
  [java] at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
  [java] at 
java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
  [java] at 
java.net.URLClassLoader.access$100(URLClassLoader.java:56)
  [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
  [java] at java.security.AccessController.doPrivileged(Native 
Method)
  [java] at 
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
  [java] at 
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
  [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  [java] at 
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
  [java] at java.lang.Class.forName0(Native Method)
  [java] at java.lang.Class.forName(Class.java:164)
  [java] at 
org.dspace.storage.rdbms.DatabaseManager.initialize(DatabaseManager.java:1607)
  [java] at 
org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:715)
  [java] at 
org.dspace.storage.rdbms.DatabaseManager.loadSql(DatabaseManager.java:1062)
  [java] at 
org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatabase.java:71)

BUILD FAILED
/opt/dspace-1.4.2-source/build.xml:293: Java returned: 1

Total time: 3 seconds


Any suggestions? I think its not directly a problem with dspace, but 
with my Java installation. But anyway I would be glad for any hint.

Here some info about my environment:

 uname -a
Linux OSU458 2.6.20-16-generic #2 SMP Sun Sep 23 19:50:39 UTC 2007 i686 
GNU/Linux
(in fact it's an Ubuntu 7.04)

 javac -version
Eclipse Java Compiler v_686_R32x, 3.2.2 release, Copyright IBM Corp 
2000, 2006. All rights reserved.

 java -version
java version 1.5.0_11
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
Java HotSpot(TM) Server VM (build 1.5.0_11-b03, mixed mode)

 echo $JAVA_HOME
/usr/lib/jvm/java-1.5.0-sun

 psql --version
psql (PostgreSQL) 8.2.5

Further I installed Tomcat 5.5.25 successfully.


Best regards

Robert

-- 

===
Robert Roggenbuck
Universitaetsbibliothek Osnabrueck
Germany
===

-
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 Installation: Java-Problem

2007-10-25 Thread Obiajulu Odu
Install ant-optional to see if it can help. 
Example in Debian apt-get install ant-optional

Obi

| -Opprinnelig melding-
| Fra: [EMAIL PROTECTED] 
| [mailto:[EMAIL PROTECTED] På vegne 
| av Robert Roggenbuck
| Sendt: 25. oktober 2007 13:24
| Til: Graham Triggs
| Kopi: DSpace-tech@lists.sourceforge.net
| Emne: Re: [Dspace-tech] DSpace Installation: Java-Problem
| 
| 
| Graham Triggs schrieb:
|   What is the output of:
|  
|   ant -diagnostics
|  
| 
| Wow, ant is very verbose with its '-diagnostics':
| 
| --- Ant diagnostics report ---
| Apache Ant version 1.6.5 compiled on July 5 2006
| 
| ---
|   Implementation Version (JDK1.2+ only)
| ---
| core tasks : null
| optional tasks : 1.6.5
| 
| ---
|   ANT_HOME/lib jar listing
| ---
| ant.home: /usr/share/ant
| ant-nodeps.jar (421921 bytes)
| ant-apache-bcel.jar (8765 bytes)
| ant-commons-net.jar (35519 bytes)
| ant-swing.jar (6768 bytes)
| ant-bootstrap.jar (15970 bytes)
| ant-junit.jar (72936 bytes)
| junit.jar (68448 bytes)
| tomcat5.5-jkstatus-ant.jar (20816 bytes)
| ant-antlr.jar (5758 bytes)
| ant-launcher.jar (9180 bytes)
| catalina5.5-ant.jar (26712 bytes)
| ant-apache-resolver.jar (4064 bytes)
| ant-javamail.jar (6811 bytes)
| ant-trax.jar (68529 bytes)
| catalina5.5-ant-jmx.jar (23778 bytes)
| ant-apache-bsf.jar (12574 bytes)
| ant-apache-regexp.jar (3748 bytes)
| ant-jsch.jar (22991 bytes)
| ant-apache-oro.jar (48180 bytes)
| ant-jdepend.jar (8172 bytes)
| ant-commons-logging.jar (3990 bytes)
| ant.jar (1060964 bytes)
| ant-jmf.jar (6520 bytes)
| ant-apache-log4j.jar (3012 bytes)
| 
| ---
|   Tasks availability
| ---
| image : Not Available
| sshexec : Missing dependency com.jcraft.jsch.UserInfo
| wlrun : Not Available
| icontract : Not Available
| scp : Missing dependency com.jcraft.jsch.UserInfo
| vajload : Not Available
| stlist : Not Available
| netrexxc : Not Available
| starteam : Not Available
| stylebook : Not Available
| stlabel : Not Available
| jdepend : Missing dependency jdepend.xmlui.JDepend
| stcheckin : Not Available
| vajexport : Not Available
| stcheckout : Not Available
| ejbc : Not Available
| vajimport : Not Available
| wlstop : Not Available
| ddcreator : Not Available
| 
| ---
|   org.apache.env.Which diagnostics
| ---
| Not available.
| Download it at http://xml.apache.org/commons/
| 
| ---
|   XML Parser information
| ---
| XML Parser : org.apache.xerces.jaxp.SAXParserImpl
| XML Parser Location: /usr/share/java/xercesImpl.jar
| 
| ---
|   System properties
| ---
| java.runtime.name : Java(TM) 2 Runtime Environment, Standard 
| Edition sun.boot.library.path : 
| /usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre/lib/i386
| java.vm.version : 1.5.0_11-b03
| ant.library.dir : /usr/share/ant/lib
| java.vm.vendor : Sun Microsystems Inc.
| java.vendor.url : http://java.sun.com/
| path.separator : :
| java.vm.name : Java HotSpot(TM) Server VM
| file.encoding.pkg : sun.io
| user.country : DE
| sun.java.launcher : SUN_STANDARD
| sun.os.patch.level : unknown
| java.vm.specification.name : Java Virtual Machine 
| Specification user.dir : /opt/dspace-1.4.2-source 
| java.runtime.version : 1.5.0_11-b03 java.awt.graphicsenv : 
| sun.awt.X11GraphicsEnvironment java.endorsed.dirs : 
| /usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre/lib/endorsed
| os.arch : i386
| java.io.tmpdir : /tmp
| line.separator :
| 
| java.vm.specification.vendor : Sun Microsystems Inc.
| os.name : Linux
| ant.home : /usr/share/ant
| sun.jnu.encoding : UTF-8
| java.library.path : 
| /usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre/lib/i386/server:/usr/
| lib/jvm/java-1.5.0-sun-1.5.0.11/jre/lib/i386:/usr/lib/jvm/java
| -1.5.0-sun-1.5.0.11/jre/../lib/i386
| java.specification.name : Java Platform API Specification 
| java.class.version : 49.0 sun.management.compiler : HotSpot 
| Server Compiler os.version : 2.6.20-16-generic user.home : 
| /home/dspace user.timezone : java.awt.printerjob : 
| sun.print.PSPrinterJob file.encoding : UTF-8 
| java.specification.version : 1.5 user.name : dspace java.class.path : 
| /usr/share/ant/lib/ant-launcher.jar:/usr/share/java/xmlParserA
| PIs.jar:/usr/share/java/xercesImpl.jar:/opt/apache-tomcat-5.5.
| 25/common/lib/jsp-api.jar:/opt/apache-tomcat-5.5.25/common/lib
| /servlet-api.jar:/usr/share/ant/lib/ant-nodeps.jar:/usr/share/
| ant/lib/ant-apache-bcel.jar:/usr/share/ant/lib/ant-commons-net
.jar:/usr/share/ant/lib/ant-| 
swing.jar:/usr/share/ant/lib/ant-bootstrap.jar:/usr/share/ant/
| lib/ant-junit.jar:/usr/share/ant/lib/junit.jar:/usr/share/ant/
| 

Re: [Dspace-tech] DSpace Installation: Java-Problem

2007-10-25 Thread Robert Roggenbuck
I've 'ant-optional' already installed...

Obiajulu Odu schrieb:
 Install ant-optional to see if it can help. 
 Example in Debian apt-get install ant-optional
 
 Obi
 
 | -Opprinnelig melding-
 | Fra: [EMAIL PROTECTED] 
 | [mailto:[EMAIL PROTECTED] På vegne 
 | av Robert Roggenbuck
 | Sendt: 25. oktober 2007 13:24
 | Til: Graham Triggs
 | Kopi: DSpace-tech@lists.sourceforge.net
 | Emne: Re: [Dspace-tech] DSpace Installation: Java-Problem
 | 
 | 
 | Graham Triggs schrieb:
 |   What is the output of:
 |  
 |   ant -diagnostics
 |  
 | 
 | Wow, ant is very verbose with its '-diagnostics':
 | 
 | --- Ant diagnostics report ---
 | Apache Ant version 1.6.5 compiled on July 5 2006
 | 
 | ---
 |   Implementation Version (JDK1.2+ only)
 | ---
 | core tasks : null
 | optional tasks : 1.6.5
 | 
 | ---
 |   ANT_HOME/lib jar listing
 | ---
 | ant.home: /usr/share/ant
 | ant-nodeps.jar (421921 bytes)
 | ant-apache-bcel.jar (8765 bytes)
 | ant-commons-net.jar (35519 bytes)
 | ant-swing.jar (6768 bytes)
 | ant-bootstrap.jar (15970 bytes)
 | ant-junit.jar (72936 bytes)
 | junit.jar (68448 bytes)
 | tomcat5.5-jkstatus-ant.jar (20816 bytes)
 | ant-antlr.jar (5758 bytes)
 | ant-launcher.jar (9180 bytes)
 | catalina5.5-ant.jar (26712 bytes)
 | ant-apache-resolver.jar (4064 bytes)
 | ant-javamail.jar (6811 bytes)
 | ant-trax.jar (68529 bytes)
 | catalina5.5-ant-jmx.jar (23778 bytes)
 | ant-apache-bsf.jar (12574 bytes)
 | ant-apache-regexp.jar (3748 bytes)
 | ant-jsch.jar (22991 bytes)
 | ant-apache-oro.jar (48180 bytes)
 | ant-jdepend.jar (8172 bytes)
 | ant-commons-logging.jar (3990 bytes)
 | ant.jar (1060964 bytes)
 | ant-jmf.jar (6520 bytes)
 | ant-apache-log4j.jar (3012 bytes)
 | 
 | ---
 |   Tasks availability
 | ---
 | image : Not Available
 | sshexec : Missing dependency com.jcraft.jsch.UserInfo
 | wlrun : Not Available
 | icontract : Not Available
 | scp : Missing dependency com.jcraft.jsch.UserInfo
 | vajload : Not Available
 | stlist : Not Available
 | netrexxc : Not Available
 | starteam : Not Available
 | stylebook : Not Available
 | stlabel : Not Available
 | jdepend : Missing dependency jdepend.xmlui.JDepend
 | stcheckin : Not Available
 | vajexport : Not Available
 | stcheckout : Not Available
 | ejbc : Not Available
 | vajimport : Not Available
 | wlstop : Not Available
 | ddcreator : Not Available
 | 
 | ---
 |   org.apache.env.Which diagnostics
 | ---
 | Not available.
 | Download it at http://xml.apache.org/commons/
 | 
 | ---
 |   XML Parser information
 | ---
 | XML Parser : org.apache.xerces.jaxp.SAXParserImpl
 | XML Parser Location: /usr/share/java/xercesImpl.jar
 | 
 | ---
 |   System properties
 | ---
 | java.runtime.name : Java(TM) 2 Runtime Environment, Standard 
 | Edition sun.boot.library.path : 
 | /usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre/lib/i386
 | java.vm.version : 1.5.0_11-b03
 | ant.library.dir : /usr/share/ant/lib
 | java.vm.vendor : Sun Microsystems Inc.
 | java.vendor.url : http://java.sun.com/
 | path.separator : :
 | java.vm.name : Java HotSpot(TM) Server VM
 | file.encoding.pkg : sun.io
 | user.country : DE
 | sun.java.launcher : SUN_STANDARD
 | sun.os.patch.level : unknown
 | java.vm.specification.name : Java Virtual Machine 
 | Specification user.dir : /opt/dspace-1.4.2-source 
 | java.runtime.version : 1.5.0_11-b03 java.awt.graphicsenv : 
 | sun.awt.X11GraphicsEnvironment java.endorsed.dirs : 
 | /usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre/lib/endorsed
 | os.arch : i386
 | java.io.tmpdir : /tmp
 | line.separator :
 | 
 | java.vm.specification.vendor : Sun Microsystems Inc.
 | os.name : Linux
 | ant.home : /usr/share/ant
 | sun.jnu.encoding : UTF-8
 | java.library.path : 
 | /usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre/lib/i386/server:/usr/
 | lib/jvm/java-1.5.0-sun-1.5.0.11/jre/lib/i386:/usr/lib/jvm/java
 | -1.5.0-sun-1.5.0.11/jre/../lib/i386
 | java.specification.name : Java Platform API Specification 
 | java.class.version : 49.0 sun.management.compiler : HotSpot 
 | Server Compiler os.version : 2.6.20-16-generic user.home : 
 | /home/dspace user.timezone : java.awt.printerjob : 
 | sun.print.PSPrinterJob file.encoding : UTF-8 
 | java.specification.version : 1.5 user.name : dspace java.class.path : 
 | /usr/share/ant/lib/ant-launcher.jar:/usr/share/java/xmlParserA
 | PIs.jar:/usr/share/java/xercesImpl.jar:/opt/apache-tomcat-5.5.
 | 25/common/lib/jsp-api.jar:/opt/apache-tomcat-5.5.25/common/lib
 | /servlet-api.jar:/usr/share/ant/lib/ant-nodeps.jar:/usr/share/
 | 

Re: [Dspace-tech] DSpace Installation: Java-Problem

2007-10-25 Thread Robert Roggenbuck
roopal oswal schrieb:
 HI Robert,
 Is your Rdbm server running???
 if u have installed postgresql ...then open pgadmin... connect the 
 database..and then do install ant...

I Would never thought that this error could have any connection to the 
PostgreSQL server. But in fact I could not get access to the server 
using pgadmin. I think that Ubuntu created the user 'postgres' with the 
permission to never login. I will look up this issue and report the 
result. but anyway looking in the process table it semms to me the 
server is running:

postgres  6377 1  0 12:13 ?00:00:00 
/usr/lib/postgresql/8.2/bin/postgres -D /var/lib/postgresql/8.2/main -c 
config_file=/etc/postgresql/8.2/main/postgresql.conf
postgres  6383  6377  0 12:13 ?00:00:00 postgres: writer process 
 

postgres  6384  6377  0 12:13 ?00:00:00 postgres: stats 
collector process

Best regrds

Robert



-
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] LDAP administrator authentication

2007-10-25 Thread Stuart Lewis [sdl]
Hi Pete,

 I am using dspace 1.4.2 and I want to connect it with ldap server.
 The problem is that my ldap server needs userDN  password to make the
 connection.
 On the other hand, DSpace tries to authenticate users anonymously.
 I checked Dspace.org documentation but it has only an anonymous bind example.
 Any ideas about how I can make this work?

Normally LDAP works by using the netid and password of the user to bind to
the LDAP service. If this succeeds, then the password is assumed correct and
the user is logged in.

The problem arises when the userDN is not known in advance, if for example
different types of users are in different parts of the organisational
structure. In this case, trusted user credentials are required to first log
in, locate the correct userDN, and then reconnect to that using the user's
own credentials.

DSpace does not currently support that, but there is a patch that allows
this:

http://sourceforge.net/tracker/index.php?func=detailaid=1597831group_id=19
984atid=319984

Thanks,


Stuart
_

Gwasanaethau Gwybodaeth  Information Services
Prifysgol Aberystwyth  Aberystwyth University

E-bost / E-mail: [EMAIL PROTECTED]
 Ffon / Tel: (01970) 622860
_


-
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] One handle server for two dspace instances

2007-10-25 Thread Mika Stenberg
We decided to split our DSpace instance into two. Im trying to have them 
use the same Handle server, though. Is this possible, or do I need to 
register another prefix for the new intance? Right now it seems, that I 
cant find a way to do this.

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: 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] Reverse Dspace Instance Migration Question

2007-10-25 Thread Brian Helstien
Gary,
Thanks, but that script does two things.  (1) it pretty much answers my 
original question that that handle prefix is only in the Oracle database, and 
(2) it explicitly says that is it Currently only compatible with installs 
running a PostgreSQL database  which pretty much means I've got to directly 
modify the Oracle db.
However, that is precisely what I needed to know, so Thanks Much.

Brian A. Helstien, SISD, MLS,
Director, Special Technologies Initiatives,
IDM, University Libraries x06913
University of Southern California,  (213) 740-6913
Los Angeles, California, 90089[EMAIL PROTECTED]
   Information is independent of media or format


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Thursday, October 25, 2007 3:24 AM
To: dspace-tech@lists.sourceforge.net
Subject: DSpace-tech Digest, Vol 18, Issue 37

Send DSpace-tech mailing list submissions to
dspace-tech@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/dspace-tech
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]

You can reach the person managing the list at
[EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific than Re: 
Contents of DSpace-tech digest...


Today's Topics:

   1. Re: Reverse Dspace Instance Migration question
  (Christian Voelker)
   2. Re: Reverse Dspace Instance Migration question (Brian Helstien)
   3. Re: Reverse Dspace Instance Migration question (Gary Browne)
   4. Re: Browse access very slow (James Rutherford)
   5. Re: Reverse Dspace Instance Migration question
  (Jayan Chirayath Kurian)


--

Message: 1
Date: Thu, 25 Oct 2007 01:05:13 +0200
From: Christian Voelker [EMAIL PROTECTED]
Subject: Re: [Dspace-tech] Reverse Dspace Instance Migration
question
To: Brian Helstien [EMAIL PROTECTED]
Cc: 'dspace-tech@lists.sourceforge.net'
dspace-tech@lists.sourceforge.net
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=US-ASCII; format=flowed


Am 24.10.2007 um 23:57 schrieb Brian Helstien:

 I'm currently running Dspace 1.3.2/Oracle/Solaris 9/ on my production
 server.

 I want to conduct an upgrade to 1.4.2.
 I successfully upgraded my test server to 1.4.2.
...
 I dropped entirely my Oracle database on my test server, exported the
 production db into test, and then tarred and moved /dspace_source and
 /dspace directories onto test.
 I've edited my dspace.cfg to point to the test Oracle db and the test
 server, updated my wars and started Tomcat
...
 I have changed both the dspace.cfg handle number and the handle
 config.dct files to represent my test server handle.
 How do I change the just the handle prefix number associated with the
 entries.  I've seen the entry regarding migrating data from test to
 production entry on the wiki and isn't what I need.  How do I change
 the just the handle prefix number associated with the entries.
...
 Do I just need to modify all the prefix numbers in the Oracle db or is
 this handle value stored elsewhere?

As far as I know, the handle prefix is in the files you told and the only place 
for handles is in one table in the db. There is a script that comes with DSpace 
to do what you want to do. I think that this is what you think is not the right 
thing for you, but I suggest that you take a second look. I think this script 
does not touch the second half of your handles (behind the slash) but changes 
only the prefix in all database entries.

Besides, I dont understand exactly why your handles would have changed unless 
you created new items during testing.
Depending on what you did exactly when exporting your production db to test 
(e.g. dump production and run the dump on the test machine, then running the 
sql upgrade script), the database should still contain all valid handles 
unaltered. The settings in dspace.cfg apply to new items only and the 
config.dct change made sure that your test server did not answer external 
resolution requests, thats all.

If you are not sure, I would block the production system for write access and 
do the same steps you did for testing once more, with a snapshot of the latest 
production data- base, then switch to the new machine. I would move only the 
/dspace dir containing the assetstore, but not /dspace_source.
You have your 1.4.2 sources already there. If you have to merge local changes, 
then you have to do that in advance and this will be the largest task of your 
migration.
I would use a local cvs or svn repository to simplify that step ( I actually 
did it that way already).

I would use the new config files as a template and merge with the values of the 
old configs. For the handle server, I would do the same, as 

Re: [Dspace-tech] DSpace Installation: Java-Problem

2007-10-25 Thread Christian Voelker
Hello,

Am 25.10.2007 um 12:51 schrieb Robert Roggenbuck:

 I'd like to install DSpace to check whether we can use it for our
 planned OA-Repository. But reaching the point to say 'ant  
 fresh_install'
 I get the following error message where I can not figure out the  
 reason:

 Buildfile: build.xml

 compile:

 install_code:

 build_wars:

 init_configs:

 setup_database:
   [java] 2007-10-25 12:36:16,477 INFO
 org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database
   [java] 2007-10-25 12:36:16,536 INFO
 org.dspace.core.ConfigurationManager @ DSpace logging installed using
 log4j.properties
   [java] Exception in thread main
 java.lang.UnsupportedClassVersionError: Bad version number  
 in .class file

My very first guess was wrong JDBC connector version but I wonder
why nobody mentioned it so far as this absolutely standard error
source. It is discussed in the docs and it was discussed on this
list several times.

This guess is not contradictory to Claudias assumption: fresh_install
can be run only once against a virgin database. It will always fail
with a second try. So you have to remove the database with every try
if you succeeded partially as in your example.

For the proper jdbc driver go to this page and study the matrix:

http://jdbc.postgresql.org/download.html

http://jdbc.postgresql.org/download/postgresql-8.2-506.jdbc3.jar

I guess, this is your driver and it should be the version that
you get if you install through aptitude or whatever you use.

If aptitude installs another version, then try this one and
check if it works. If this is fine, file a bug to debian.
Also, search your Java path for duplicate jdbc drivers of
different versions. Maybe, you installed the right version
but it does not get used.

If you cant connect to postgres through psql then forget about
the jdbc driver and fix this first. The pg_hba.conf file is the
place to go and learn about.

Bye, Christian

(If german is more convenient, you may try by private mail, but
I am online in the evening hours only and the list incorporates
much more knowledge and experience.)


-
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] Help with METS Ingest Import

2007-10-25 Thread Lawry Persaud

Hi all,

I've been struggling trying to figure how to import METS ITEMS into 
DSPACE as in SIP. There's an export utility (dsrun) for exporting DSPACE 
items into METS Formats (DIP).  How would I go about doing the reverse, 
importing METS Items into a Collection.


Thanks and your response is much appreciated.

--LP
-
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