I'd guess it's because you don't have agriec.com defined as a local
domainname that James should handle (as defined in JAMES.conf.xml). Just
looking at your message key in the message, it seems like James keeps
sending this message to itself. After 30 hops, it will delete the message,
but it seems that MySQL is trimming the message_name value so it's getting a
collision. Can't be sure though. Seems like you're close.
Serge Knystautas
Loki Technologies
http://www.lokitech.com/
----- Original Message -----
From: "Dongsheng Song" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, July 26, 2001 5:37 AM
Subject: james mail error
> Hi,
>
> I encounter james error:
>
> java.sql.SQLException: Invalid argument value: Duplicate entry
'Mail99614000
> -0-!437972544-to-agriec.com-to-agriec.com-to-agriec.com-to-agriec.com-to-a
gr
> com-to-agriec.com-to-agriec.com-to-agriec.com-to-agriec.com-to-ag...' for
ke
> at org.gjt.mm.mysql.MysqlIO.sendCommand(MysqlIO.java:497)
> at org.gjt.mm.mysql.MysqlIO.sqlQueryDirect(MysqlIO.java:550)
> at org.gjt.mm.mysql.Connection.execSQL(Connection.java:885)
> at
org.gjt.mm.mysql.PreparedStatement.executeUpdate(PreparedStatemen
> va:389)
> at com.workingdogs.town.Record.saveWithInsert(Record.java:1727)
> at com.workingdogs.town.Record.save(Record.java:1612)
> at com.workingdogs.town.Record.save(Record.java:1456)
> at com.workingdogs.town.Record.save(Record.java:1419)
> at
org.apache.james.mailrepository.TownSpoolRepository.store(TownSpo
> pository.java:188)
> at
org.apache.james.transport.mailets.RemoteDelivery.service(RemoteD
> ery.java:246)
> at
org.apache.james.transport.LinearProcessor.service(LinearProcesso
> va:152)
> at
org.apache.james.transport.JamesSpoolManager.process(JamesSpoolMa
> r.java:166)
> at
org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManage
> va:142)
> at
org.apache.avalon.utils.recycle.pool.Worker.run(Worker.java:113)
>
> Thanks for some help,
>
> Dongsheng Song
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]