Hi,

Trying to index-init my DSpace 1.7+Oracle, got the same error than Richard.
My configuration: Java 6, mvn 2.2, ant 1.7, oracle 10g, tomcat 5.5, 
linux 32.

Has anybody make this work or better wait to 1.7.1??


Best Regards

On 02/10/2011 08:39 PM, [email protected] wrote:
> Message: 1
> Date: Thu, 10 Feb 2011 10:27:54 -0600
> From: "Jizba, Richard"<[email protected]>
> Subject: [Dspace-tech] More info re index-init fails.
> To:[email protected]
> Message-ID:
>       
> <21ce15cd4586f94bb6c11c996aa122a90c96e...@exbe02.blue.jays.creighton.edu>
>       
> Content-Type: text/plain; charset=us-ascii
>
> 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"<[email protected]>
> Subject: [Dspace-tech] index-init fails - help!
> To:[email protected]
> 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
> [email protected]
>
>
>
>


------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to