IMHO a NoSuchMethodError on a james class is not related to OS or JVM,
but to is something related to the mailet versions.
The method getSMTPHostAddresses has been introduced to mailet in james
2.2.0. This means the mailet.jar included with previous versions (e.g:
james 2.1) did not include this method.
Please check your system and make sure you don't have any outdated
mailet*.jar in your classpath.
A first check:
find / -name mailet\*\.jar
Stefano
[EMAIL PROTECTED] ha scritto:
Hello,
I have a question regarding what could be causing the following
exception located in the mailet-*.log:
05/02/08 00:49:16 INFO James.Mailet: RemoteDelivery: Exception caught
in RemoteDelivery.run()
java.lang.NoSuchMethodError:
org.apache.mailet.MailetContext.getSMTPHostAddresses(Ljava/lang/String;)Ljava/util/Iterator;
at
org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.java:442)
at
org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:1111)
at java.lang.Thread.run(Thread.java:595)
We are only encountering this exception when running James 2.3.0 on
Solaris 10 using java 1.5.0_13. We are attempting to run it in a zone
if that makes any difference. We notice this message around 800 times
per second in the log files. We have run this same build successfully
on Mac OS X 10.4 and 10.5, as well as Ubuntu 7.10. I've confirmed
that the zone has full outbound DNS access, and external network
connectivity. Any thoughts, or additional information needed to help?
Thank you,
c0ns0ul
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]