It looks like Paul has the same problem as I.
Paul, I get a Could not connect to SMTP host: smtp.gmail.com, port: 465;
Any ideas?
thanks everyone.
On Tue, Jul 12, 2011 at 11:13 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. Re: AuthenticationFailedException (helix84)
> 2. Re: changing http://localhost/xmlui or jspui to
> http://mydomain (Tim Donohue)
> 3. Re: adding cosing to manakin (Robin Taylor)
> 4. AuthenticationFailedException - followup -
> javax.mail.MessagingException: (ilango g)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 12 Jul 2011 16:13:22 +0200
> From: helix84 <[email protected]>
> Subject: Re: [Dspace-tech] AuthenticationFailedException
> To: ilango g <[email protected]>
> Cc: [email protected]
> Message-ID:
> <CAGdvKqjp+zDgGbdCO_=70jw3RRiyMO=miiwlx6bjl-krysr...@mail.gmail.com
> >
> Content-Type: text/plain; charset=UTF-8
>
> Could this be your problem?
>
> http://www.mail-archive.com/[email protected]/msg12573.html
>
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 12 Jul 2011 10:04:02 -0500
> From: Tim Donohue <[email protected]>
> Subject: Re: [Dspace-tech] changing http://localhost/xmlui or jspui to
> http://mydomain
> To: Paul Mulinge <[email protected]>
> Cc: dspace-tech <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi Paul,
>
> In the future, please send these emails to dspace-tech mailing list
> (copied back in), so that others can also help out and learn from your
> questions.
>
> I'm not familiar with NGINX, so you'd want to search their website on
> how you would change your URL strings using NGINX. Someone else on this
> list may be more familiar with NGINX.
>
> However, you can find some general hints/tips on the Installation hints
> page:
> https://wiki.duraspace.org/display/DSPACE/Installation
>
> Look at the lowest section on "General Tips/Hints", which includes hints
> on Running DSpace on Standard ports (port 80/443), and also how to use
> ModJK to allow Apache Web Server to forward requests to Tomcat. Many
> sites use Apache to serve up a site like 'http://mydomain/' and forward
> those requests to Tomcat behind the scenes.
>
> Others may have other suggestions, if you have more specific questions
> or issues you are running into.
>
> Good luck,
>
> - Tim
>
> On 7/12/2011 8:29 AM, Paul Mulinge wrote:
> > How does one change http://localhost/xmlui or jspui to http://mydomain
> > <http://mydomain/> using NGINX ? or in Tomcat Virtual Server/ Aliases
> > setting or any other proxying? in Dspace
>
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 12 Jul 2011 16:22:00 +0100
> From: Robin Taylor <[email protected]>
> Subject: Re: [Dspace-tech] adding cosing to manakin
> To: "Blanco, Jose" <[email protected]>
> Cc: "[email protected]"
> <[email protected]>
> Message-ID: <1310484120.27939.153.camel@DLIB-ROBIN>
> Content-Type: text/plain; charset="UTF-8"
>
> Hi Jose,
>
> Not sure if I am understanding the problem correctly but I have had
> Cosign working with the XMLUI before so here is what we did...
>
> 1. Add the Cosign Filter to the web.xml. That should cause you to get
> redirected to your 'cosign' login page'.
>
> 2. Add a new Cocoon Action to the main Cocoon sitemap.xmap. to invoke a
> new class. Cosign will have added the 'principal' to the incoming
> request, this new class should extract that info and do whatever you
> want with it eg find a matching eperson.
>
> <map:pipeline>
> <map:match pattern="no-account">
> <!-- We have already checked the login and failed -->
> <map:mount check-reload="no" src="themes/themes.xmap"
> uri-prefix=""/>
> </map:match>
>
> <map:match pattern="**">
> <map:act type="CheckLogin"/>
> <map:mount check-reload="no"
> src="themes/themes.xmap"
> uri-prefix=""/>
> </map:match>
> </map:pipeline>
>
> (Apologies for the line wrapping)
>
>
> Its worth pointing out that we were protecting the whole repo, hence the
> check on pattern="**". If this sounds like what you need then reply and
> I'll send you more details.
>
> Cheers, Robin.
>
>
>
>
>
> On Mon, 2011-07-11 at 14:36 +0100, Blanco, Jose wrote:
> > Any suggestions? Really stuck here.
> >
> >
> >
> > From: Blanco, Jose [mailto:[email protected]]
> > Sent: Wednesday, July 06, 2011 3:09 PM
> > To: Mark Diggory
> > Cc: [email protected]
> > Subject: Re: [Dspace-tech] adding cosing to manakin
> >
> >
> >
> >
> > Mark, I?m getting closer, now I can get the cosign page and login
> > successfully, but what I did is map the /webiso-login to the servlet
> > Cocoon.
> >
> >
> >
> > <servlet-mapping>
> >
> > <servlet-name>Cocoon</servlet-name>
> >
> > <url-pattern>/webiso-login</url-pattern>
> >
> > </servlet-mapping>
> >
> >
> >
> > In the jsp environment I had it mapped to a specifc servlet that did
> > some special things, but I?m not sure how to do this in the xmlui
> > environment. In the xmlui area there is only one servlet ? Cocoon.
> > Where do I put my jspui servlet code to handle auth? As you can tell
> > I?m new to Cocoon.
> >
> >
> >
> > Thank you!
> >
> > Jose
> >
> >
> >
> > From: [email protected] [mailto:[email protected]] On Behalf Of Mark
> > Diggory
> > Sent: Monday, June 27, 2011 8:26 PM
> > To: Blanco, Jose
> > Cc: [email protected]
> > Subject: Re: [Dspace-tech] adding cosing to manakin
> >
> >
> >
> >
> > No, each webapp needs to list its needed dependencies separately.
> > Listing cosign as a dependency in dspace/pom.xml will only place it
> > into the commandline application lib directory.
> >
> > On Fri, Jun 24, 2011 at 8:33 AM, Blanco, Jose <[email protected]>
> > wrote:
> >
> > Mark, the dspace/pom.xml is the only place that the jscosign is
> > listed, and it seems like it would hold for all the apps.
> >
> >
> >
> > Take a look.
> >
> >
> >
> > From: Mark Diggory [mailto:[email protected]]
> > Sent: Friday, June 24, 2011 1:48 AM
> > To: Blanco, Jose
> > Cc: [email protected]
> > Subject: Re: [Dspace-tech] adding cosing to manakin
> >
> >
> >
> >
> > Yes, you need to look for the dependency for cosign in your jspui
> > pom.xml and add it to your xmlui pom.xml
> >
> >
> >
> >
> > Best,
> >
> >
> > Mark
> >
> > On Thu, Jun 23, 2011 at 12:00 PM, Blanco, Jose <[email protected]>
> > wrote:
> >
> > I have cosign running in my jspui, and I'm trying to run it now in
> > xmlui, so I added the following to the xmui web.xml file:
> >
> > <filter>
> > <filter-name>Cosign Authentication Filter</filter-name>
> >
> >
>
> <filter-class>edu.umich.auth.cosign.CosignAuthenticationFilterIII</filter-class>
> > <init-param>
> > <param-name>Cosign.ConfigurationFile</param-name>
> >
> >
>
> <param-value>/l1/dspace/repository/dev/config/cosignConfigBlancoj.xml</param-value>
> > </init-param>
> >
> > <init-param>
> > <param-name>Auth.JAASConfigurationFile</param-name>
> > <param-value>/l/local/apache-tomcat/conf/jaas.conf</param-value>
> > </init-param>
> >
> > </filter>
> >
> > <servlet-mapping>
> > <servlet-name>webiso-login</servlet-name>
> > <url-pattern>/webiso-login</url-pattern>
> > </servlet-mapping>
> >
> > <filter-mapping>
> > <filter-name>Cosign Authentication Filter</filter-name>
> > <url-pattern>/webiso-login</url-pattern>
> > </filter-mapping>
> >
> > And I'm getting this error:
> >
> > SEVERE: Parse error in application web.xml file at
> > jndi:/blancoj.dev.deepblue.lib.umich.edu/WEB-INF/web.xml
> > java.lang.IllegalArgumentException: Filter mapping specifies an
> > unknown filter name Cosign Authentication Filter
> > at
> >
> org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2726)
> > at
> >
> org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2752)
> > at
> > org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1061)
> > at
> >
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601)
> > at
> >
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1782)
> > at
> > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
> > $FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2938)
> > at
> >
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
> > at
> >
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
> >
> >
> > ===
> > I don't kwow why it can't find it. It finds it just fine in jspui.
> > Do I need to change something in one of the pom.xml files?
> >
> > -Jose
> >
> >
> ------------------------------------------------------------------------------
> > Simplify data backup and recovery for your virtual environment with
> > vRanger.
> > Installation's a snap, and flexible recovery options mean your data is
> > safe,
> > secure and there when you need it. Data protection magic?
> > Nope - It's vRanger. Get your free trial download today.
> > http://p.sf.net/sfu/quest-sfdev2dev
> > _______________________________________________
> > DSpace-tech mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >
> >
> >
> >
> >
> > --
> > Mark R. Diggory
> > @mire - www.atmire.com
> > 2888 Loker Avenue East - Suite 305 - Carlsbad - CA - 92010
> > Esperantolaan 4 - Heverlee 3001 - Belgium
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > All the data continuously generated in your IT infrastructure contains
> > a
> > definitive record of customers, application performance, security
> > threats, fraudulent activity and more. Splunk takes this data and
> > makes
> > sense of it. Business sense. IT sense. Common sense..
> > http://p.sf.net/sfu/splunk-d2d-c1
> > _______________________________________________
> > DSpace-tech mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >
> >
> >
> >
> >
> > --
> > Mark R. Diggory
> > @mire - www.atmire.com
> > 2888 Loker Avenue East - Suite 305 - Carlsbad - CA - 92010
> > Esperantolaan 4 - Heverlee 3001 - Belgium
> >
> >
>
>
>
>
>
> ------------------------------
>
> Message: 4
> Date: Tue, 12 Jul 2011 11:13:13 -0500
> From: ilango g <[email protected]>
> Subject: [Dspace-tech] AuthenticationFailedException - followup -
> javax.mail.MessagingException:
> To: [email protected]
> Message-ID:
> <cajklfnlabvgegot2xa1k7dmtkbsjf+n+hvm+3mzcboyrra9...@mail.gmail.com
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> 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=
> [email protected]
> > >
> > 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
> > *******************************************
> >
> -------------- 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 22
> *******************************************
>
------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric
Ries, the creator of the Lean Startup Methodology on "Lean Startup
Secrets Revealed." This video shows you how to validate your ideas,
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech