[ 
http://issues.apache.org/jira/browse/JAMES-331?page=comments#action_12317873 ] 

Stefano Bagnara commented on JAMES-331:
---------------------------------------

Isn't this a bug in C-JDBC?
Why don't you use Mysql connector JDBC  driver?


> JDBCMailStore failes on check for message_attributes column
> -----------------------------------------------------------
>
>          Key: JAMES-331
>          URL: http://issues.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://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to