That's right, I see the mailboxcopier but it has no parameter.
In fact it is version 3.0-M3. The 3.0-M2 does not have the
mailboxcopier.

When I launch it, it just returns false without doing anything it seems.
The log shows :
jvm 1    | ERROR 15:00:41,033 | org.apache.james.mailbox.copier | null


One solution might be to update the schema by hand.
The table & column names changes are quite obvious to do, but it seems
other change are a bite more tricky.
For example I see :

      * The james_mailbox now has a mailbox_highest_modseq column that
        was not there in the previous version.
      * The table header has been renamed to james_mail_property and has
        a mailbox_id column that was not there before
      * There are new james_mail_userflag tables
      * ...

Would it be safe to only rename the tables & columns, and add the
missing columns, living them null values ?

Another solution might be to launch a new server with the beta4 version
and have a script to move the emails via imap from the old server to the
new server.
Is there an easy way to do this ?

Any other solution ?

Thank you for your help.

On Fri, 2012-09-14 at 11:22 +0100, Eric Charles wrote:

> On 13/09/2012 06:24, Sylvain Vieujot wrote:
> > Hello,
> >
> > I am trying to upgrade a james 3.0-M2 using a JPA store.
> > I try to run the mailbox.copier via jconsole, however in this version
> > (3.0-M2), the mailbox.copier does not take any parameter in jconsole.
> >
> 
> So you see the MBean mailboxcopier but it has no param?
> I am not sure 3.0-M2 had already that feature.
> 
> > Is there a way to pass the ("jpa-mailboxmanager",
> > "maildir-mailboxmanager") parameters to the mailbox.copier in this
> > version ?
> >
> 
> Not that I know, if you are ready to look at the src code, I can give a 
> hint to know what it really does.
> 
> > Is there an alternative to JMX to launch the the mailbox.copier that
> > would allow me to pass the parameters ?
> >
> 
> Not atm. We should add this functionality to the command line, but this 
> would only applicable to the next release.
> 
> > Thank you,
> >
> > Sylvain.
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

Reply via email to