[EMAIL PROTECTED] ha scritto:
Stefano,
I removed both jars and restarted. Once I sent a message to the
system the problem surfaced again:
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)
99% the problem is in the jars in your classpath.
Stop james, remove the work folder (it contains the wrong jars too),
make sure your james-2.3.0/apps/james/SAR-INF/lib/ and
james-2.3.0/apps/james/SAR-INF/classes are empty (unless you added some
custom mailet/resource).
what is james-2.3.0/bin/SAR-INF/ ? in bin you should not have a SAR-INF
folder at all.
We've currently identified two patches that we will be applying:
http://sunsolve.sun.com/search/document.do?assetkey=1-21-118668-15-1
http://sunsolve.sun.com/search/document.do?assetkey=1-21-118669-15-1
I doubt the patches will fix this issue. But everything is possible.
I've included a list of all of the jars located in our james
installation and their locations here: http://pastie.caboo.se/148028
I noticed that there are the following jars in
james-2.3.0/bin/SAR-INF/lib/, mailet-2.3.jar, and mailet-api-2.3.jar.
I removed both 3.0 and 2.3 version of the jars, restarted and
attempted to send a message with the same outcome.
there should not be a james-2.3.0/bin/SAR-INF folder at all. There is
no such folder in our distribution.
you should have a james-2.3.0/apps/james.sar file, look inside this file
(this is a ZIP), it should contains the mailet-2.3.jar and
mailet-api-2.3.jar. James will uncompress them in the work folder at
startup and will include them in the classpath. They should be the only
mailet jars in your classpath.
Stefano
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]