I am using Dspace 1.5.2, Tomcat 6, Windows XP, Java 7
Previously I was bothered by the  AuthenticationFailedException and now after
some effort this is the exception I have:

javax.mail.MessagingException: Could not connect to SMTP host:
smtp.gmail.com, port: 465;
  nested exception is:
java.net.ConnectException: Connection refused: connect
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282)
 at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
at javax.mail.Service.connect(Service.java:297)
- Show quoted text -
Caused by: java.net.ConnectException: Connection refused: connect
 at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method)
at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:320)
 at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:181)
at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:163)
 at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:157)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
 at java.net.Socket.connect(Socket.java:578)
at java.net.Socket.connect(Socket.java:527)
at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:232)
 at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1250)
 ... 28 more

What do you think I can infer from this?

I started with dspace in the source, made my changes, did ant update_configs
and then ant Dconfig=config/dspace.cfg update.
Then i went over the dspace/config folder found a dspace.cfg.new and an
existing dspace.cfg. Copied over the contents of dspace.cfg into
dspace.cfg.new,deleted the old one and then rename the dspace.cfg.new to
dspace.cfg.

I then did mvn package and ant fresh_install
On Tue, Jul 12, 2011 at 8:59 AM,
<[email protected]>wrote:

> Send DSpace-tech mailing list submissions to
>        [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        https://lists.sourceforge.net/lists/listinfo/dspace-tech
> or, via email, send a message with subject or body 'help' to
>        [email protected]
>
> You can reach the person managing the list at
>        [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of DSpace-tech digest..."
>
>
> Today's Topics:
>
>   1. Changing Url from http://localhost to http://mydomain,
>      setting gmail as Smtp and New user Registeration (Paul Mulinge)
>   2. Re: help............... (Verdonck Christof)
>   3. Re: Changing Url from http://localhost to http://mydomain,
>      setting gmail as Smtp and New user Registeration (helix84)
>   4. AuthenticationFailedException (ilango g)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 12 Jul 2011 16:48:00 +0300
> From: Paul Mulinge <[email protected]>
> Subject: [Dspace-tech] Changing Url from http://localhost to
>        http://mydomain, setting gmail as Smtp and New user Registeration
> To: [email protected],  "Webshet, Sisay (ILRI)"
>        <[email protected]>
> Message-ID:
>        <cakxw94517swwwxhroflnrkotib9z0jo6trrel-za_m_l5hh...@mail.gmail.com
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello ,
>
> Im working on a dspace project.. I have set it up successfully , i have
> even
> created a self signed  SSL certificate thus accessible on
> https://localhost:8443/xmlui or jspui...   I need to change the url to
> http://mydomain  .. i know it is achievable through several ways i.e NGiNX
> proxing and others.... how do i go about it
>
>
> The mail  function and new user registration seems not to work even after
> setting my gmail account as the smtp on dspace.cfg
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 2
> Date: Tue, 12 Jul 2011 16:50:55 +0300
> From: Verdonck Christof <[email protected]>
> Subject: Re: [Dspace-tech] help...............
> To: Akeredolu Joshua <[email protected]>,
>        [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="us-ascii"
>
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 3
> Date: Tue, 12 Jul 2011 15:55:21 +0200
> From: helix84 <[email protected]>
> Subject: Re: [Dspace-tech] Changing Url from http://localhost to
>        http://mydomain, setting gmail as Smtp and New user Registeration
> To: Paul Mulinge <[email protected]>
> Cc: [email protected], "Webshet,        Sisay \(ILRI\)"
>        <[email protected]>
> Message-ID:
>        <cagdvkqjmvvt5sz3qbsaxcrgq3vtvz-fymtx3mbjfd-3hsk5...@mail.gmail.com
> >
> Content-Type: text/plain; charset=UTF-8
>
> On Tue, Jul 12, 2011 at 15:48, Paul Mulinge <[email protected]>
> wrote:
> > Hello ,
> > Im working on a dspace project.. I have set it up successfully , i have
> even
> > created a self signed ?SSL certificate thus accessible on
> > https://localhost:8443/xmlui or jspui... ? I need to change the url to
> > http://mydomain ?.. i know it is achievable through several ways i.e
> NGiNX
> > proxing and others.... how do i go about it
>
> Hello Paul,
>
> this is described here:
> https://wiki.duraspace.org/display/DSPACE/DspaceOnStandardPorts
>
>
> Regards,
> ~~helix84
>
>
>
> ------------------------------
>
> Message: 4
> Date: Tue, 12 Jul 2011 08:59:26 -0500
> From: ilango g <[email protected]>
> Subject: [Dspace-tech] AuthenticationFailedException
> To: [email protected]
> Message-ID:
>        <CAJkLfnLs4QQbr=gqyacekk9tcbn8cn5mv+j-r1l++yxulju...@mail.gmail.com
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi
> I am playing with DSpace 1.5.2. My objective right now is to learn how jsp,
> servlets and jstl were used in this  version of DSpace.
> I am experiencing a problem when I click on "*New user? Click here to
> register. <http://moecyd03ig911y.itservices.sbc.com:8080/jspui/register>"
> What happens is as follows. I enter an email address in the corresponding
> box, and I am taken to a page that says:" I tried looking at the Dspace
> forums for answers to my problem.*Internal System Error
>
> The system has experienced an internal error. "
>
> dspace.log gives me the following stacktrace:
>
> avax.mail.AuthenticationFailedException
>
> at javax.mail.Service.connect(Service.java:306)
>
> at javax.mail.Service.connect(Service.java:156)
>
> at javax.mail.Service.connect(Service.java:105)
>
> at javax.mail.Transport.send0(Transport.java:168)
>
> at javax.mail.Transport.send(Transport.java:98)
>
> at org.dspace.core.Email.send(Email.java:362)
>
> at org.dspace.eperson.AccountManager.sendEmail(AccountManager.java:296)
>
> at org.dspace.eperson.AccountManager.sendInfo(AccountManager.java:256)
>
> at
>
> org.dspace.eperson.AccountManager.sendRegistrationInfo(AccountManager.java:101)
>
> at
>
> org.dspace.app.webui.servlet.RegisterServlet.processEnterEmail(RegisterServlet.java:287)
>
> at
>
> org.dspace.app.webui.servlet.RegisterServlet.doDSPost(RegisterServlet.java:202)
>
> at
>
> org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:147)
>
> at
> org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:105)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>
> at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>
> at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
> at
>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>
> at
>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>
> at
>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>
> at
>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>
> at
>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
>
> at
>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
>
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
>
> at java.lang.Thread.run(Thread.java:722)
>
>
> ---------------------
>
> Any clues on what I am doing wrong. I do apologize if I have not been able
> to come up with a solution on my own yet.
>
> Thanks in advance for any help.
>
>
> -ilango
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
>
> ------------------------------
>
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
> End of DSpace-tech Digest, Vol 63, Issue 21
> *******************************************
>
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to