[Dspace-devel] [DuraSpace JIRA] Commented: (DS-634) Improvment to OAI-PMH + OAI-ORE harvesting support
[ https://jira.duraspace.org/browse/DS-634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=18584#action_18584 ] Robin Taylor commented on DS-634: - Unfortunately the developer Paul has now left but didn't manage to finish the development so this remains a good idea in need of a developer. If anyone has the time please feel free to volunteer. Improvment to OAI-PMH + OAI-ORE harvesting support -- Key: DS-634 URL: https://jira.duraspace.org/browse/DS-634 Project: DSpace Issue Type: New Feature Components: OAI-PMH Affects Versions: 1.6.2 Environment: All Reporter: Paul Brindley Assignee: Robin Taylor At the moment the OAI-PMH + OAI-ORE harvester will allow the admin to harvest from an external source and to set up a scheduled harvest. However it would be nice to be able to specify different frequencys for different collections. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://jira.duraspace.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira -- Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl ___ Dspace-devel mailing list Dspace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-devel
Re: [Dspace-devel] [DuraSpace JIRA] Commented: (DS-667) Add a remote log viewer to DSpace.
I tried this on a Unix platform and it didn't work. Maybe it would work on Windows..? Sue Walker-Thornton Software Developer/Database Administrator NASA Langley Research Center|LITES Contract (757) 224-4074 -Original Message- From: Robin Taylor (DuraSpace JIRA) [mailto:no-re...@duraspace.org] Sent: Monday, January 10, 2011 10:51 AM To: dspace-devel@lists.sourceforge.net Subject: [Dspace-devel] [DuraSpace JIRA] Commented: (DS-667) Add a remote log viewer to DSpace. [ https://jira.duraspace.org/browse/DS-667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=18563#action_18563 ] Robin Taylor commented on DS-667: - I have had a wee look over the code and I am not sure I would be comfortable with the code being committed to trunk as it is. It has been developed for the JSPUI but most of the code is in the form Java scriptlets rather than jsp tags. In addition there are actually some Java classes nested in the scriptlets. Having said that I wouldn't want to discourage anyone from downloading the zip file and making use of the code at their own site, or even using it as the basis for further development. Cheers, Robin. Add a remote log viewer to DSpace. -- Key: DS-667 URL: https://jira.duraspace.org/browse/DS-667 Project: DSpace Issue Type: New Feature Components: JSPUI Affects Versions: 1.6.2 Environment: Developed on a Windows XP machine and checked on a w2k3 server. Reporter: Paul Brindley Attachments: DSpaceLogViewer.zip This set of files adds a remote log viewer to DSpace, it resides on the navigation menu in the administration page. It allows an administrator to view the dspace logs without having to have filesystem access to the webserver. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://jira.duraspace.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira -- Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl ___ Dspace-devel mailing list Dspace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-devel -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl ___ Dspace-devel mailing list Dspace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-devel
[Dspace-devel] [DuraSpace JIRA] Commented: (DS-796) Adding a Community throws ORA-0001 error
[ https://jira.duraspace.org/browse/DS-796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=18597#action_18597 ] Bert Lensch commented on DS-796: According to one of our Oracle DBA's, trying to add a new community or sub-community tries to add a duplicate user to the DSPACE_USER.SYS table which is causing the constraint violation. In what situation would this workflow occur? And how can we fix this problem? Adding a Community throws ORA-0001 error Key: DS-796 URL: https://jira.duraspace.org/browse/DS-796 Project: DSpace Issue Type: Bug Affects Versions: 1.6.2 Environment: Red Hat Enterprise 5 Oracle 11g Reporter: Bert Lensch While trying to add a top-level community, or a sub-community to our DSpace community, we received an Internal Server Error. Looking through the logs, I noticed that trying to add a community causes Oracle to throw a ORA-0001 error: 2011-01-07 09:14:32,848 WARN org.dspace.app.webui.servlet.DSpaceServlet @ blen...@georgiasouthern.edu:session_id=1232A007BC7400C3524C38F490C87A6B:ip_addr=141.x.x.x:database_error:java.sql.SQLException\colon; ORA-1\colon; unique constraint (DSPACE_USER.SYS_C007905) violated java.sql.SQLException: ORA-1: unique constraint (DSPACE_USER.SYS_C007905) violated at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288) at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:745) at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:219) at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:970) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1190) at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3370) at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3454) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102) at org.dspace.storage.rdbms.DatabaseManager.execute(DatabaseManager.java:1429) at org.dspace.storage.rdbms.DatabaseManager.update(DatabaseManager.java:781) at org.dspace.handle.HandleManager.createHandle(HandleManager.java:172) at org.dspace.content.Community.create(Community.java:205) at org.dspace.content.Community.createSubcommunity(Community.java:845) at org.dspace.app.webui.servlet.admin.EditCommunitiesServlet.processConfirmEditCommunity(EditCommunitiesServlet.java:520) at org.dspace.app.webui.servlet.admin.EditCommunitiesServlet.doDSPost(EditCommunitiesServlet.java:237) at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:147) at org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:105) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:98) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875) at
[Dspace-devel] In unit tests, how does the database get instantiated?
I'm trying to run a single test class manually: java -cp $CP \ org.junit.runner.JUnitCore \ org.dspace.authenticate.IPMatcherTest and it blows up when trying to load the registries, apparently because there are no tables into which to load them. I've dug around a bit and can't see how the test h2 database gets created. AbstractUnitTest seems to assume that this is already done. Duuuh, what am I missing? (Working on DS-642 and thought I may as well test IPMatcher by learning to build a JUnit test suite. We need one for it anyway.) -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Asking whether markets are efficient is like asking whether people are smart. pgpBfjtWd4lmj.pgp Description: PGP signature -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl___ Dspace-devel mailing list Dspace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-devel
[Dspace-devel] [DuraSpace JIRA] Commented: (DS-796) Adding a Community throws ORA-0001 error
[ https://jira.duraspace.org/browse/DS-796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=18602#action_18602 ] Graham Triggs commented on DS-796: -- I wouldn't want to contradict your DBA, but that description doesn't make any sense. DSPACE_USER is the login / schema that you are using for the database, and SYS_C007905 is the name of the constraint, which you would need to look up in the data dictionary to see what it is operating on. ie: select UCC.CONSTRAINT_NAME, UCC.COLUMN_NAME, UC.CONSTRAINT_TYPE, UC.SEARCH_CONDITION, UC2.TABLE_NAME as REFERENCES_TABLE from USER_CONS_COLUMNS UCC, USER_CONSTRAINTS UC, USER_CONSTRAINTS UC2 where UCC.CONSTRAINT_NAME = UC.CONSTRAINT_NAME and UC.R_CONSTRAINT_NAME = UC2.CONSTRAINT_NAME(+) and UCC.CONSTRAINT_NAME='SYS_C007905' However, looking at your stack trace, the constraint appears to be violated whilst processing HandleManager.createHandle() - which is assigning a handle (prefix + next value in handle sequence) to the community. This would occur if you already have handles in the handle table, but the sequence is not set to provide the next value as being at least one higher than the largest suffix of your already allocated handles. If you recreate handle_seq to start with a value that avoids collisions, you should get past this error. Adding a Community throws ORA-0001 error Key: DS-796 URL: https://jira.duraspace.org/browse/DS-796 Project: DSpace Issue Type: Bug Affects Versions: 1.6.2 Environment: Red Hat Enterprise 5 Oracle 11g Reporter: Bert Lensch While trying to add a top-level community, or a sub-community to our DSpace community, we received an Internal Server Error. Looking through the logs, I noticed that trying to add a community causes Oracle to throw a ORA-0001 error: 2011-01-07 09:14:32,848 WARN org.dspace.app.webui.servlet.DSpaceServlet @ blen...@georgiasouthern.edu:session_id=1232A007BC7400C3524C38F490C87A6B:ip_addr=141.x.x.x:database_error:java.sql.SQLException\colon; ORA-1\colon; unique constraint (DSPACE_USER.SYS_C007905) violated java.sql.SQLException: ORA-1: unique constraint (DSPACE_USER.SYS_C007905) violated at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288) at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:745) at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:219) at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:970) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1190) at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3370) at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3454) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102) at org.dspace.storage.rdbms.DatabaseManager.execute(DatabaseManager.java:1429) at org.dspace.storage.rdbms.DatabaseManager.update(DatabaseManager.java:781) at org.dspace.handle.HandleManager.createHandle(HandleManager.java:172) at org.dspace.content.Community.create(Community.java:205) at org.dspace.content.Community.createSubcommunity(Community.java:845) at org.dspace.app.webui.servlet.admin.EditCommunitiesServlet.processConfirmEditCommunity(EditCommunitiesServlet.java:520) at org.dspace.app.webui.servlet.admin.EditCommunitiesServlet.doDSPost(EditCommunitiesServlet.java:237) at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:147) at org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:105) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:98) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:112) at
[Dspace-devel] DSpace Developers Meeting Tomorrow Agenda
All, As usual, we have a DSpace Developers Meeting tomorrow (Weds, Jan 12) in the #duraspace IRC channel at 20:00 UTC. To determine your local time, check the world clock: http://www.timeanddate.com/worldclock/fixedtime.html?hour=20min=0sec=0p1=0 The agenda is posted on our Developer meetings page at: https://wiki.duraspace.org/display/DSPACE/Developer+Meetings The notes from last week's meeting are also available off of the Meeting Archives area of that page. As always, all our meetings are public. We welcome any developers or non-developers to attend or just read along with the chat discussions. If you are unable to attend, you can always add your own notes/thoughts on any agenda item to the above wiki page. Thanks, Tim Donohue Technical Lead for DSpace Project DuraSpace.org -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl ___ Dspace-devel mailing list Dspace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-devel