Re: [Dspace-tech] How to configure port number for DSpace
Hi Thiru, You must have missed my other email. I did as Richard suggested and made the port number a configurable parameter in the dspace.cfg and uploaded the changes as a patch to DSpace. Please see patch# 1720105 http://sourceforge.net/tracker/index.php?func=detail&aid=1720105&group_id=19984&atid=319984 Thank you, Kyle At / À 09:16 AM 23/05/2007, thirunavukarasu selvam wrote / a écrit: >Hi kyle and Richard, > >Thanks for your efforts so far to help me out. > >Regarding that SMTP port number configuration, I feel >it would sound better if you provide some option in the Dspace.cfg file itself >to configure the port, instead of making changes in the source code. > >ie as you know in dspace.cfg file there are options to set the mail >server, mail server username and password. Similary if you provide an >option for configuring the port number in the dspace.cfg file, it will be >good for any user. > >Thanks and Regards, >Thiru > - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] How to configure port number for DSpace
bly easily, but there was no > sign > > of > > > > > the Windows installation page. I knew such a page existed and a > > Google > > > > > search got me to it. I tried editing the installation page to > correct > > > > > the omission and was blocked from doing that. I tried to edit the > > > > > issues page to report the problem and was blocked from editing > that. > > I > > > > > couldn't find any signs of a link to an administrator, so I'm > sending > > my > > > > > message here. > > > > > > > > > > > > > > > > > > > > Sorry. > > > > > > > > > > > > > > > > > > > > Ralph > > > > > > > > > > > > > > > > > > > > > - > > > > This SF.net email is sponsored by DB2 Express > > > > Download DB2 Express C - the FREE version of DB2 express and take > > > > control of your XML. No limits. Just data. Click to get it now. > > > > http://sourceforge.net/powerbar/db2/ > > > > ___ > > > > DSpace-tech mailing list > > > > DSpace-tech@lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/dspace-tech > > > > > > > > > > > > > - > > > This SF.net email is sponsored by DB2 Express > > > Download DB2 Express C - the FREE version of DB2 express and take > > > control of your XML. No limits. Just data. Click to get it now. > > > http://sourceforge.net/powerbar/db2/ > > > ___ > > > DSpace-tech mailing list > > > DSpace-tech@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/dspace-tech > > > > > > > > > > - > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > ___ > > DSpace-tech mailing list > > DSpace-tech@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/dspace-tech > > > > > > > -- > there's no such thing as 2 > -- next part -- An HTML attachment was scrubbed... -- Message: 2 Date: Wed, 16 May 2007 12:43:53 +0300 (EEST) From: "Myroslav Rys" <[EMAIL PROTECTED]> Subject: [Dspace-tech] @hi, about LDAP auth with 'binddn' and 'bindpw' To: dspace-tech@lists.sourceforge.net Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain;charset=utf-8 hi, how-to configure dspace using LDAP auth with 'binddn' and 'bindpw' options? anonymous LDAP auth is forbidden in my network. tnx! -- Myroslav Rys UNIX SA http://www.stone.org.ua/ http://www.fabula.org.ua/ -- Message: 3 Date: Wed, 16 May 2007 10:53:42 -0400 From: Russell S Koonts <[EMAIL PROTECTED]> Subject: [Dspace-tech] dspace handle server for other application To: dspace-tech@lists.sourceforge.net Message-ID: < [EMAIL PROTECTED]> Content-Type: text/plain; charset=US-ASCII Is it possible to use the dspace handle server to provide handles for another application? I would like for my dspace 1.4.1 handle server to provide and resolve handles for a different application currently under development. At this time, the log output I'm getting is: Access log: 152.16.199.77 TCP:HDL "Tue May 15 18:24:48 EDT 2007" 100 402 102ms 2193/2019 152.16.199.77 TCP:HDL "Tue May 15 18:24:48 EDT 2007" 200 2 242ms / 152.16.199.77 HTTP:HDL "Tue May 15 18:24:48 EDT 2007" 100 402 103ms 2193/2019 152.16.199.77 HTTP:HDL "Tue May 15 18:24:48 EDT 2007" 200 2 218ms / 152.16.199.77 TCP:HDL "Wed May 16 09:35:55 EDT 2007" 100 402 102ms 2193/2020 152.16.199.77 TCP:HDL "Wed May 16 09:35:55 EDT 2007" 200 2 387ms / 152.16.199.77 HTTP:HDL "Wed May 16 09:35:55 EDT 2007" 100 402 102ms 2193/2020 152.16.199.77 HTTP:HDL "Wed May 16 09:35:56 EDT 2007" 200 2 268ms / error log: "2007/05/16 09:35:55 EDT" 100 Error committing transaction: HandleException (HANDLE_DOES_NOT_EXIST) "2007/05/16 09:35:55 EDT" 100 Error committing transaction: HandleException (HANDLE_DOES_NOT_EXIST) "2007/05/16 09:35
Re: [Dspace-tech] How to configure port number for DSpace
Hello Richard, I have create the patch and posted to sourceforge as; http://sourceforge.net/tracker/index.php?func=detail&aid=1720105&group_id=19984&atid=319984 Kyle At / À 03:55 AM 10/05/2007, Richard Jones wrote / a écrit: > > In your DSpace source directory edit the file > src\org\dspace\core\Email.java > > > > At line 258 in that file, insert a new line: > > props.put("mail.smtp.port", 587); > > > > Note, this line should be right below a line that says: > > props.put("mail.smtp.host", server); > > > > Rebuild your DSpace and you should be good to go > >While you're doing that, if you want to actually add: > >int portNo = ConfigurationManager.getIntProperty("mail.server.port"); >if (portNo == -1) >{ >portNo = 25; >} >props.put("mail.smtp.port", portNo); > >Add mail.server.port to dspace.cfg, check it works ok, and submit it as >a patch that would be grand! > >Cheers, > >Richard > > > At / À 07:32 AM 09/05/2007, thirunavukarasu selvam wrote / a écrit: > > > >> Hi Kyle, > >> > >> Ya You are right. > >> I need the DSpace to connect to a mail server using port 587 for SMTP. > >> > >> Thank you > >> Thiru.. > >> > >> - > >> This SF.net email is sponsored by DB2 Express > >> Download DB2 Express C - the FREE version of DB2 express and take > >> control of your XML. No limits. Just data. Click to get it now. > >> http://sourceforge.net/powerbar/db2/ > >> ___ > >> DSpace-tech mailing list > >> DSpace-tech@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/dspace-tech > > > > > > - > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > ___ > > DSpace-tech mailing list > > DSpace-tech@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/dspace-tech > > >-- >Richard > >Richard Jones| t: +44 (0)20 759 [48614 / 41815] >Web & Database | e: [EMAIL PROTECTED] >Technology Specialist | b: http://chronicles-of-richard.blogspot.com/ >Imperial College London | > > >- >This SF.net email is sponsored by DB2 Express >Download DB2 Express C - the FREE version of DB2 express and take >control of your XML. No limits. Just data. Click to get it now. >http://sourceforge.net/powerbar/db2/ >___ >DSpace-tech mailing list >DSpace-tech@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/dspace-tech - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] How to configure port number for DSpace
> In your DSpace source directory edit the file src\org\dspace\core\Email.java > > At line 258 in that file, insert a new line: > props.put("mail.smtp.port", 587); > > Note, this line should be right below a line that says: > props.put("mail.smtp.host", server); > > Rebuild your DSpace and you should be good to go While you're doing that, if you want to actually add: int portNo = ConfigurationManager.getIntProperty("mail.server.port"); if (portNo == -1) { portNo = 25; } props.put("mail.smtp.port", portNo); Add mail.server.port to dspace.cfg, check it works ok, and submit it as a patch that would be grand! Cheers, Richard > At / À 07:32 AM 09/05/2007, thirunavukarasu selvam wrote / a écrit: > >> Hi Kyle, >> >> Ya You are right. >> I need the DSpace to connect to a mail server using port 587 for SMTP. >> >> Thank you >> Thiru.. >> >> - >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> ___ >> DSpace-tech mailing list >> DSpace-tech@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/dspace-tech > > > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ___ > DSpace-tech mailing list > DSpace-tech@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Richard Richard Jones| t: +44 (0)20 759 [48614 / 41815] Web & Database | e: [EMAIL PROTECTED] Technology Specialist | b: http://chronicles-of-richard.blogspot.com/ Imperial College London | - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] How to configure port number for DSpace
Hi Thiru, You will need to modify the source code to do this, but it is a very simple modification. In your DSpace source directory edit the file src\org\dspace\core\Email.java At line 258 in that file, insert a new line: props.put("mail.smtp.port", 587); Note, this line should be right below a line that says: props.put("mail.smtp.host", server); Rebuild your DSpace and you should be good to go Kyle At / À 07:32 AM 09/05/2007, thirunavukarasu selvam wrote / a écrit: >Hi Kyle, > >Ya You are right. >I need the DSpace to connect to a mail server using port 587 for SMTP. > >Thank you >Thiru.. > >- >This SF.net email is sponsored by DB2 Express >Download DB2 Express C - the FREE version of DB2 express and take >control of your XML. No limits. Just data. Click to get it now. >http://sourceforge.net/powerbar/db2/ >___ >DSpace-tech mailing list >DSpace-tech@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/dspace-tech - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] How to configure port number for DSpace
Hi Kyle, Ya you are right. I need to connect the DSpace to a mail server using port number 587 for SMTP. Thank you Thiru... - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] How to configure port number for DSpace
Hi Kyle, Ya You are right. I need the DSpace to connect to a mail server using port 587 for SMTP. Thank you Thiru.. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech