5 Replies Latest reply on Oct 4, 2005 12:16 PM by Andrew Oliver

    SMTPSender hosed?

    Andrew Oliver Master

      I can't get SMTPSender to send mail (HEAD)....

      2005-10-03 16:14:19,557 INFO [STDOUT] C:
      16:14:19,609 INFO [STDOUT] S:
      250 Recipient <acoliver@superlinksoftware.com> OK
      16:14:19,610 ERROR [SMTPSender] Unble to send email.
      org.columba.ristretto.smtp.SMTPException: Recipient <acoliver@superlinksoftware.com> OK
      at org.columba.ristretto.smtp.SMTPProtocol.data(SMTPProtocol.java:520)
      at org.jboss.mail.smtp.sender.SMTPSender.sendForDomain(SMTPSender.java:350)
      at org.jboss.mail.smtp.sender.SMTPSender.send(SMTPSender.java:252)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:62005-10-03 16:14:19,609 INFO [STDOUT] S:
      44)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy164.send(Unknown Source)
      at org.jboss.mail.mailhandler.remote.RemoteDelivery.deliver(RemoteDelivery.java:105)
      at org.jboss.mail.mailhandler.remote.RemoteDelivery.send(RemoteDelivery.java:52)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:201)
      at $Proxy159.send(Unknown Source)
      at org.jboss.mail.MailListenerChainService.processMail(MailListenerChainService.java:166)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:201)
      at $Proxy182.processMail(Unknown Source)
      at org.jboss.mail.delivery.DeliveryMDB.onMessage(DeliveryMDB.java:72)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
      at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:475)
      at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:149)
      at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:101)
      at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
      at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
      at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:94)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
      at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
      at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:389)
      at org.jboss.ejb.Container.invoke(Container.java:873)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:1077)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1379)
      at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:256)
      at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:904)
      at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:160)
      at org.jboss.mq.SpySession.run(SpySession.java:333)
      at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:180)
      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
      at java.lang.Thread.run(Thread.java:613)
      2005-10-03 16:14:19,610 ERROR [org.jboss.mail.smtp.sender.SMTPSender] Unble to send email.
      org.columba.ristretto.smtp.SMTPException: Recipient <acoliver@superlinksoftware.com> OK
      at org.columba.ristretto.smtp.SMTPProtocol.data(SMTPProtocol.java:520)
      at org.jboss.mail.smtp.sender.SMTPSender.sendForDomain(SMTPSender.java:350)
      at org.jboss.mail.smtp.sender.SMTPSender.send(SMTPSender.java:252)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy164.send(Unknown Source)
      at org.jboss.mail.mailhandler.remote.RemoteDelivery.deliver(RemoteDelivery.java:105)
      at org.jboss.mail.mailhandler.remote.RemoteDelivery.send(RemoteDelivery.java:52)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:201)
      16:14:19,624 INFO [JMSMailListener] PUT MESSAGE ON QUEUE:org.jboss.mail.message.MailRetryWrapper@7f85e3
      at $Proxy159.send(Unknown Source)
      at org.jboss.mail.MailListenerChainService.processMail(MailListenerChainService.java:166)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:201)
      at $Proxy182.processMail(Unknown Source)
      at org.jboss.mail.delivery.DeliveryMDB.onMessage(DeliveryMDB.java:72)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
      at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:475)
      at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:149)
      at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:101)
      at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
      at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
      at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:94)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
      at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
      at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:389)
      at org.jboss.ejb.Container.invoke(Container.java:873)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:1077)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1379)
      at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:256)
      at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:904)
      at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:160)
      at org.jboss.mq.SpySession.run(SpySession.java:333)
      at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:180)
      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
      at java.lang.Thread.run(Thread.java:613)
      2005-10-03 16:14:19,622 DEBUG [org.jboss.mail.mailhandler.remote.RemoteDelivery] Delivery result - Status: Error, Address: <acoliver@superlinksoftware.com>
      2005-10-03 16:14:19,622 DEBUG [org.jboss.mail.mailhandler.remote.RemoteDelivery] Redelivering to 1 recipients
      2005-10-03 16:14:19,624 INFO [org.jboss.mail.maillistener.JMSMailListener] PUT MESSAGE ON QUEUE:org.jboss.mail.message.MailRetryWrapper@7f85e3
      2005-10-03 16:14:19,630 DEBUG [org.jboss.mail.mailhandler.remote.RemoteDelivery] Bouncing 0 recipients: []
      2005-10-03 16:14:19,630 DEBUG [org.hibernate.transaction.CacheSynchronization] transaction before completion callback
      2005-10-03 16:14:19,630 DEBUG [org.hibernate.transaction.CacheSynchronization] automatically flushing session
      2005-10-03 16:14:19,630 DEBUG [org.hibernate.impl.SessionImpl] automatically flushing session
      2005-10-03 16:14:19,631 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] flushing session
      2005-10-03 16:14:19,631 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] processing flush-time cascades
      2005-10-03 16:14:19,631 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] dirty checking collections
      2005-10-03 16:14:19,631 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] Flushing entities and processing referenced collections
      2005-10-03 16:14:19,631 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] Processing unreferenced collections
      2005-10-03 16:14:19,631 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] Scheduling collection removes/(re)creates/updates
      2005-10-03 16:14:19,631 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] Flushed: 0 insertions, 0 updates, 0 deletions to 1 objects
      2005-10-03 16:14:19,631 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] Flushed: 0 (re)creations, 0 updates, 0 removals to 0 collections
      2005-10-03 16:14:19,631 DEBUG [org.hibernate.pretty.Printer] listing entities:
      2005-10-03 16:14:19,631 DEBUG [org.hibernate.pretty.Printer] org.jboss.mail.store.StoreItemMetaData{hashed=false, pageSize=65536, size=11, compressed=true, hash=null, startIndex=0, id=10}
      2005-10-03 16:14:19,631 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] executing flush
      2005-10-03 16:14:19,631 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] post flush
      2005-10-03 16:14:19,631 DEBUG [org.hibernate.jdbc.JDBCContext] before transaction completion
      2005-10-03 16:14:19,631 DEBUG [org.hibernate.impl.SessionImpl] before transaction completion
      2005-10-03 16:14:19,655 DEBUG [org.hibernate.transaction.CacheSynchronization] transaction after completion callback, status: 3
      2005-10-03 16:14:19,655 DEBUG [org.hibernate.jdbc.JDBCContext] after transaction completion
      2005-10-03 16:14:19,656 DEBUG [org.hibernate.impl.SessionImpl] after transaction completion
      2005-10-03 16:14:19,656 DEBUG [org.hibernate.transaction.CacheSynchronization] automatically closing session
      2005-10-03 16:14:19,656 DEBUG [org.hibernate.impl.SessionImpl] automatically closing session
      2005-10-03 16:14:19,656 DEBUG [org.hibernate.impl.SessionImpl] closing session
      2005-10-03 16:15:14,910 DEBUG [org.hibernate.jdbc.ConnectionManager] running Session.finalize()


      is it busted? Mails to local users work fine but it won't send out... JBMSM3 says the other side drops the socket. Also tried against other hosts...

        • 1. Re: SMTPSender hosed?
          Michael Barker Apprentice

          I am going to upgrade to the 1.0 of the ristretto library and test this weekend. It worked with remote delivery for M3.

          Mike.

          • 2. Re: SMTPSender hosed?
            Andrew Oliver Master

            kay its broken in a clean checkout too so I'm going to try it with the new ristretto and see what happens.

            -Andy

            • 3. Re: SMTPSender hosed?
              Andrew Oliver Master

              upgrading didn't fix it either....continuing to debug the problem.

              • 4. Re: SMTPSender hosed?
                Andrew Oliver Master

                Weird...the sender is getting out of synch:
                11:14:12,798 INFO [JMSMailListener] PUT MESSAGE ON QUEUE:org.jboss.mail.message.MailRetryWrapper@791b28
                11:16:24,497 INFO [STDOUT] S:
                220 set.superlinksoftware.com SMTP Server (JBMAIL SMTP Server version 0.1) ready October 4, 2005 \
                11:16:24,501 INFO [STDOUT] S:
                10:22:58 AM EDT
                11:16:24,503 INFO [STDOUT] C:
                HELO [192.168.1.100]
                11:16:24,928 INFO [STDOUT] S:
                250-set.superlinksoftware.com Hello [192.168.1.100] (cpe-024-211-135-006.nc.res.rr.com (24.211.13\
                11:16:24,933 INFO [STDOUT] S:
                5.6))
                11:16:24,939 INFO [STDOUT] C:
                MAIL FROM:<andy@localdomain>
                11:16:24,941 INFO [STDOUT] S:
                250 AUTH LOGIN PLAIN
                11:16:24,945 INFO [SMTPSender] Sending mail from: <andy@localdomain>
                11:16:24,950 INFO [STDOUT] C:
                RCPT TO:<acoliver@superlinksoftware.com>
                11:16:25,035 INFO [STDOUT] S:
                250 Sender <andy@localdomain> OK
                11:16:25,037 INFO [SMTPSender] Delivering to: <acoliver@superlinksoftware.com>
                11:16:25,066 INFO [STDOUT] C:
                DATA
                11:16:25,115 INFO [STDOUT] S:
                250 Recipient <acoliver@superlinksoftware.com> OK
                11:16:25,122 INFO [STDOUT] error code = 250
                11:16:25,123 INFO [STDOUT] error desc = Recipient <acoliver@superlinksoftware.com> OK
                11:16:25,127 ERROR [SMTPSender] Unble to send email.
                org.columba.ristretto.smtp.SMTPException: Recipient <acoliver@superlinksoftware.com> OK
                at org.columba.ristretto.smtp.SMTPProtocol.data(SMTPProtocol.java:524)
                at org.jboss.mail.smtp.sender.SMTPSender.sendForDomain(SMTPSender.java:350)
                at org.jboss.mail.smtp.sender.SMTPSender.send(SMTPSender.java:252)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:585)
                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
                at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
                at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
                at $Proxy62.send(Unknown Source)
                at org.jboss.mail.mailhandler.remote.RemoteDelivery.deliver(RemoteDelivery.java:105)
                at org.jboss.mail.mailhandler.remote.RemoteDelivery.send(RemoteDelivery.java:52)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:585)
                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
                at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
                at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:201)
                at $Proxy57.send(Unknown Source)
                at org.jboss.mail.MailListenerChainService.processMail(MailListenerChainService.java:166)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:585)
                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
                at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
                at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
                at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
                at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
                at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:201)
                at $Proxy82.processMail(Unknown Source)
                at org.jboss.mail.delivery.DeliveryMDB.onMessage(DeliveryMDB.java:72)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:585)
                at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
                at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:475)
                at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:149)
                at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:101)
                at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
                at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106)
                at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)
                at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
                at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:94)
                at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
                at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
                at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:389)
                at org.jboss.ejb.Container.invoke(Container.java:873)
                at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:1077)
                at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1379)
                at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:256)
                at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:904)
                at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:160)
                at org.jboss.mq.SpySession.run(SpySession.java:333)
                at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:180)
                at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
                at java.lang.Thread.run(Thread.java:613)
                11:16:25,150 INFO [JMSMailListener] PUT MESSAGE ON QUEUE:org.jboss.mail

                It is expecting the code for DATA but hasn't processed the code for RCPT yet..

                • 5. Re: SMTPSender hosed?
                  Andrew Oliver Master

                  Okay so I think I fixed it. I upgraded (haven't committed yet but will in a moment) ristretto. As it turns out our CmdHELO is being a naughty boy and sending things it isn't allowed to send (part of the CmdEHLO) in response. While we obviously should fix this (I did), I have some concerns with the present ristretto codebase in the way it handles the protocol. It is reaaaally picky and I know for a fact we aren't the only server that does this! Not only is it picky, it gets easily derailed. Meaning if I stick more stuff on the stream after the response, it will pick that up with the NEXT command it processes rather than error out.

                  Ristretto should instead be checking for any bytes left on the stream after each command is issued. If there are, it should decide if it can live with it (and it should for our little minor spec divergence), otherwise it should go ahead and error out THERE rather than run off the rails... (Okay now it has me quoting Ozzy Osborne)

                  Anyhow eeez fixed and I'll commit directly after this message...