We had to abandon our attempted to upgrade from 1.6.2 to 1.7.0 because
of the index-init problem. We reverted to 1.6.2 and ran index-init.
Index-init worked, but this is interesting: the dspace log file had many
entries like the error we saw yesterday. But v1.6.2 records the error
and then continues to the next file to index. V1.7.0 records the error
and stops. I wonder if the indexing code needs to accommodate some
difference in the behavior of indexer with a PostgreSQL back-end vice an
Oracle back-end.

Richard Jizba
Creighton University

----------------------------------------------------------------------

Message: 1
Date: Wed, 9 Feb 2011 11:53:29 -0600
From: "Jizba, Richard" <richardji...@creighton.edu>
Subject: [Dspace-tech] index-init fails - help!
To: dspace-tech@lists.sourceforge.net
Message-ID:
        
<21ce15cd4586f94bb6c11c996aa122a90c8e6...@exbe02.blue.jays.creighton.edu
Content-Type: text/plain; charset="us-ascii"

We are upgrading from 1.6.2 to 1.7.0.
Things went well until we ran index-init. (we are using Oracle)

Here's the error message:
[dspace@DSpace bin]$ dspace index-init
Started: 1297273130922
Ended: 1297273137465
Elapsed time: 6 secs (6543 msecs)
Exception: Value for item_id is not an integer
java.lang.IllegalArgumentException: Value for item_id is not an integer
   at org.dspace.storage.rdbms.TableRow.getIntColumn(TableRow.java:153)
   at
org.dspace.browse.BrowseItemDAOOracle.findAll(BrowseItemDAOOracle.java:7
6)
   at org.dspace.browse.IndexBrowse.createIndex(IndexBrowse.java:1116)
   at org.dspace.browse.IndexBrowse.initBrowse(IndexBrowse.java:1073)
   at org.dspace.browse.IndexBrowse.main(IndexBrowse.java:715)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
   at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
 

Richard Jizba
Health Sciences Library
Creighton University
(402) 280-5142
rji...@creighton.ed



------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to