Hi Mark,

Thanks for the response. I have tried to follow the instruction "as is". It
seems previously I have forgotten to run  /dspace/bin/index-init .Everything
seems to be running well. However, when I want to view an item record either
through browse by title , author or  Issue date I am getting the following
error message:
        -- URL Was: http://zimtheses.uz.ac.zw:8080/jspui/handle/uzlib/458
        -- Method: GET
        -- Parameters were:


Exception:
java.lang.NullPointerException
        at
org.dspace.app.webui.servlet.HandleServlet.displayItem(HandleServlet.java:33
1)
        at
org.dspace.app.webui.servlet.HandleServlet.doDSGet(HandleServlet.java:180)
        at
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java
:151)
        at
org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:99)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:237)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext
Valve.java:198)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:152)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137
)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118
)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:102)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:109)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
        at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:705)
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:683)
        at java.lang.Thread.run(Thread.java:619) 


This happens when I am about to view the metadata record of an item.  The
system seems not to be logging to the usual place /dspace/log/dspace.log. I
am using jspui .



-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Mark
Diggory
Sent: Thursday, January 07, 2010 9:31 PM
To: Mutsikiwa Admire
Cc: [email protected]; [email protected]
Subject: Re: [Dspace-tech] DSpace upgrade from 1.4.2 to 1.5.2 dropping Views

Admire,

I believe this should be normal,.  It is upgrading the 1.4 browse
system to the Configurable Browse implementation in 1.5.  You will
then want to run dspace/bin/index-init to get you default Browse By
indicies popluated. Make sure you are running the rest of the upgrade
process to update your [dspace]/lib and [dspace]/webapps to 1.5

Mark

On Thu, Jan 7, 2010 at 4:41 AM, Mutsikiwa Admire
<[email protected]> wrote:
> Hi All,
>
>
>
> I am trying to upgrade my DSpace instance from version 1.4.2 to 1.5.0.
When
> updating the database schema using the
> /dspace-1.5.0-src-release/dspace/etc/database_schema_14-15.sql file, the
> execution is resulting in the dropping of views, which impacts on the
> running of the updated  DSpace instance. Here is the except from the
update:
>
> $psql -U dspace -f
> /dspace-1.5.0-src-release/dspace/etc/database_schema_14-15.sql dspace
>
> ALTER TABLE
>
> UPDATE 68
>
> ALTER TABLE
>
> ALTER TABLE
>
> ALTER TABLE
>
> psql:/dspace-1.5.0-src-release/dspace/etc/database_schema_14-15.sql:80:
> NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index
> "collection_item_count_pkey" for table "collection_item_count"
>
> CREATE TABLE
>
> psql:/dspace-1.5.0-src-release/dspace/etc/database_schema_14-15.sql:85:
> NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index
> "community_item_count_pkey" for table "community_item_count"
>
> CREATE TABLE
>
> DROP SEQUENCE
>
> DROP SEQUENCE
>
> DROP SEQUENCE
>
> DROP SEQUENCE
>
> DROP SEQUENCE
>
> psql:/dspace-1.5.0-src-release/dspace/etc/database_schema_14-15.sql:97:
> NOTICE:  drop cascades to rule _RETURN on view communityitemsbyauthor
>
> psql:/dspace-1.5.0-src-release/dspace/etc/database_schema_14-15.sql:97:
> NOTICE:  drop cascades to view communityitemsbyauthor
>
> psql:/dspace-1.5.0-src-release/dspace/etc/database_schema_14-15.sql:97:
> NOTICE:  drop cascades to rule _RETURN on view collectionitemsbyauthor
>
> psql:/dspace-1.5.0-src-release/dspace/etc/database_schema_14-15.sql:97:
> NOTICE:  drop cascades to view collectionitemsbyauthor
>
> DROP TABLE
>
> psql:/dspace-1.5.0-src-release/dspace/etc/database_schema_14-15.sql:98:
> NOTICE:  drop cascades to rule _RETURN on view communityitemsbytitle
>
> psql:/dspace-1.5.0-src-release/dspace/etc/database_schema_14-15.sql:98:
> NOTICE:  drop cascades to view communityitemsbytitle
>
> psql:/dspace-1.5.0-src-release/dspace/etc/database_schema_14-15.sql:98:
> NOTICE:  drop cascades to rule _RETURN on view collectionitemsbytitle
>
> psql:/dspace-1.5.0-src-release/dspace/etc/database_schema_14-15.sql:98:
> NOTICE:  drop cascades to view collectionitemsbytitle
>
> DROP TABLE
>
> psql:/dspace-1.5.0-src-release/dspace/etc/database_schema_14-15.sql:99:
> NOTICE:  drop cascades to rule _RETURN on view communityitemsbydate
>
> psql:/dspace-1.5.0-src-release/dspace/etc/database_schema_14-15.sql:99:
> NOTICE:  drop cascades to view communityitemsbydate
>
> psql:/dspace-1.5.0-src-release/dspace/etc/database_schema_14-15.sql:99:
> NOTICE:  drop cascades to rule _RETURN on view collectionitemsbydate
>
> psql:/dspace-1.5.0-src-release/dspace/etc/database_schema_14-15.sql:99:
> NOTICE:  drop cascades to view collectionitemsbydate
>
> DROP TABLE
>
> psql:/dspace-1.5.0-src-release/dspace/etc/database_schema_14-15.sql:100:
> NOTICE:  drop cascades to rule _RETURN on view
communityitemsbydateaccession
>
> psql:/dspace-1.5.0-src-release/dspace/etc/database_schema_14-15.sql:100:
> NOTICE:  drop cascades to view communityitemsbydateaccession
>
> psql:/dspace-1.5.0-src-release/dspace/etc/database_schema_14-15.sql:100:
> NOTICE:  drop cascades to rule _RETURN on view
> collectionitemsbydateaccession
>
> psql:/dspace-1.5.0-src-release/dspace/etc/database_schema_14-15.sql:100:
> NOTICE:  drop cascades to view collectionitemsbydateaccession
>
> DROP TABLE
>
> psql:/dspace-1.5.0-src-release/dspace/etc/database_schema_14-15.sql:101:
> NOTICE:  drop cascades to rule _RETURN on view communityitemsbysubject
>
> psql:/dspace-1.5.0-src-release/dspace/etc/database_schema_14-15.sql:101:
> NOTICE:  drop cascades to view communityitemsbysubject
>
> psql:/dspace-1.5.0-src-release/dspace/etc/database_schema_14-15.sql:101:
> NOTICE:  drop cascades to rule _RETURN on view collectionitemsbysubject
>
> psql:/dspace-1.5.0-src-release/dspace/etc/database_schema_14-15.sql:101:
> NOTICE:  drop cascades to view collectionitemsbysubject
>
> DROP TABLE
>
> DROP TABLE
>
> DROP TABLE
>
>
>
> As a results, I end up with two views instead of 12 as in DSpace 1.4.2. Is
> this correct? I cannot views items after the upgrade as I get the
> “communityitemsbydate relation not found” error.
>
>
>
> Kind Regards,
>
>
>
> Admire Mutsikiwa (Mr)
>
> ICT Projects Manager
>
> Library IT
>
> University of Zimbabwe
>
> Tell:+263-4-303276
>
> Cell:+263-92239187
>
> Alt/email:[email protected]
>
>
>
>
----------------------------------------------------------------------------
--
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and
easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>



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

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

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to