You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Dongsheng Song <eg...@sohu.com> on 2001/07/26 11:37:37 UTC
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-agr
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: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org
Re: james mail error
Posted by Serge Knystautas <se...@lokitech.com>.
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" <eg...@sohu.com>
To: <ja...@jakarta.apache.org>
Cc: <ja...@jakarta.apache.org>
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: james-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: james-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org