JDBCMailStore failes on check for message_attributes column
-----------------------------------------------------------

         Key: JAMES-331
         URL: http://nagoya.apache.org/jira/browse/JAMES-331
     Project: James
        Type: Bug
  Components: UsersStore & UsersRepository, SpoolManager & Processors  
    Versions: 2.2.0    
 Environment: FreeBSD, Sun JDK 1.4.2-p6, MySQL via. C-JDBC.
    Reporter: Brill Pappin
    Priority: Blocker


No matter what I do in the configuration I get the following trace for both the mail 
repository and the spool repository (note: I've changed the name of the table to 
"mail_spool").

I have confirmed that the table and the column are created properly however the method 
JDBCUtil.columnExists(DatabaseMetaData, String, String) always returns false for the 
column "message_attributes".

java.sql.SQLException: JdbcMailRepository 'spool, table 'mail_spool': JDBC Mail 
Attributes support was activated but column '
message_attributes' is missing in table 'mail_spool'.
        at 
org.apache.james.mailrepository.JDBCMailRepository.checkJdbcAttributesSupport(JDBCMailRepository.java:456)
        at 
org.apache.james.mailrepository.JDBCMailRepository.initialize(JDBCMailRepository.java:383)
        at org.apache.james.core.AvalonMailStore.select(AvalonMailStore.java:300)
        at org.apache.james.core.AvalonMailStore.initialize(AvalonMailStore.java:129)
        at 
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:235)
        at 
org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.startup(LifecycleHelper.java:144)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.startup(DefaultApplication.java:480)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to