Sure, here's the PR: https://github.com/apache/james-project/pull/1668

PS. your e-mail client breaks threading, looks like missing `References` header?

Wojtek

On 04/08/2023 22:34, Benoit TELLIER wrote:
That's not seen yet, at least to me.

Likely related to the recent dependencies update.

+1 for the exclusion.

Can you open a PR for this?

--


Best regards,



Benoit TELLIER



General manager of Linagora VIETNAM.

Product owner for Team-Mail product.

Chairman of the Apache James project.



Mail: btell...@linagora.com

Tel: (0033) 6 77 26 04 58 (WhatsApp, Signal)


On Aug 4, 2023 11:02 PM, from Wojtek Hi,
While running some tests I ran into following error when trying to send SMTP 
message:

```
[2023-08-04 15:31:25.054] [ERROR] [smtpserver-global-io-3]
o.a.j.p.n.BasicChannelInboundHandler.exceptionCaught(): Unable to process 
request
java.lang.NoSuchMethodError: 'void javax.jms.Message.setJMSDeliveryTime(long)'
        at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1993)
        at 
org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:329)
        at 
org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:289)
        at 
org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:224)
        at 
org.apache.activemq.ActiveMQMessageProducerSupport.send(ActiveMQMessageProducerSupport.java:298)
        at
org.apache.james.queue.activemq.ActiveMQCacheableMailQueue.produceMail(ActiveMQCacheableMailQueue.java:207)
        at 
org.apache.james.queue.jms.JMSCacheableMailQueue.enQueue(JMSCacheableMailQueue.java:278)
        at org.apache.james.queue.api.MailQueue.enQueue(MailQueue.java:102)
        at 
org.apache.james.queue.jms.JMSCacheableMailQueue.enQueue(JMSCacheableMailQueue.java:307)
```

Searching pointed me to <a href="https://issues.apache.org/jira/browse/AMQ-9252"; 
target="_blank">https://issues.apache.org/jira/browse/AMQ-9252</a> which suggests, it would 
be
caused if there is JMS 1.1 spec jar on the classpath.

Quick check using manve dependency showed only
`org.apache.geronimo.specs:geronimo-jms_1.1_spec:jar:1.1.1:compile` from
`org.apache.openjpa:openjpa:jar:3.2.0` (JPA module).

Anyone else ran into same issue?

Excluding `org.apache.geronimo.specs:geronimo-jms_1.1_spec` from the deployment 
_seems_ to fix the
issue, but I'm not sure if there won't be other problems.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to