[Dspace-tech] Diacritic Searches in Version 1.5.1
Diacritic Searches in Version 1.5.1 When searching using a diactitic search term Dspace interprets the diacritic characters incorrectly, Therefore no hits are returned. For example when you search on Sánchez an author that exists in our system Dspace translates this Author to Sánchez. In version 1.4 searching does not change the diacritic form of the search term, returning the expected hits. Has anyone encountered this bug and is there a fix or workaround we can apply to fix this issue. Ron Stevenhaagen Technical Analyst Queen's University -- 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 DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] PSQLException OID ### does not exist
Message: 2 Date: Wed, 01 Apr 2009 21:01:58 -0700 From: Kim Griggs kim.gri...@oregonstate.edu Subject: [Dspace-tech] PSQLException OID ### does not exist To: dspace-tech@lists.sourceforge.net dspace-tech@lists.sourceforge.net Message-ID: c5f986c6.a42c%kim.gri...@oregonstate.edu Content-Type: text/plain; charset=US-ASCII We are upgrading to 1.4.2 to 1.5. Java 1.5. Postgres 8.1. After running the indexer we are getting internal errors on the high level browse by pages. The error is: org.postgresql.util.PSQLException: ERROR: relation with OID 54778762 does not exist Oddly the community level browse bys work. I read that it might be a postgres thing and upgrading to 8.3 might fix it. Before I go through that I am looking for confirmation. Has anyone seen this problem and how did you fix it? Thanks. Hi Kim You need to stop the handle-server, tomcat, and then postgres in that order. Then just restart them in the reverse order. Wait 30 seconds for each command to complete before executing the next command. Example: 1.) svcadm disable handle-server 2.) svcadm disable dspace 3.) svcadm disable postgres 4.) svcadm enable postgres 5.) svcadm enable dspace 6.) svcadm enable handle-server This is how I resolved this issue. Ron Stevenhaagen Technical Specialist Information Technology Services Queens University Kingston Ontario -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Searching Exception in Dspace
We get hundreds of exceptions daily which are related to searching in DSpace. The get request is obviously not created by DSpace because when you do a simple search or advanced search through the interface DSpace does not create the request in the format seen in the exception message. Therefore I concluded the request is being created by users or another system that interfaces with DSpace. Doing some research I discovered that the googlebot forms the query which creates the exceptions. For the benefit of others who are getting their inbox flooded with these exception messages here is a work around. Insert this code into the top of the buildQuery Method in QueryArgs.java. By applying this code the query will return no results in the search list rather than throw an exception. This solution may seem to be extreme however the googlebot is the source of the exceptions and needs to create a request that conforms to the DSpace specifications rather than querying with malformed get requests. public String buildQuery(HttpServletRequest request) { // The googlebot creates it's own get request which is not in a format recognized by dspace // Generally the get request is formed by dspace through interaction with the user interfaces such as the Search and Browse Interfaces // googlebot sample request: http://eggloop.its.queensu.ca/simple-search?advanced=truequery1=hamster // The code below will determine if advanced is defined and if so it must by definition also define field1 // if field1 is not defined it is not considered a valid query and returns no results // Ron Stevenhaagen - 27, Feb 2009 if(request.getParameter(advanced) != null request.getParameter(field1) == null) { String Dummy = ; return Dummy; } Ron Stevenhaagen Technical Specialist Information Technology Services Queens University Kingston Ontario -- URL Was: http://qspace.library.queensu.ca/simple-search?advanced=true http://qspace.library.queensu.ca/simple-search?advanced=truequery1=trout query1=trout -- Method: GET -- Parameters were: -- advanced: true -- query1: trout Exception: java.lang.NullPointerException at org.dspace.search.QueryArgs.buildQuery(QueryArgs.java:156) at org.dspace.app.webui.servlet.SimpleSearchServlet.doDSGet(SimpleSearchServlet .java:124) 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:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126 ) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105 ) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processC onnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav a:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo rkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:684) at java.lang.Thread.run(Thread.java:595) -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Withdrawn items
We have been withdrawing items from our collections from time to time when authors decide they would like to restrict their submission. We can verify that the item is no longer viewable through the browse and search functions in dspace after making the withdrawal. However we recently discovered that the restricted items are still viewable through a web browser by entering the URL of the pdf located in the bitstream directory. This is also evident when I visit other dspace sites on the web. This appears to be a security issue/bug in DSpace as the items are not actually withdrawn but only partially hidden. Has anyone else encounter this issue and if so is there a fix or work around. We also discovered that when an item is withdrawn the browse function in dspace throws the following exception. The browse lists still contain a reference to the withdrawn item but should exclude the withdrawn item from its list because the item can't be browsed. When the item is reinstated the exceptions stop. This also appears to be a bug. An internal server error occurred on http://qspace.library.queensu.ca: Date: 9/9/08 1:49 PM Session ID: B0F698642DC0A0C3C4B6D290843C6005 -- URL Was: http://qspace.library.queensu.ca/dspace/browse-title?top=1974%2F1236 -- Method: GET -- Parameters were: -- top: 1974/1236 Exception: org.postgresql.util.PSQLException: No value specified for parameter 2. at org.postgresql.core.v3.SimpleParameterList.checkAllParametersSet(SimpleParam eterList.java:150) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:179) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.j ava:452) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2St atement.java:354) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statem ent.java:258) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingP reparedStatement.java:92) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingP reparedStatement.java:92) at org.dspace.storage.rdbms.DatabaseManager.queryPrepared(DatabaseManager.java: 354) at org.dspace.browse.Browse.getResultsAfterFocus(Browse.java:886) at org.dspace.browse.Browse.doBrowse(Browse.java:725) at org.dspace.browse.Browse.getItemsByTitle(Browse.java:174) at org.dspace.app.webui.servlet.BrowseServlet.doDSGet(BrowseServlet.java:359) 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:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126 ) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105 ) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processC onnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav a:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo rkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:684) at java.lang.Thread.run(Thread.java:595) Ron Stevenhaagen Technical Specialist Information Technology Services Queen's University Kingston, Ontario - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech