Hello James Users / Developers

Does anyone know what the following error is about?:


 James.Mailet: Error while storing mail.
javax.mail.MessagingException: Exception caught while storing mail
Container: ;
  nested exception is:
        java.sql.SQLDataException: [SQL0311] Length in a varying-length or
LOB host variable not valid. Cause . . . . . :   Host variable  was
specified.  The value in the length portion of the variable length or LOB
host variable is either negative or greater than the declared length.  If
the host variable is graphic the length should be the number of DBCS
characters. The host variable number is .  The specified length is .  The
variable is declared to have length . Recovery  . . . :   Change the length
portion of the varying-length or LOB host variable to a valid positive
number or zero. Try the request again.

I know we store mails into DB2 which runs on an AS400:

  <dburl>jdbc:as400://192.168.0.2:446/JAMESDB;block size=128;extended
dynamic=true;package=JBOSS;package cache=true;package
library=QGPL;errors=full</dburl>

Thanks in advance.

Regards
Jason

Reply via email to