Re: [Dspace-tech] Email subscriptions in 1.5
After reading this I checked ours and we do not have it working either Hamish -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gary Browne Sent: Thursday, 11 September 2008 1:54 PM To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Email subscriptions in 1.5 Hi Claudia Thanks for the lead... I downloaded and installed this version but it still doesn't work. Running sub-daily does not seem to do anything. Can you confirm that my installation steps were correct? -- cp Subscribe.java $DSPACE_SRC/dspace-api/src/main/java/org/dspace/eperson/ cd $DSPACE_SRC/dspace mvn clean package cd target/dspace-1.5.0-build.dir ant update -- Has anyone else experienced this problem? Thanks very much. Gary Gary Browne Development Programmer Library IT Services University of Sydney ph: 9351-5946 -Original Message- From: Claudia Jürgen [mailto:[EMAIL PROTECTED] Sent: Wednesday, 10 September 2008 4:26 PM To: Gary Browne Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Email subscriptions in 1.5 Hi Gary, use the 1.5.x version of it: http://dspace.svn.sourceforge.net/viewvc/dspace/branches/dspace-1_5_x/dspace-api/src/main/java/org/dspace/eperson/Subscribe.java?view=log There has been a bug with the new test option. Claudia Gary Browne schrieb: Hi all In our 1.5 installation, emails were not being sent for subscribers (nightly cron job). I tried installing the 1.5.1 version of org.dspace.eperson.Subscribe.java but still no emails. When I run /dspace/bin/sub-daily, nothing happens. The steps I followed to install the new Subscribe.java class were as follows: cp Subscribe.java $DSPACE_SRC/dspace-api/src/main/java/org/dspace/eperson/ cd $DSPACE_SRC/dspace mvn clean package ant update I then restarted tomcat and ran sub-daily. Any assistance would be much appreciated. Thanks Gary Gary Browne Development Programmer Library IT Services University of Sydney ph: 9351-5946 -- -- -- --- 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 - 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 IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email. - 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
Re: [Dspace-tech] Email subscriptions in 1.5
Check if you are overriding Messages.properties. It looks as though that key is missing and it is not getting handled gracefully. You need to have the following present... org.dspace.eperson.Subscribe.authors = Authors: This new code and a couple other properties were newly added in 1.5.1. You'll need to make sure your Messages properties is synced with the following version... https://dspace.svn.sf.net/svnroot/dspace/tags/dspace-1_5_1/dspace-api/ src/main/resources/Messages.properties I'm reposting to the list because I suspect this issue will cause problems for others as well. -Mark On Sep 10, 2008, at 11:03 PM, Gary Browne wrote: Thanks Mark. Running the first command outputs the following error: 2008-09-11 15:43:23,579 FATAL org.dspace.eperson.Subscribe @ java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key org.dspace.eperson.Subscribe.authors Do you have any idea what that is pointing to? Thanks Gary Gary Browne Development Programmer Library IT Services University of Sydney ph: 9351-5946 -Original Message- From: Mark Diggory [mailto:[EMAIL PROTECTED] Sent: Thursday, 11 September 2008 3:02 PM To: Gary Browne Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Email subscriptions in 1.5 Gary, That should have worked for getting the code into place. Could you try running... [dspace.dir]/bin/dsrun -Ddspace.log.init.disable=true - Dlog4j.configuration=log4j-console.properties org.dspace.eperson.Subscribe -t this would then output the emails that would be sent out to System.out If that works, then running [dspace.dir]/bin/dsrun -Ddspace.log.init.disable=true - Dlog4j.configuration=log4j-console.properties org.dspace.eperson.Subscribe or just (if you want logging to go to dspace.log instead) [dspace.dir]/bin/dsrun org.dspace.eperson.Subscribe Will send out the emails. I don't use the sub-daily wrapper, I just place the lines like this that I want to run into my crontab. -Mark On Sep 10, 2008, at 9:23 PM, Gary Browne wrote: Hi Claudia Thanks for the lead... I downloaded and installed this version but it still doesn't work. Running sub-daily does not seem to do anything. Can you confirm that my installation steps were correct? - - cp Subscribe.java $DSPACE_SRC/dspace-api/src/main/java/org/dspace/ eperson/ cd $DSPACE_SRC/dspace mvn clean package cd target/dspace-1.5.0-build.dir ant update - - Has anyone else experienced this problem? Thanks very much. Gary Gary Browne Development Programmer Library IT Services University of Sydney ph: 9351-5946 -Original Message- From: Claudia Jürgen [mailto:[EMAIL PROTECTED] Sent: Wednesday, 10 September 2008 4:26 PM To: Gary Browne Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Email subscriptions in 1.5 Hi Gary, use the 1.5.x version of it: http://dspace.svn.sourceforge.net/viewvc/dspace/branches/ dspace-1_5_x/dspace-api/src/main/java/org/dspace/eperson/ Subscribe.java?view=log There has been a bug with the new test option. Claudia Gary Browne schrieb: Hi all In our 1.5 installation, emails were not being sent for subscribers (nightly cron job). I tried installing the 1.5.1 version of org.dspace.eperson.Subscribe.java but still no emails. When I run /dspace/bin/sub-daily, nothing happens. The steps I followed to install the new Subscribe.java class were as follows: cp Subscribe.java $DSPACE_SRC/dspace-api/src/main/java/org/dspace/eperson/ cd $DSPACE_SRC/dspace mvn clean package ant update I then restarted tomcat and ran sub-daily. Any assistance would be much appreciated. Thanks Gary Gary Browne Development Programmer Library IT Services University of Sydney ph: 9351-5946 - - -- - - --- 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 - - --- 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
Re: [Dspace-tech] Email subscriptions in 1.5
Excellent, thanks Mark. Actually, the Messages.properties file did cause me a lot of headaches upgrading from 1.4 to 1.5 since we'd added a reasonable amount of stuff to it over the years in a not very formal way. How do others manage this file? Regards Gary Gary Browne Development Programmer Library IT Services University of Sydney ph: 9351-5946 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Diggory Sent: Thursday, 11 September 2008 4:16 PM To: DSpace Tech Subject: Re: [Dspace-tech] Email subscriptions in 1.5 Check if you are overriding Messages.properties. It looks as though that key is missing and it is not getting handled gracefully. You need to have the following present... org.dspace.eperson.Subscribe.authors = Authors: This new code and a couple other properties were newly added in 1.5.1. You'll need to make sure your Messages properties is synced with the following version... https://dspace.svn.sf.net/svnroot/dspace/tags/dspace-1_5_1/dspace-api/ src/main/resources/Messages.properties I'm reposting to the list because I suspect this issue will cause problems for others as well. -Mark On Sep 10, 2008, at 11:03 PM, Gary Browne wrote: Thanks Mark. Running the first command outputs the following error: 2008-09-11 15:43:23,579 FATAL org.dspace.eperson.Subscribe @ java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key org.dspace.eperson.Subscribe.authors Do you have any idea what that is pointing to? Thanks Gary Gary Browne Development Programmer Library IT Services University of Sydney ph: 9351-5946 -Original Message- From: Mark Diggory [mailto:[EMAIL PROTECTED] Sent: Thursday, 11 September 2008 3:02 PM To: Gary Browne Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Email subscriptions in 1.5 Gary, That should have worked for getting the code into place. Could you try running... [dspace.dir]/bin/dsrun -Ddspace.log.init.disable=true - Dlog4j.configuration=log4j-console.properties org.dspace.eperson.Subscribe -t this would then output the emails that would be sent out to System.out If that works, then running [dspace.dir]/bin/dsrun -Ddspace.log.init.disable=true - Dlog4j.configuration=log4j-console.properties org.dspace.eperson.Subscribe or just (if you want logging to go to dspace.log instead) [dspace.dir]/bin/dsrun org.dspace.eperson.Subscribe Will send out the emails. I don't use the sub-daily wrapper, I just place the lines like this that I want to run into my crontab. -Mark On Sep 10, 2008, at 9:23 PM, Gary Browne wrote: Hi Claudia Thanks for the lead... I downloaded and installed this version but it still doesn't work. Running sub-daily does not seem to do anything. Can you confirm that my installation steps were correct? - - cp Subscribe.java $DSPACE_SRC/dspace-api/src/main/java/org/dspace/ eperson/ cd $DSPACE_SRC/dspace mvn clean package cd target/dspace-1.5.0-build.dir ant update - - Has anyone else experienced this problem? Thanks very much. Gary Gary Browne Development Programmer Library IT Services University of Sydney ph: 9351-5946 -Original Message- From: Claudia Jürgen [mailto:[EMAIL PROTECTED] Sent: Wednesday, 10 September 2008 4:26 PM To: Gary Browne Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Email subscriptions in 1.5 Hi Gary, use the 1.5.x version of it: http://dspace.svn.sourceforge.net/viewvc/dspace/branches/ dspace-1_5_x/dspace-api/src/main/java/org/dspace/eperson/ Subscribe.java?view=log There has been a bug with the new test option. Claudia Gary Browne schrieb: Hi all In our 1.5 installation, emails were not being sent for subscribers (nightly cron job). I tried installing the 1.5.1 version of org.dspace.eperson.Subscribe.java but still no emails. When I run /dspace/bin/sub-daily, nothing happens. The steps I followed to install the new Subscribe.java class were as follows: cp Subscribe.java $DSPACE_SRC/dspace-api/src/main/java/org/dspace/eperson/ cd $DSPACE_SRC/dspace mvn clean package ant update I then restarted tomcat and ran sub-daily. Any assistance would be much appreciated. Thanks Gary Gary Browne Development Programmer Library IT Services University of Sydney ph: 9351-5946 - - -- - - --- 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
Re: [Dspace-tech] Email subscriptions in 1.5
Same here our Messages.properties has been heavily changed without any thought to version control Thanks also Mark Hamish -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gary Browne Sent: Thursday, 11 September 2008 4:12 PM To: DSpace Tech Subject: Re: [Dspace-tech] Email subscriptions in 1.5 Excellent, thanks Mark. Actually, the Messages.properties file did cause me a lot of headaches upgrading from 1.4 to 1.5 since we'd added a reasonable amount of stuff to it over the years in a not very formal way. How do others manage this file? Regards Gary Gary Browne Development Programmer Library IT Services University of Sydney ph: 9351-5946 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Diggory Sent: Thursday, 11 September 2008 4:16 PM To: DSpace Tech Subject: Re: [Dspace-tech] Email subscriptions in 1.5 Check if you are overriding Messages.properties. It looks as though that key is missing and it is not getting handled gracefully. You need to have the following present... org.dspace.eperson.Subscribe.authors = Authors: This new code and a couple other properties were newly added in 1.5.1. You'll need to make sure your Messages properties is synced with the following version... https://dspace.svn.sf.net/svnroot/dspace/tags/dspace-1_5_1/dspace-api/ src/main/resources/Messages.properties I'm reposting to the list because I suspect this issue will cause problems for others as well. -Mark On Sep 10, 2008, at 11:03 PM, Gary Browne wrote: Thanks Mark. Running the first command outputs the following error: 2008-09-11 15:43:23,579 FATAL org.dspace.eperson.Subscribe @ java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key org.dspace.eperson.Subscribe.authors Do you have any idea what that is pointing to? Thanks Gary Gary Browne Development Programmer Library IT Services University of Sydney ph: 9351-5946 -Original Message- From: Mark Diggory [mailto:[EMAIL PROTECTED] Sent: Thursday, 11 September 2008 3:02 PM To: Gary Browne Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Email subscriptions in 1.5 Gary, That should have worked for getting the code into place. Could you try running... [dspace.dir]/bin/dsrun -Ddspace.log.init.disable=true - Dlog4j.configuration=log4j-console.properties org.dspace.eperson.Subscribe -t this would then output the emails that would be sent out to System.out If that works, then running [dspace.dir]/bin/dsrun -Ddspace.log.init.disable=true - Dlog4j.configuration=log4j-console.properties org.dspace.eperson.Subscribe or just (if you want logging to go to dspace.log instead) [dspace.dir]/bin/dsrun org.dspace.eperson.Subscribe Will send out the emails. I don't use the sub-daily wrapper, I just place the lines like this that I want to run into my crontab. -Mark On Sep 10, 2008, at 9:23 PM, Gary Browne wrote: Hi Claudia Thanks for the lead... I downloaded and installed this version but it still doesn't work. Running sub-daily does not seem to do anything. Can you confirm that my installation steps were correct? - - cp Subscribe.java $DSPACE_SRC/dspace-api/src/main/java/org/dspace/ eperson/ cd $DSPACE_SRC/dspace mvn clean package cd target/dspace-1.5.0-build.dir ant update - - Has anyone else experienced this problem? Thanks very much. Gary Gary Browne Development Programmer Library IT Services University of Sydney ph: 9351-5946 -Original Message- From: Claudia Jürgen [mailto:[EMAIL PROTECTED] Sent: Wednesday, 10 September 2008 4:26 PM To: Gary Browne Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Email subscriptions in 1.5 Hi Gary, use the 1.5.x version of it: http://dspace.svn.sourceforge.net/viewvc/dspace/branches/ dspace-1_5_x/dspace-api/src/main/java/org/dspace/eperson/ Subscribe.java?view=log There has been a bug with the new test option. Claudia Gary Browne schrieb: Hi all In our 1.5 installation, emails were not being sent for subscribers (nightly cron job). I tried installing the 1.5.1 version of org.dspace.eperson.Subscribe.java but still no emails. When I run /dspace/bin/sub-daily, nothing happens. The steps I followed to install the new Subscribe.java class were as follows: cp Subscribe.java $DSPACE_SRC/dspace-api/src/main/java/org/dspace/eperson/ cd $DSPACE_SRC/dspace mvn clean package ant update I then restarted tomcat and ran sub-daily. Any assistance would be much appreciated. Thanks Gary Gary Browne Development Programmer Library IT Services University of Sydney ph: 9351-5946 - - --
Re: [Dspace-tech] Email subscriptions in 1.5
Hmm. Something strange in the state of DSpace... I tried a quick fix just to get it working, namely putting that line: org.dspace.eperson.Subscribe.authors = Authors: In Messages.properties and then redeploying. The line is definitely in [dspace-install-dir]/webapps/jspui/WEB-INF/classes/Messages.properties and I even restarted tomcat just for good measure, but I still get the same fatal error. Guess I'll try syncing the whole Messages.properties file but I'll need to be a little more careful about that. Regards Gary Gary Browne Development Programmer Library IT Services University of Sydney ph: 9351-5946 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Diggory Sent: Thursday, 11 September 2008 4:16 PM To: DSpace Tech Subject: Re: [Dspace-tech] Email subscriptions in 1.5 Check if you are overriding Messages.properties. It looks as though that key is missing and it is not getting handled gracefully. You need to have the following present... org.dspace.eperson.Subscribe.authors = Authors: This new code and a couple other properties were newly added in 1.5.1. You'll need to make sure your Messages properties is synced with the following version... https://dspace.svn.sf.net/svnroot/dspace/tags/dspace-1_5_1/dspace-api/ src/main/resources/Messages.properties I'm reposting to the list because I suspect this issue will cause problems for others as well. -Mark On Sep 10, 2008, at 11:03 PM, Gary Browne wrote: Thanks Mark. Running the first command outputs the following error: 2008-09-11 15:43:23,579 FATAL org.dspace.eperson.Subscribe @ java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key org.dspace.eperson.Subscribe.authors Do you have any idea what that is pointing to? Thanks Gary Gary Browne Development Programmer Library IT Services University of Sydney ph: 9351-5946 -Original Message- From: Mark Diggory [mailto:[EMAIL PROTECTED] Sent: Thursday, 11 September 2008 3:02 PM To: Gary Browne Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Email subscriptions in 1.5 Gary, That should have worked for getting the code into place. Could you try running... [dspace.dir]/bin/dsrun -Ddspace.log.init.disable=true - Dlog4j.configuration=log4j-console.properties org.dspace.eperson.Subscribe -t this would then output the emails that would be sent out to System.out If that works, then running [dspace.dir]/bin/dsrun -Ddspace.log.init.disable=true - Dlog4j.configuration=log4j-console.properties org.dspace.eperson.Subscribe or just (if you want logging to go to dspace.log instead) [dspace.dir]/bin/dsrun org.dspace.eperson.Subscribe Will send out the emails. I don't use the sub-daily wrapper, I just place the lines like this that I want to run into my crontab. -Mark On Sep 10, 2008, at 9:23 PM, Gary Browne wrote: Hi Claudia Thanks for the lead... I downloaded and installed this version but it still doesn't work. Running sub-daily does not seem to do anything. Can you confirm that my installation steps were correct? - - cp Subscribe.java $DSPACE_SRC/dspace-api/src/main/java/org/dspace/ eperson/ cd $DSPACE_SRC/dspace mvn clean package cd target/dspace-1.5.0-build.dir ant update - - Has anyone else experienced this problem? Thanks very much. Gary Gary Browne Development Programmer Library IT Services University of Sydney ph: 9351-5946 -Original Message- From: Claudia Jürgen [mailto:[EMAIL PROTECTED] Sent: Wednesday, 10 September 2008 4:26 PM To: Gary Browne Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Email subscriptions in 1.5 Hi Gary, use the 1.5.x version of it: http://dspace.svn.sourceforge.net/viewvc/dspace/branches/ dspace-1_5_x/dspace-api/src/main/java/org/dspace/eperson/ Subscribe.java?view=log There has been a bug with the new test option. Claudia Gary Browne schrieb: Hi all In our 1.5 installation, emails were not being sent for subscribers (nightly cron job). I tried installing the 1.5.1 version of org.dspace.eperson.Subscribe.java but still no emails. When I run /dspace/bin/sub-daily, nothing happens. The steps I followed to install the new Subscribe.java class were as follows: cp Subscribe.java $DSPACE_SRC/dspace-api/src/main/java/org/dspace/eperson/ cd $DSPACE_SRC/dspace mvn clean package ant update I then restarted tomcat and ran sub-daily. Any assistance would be much appreciated. Thanks Gary Gary Browne Development Programmer Library IT Services University of Sydney ph: 9351-5946 - - -- - - --- This SF.Net
Re: [Dspace-tech] Email subscriptions in 1.5
Also you might want to make sure that the Messages.properties content used by ResourceBundle do not contain any un-commented reserved characters. For instance, I have just realised that putting html characters - such as ouml; - in those strings can cause the same error. There might also be an issue with which Messages file is updated and where. I don't think that server jobs, like sub-daily, uses the parameters from the /webapps/jspui/WEB-INF tree, but rather those that are kept in the dspace-api source tree (/dspace-api/src/main/resources), and that goes into the dspace-api-1.5.0.jar. But someone who knows the new structure better than me could probably clarify (or correct) this. / Urban Andersson Gary Browne wrote: Hmm. Something strange in the state of DSpace... I tried a quick fix just to get it working, namely putting that line: org.dspace.eperson.Subscribe.authors = Authors: In Messages.properties and then redeploying. The line is definitely in [dspace-install-dir]/webapps/jspui/WEB-INF/classes/Messages.properties and I even restarted tomcat just for good measure, but I still get the same fatal error. Guess I'll try syncing the whole Messages.properties file but I'll need to be a little more careful about that. Regards Gary Gary Browne Development Programmer Library IT Services University of Sydney ph: 9351-5946 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Diggory Sent: Thursday, 11 September 2008 4:16 PM To: DSpace Tech Subject: Re: [Dspace-tech] Email subscriptions in 1.5 Check if you are overriding Messages.properties. It looks as though that key is missing and it is not getting handled gracefully. You need to have the following present... org.dspace.eperson.Subscribe.authors = Authors: This new code and a couple other properties were newly added in 1.5.1. You'll need to make sure your Messages properties is synced with the following version... https://dspace.svn.sf.net/svnroot/dspace/tags/dspace-1_5_1/dspace-api/ src/main/resources/Messages.properties I'm reposting to the list because I suspect this issue will cause problems for others as well. -Mark On Sep 10, 2008, at 11:03 PM, Gary Browne wrote: Thanks Mark. Running the first command outputs the following error: 2008-09-11 15:43:23,579 FATAL org.dspace.eperson.Subscribe @ java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key org.dspace.eperson.Subscribe.authors Do you have any idea what that is pointing to? Thanks Gary Gary Browne Development Programmer Library IT Services University of Sydney ph: 9351-5946 -Original Message- From: Mark Diggory [mailto:[EMAIL PROTECTED] Sent: Thursday, 11 September 2008 3:02 PM To: Gary Browne Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Email subscriptions in 1.5 Gary, That should have worked for getting the code into place. Could you try running... [dspace.dir]/bin/dsrun -Ddspace.log.init.disable=true - Dlog4j.configuration=log4j-console.properties org.dspace.eperson.Subscribe -t this would then output the emails that would be sent out to System.out If that works, then running [dspace.dir]/bin/dsrun -Ddspace.log.init.disable=true - Dlog4j.configuration=log4j-console.properties org.dspace.eperson.Subscribe or just (if you want logging to go to dspace.log instead) [dspace.dir]/bin/dsrun org.dspace.eperson.Subscribe Will send out the emails. I don't use the sub-daily wrapper, I just place the lines like this that I want to run into my crontab. -Mark On Sep 10, 2008, at 9:23 PM, Gary Browne wrote: Hi Claudia Thanks for the lead... I downloaded and installed this version but it still doesn't work. Running sub-daily does not seem to do anything. Can you confirm that my installation steps were correct? - - cp Subscribe.java $DSPACE_SRC/dspace-api/src/main/java/org/dspace/ eperson/ cd $DSPACE_SRC/dspace mvn clean package cd target/dspace-1.5.0-build.dir ant update - - Has anyone else experienced this problem? Thanks very much. Gary Gary Browne Development Programmer Library IT Services University of Sydney ph: 9351-5946 -Original Message- From: Claudia Jürgen [mailto:[EMAIL PROTECTED] Sent: Wednesday, 10 September 2008 4:26 PM To: Gary Browne Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Email subscriptions in 1.5 Hi Gary, use the 1.5.x version of it: http://dspace.svn.sourceforge.net/viewvc/dspace/branches/ dspace-1_5_x/dspace-api/src/main/java/org/dspace/eperson/ Subscribe.java?view=log There has been a bug with the new test option. Claudia Gary Browne schrieb: Hi all In our 1.5 installation, emails were not
[Dspace-tech] Installation manual of 1.5 on linux
Dear All I am searching for installation manual for linux which will provide step by step instruction for installation, apart from documentation in dspace website and dspace wiki. Can anyone help me. Thanks Mallikarjun - 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
[Dspace-tech] Removing citation field in input-forms.xml (Dspace - 1.4.2)
Hi all, I am trying to remove some fields in input-forum.xml of a DSpace 1.4.2 installation. But when I am trying to remove 'citation' field, it is showing internal error. I require only following fields to be available during data entry in the default input form: Title; Date of Issue; Publisher; Series/Report No.; Identifiers; Subject Keywords; Abstract And it should be checked by default the option The item has been published or publicly distributed before in the first 'Submit: Describe this Item' Or This step should skip. Thanking you With regards Satya Satya Ranjan Sahu National Information Centre for Marine Sciences National Institute of Oceanography (CSIR) Dona Paula, Goa - 403 004 Phone: 0832-2450370 (O) -- - 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
Re: [Dspace-tech] Adding jar files
+1 for adding this type of detail to (some) (development) documentation (somewhere)... -- sands fish Software Engineer MIT Libraries Technology Research Development [EMAIL PROTECTED] E25-131 On Sep 11, 2008, at 12:44 AM, Gary Browne wrote: Hi Mark Thanks for a succinct yet thorough reply. Much appreciated. Kind regards Gary Gary Browne Development Programmer Library IT Services University of Sydney ph: 9351-5946 From: Mark Diggory [mailto:[EMAIL PROTECTED] Sent: Thursday, 11 September 2008 1:12 PM To: Gary Browne Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Adding jar files Gary, Is this your own private library or some 3rd party tool? They usually have different approaches which are all appropriate. The options are basically the following 1.) try to find it as a dependency available in mvnrepository.com (i.e. its available in the maven central repo and can be gotten already from there) 2.) install a copy in your local repository http://maven.apache.org/plugins/maven-install-plugin/usage.html mvn install:install-file -Dfile=location of file \ -DgroupId=some-group-id-for-your-jar \ -DartifactId=some-name-for-your-jar -Dversion=version-of-your-jar and then reference in your pom.xml via dependency artifactIdsome-name-for-your-jar/artifactId groupIdsome-name-for-your-jar/groupId versionversion-of-your-jar/version /dependency 3.) probably the easiest (and most effective if you need to deploy and test on multiple machines locally) dependency artifactIdsome-name-for-your-jar/artifactId groupIdsome-name-for-your-jar/groupId versionversion-of-your-jar/version scopesystem/scope systemPath/path/to/your/file.jar/systemPath !-- put this inside the project the dependency is required within. -- /dependency The Last, while easiest, isn't very portable and you;d not be able to publish the project you use it in into a maven repository for reuse by others. The most permanent solution is to find a way to have it deployed into the maven central repository so you can do (1) and all the users of your library/tool can do (1) as well. Hope this helps, Mark On Sep 10, 2008, at 7:51 PM, Gary Browne wrote: Hi all I'm trying to install an add on but not sure how/where to include the .jar files using maven on 1.5. Any assistance would be much appreciated. Thanks Gary Gary Browne Development Programmer Library IT Services University of Sydney ph: 9351-5946 - 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 -- --- 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 - 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
Re: [Dspace-tech] delete old RI_ConstraintTriggers?
On Wed, 10 Sep 2008 at 21:52, Mark Diggory wrote: Sands, We did something a bit more through that dropping the Triggers (read on). What version of Postgres are you using Bill? We are still at 7.3.12 What happened is that there was a transition somewhere around postgres 7.3 from exposing Constrains as Triggers to hiding such details from the user. Yes, you should be able to drop these constraints. But you may find other similar triggers on other tables if you've been maintaining a DSpace instance long enough to have been on postgres before version 7.3. I think we've been on 7.3.x all along. Absent finding any further surprises, I will just drop those triggers. As I cooked up the solution on our systems, I would be glad to give you any advisement you might need to get through this issue. Thanks. I may take you up on that offer. --Bill William Jordan Associate Dean University of Washington Libraries Resource Acquisition and Description/ Information Technology Services Box 352900, Seattle, WA 98195-2900 Voice: (206) 685-1625 Fax: (206) 543-5457 - 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
Re: [Dspace-tech] Metadata field as a link
Yuyun, If you are using the XMLUI, this would be done in your theme XSL files. It would not be necessary to make any changes to the metadata field itself. For example, in DIM-Handler.xsl or an XSL file that over-rides it, you could say: xsl:for-each select=dim:[EMAIL PROTECTED]'identifier' and @qualifier='uri'] a xsl:attribute name=href xsl:copy-of select=./node()/ !-- the target -- /xsl:attribute xsl:copy-of select=./node()/ !-- the link text; here, just the link itself -- /a /xsl:for-each I am not familiar enough with the JSPUI to comment on it if that is what you are using. -- sands fish Software Engineer MIT Libraries Technology Research Development [EMAIL PROTECTED] E25-131 On Sep 11, 2008, at 1:50 AM, Yuyun Wirawati ISHAK (LIBRIS) wrote: How to set a metadata field so that it should be rendered as a link? Thanks Yuyun National Institute of Education (Singapore) http://www.nie.edu.sg DISCLAIMER: The information contained in this email, including any attachments, may contain confidential information. This email is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or any other use of the information contained in this email is strictly prohibited. If you have received this email in error or have reason to believe that you are not authorized to receive it, please notify the sender by return e-mail and promptly delete this e-mail. Thank you. -- --- 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 - 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
Re: [Dspace-tech] header changes
Hi Irene, with the new maven build process, overlays are used. You put your localized/customized sources in [dspace-source]/dspace/modules in your case in [dspace-source]/dspace/modules/jspui run mvn package and then ant update and deploy the new webapplication. Sunny greetings Claudia Kennedy, Irene schrieb: Hi guys, I need help with changing my header.jsp. I am running a vanilla install of 1.5 on progress in a windows environment. I have been very naughty as I am new to dspace and finding it difficult to get to grips with the architecture. Anyway my point is, I have updated all header.jsp's on my server and inserted my new header image in all directories that the dspace image was located. I have recompiled my build but still no joy with my header been changed can someone please tell which directory and files I need to change in order for my header to be updated. Also as a sub question to this I want to undertake a training course in order to get a better handle on dspace. Yours desperate Irene __ Irene Kennedy Senior Information Specialist Central Server Support Group University of Abertay Dundee [EMAIL PROTECTED] (01382) 308814 The University of Abertay Dundee is a charity registered in Scotland, No: SC016040. - 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 - 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
Re: [Dspace-tech] header changes
hiya claudia as always fantastic response very much appreciated. I did not think I had installed maven is this part of 1.5 as default ? -Original Message- From: Claudia Jürgen [mailto:[EMAIL PROTECTED] Sent: 11, September, 2008 16:08 To: Kennedy, Irene Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] header changes Hi Irene, with the new maven build process, overlays are used. You put your localized/customized sources in [dspace-source]/dspace/modules in your case in [dspace-source]/dspace/modules/jspui run mvn package and then ant update and deploy the new webapplication. Sunny greetings Claudia Kennedy, Irene schrieb: Hi guys, I need help with changing my header.jsp. I am running a vanilla install of 1.5 on progress in a windows environment. I have been very naughty as I am new to dspace and finding it difficult to get to grips with the architecture. Anyway my point is, I have updated all header.jsp's on my server and inserted my new header image in all directories that the dspace image was located. I have recompiled my build but still no joy with my header been changed can someone please tell which directory and files I need to change in order for my header to be updated. Also as a sub question to this I want to undertake a training course in order to get a better handle on dspace. Yours desperate Irene __ Irene Kennedy Senior Information Specialist Central Server Support Group University of Abertay Dundee [EMAIL PROTECTED] (01382) 308814 The University of Abertay Dundee is a charity registered in Scotland, No: SC016040. - 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 - 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
[Dspace-tech] Tomcat version for 1.5.1 and XMLUI?
Is Tomcat 5.0 suitable to run 1.5.1 with XMLUI? All the latest documentation for DSpace 1.5 and 1.5.1 says Tomcat 4.x or later is required, but the TAMU Manakin site says Tomcat 5.5 Thanks, Jason -- Jason Stirnaman Digital Projects Librarian/School of Medicine Support A.R. Dykes Library, University of Kansas Medical Center [EMAIL PROTECTED] 913-588-7319 - 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
Re: [Dspace-tech] delete old RI_ConstraintTriggers?
On Sep 11, 2008, at 7:41 AM, Bill Jordan wrote: On Wed, 10 Sep 2008 at 21:52, Mark Diggory wrote: Sands, We did something a bit more through that dropping the Triggers (read on). What version of Postgres are you using Bill? We are still at 7.3.12 What happened is that there was a transition somewhere around postgres 7.3 from exposing Constrains as Triggers to hiding such details from the user. Yes, you should be able to drop these constraints. But you may find other similar triggers on other tables if you've been maintaining a DSpace instance long enough to have been on postgres before version 7.3. I think we've been on 7.3.x all along. Absent finding any further surprises, I will just drop those triggers. My only concern is that the Triggers may actually necessary in 7.3. You should thoroughly investigate that. As I cooked up the solution on our systems, I would be glad to give you any advisement you might need to get through this issue. Thanks. I may take you up on that offer. --Bill William Jordan Associate Dean University of Washington Libraries Resource Acquisition and Description/ Information Technology Services Box 352900, Seattle, WA 98195-2900 Voice: (206) 685-1625 Fax: (206) 543-5457 -- --- 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 - 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
Re: [Dspace-tech] Tomcat version for 1.5.1 and XMLUI?
I'd try to be as current as you can, 5.5 is probably a bit more stable than 5.0. And 6.x has been around for a while, theres really little reason to be back so far in terms of the version of tomcat your using. Cheers, Mark On Sep 11, 2008, at 8:59 AM, Jason Stirnaman wrote: Is Tomcat 5.0 suitable to run 1.5.1 with XMLUI? All the latest documentation for DSpace 1.5 and 1.5.1 says Tomcat 4.x or later is required, but the TAMU Manakin site says Tomcat 5.5 Thanks, Jason -- Jason Stirnaman Digital Projects Librarian/School of Medicine Support A.R. Dykes Library, University of Kansas Medical Center [EMAIL PROTECTED] 913-588-7319 -- --- 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 - 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
[Dspace-tech] error with make-handle-config
Hi there, I am attempting to generate a handle configuration file for a new install of v1.5.1, but make-handle-config keeps failing. The prefix and handle dir are set in dspace.cfg, and the handle-server dir exists (owned by dspace:dspace, set to 775). I am running the command as the dspace user, though I get the same error as root. I'm using RHEL5 and Tomcat 5.5 with Java 1.5. Here is the error: [EMAIL PROTECTED] bin]$ ./make-handle-config Writing simple Handle server configuration Error setting up the server: java.lang.NullPointerException java.lang.NullPointerException at net.handle.server.SimpleSetup.responseToPrompt(SimpleSetup.java:930) at net.handle.server.SimpleSetup.getIPAddress(SimpleSetup.java:572) at net.handle.server.SimpleSetup.main(SimpleSetup.java:96) ./make-handle-config: line 90: /home/dspace/handle-server/config.dct: No such file or directory ./make-handle-config: line 99: /tmp/handleconfig4363: No such file or directory Any ideas? Eric Luhrs Lafayette College - 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
Re: [Dspace-tech] error with make-handle-config
My imediate problem has been resolved, but let me give a few details inc ase this indicates a larger problem, or helps someone else. After trying java versions 1.5.0-sun and 1.6.0-ibm and getting the same error from make-handle-config, I ended up creating the handle-server config files using dsrun: bin/dsrun net.handle.server.SimpleSetup /path/to/handle-server This worked (with both java versions) until I got to the part where the certs get encrypted, and then failed with a complaint about com.sun.crypto.provider.SunJCE. I then installed java 1.6.0-sun which allowed me to get though the dsrun method, though make-handle-config continues to fail with the same error. Eric Luhrs Lafayette College On Thu, Sep 11, 2008 at 4:52 PM, Eric Luhrs [EMAIL PROTECTED] wrote: Hi there, I am attempting to generate a handle configuration file for a new install of v1.5.1, but make-handle-config keeps failing. The prefix and handle dir are set in dspace.cfg, and the handle-server dir exists (owned by dspace:dspace, set to 775). I am running the command as the dspace user, though I get the same error as root. I'm using RHEL5 and Tomcat 5.5 with Java 1.5. Here is the error: [EMAIL PROTECTED] bin]$ ./make-handle-config Writing simple Handle server configuration Error setting up the server: java.lang.NullPointerException java.lang.NullPointerException at net.handle.server.SimpleSetup.responseToPrompt(SimpleSetup.java:930) at net.handle.server.SimpleSetup.getIPAddress(SimpleSetup.java:572) at net.handle.server.SimpleSetup.main(SimpleSetup.java:96) ./make-handle-config: line 90: /home/dspace/handle-server/config.dct: No such file or directory ./make-handle-config: line 99: /tmp/handleconfig4363: No such file or directory Any ideas? Eric Luhrs Lafayette College - 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