Hello,

after having configured the new browse index in dspace.cfg (see section 
Browse Configuration), did you run [dspace]/bin/index-init ?
This is necessary each time the configuration has changed.

Hope that helps

Claudia Jürgen




Am 04.08.2010 13:11, schrieb Webshet, Sisay (ILRI):
>
>
> Hi
>
> I  Just try now but here is the error from the log file!
>
>
>
> 2010-08-04 14:04:59,004 WARN
> org.dspace.app.webui.servlet.InternalErrorServlet @
> :session_id=E7749D24A4AA0FD2AC12C939F0DBD184:internal_error:-- URL Was:
> http://ilri-31539:8080/jspui/browse?type=ilrisubject
>
> -- Method: GET
>
> -- Parameters were:
>
> -- type: "ilrisubject"
>
>
>
> javax.servlet.ServletException: org.dspace.browse.BrowseException:
> org.postgresql.util.PSQLException: ERROR: relation "bi_5_dis" does not
> exist
>
>              at
> org.dspace.app.webui.servlet.AbstractBrowserServlet.processBrowse(Abstra
> ctBrowserServlet.java:371)
>
>              at
> org.dspace.app.webui.servlet.BrowserServlet.doDSGet(BrowserServlet.java:
> 112)
>
>              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:617)
>
>              at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>
>              at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:290)
>
>              at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:206)
>
>              at
> org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebapp
> ServletFilter.java:112)
>
>              at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:235)
>
>              at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:206)
>
>              at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
> e.java:233)
>
>              at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
> e.java:191)
>
>              at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
> :128)
>
>              at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
> :102)
>
>              at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
> java:109)
>
>              at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
> 86)
>
>              at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84
> 5)
>
>              at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
> Http11Protocol.java:583)
>
>              at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>
>              at java.lang.Thread.run(Unknown Source)
>
> Caused by: org.dspace.browse.BrowseException:
> org.postgresql.util.PSQLException: ERROR: relation "bi_5_dis" does not
> exist
>
>              at
> org.dspace.browse.BrowseDAOPostgres.doCountQuery(BrowseDAOPostgres.java:
> 196)
>
>              at
> org.dspace.browse.BrowseEngine.getTotalResults(BrowseEngine.java:791)
>
>              at
> org.dspace.browse.BrowseEngine.browseByValue(BrowseEngine.java:478)
>
>              at
> org.dspace.browse.BrowseEngine.browse(BrowseEngine.java:126)
>
>              at
> org.dspace.app.webui.servlet.AbstractBrowserServlet.processBrowse(Abstra
> ctBrowserServlet.java:342)
>
>              ... 20 more
>
> Caused by: org.postgresql.util.PSQLException: ERROR: relation "bi_5_dis"
> does not exist
>
>              at
> org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecu
> torImpl.java:1531)
>
>              at
> org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImp
> l.java:1313)
>
>              at
> org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:
> 188)
>
>              at
> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Stateme
> nt.java:452)
>
>              at
> org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdb
> c2Statement.java:354)
>
>              at
> org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2St
> atement.java:258)
>
>              at
> org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Delegat
> ingPreparedStatement.java:93)
>
>              at
> org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Delegat
> ingPreparedStatement.java:93)
>
>              at
> org.dspace.storage.rdbms.DatabaseManager.query(DatabaseManager.java:291)
>
>              at
> org.dspace.browse.BrowseDAOPostgres.doCountQuery(BrowseDAOPostgres.java:
> 181)
>
>              ... 24 more
>
>
>
> ________________________________
>
> From: Webshet, Sisay (ILRI)
> Sent: Wednesday, August 04, 2010 11:05 AM
> To: 'Rajshekhar Pandey'; [email protected]
> Subject: RE: Browse Configuration
>
>
>
> Hi,
>
>
>
> Iam not sure, can I try this way.
>
> Thanks
>
> Sisay
>
>
>
> ________________________________
>
> From: Rajshekhar Pandey [mailto:[email protected]]
> Sent: Wednesday, August 04, 2010 10:53 AM
> To: [email protected]
> Cc: Webshet, Sisay (ILRI)
> Subject: Re:Browse Configuration
>
>
>
> Hello
>
>    Are you replacing your messages.xml file to
> [dspace]/webapps/xmlui/i18n/ direcotry?
>
> Thanks
>
>       
>       
> ----------------------------------------------------------------------
>       
>       Message: 1
>       Date: Wed, 4 Aug 2010 08:22:48 +0300
>       From: "Webshet, Sisay (ILRI)"<[email protected]>
>       Subject: [Dspace-tech] Browse Configuration
>       To:<[email protected]>
>       Message-ID:
>       
> <e0b1bfd2eacafb4c9bdbc73eeea14c17020b2...@ilrietx1.ilri.cgiarad.org>
>       Content-Type: text/plain; charset="us-ascii"
>       
>       
>       
>       Hello Guys,
>       
>       
>       
>       I just installed a local dspace instance (1.5.2) on window xp.
>       
>       How ever to add a new field to browse items what files should be
>       customized
>       
>       Based on some Claudia's comment I changed both dspace.cfg the
> section
>       ###### Browse Configuration ######
>       
>       Messages.properties at key browse.type.metadata.<Index name>  =
> [Label]
>       to the message catalogue.
>       
>       But still an error message.
>       
>       So far I did
>       
>       1.           Add dc. subject. ilrisubject to the metadata
> registry
>       2.           dspace.cfg  the section ###### Web Interface
> Settings
>       ###### dc.subject.ilrisubject
>       3.           inputforms.xml<field>
>       <dc-schema>dc</dc-schema>
>       <dc-element>subject</dc-element>
>       <dc-qualifier>ilrisubject</dc-qualifier></field>
>       4. inside Messages.properties (metadata.dc.subject.ilrisubject
> =
>       ILRI Subject)
>       
>       Based on steps 1-4 i can add items based on the new field. What
> Iam
>       worrying is
>       I cannot put this new field togehet with the fileds labed below
> on the
>       homepage
>       Of dspace.
>       
>       
>       
>       Communities
>       &  Collections<http://ilri-31539:8080/jspui/community-list>
>       
>       
>       
>       Issue Date<http://ilri-31539:8080/jspui/browse?type=dateissued>
>       
>       
>       
>       Author<http://ilri-31539:8080/jspui/browse?type=author>
>       
>       
>       
>       Title<http://ilri-31539:8080/jspui/browse?type=title>
>       
>       
>       
>       Subject<http://ilri-31539:8080/jspui/browse?type=subject>
>       
>       ILRI Subject
>       
>       In having an information form dspace tech
>       I  Change
>       
> [dspace-source]/dspace/modules/xmlui/src/main/weppapp/i18n/messages.xml
>       to include
>       <message
>       key="xmlui.ArtifactBrowser.Navigation.browse_ ilrisubject ">
> ILRI
>       Subject</message>
>       <message
>       key="xmlui.ArtifactBrowser.ConfigurableBrowse.title.metadata.
>       Ilrisubject ">Browsing
>       
>       {0} by ILRI Subject {1}</message>
>       <message
>       key="xmlui.ArtifactBrowser.ConfigurableBrowse.trail.metadata.
>       ilrisubject ">Browsing
>       
>       {0} by ILRI Subject</message>
>       
>       But still no change
>       
>       
>        Waiting for your replies...
>       
>       
>       
>       From:
>       
>       Sisay
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://p.sf.net/sfu/dev2dev-palm
>
>
>
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech

-- 
Mit freundlichen Gruessen

Claudia Juergen
Universitaetsbibliothek Dortmund
Eldorado
0231/755-4043
https://eldorado.tu-dortmund.de/

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to