[Dspace-tech] Dspace not working on latest Debian machine tomcat7 Please help
Hi I've installed dspace-4.2-src-release on my debian wheeze machine using xmlui on tomcat7 and postgresql9. Everything happened fine. But when I have tried to run the webapps through my browser it doesn't show anything. I have configured the webapps by using this guide- http://wiki.lib.sun.ac.za/index.php/SUNScholar/Install_DSpace/S08 The configuration of host and url is as follows-- # DSpace installation directory #dspace.dir = /dspace dspace.dir = /usr/local/dspace # DSpace host name - should match base URL. Do not include port number. #dspace.hostname = localhost dspace.hostname = localhost # DSpace base host URL. Include port number etc. #dspace.baseUrl = http://localhost:8080 dspace.baseUrl = http://localhost:8080 # DSpace base URL. Include port number etc., but NOT trailing slash # Change to xmlui if you wish to use the xmlui as the default, or remove # /jspui and set webapp of your choice as the ROOT webapp in # the servlet engine. #dspace.url = http://localhost:8080/xmlui dspace.baseUrl = http://localhost:8080 Any idea will be highly appreciated ataur -- Slashdot TV. Videos for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Removing submission mapped to 2nd colelction (sic!)
Hej, Thanks Peter. I got rid of my submission and the test collections by simply approving the submission, which made it exit workflow and possible to withdraw. Once the post was withdrawn it was possible to delete the two test collections. However, it does seem like an issue. The possibility to assign two collections to an item in a csv-import is also not documented (which might be a good thing considering the issue). We use 4.1 XMLUI Cheers, Jacob --- Jacob Andersson Librarian Library IT Malmö University 205 06 Malmö Sweden +46-(0)40-66 58387 jacob.anders...@mah.se Från: Peter Dietz [mailto:pe...@longsight.com] Skickat: den 26 september 2014 16:41 Till: Jacob Andersson Kopia: dspace-tech@lists.sourceforge.net Ämne: Re: [Dspace-tech] Removing submission mapped to 2nd colelction God dag Jacob, Perhaps there is an issue in the workflow step rejection logic, where it isn't considering the mapped collection, only the primary collection. That would be wise for someone to look into. Unfortunately, your item is in a weird state, and I think you'll need to use SQL to manually delete this item. First, try to directly access this item, and delete it from DSpace: http://example.edu/xmlui/admin/item Use itemID of: 29244 If that doesn't work, here is some SQL that might help you get further. The safest route to follow would be to make a backup of your database, and set up a testing instance of your DSpace, and practice the following advice on your testing instance of DSpace. If that succeeds, then consider doing it on the production instance. ## See which collections this item is connected to: SELECT * FROM public.collection2item WHERE collection2item.item_id = 29244; That might return you two records. Maybe one with collection_id of 10, and another with collection_id of 20. If you figure out which of those collectionID's correspond to the secondary/mapped collection, you might be able to just delete the secondary mapping (leaving the item connected to the primary collection). ## Delete the second collection from being connected (assuming collection_id 20 is the second collection). BEGIN; DELETE FROM public.collection2item WHERE collection2item.item_id = 29244 AND collection2item.collection_id = 20; COMMIT; Then, try to go back to where you were using DSpace to delete the item. It's best if DSpace can do the item deletion, since there are a lot of database relationships to catch. Hope this helps Peter Dietz Longsight www.longsight.comhttp://www.longsight.com pe...@longsight.commailto:pe...@longsight.com p: 740-599-5005 x809 On Fri, Sep 26, 2014 at 4:34 AM, Jacob Andersson jacob.anders...@mah.semailto:jacob.anders...@mah.se wrote: Hej! I did a csv-file import where I entered two values in the collection column. This imports the item to the first collection and maps it to the second collection. The import was made into the workflows of the collections. In the workflow the item was rejected back to me. I then tried to remove the submission, which resulted in the following error: org.postgresql.util.PSQLException: ERROR: update or delete on table item violates foreign key constraint coll2item_item_fk on table collection2item Detail: Key (item_id)=(29244) is still referenced from table collection2item. I’m assuming it’s because the item has a mapping to a second collection. So, I can’t remove the submission. I can also not delete the test-collections I created for this test-import: org.postgresql.util.PSQLException: ERROR: update or delete on table item violates foreign key constraint $1 on table workspaceitem Detail: Key (item_id)=(29244) is still referenced from table workspaceitem. /Jacob --- Jacob Andersson Librarian Library IT Malmö University 205 06 Malmö Sweden +46-(0)40-66 58387 jacob.anders...@mah.semailto:s...@mah.se -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Slashdot TV. Videos for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List
Re: [Dspace-tech] Dspace not working on latest Debian machine tomcat7 Please help
Hi Atur That step expects that you followed all the instructions and installed DSpace into /home/dspace not /usr/local/dspace. There are several reasons for /home/dspace, the main one being; /home/dspace is mounted on a separate partition as per best sys adm practice for easy backup setup etc.. See: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Install_Ubuntu/S03/Disk_Partitioning And: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Install_Ubuntu/S03/DSpace_User So the webapps are in /usr/local/dspace, whereas they are expected to be in /home/dspace for it to work. There are many ways to work around this, however I specifically choose /home/dspace as the default installation location, for reasons mentioned above, and so that a DSpace rebuild did not require the manual copying of webapps all the time. My advice is to follow the steps as presented, then it is certain to work. Others on the list may have a better suggestion. This problem is one of the reasons I proposed: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Reference_Architecture and http://wiki.lib.sun.ac.za/index.php/SUNScholar/Software_Release_Cadence Cheers hg *Hilton Gibson* Ubuntu Linux Systems Administrator JS Gericke Library Room 1025C Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646 4758 On 29 September 2014 08:44, Md. Ataur Rahman ataurb...@gmail.com wrote: Hi I've installed dspace-4.2-src-release on my debian wheeze machine using xmlui on tomcat7 and postgresql9. Everything happened fine. But when I have tried to run the webapps through my browser it doesn't show anything. I have configured the webapps by using this guide- http://wiki.lib.sun.ac.za/index.php/SUNScholar/Install_DSpace/S08 The configuration of host and url is as follows-- # DSpace installation directory #dspace.dir = /dspace dspace.dir = /usr/local/dspace # DSpace host name - should match base URL. Do not include port number. #dspace.hostname = localhost dspace.hostname = localhost # DSpace base host URL. Include port number etc. #dspace.baseUrl = http://localhost:8080 dspace.baseUrl = http://localhost:8080 # DSpace base URL. Include port number etc., but NOT trailing slash # Change to xmlui if you wish to use the xmlui as the default, or remove # /jspui and set webapp of your choice as the ROOT webapp in # the servlet engine. #dspace.url = http://localhost:8080/xmlui dspace.baseUrl = http://localhost:8080 Any idea will be highly appreciated ataur -- Slashdot TV. Videos for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Slashdot TV. Videos for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] JSPUI
First step would be to see if tomcat loaded the DSpace webapps (at least JSPUI and depending on the version of DSpace your working with probably SOLR) correctly. You can use one of the common webapps for tomcat like manager or take a look in the logs of your tomcat. Regards, Pascal From: Mary Weppler-Selear [mailto:mweppler-sel...@ucmerced.edu] Sent: Friday, September 26, 2014 10:21 PM To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] JSPUI I have a version of DSpace that was configured almost a year ago. My organization just procured a hosted VPS, and I'm ready to move the DSpace platform over to the VPS. However, when I try to view the web app, the url that I used after an ifconfig command is not working: http://169.236.85.39:8080/jspui/ Though if I remove the jspui it appears that Tomcat is okay. It was working fine before. Any advice on how to view the web app? Mary -- Slashdot TV. Videos for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Fwd: Dspace not working on latest Debian machine tomcat7 Please help
Hi Hilton, Thanks for your quick reply. Actually, I have configured it using the following command- #Adding user adduser tomcat7 dspace adduser dspace tomcat7 #Setting permission chown dspace:dspace -R /usr/local/dspace chmod 0775 -R /usr/local/dspace #Creating administrator account usr/local/dspace/bin/dspace create-administrator #setting up webapps cd /var/lib/tomcat7/webapps ln -sv /usr/local/dspace/webapps/oai ln -sv /usr/local/dspace/webapps/sword ln -sv /usr/local/dspace/webapps/solr rm -rvf /var/lib/tomcat7/webapps/ROOT ln -sv /usr/local/dspace/webapps/xmlui ROOT I have installed dspace many times by using this way. Never face any problem in dspace version up to 4.1 but this time it doesn't work. I don't think it is only directory issue. On Mon, Sep 29, 2014 at 1:08 PM, Hilton Gibson hilton.gib...@gmail.com wrote: Hi Atur That step expects that you followed all the instructions and installed DSpace into /home/dspace not /usr/local/dspace. There are several reasons for /home/dspace, the main one being; /home/dspace is mounted on a separate partition as per best sys adm practice for easy backup setup etc.. See: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Install_Ubuntu/S03/Disk_Partitioning And: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Install_Ubuntu/S03/DSpace_User So the webapps are in /usr/local/dspace, whereas they are expected to be in /home/dspace for it to work. There are many ways to work around this, however I specifically choose /home/dspace as the default installation location, for reasons mentioned above, and so that a DSpace rebuild did not require the manual copying of webapps all the time. My advice is to follow the steps as presented, then it is certain to work. Others on the list may have a better suggestion. This problem is one of the reasons I proposed: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Reference_Architecture and http://wiki.lib.sun.ac.za/index.php/SUNScholar/Software_Release_Cadence Cheers hg *Hilton Gibson* Ubuntu Linux Systems Administrator JS Gericke Library Room 1025C Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646 4758 On 29 September 2014 08:44, Md. Ataur Rahman ataurb...@gmail.com wrote: Hi I've installed dspace-4.2-src-release on my debian wheeze machine using xmlui on tomcat7 and postgresql9. Everything happened fine. But when I have tried to run the webapps through my browser it doesn't show anything. I have configured the webapps by using this guide- http://wiki.lib.sun.ac.za/index.php/SUNScholar/Install_DSpace/S08 The configuration of host and url is as follows-- # DSpace installation directory #dspace.dir = /dspace dspace.dir = /usr/local/dspace # DSpace host name - should match base URL. Do not include port number. #dspace.hostname = localhost dspace.hostname = localhost # DSpace base host URL. Include port number etc. #dspace.baseUrl = http://localhost:8080 dspace.baseUrl = http://localhost:8080 # DSpace base URL. Include port number etc., but NOT trailing slash # Change to xmlui if you wish to use the xmlui as the default, or remove # /jspui and set webapp of your choice as the ROOT webapp in # the servlet engine. #dspace.url = http://localhost:8080/xmlui dspace.baseUrl = http://localhost:8080 Any idea will be highly appreciated ataur -- Slashdot TV. Videos for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Slashdot TV. Videos for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] importing classified collection
Dears, I want to import a collection into dspace. The collection includes segmentation is based on directory .For example, the directory #1 contains two folders, folder #1 and folder #2. Folder #1 contains 3 items and folder #2 includes an Item and a folder containing 5 items. *[items format : XML(metadata), pdf, word, image, ...] How can I automatically classified and import data into dspace collection based on my collection ? Please give me your experience about this. Sincerely, P.Hadadan | Senior Software Developer NotionWave | Toronto, Canada P.Hadadan [at] notionwave [dot] com -- Slashdot TV. Videos for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] metadata batch import bug?
On Fri, Sep 26, 2014 at 10:12:24AM -0400, Peter Dietz wrote: Hi Pablo, Ideally we'd like to be validating that dc.date.* are all valid ISO8601 dates, but using non-standard values is quite widespread. dc.date.issued: WWI, or Circa 1950, or Sept 2014, or 2014 Summer, or Unknown. I think it's optimistic to suppose that we could always get an ISO 8601 date here. Those odd values contain information that a day-date cannot represent. Aside from fixing the bug (unparseable dates lead to null values which then make code which expects dates sick), we need to consider how date metadata are used. Some need to be convertible to some kind of common representation of time bindings, but others may not. Those on which DSpace does not operate, and whose formats are not defined by external metadata standards, can probably remain free-form. For the rest... Given some time, we ought to build something that can understand reasonable values here. I see several classes that must be addressed: o Imprecise dates: Sep-2014, 20th Century. These have calculable limits but may need special-purpose parsing. They represent definite intervals and can be matched without much trouble. o Fuzzy dates: c. 1969, before 1492. We might represent these as intervals with a fuzzy bit to indicate uncertainty: they cannot really participate in comparison without defining just how much fuzz is acceptable for a match. o Named events and intervals: WWI. There are probably too many variations for DSpace to handle these out-of-the-box. Maybe we can provide room for pluggable parsing and comparison modules, to recognize these as convertible to our hypothetical common representation and to do appropriate matching. o Unknown. We should define one or two external representations of this and require conformance to them if you really want to enter an explicitly unknown date. Or perhaps anything not parseable should be filed as unknown, with a warning on the submission form as you suggest. It might be best to think of these values as sentences in a small language as we design recognizers and manipulators for them. The common representation is probably an object containing a pair of Dates (an interval), the fuzzy bit, the unknown bit, perhaps some information about how it was understood, and methods for manipulating these complex beasties. There is already some code (DCDate) to deal with imprecise dates, but it may not yet be used everywhere we need it. OTOH if the language model fits well, the best common representation might be a parse tree. Has anyone formally studied the kinds of date information that repositories deal with? What they actually *need*, that is, not the *interesting* things that people come up with when they have no standard for dealing with novel problems. :-) -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- Slashdot TV. Videos for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Internal System Error after Login
Hi Mary, it looks like you have an incomplete database. Are you trying to upgrade a previous installation or it is a fresh one? take a look to this file https://github.com/Cineca/DSpace/blob/dspace-cris-master/dspace/etc/postgres/addon-crismodule.sql or if you use oracle https://github.com/Cineca/DSpace/blob/dspace-cris-master/dspace/etc/oracle/addon-crismodule.sql on line 79 you have the rpage table definition with the sourceref column. If you are updating an existent dspace-cris installation be sure to run https://github.com/Cineca/DSpace/blob/dspace-cris-master/dspace/etc/postgres/update-crismodule_321_to_4.sql (see line 12 for reference) Hope this help, Andrea Il 25/09/2014 08.03, Mary Choi ha scritto: Hi all, I have just installed DSpace-CRIS Installation (Development for 4.x.x) and discovered that there is a problem with the account registration and login. It could validate the accounts so there should be no problem with the database connection. After checking the logs, I found out that the problem was the column researcher0_.sourceref does not exist but I had no idea on how to solve this problem. Any ideas? Thank you for your help. Here are the messages shown in dspace.log: 2014-09-25 12:02:13,799 INFO org.dspace.authenticate.PasswordAuthentication @ anonymous:session_id=80CE880BB2219B91D5669975E7DFBFA2:ip_addr=175.159.73.163:authenticate:attempting password auth of user=em...@xxx.com 2014-09-25 12:02:13,814 WARN org.hibernate.engine.jdbc.spi.SqlExceptionHelper @ SQL Error: 0, SQLState: 42703 2014-09-25 12:02:13,814 ERROR org.hibernate.engine.jdbc.spi.SqlExceptionHelper @ ERROR: column researcher0_.sourceref does not exist Position: 103 Best Regards, Mary -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Andrea Bollini Soluzioni per la Ricerca Istituzionale Cineca Via dei Tizii, 6 00185 Roma, Italy tel. +39 06 44 486 087 - mob. +39 348 82 77 525 http://www.cineca.it -- Slashdot TV. Videos for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] dspace , unable to send email to the address
I run [dspace]/bin/dspace test-email result: dspace@dspace-pc:/dspace/bin$ ./dspace test-email log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: /dspace/log/dspace.log.2014-09-29 (Permissão negada) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.init(FileOutputStream.java:221) at java.io.FileOutputStream.init(FileOutputStream.java:142) at org.apache.log4j.FileAppender.setFile(FileAppender.java:294) at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165) at org.dspace.app.util.DailyFileAppender.activateOptions(DailyFileAppender.java:94) at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307) at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:172) at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:104) at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:842) at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:768) at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:648) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:514) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:580) at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:526) at org.apache.log4j.LogManager.clinit(LogManager.java:127) at org.apache.log4j.Logger.getLogger(Logger.java:117) at org.dspace.core.ConfigurationManager.clinit(ConfigurationManager.java:49) at org.dspace.app.launcher.ScriptLauncher.getConfig(ScriptLauncher.java:255) at org.dspace.app.launcher.ScriptLauncher.clinit(ScriptLauncher.java:34) log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: /dspace/log/checker.log.2014-09-29 (Permissão negada) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.init(FileOutputStream.java:221) at java.io.FileOutputStream.init(FileOutputStream.java:142) at org.apache.log4j.FileAppender.setFile(FileAppender.java:294) at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165) at org.dspace.app.util.DailyFileAppender.activateOptions(DailyFileAppender.java:94) at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307) at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:172) at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:104) at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:842) at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:768) at org.apache.log4j.PropertyConfigurator.parseCatsAndRenderers(PropertyConfigurator.java:672) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:516) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:580) at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:526) at org.apache.log4j.LogManager.clinit(LogManager.java:127) at org.apache.log4j.Logger.getLogger(Logger.java:117) at org.dspace.core.ConfigurationManager.clinit(ConfigurationManager.java:49) at org.dspace.app.launcher.ScriptLauncher.getConfig(ScriptLauncher.java:255) at org.dspace.app.launcher.ScriptLauncher.clinit(ScriptLauncher.java:34) log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: /dspace/log/solr.log.2014-09-29 (Permissão negada) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.init(FileOutputStream.java:221) at java.io.FileOutputStream.init(FileOutputStream.java:142) at org.apache.log4j.FileAppender.setFile(FileAppender.java:294) at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165) at org.dspace.app.util.DailyFileAppender.activateOptions(DailyFileAppender.java:94) at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307) at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:172) at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:104) at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:842) at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:768) at org.apache.log4j.PropertyConfigurator.parseCatsAndRenderers(PropertyConfigurator.java:672) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:516) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:580) at
Re: [Dspace-tech] dspace , unable to send email to the address
I see two problems. On Mon, Sep 29, 2014 at 08:42:58AM -0700, SSK wrote: I run [dspace]/bin/dspace test-email result: dspace@dspace-pc:/dspace/bin$ ./dspace test-email log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: /dspace/log/dspace.log.2014-09-29 (Permissão negada) I don't speak Portugese, but I think this is saying that the user who is running bin/dspace is not permitted to write into the DSpace log file. That should not be related to the other problem: About to send test email: - To: - Subject: DSpace test email - Server: ** Error sending email: - Error: javax.mail.MessagingException: Exception reading response; nested exception is: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target Please see the DSpace documentation for assistance. DSpace and the mail server attempted to negotiate an encrypted connection, but the servlet container (Tomcat?) in which DSpace is running does not have a copy of the root certificate which the mail server is using, and so does not trust the connection. If you want to use SMTP-in-TLS or STARTTLS then you will need to get a copy of the mail server's root certificate and place it in the servlet container's trust store so that the mail server's own certificate can be validated. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- Slashdot TV. Videos for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Can't find the uploaded item [Please Help]
Hi Hilton, Many many thanks for your prompt response about that issue. Actually, there was a silly mistake in my configuration [dspace.cfg] file. I have figured out and solved that. Now I see another problem and that is after uploading a *.pdf, I can't see it on my dspace home page Or under the particular collection name. I have run the the item counter command, now my community and collection shows [0]. Then where is my uploaded item. Any idea On Mon, Sep 29, 2014 at 2:07 PM, Hilton Gibson hilton.gib...@gmail.com wrote: PS: Make sure to install the tomcat admin packages. *Hilton Gibson* Ubuntu Linux Systems Administrator JS Gericke Library Room 1025C Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646 4758 On 29 September 2014 10:00, Md. Ataur Rahman ataurb...@gmail.com wrote: Hi Hilton, Thanks for your quick reply. Actually, I have configured it using the following command- #Adding user adduser tomcat7 dspace adduser dspace tomcat7 #Setting permission chown dspace:dspace -R /usr/local/dspace chmod 0775 -R /usr/local/dspace #Creating administrator account usr/local/dspace/bin/dspace create-administrator #setting up webapps cd /var/lib/tomcat7/webapps ln -sv /usr/local/dspace/webapps/oai ln -sv /usr/local/dspace/webapps/sword ln -sv /usr/local/dspace/webapps/solr rm -rvf /var/lib/tomcat7/webapps/ROOT ln -sv /usr/local/dspace/webapps/xmlui ROOT I have installed dspace many times by using this way. Never face any problem in dspace version up to 4.1 but this time it doesn't work. I don't think it is only directory issue. On Mon, Sep 29, 2014 at 1:08 PM, Hilton Gibson hilton.gib...@gmail.com wrote: Hi Atur That step expects that you followed all the instructions and installed DSpace into /home/dspace not /usr/local/dspace. There are several reasons for /home/dspace, the main one being; /home/dspace is mounted on a separate partition as per best sys adm practice for easy backup setup etc.. See: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Install_Ubuntu/S03/Disk_Partitioning And: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Install_Ubuntu/S03/DSpace_User So the webapps are in /usr/local/dspace, whereas they are expected to be in /home/dspace for it to work. There are many ways to work around this, however I specifically choose /home/dspace as the default installation location, for reasons mentioned above, and so that a DSpace rebuild did not require the manual copying of webapps all the time. My advice is to follow the steps as presented, then it is certain to work. Others on the list may have a better suggestion. This problem is one of the reasons I proposed: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Reference_Architecture and http://wiki.lib.sun.ac.za/index.php/SUNScholar/Software_Release_Cadence Cheers hg *Hilton Gibson* Ubuntu Linux Systems Administrator JS Gericke Library Room 1025C Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646 4758 On 29 September 2014 08:44, Md. Ataur Rahman ataurb...@gmail.com wrote: Hi I've installed dspace-4.2-src-release on my debian wheeze machine using xmlui on tomcat7 and postgresql9. Everything happened fine. But when I have tried to run the webapps through my browser it doesn't show anything. I have configured the webapps by using this guide- http://wiki.lib.sun.ac.za/index.php/SUNScholar/Install_DSpace/S08 The configuration of host and url is as follows-- # DSpace installation directory #dspace.dir = /dspace dspace.dir = /usr/local/dspace # DSpace host name - should match base URL. Do not include port number . #dspace.hostname = localhost dspace.hostname = localhost # DSpace base host URL. Include port number etc. #dspace.baseUrl = http://localhost:8080 dspace.baseUrl = http://localhost:8080 # DSpace base URL. Include port number etc., but NOT trailing slash # Change to xmlui if you wish to use the xmlui as the default, or remove # /jspui and set webapp of your choice as the ROOT webapp in # the servlet engine. #dspace.url = http://localhost:8080/xmlui dspace.baseUrl = http://localhost:8080 Any idea will be highly appreciated ataur -- Slashdot TV. Videos for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with
[Dspace-tech] Can't see the uploaded item
Hi I have installed dspace 4.2 on Debian linux with tomcat6 xmlui. Everything is going well before submitting a file. But after submitting I have seen a problem and that is after uploading a *.pdf, I can't see it on my dspace home page Or under the particular collection name. I have Run the item counter command, now my community and collection shows XYZ[0]. Then where is my uploaded item. Where is the problem? Any idea -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette