commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luke DeWitt" <luke.dew...@penguinfire.com>
Subject Commons Email Problem Rides Again...
Date Thu, 16 Nov 2006 14:25:10 GMT
Hi, a while back I asked about this error:

org.apache.commons.mail.EmailException: Sending the email to the following server failed :
mail.ourmailserver.com:25
 at org.apache.commons.mail.Email.sendMimeMessage(Email.java:873)
 at org.apache.commons.mail.Email.send(Email.java:898)
 at com.adsmack.privacybroker.PrivacyBroker.sendEmail(PrivacyBroker.java:132)
 at com.adsmack.privacybroker.PrivacyBroker.sendCommunicationToPUID(PrivacyBroker.java:94)
 at com.adsmack.privacybroker.PrivacyBroker.sendCommunicationToUser(PrivacyBroker.java:241)
 at com.adsmack.smacklet.GenericSmacklet.sendCommunicationToUser(GenericSmacklet.java:256)
 at com.adsmack.smacklet.registration.presentation.RegistrationSmacklet.sendConfirmationEmail(RegistrationSmacklet.java:549)
 at com.adsmack.smacklet.registration.presentation.RegistrationSmacklet.doView(RegistrationSmacklet.java:99)
 at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:247)
 at javax.portlet.GenericPortlet.render(GenericPortlet.java:175)
 at org.apache.jetspeed.factory.JetspeedPortletInstance.render(JetspeedPortletInstance.java:102)
 at org.apache.jetspeed.container.JetspeedContainerServlet.doGet(JetspeedContainerServlet.java:230)
 at org.apache.jetspeed.container.JetspeedContainerServlet.doPost(JetspeedContainerServlet.java:344)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
 at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
 at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
 at org.apache.jetspeed.container.invoker.ServletPortletInvoker.invoke(ServletPortletInvoker.java:215)
 at org.apache.jetspeed.container.invoker.ServletPortletInvoker.render(ServletPortletInvoker.java:126)
 at org.apache.pluto.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:119)
 at org.apache.jetspeed.container.JetspeedPortletContainerWrapper.renderPortlet(JetspeedPortletContainerWrapper.java:120)
 at org.apache.jetspeed.aggregator.impl.RenderingJobImpl.execute(RenderingJobImpl.java:121)
 at org.apache.jetspeed.aggregator.impl.PortletRendererImpl.renderNow(PortletRendererImpl.java:120)
 at org.apache.jetspeed.aggregator.impl.PageAggregatorImpl.aggregateAndRender(PageAggregatorImpl.java:199)
 at org.apache.jetspeed.aggregator.impl.PageAggregatorImpl.aggregateAndRender(PageAggregatorImpl.java:182)
 at org.apache.jetspeed.aggregator.impl.PageAggregatorImpl.build(PageAggregatorImpl.java:106)
 at org.apache.jetspeed.aggregator.AggregatorValve.invoke(AggregatorValve.java:48)
 at org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(JetspeedPipeline.java:166)
 at org.apache.jetspeed.decoration.DecorationValve.invoke(DecorationValve.java:110)
 at org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(JetspeedPipeline.java:166)
 at org.apache.jetspeed.pipeline.valve.impl.ActionValveImpl.invoke(ActionValveImpl.java:151)
 at org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(JetspeedPipeline.java:166)
 at org.apache.jetspeed.container.ContainerValve.invoke(ContainerValve.java:76)
 at org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(JetspeedPipeline.java:166)
 at org.apache.jetspeed.profiler.impl.ProfilerValveImpl.invoke(ProfilerValveImpl.java:255)
 at org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(JetspeedPipeline.java:166)
 at org.apache.jetspeed.security.impl.LoginValidationValveImpl.invoke(LoginValidationValveImpl.java:159)
 at org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(JetspeedPipeline.java:166)
 at org.apache.jetspeed.security.impl.PasswordCredentialValveImpl.invoke(PasswordCredentialValveImpl.java:149)
 at org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(JetspeedPipeline.java:166)
 at org.apache.jetspeed.localization.impl.LocalizationValveImpl.invoke(LocalizationValveImpl.java:169)
 at org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(JetspeedPipeline.java:166)
 at org.apache.jetspeed.security.impl.AbstractSecurityValve$1.run(AbstractSecurityValve.java:117)
 at java.security.AccessController.doPrivileged(Native Method)
 at javax.security.auth.Subject.doAsPrivileged(Subject.java:454)
 at org.apache.jetspeed.security.impl.AbstractSecurityValve.invoke(AbstractSecurityValve.java:111)
 at org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(JetspeedPipeline.java:166)
 at org.apache.jetspeed.container.url.impl.PortalURLValveImpl.invoke(PortalURLValveImpl.java:67)
 at org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(JetspeedPipeline.java:166)
 at org.apache.jetspeed.capabilities.impl.CapabilityValveImpl.invoke(CapabilityValveImpl.java:128)
 at org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(JetspeedPipeline.java:166)
 at org.apache.jetspeed.pipeline.JetspeedPipeline.invoke(JetspeedPipeline.java:145)
 at org.apache.jetspeed.engine.JetspeedEngine.service(JetspeedEngine.java:214)
 at org.apache.jetspeed.engine.JetspeedServlet.doGet(JetspeedServlet.java:238)
 at org.apache.jetspeed.engine.JetspeedServlet.doPost(JetspeedServlet.java:265)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 at com.adsmack.framework.business.filters.HibernateFilter.doFilter(HibernateFilter.java:28)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
 at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
 at org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:495)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
 at java.lang.Thread.run(Thread.java:595)
Caused by: javax.mail.MessagingException: [EOF]
 at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:1363)
 at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1085)
 at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584)
 at javax.mail.Transport.send0(Transport.java:169)
 at javax.mail.Transport.send(Transport.java:98)
 at org.apache.commons.mail.Email.sendMimeMessage(Email.java:863)
 ... 78 moreSo I was directed to check my email server logs. I got into contact with our email
hosting server and they told me that there were no errors with our outgoing emails. This kind
of rubbed me the wrong way because it basicallly puts me back at square one and I have no
idea what the problem was. Luckily for me, something happened that caused the emails to once
again send out! Problem solved, right?Wrong.Yesterday I was monitoring how many emails were
being sent out (as I normally do) and I realized that no one was getting emails. Actually,
I am lying, one, of approximately 50 emailsdid send out. checking the logs it always came
back to the MessagingException.We were deploying some new things on the server last night
and therefore had to restart Tomcat. This morning the emails appear to be sending out properly,
but we can't simply re-startTomcat everytime we notice emails aren't sending.The truly screwey
thing here is that myself, and another guy I work with are able to send emails the exact same
fashion that the production server sends them from our development machinesas well as from
the test server. This is leading me to believe one of three things is happening; number 1,
our commons-email.jar on production file is corrupt, but that doesn't make a whole lot of
sense becauseone email yesterday, in the midst of this whole mess did actually send off. Secondly,
I am wondering if there's some sort of cleanup that should be happening that is not actually
going on andpossibly it is bogging down our prod server and it won't let any more emails send.
The third reason I would love to blame on some incurable voodoo curse, but I am being informed
by the bossthat this is not an option...If anyone has any info they can share with me, it
would be a great help!Thank you,--LD
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message