Hi all, We are still running into outofmemory errors, but these do not co-incide with the RSS problems. At times that the RSS requests are made, other requests are still being handled and the pages are shown. It are just the RSS requests that results in NullPointerExceptions.
Is it possible that we run out of database connections? How would I check for that? We use Oracle10.2, running on a separate server. We had to install the 10.2.0.2 jdbc driver, because the dspace installation complained about the 10.2.4 jdbc driver we initially used. In dspace.cfg the default values for the database pool and connections parameters are being used. Best wishes, Francis Brouns -----Oorspronkelijk bericht----- Van: Brouns, Francis [mailto:[email protected]] Verzonden: zondag 25 juli 2010 18:32 Aan: [email protected] Onderwerp: Re: [Dspace-tech] Authorisation error on rss feeds Hi all, assigning more memory (2GB) to Tomcat has not solved our problem. Once the cronjobs for the filtermedia and stats have started, all RSS requests again result in java.lang.NullPointerException at org.dspace.authorize.AuthorizeManager.getAuthorizedGroups(AuthorizeManager.java:718) at org.dspace.search.Harvest.harvest(Harvest.java:273) at org.dspace.app.webui.servlet.FeedServlet.itemsChanged(FeedServlet.java:281) at org.dspace.app.webui.servlet.FeedServlet.doDSGet(FeedServlet.java:230) 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(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.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:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) 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(Thread.java:595) The server has 6GB RAM. We have assigned 2GB to Tomcat and 512M to other java processes. Running DSpace 1.5.2, on SLES11, Tomcat6 and SUN Java 1.5. Any ideas on how to solve this? Best regards, Francis Brouns ________________________________________ From: Brouns, Francis [[email protected]] Sent: 23 July 2010 16:14 To: 'Bram Luyten' Cc: [email protected] Subject: Re: [Dspace-tech] Authorisation error on rss feeds Hi Bram, it seems related to our memory problems. Restarting Tomcat solved the problem and RSS are shown as they should. We have increased memory allocation to Tomcat from 1GB to 2GB, in the hope we can prevent running out of memory. It remains strange though, because the site would display normally. Only the RSS feeds were giving errors. Regards, Francis Brouns ________________________________ Van: [email protected] [mailto:[email protected]] Namens Bram Luyten Verzonden: vrijdag 23 juli 2010 13:57 Aan: Brouns, Francis CC: [email protected] Onderwerp: Re: [Dspace-tech] Authorisation error on rss feeds Hi Francis, does the problem go away when you change: #harvest.includerestricted.oai = false into harvest.includerestricted.oai = true ? I'm not sure, but the ListIdentifiers call might also be used for the RSS, so it's related to http://jira.dspace.org/jira/browse/DS-212 In any case, that specific error is fixed in DSpace 1.6 with the attached patch. regards, Bram Luyten @mire - http://www.atmire.com Technologielaan 9 - 3001 Heverlee - Belgium 533 2nd Street - Encinitas, CA 92024 - USA http://www.togather.eu - Before getting together, get t...@ther On Fri, Jul 23, 2010 at 11:47 AM, Brouns, Francis <[email protected]<mailto:[email protected]>> wrote: Hi, Last week we upgraded our DSpace 1.4.2 server to DSpace 1.5.2. The tests at the testserver went all fine. Now on the production server we are running into problems we did not encounter at the testserver. For example with the RSS feeds. The configuration in dspace.cfg is: harvest.includerestricted.rss = false #harvest.includerestricted.oai = false harvest.includerestricted.subscription = false On the test server this is working fine. On the new production server, we get internal server errors on the RSS feeds. An example error message is given below. On the mailing list there are comparable messages, but they refer to the OAI-PMH harvest. In our case, the harvest is not causing any problems. Any tips on how to trace the source of this problem are welcome. -- URL Was: http://dspace.ou.nl/feed/rss_2.0/site -- Method: GET -- Parameters were: Exception: java.lang.NullPointerException at org.dspace.authorize.AuthorizeManager.getAuthorizedGroups(AuthorizeManager.java:718) at org.dspace.search.Harvest.harvest(Harvest.java:273) at org.dspace.app.webui.servlet.FeedServlet.itemsChanged(FeedServlet.java:281) at org.dspace.app.webui.servlet.FeedServlet.doDSGet(FeedServlet.java:230) 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(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.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:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) 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(Thread.java:595) Kind regards, Francis Brouns ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first<http://sprint.com/first> -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ DSpace-tech mailing list [email protected]<mailto:[email protected]> https://lists.sourceforge.net/lists/listinfo/dspace-tech ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech ------------------------------------------------------------------------------ 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://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/ _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

