Re: Question on upgrade process

2011-08-04 Thread Saibabu Vallurupalli
I will check with my management to have Apache James in Linux. But I wont think it is possible because we are already in production phase. Any other workaround will be great. Even hacking I can try working on your advises. Thanks, Sai. On Thu, Aug 4, 2011 at 9:10 AM, Eric Charles wrote: > Oops

Re: Question on upgrade process

2011-08-04 Thread Eric Charles
Oops, I forgot we desactivated jcr mailbox due to incompatibility on lucene versions... Any chance to run your migration on a Linux box? Otherwise, you will have to hack the spring files to define a second jpa connection, but it implies adding important and tricky configurations (I don't even

Re: Question on upgrade process

2011-08-04 Thread Saibabu Vallurupalli
Hi Eric, jcr-mailboxmanager throws error in jConsole complaining about InvalidStateException. java.lang.ClassNotFoundException: org.apache.openjpa.persistence.InvalidStateException (no security manager: RMI class loader disabled). Any suggestions? Thanks, Sai On Thu, Aug 4, 2011 at 2:30 AM, Er

Re: Question on upgrade process

2011-08-03 Thread Eric Charles
Hi Sai, By design, MailDir is not supported on Windows,so you must forget MailDir (or switch to Linux). There's nothing special to do before invoking the copy via JConsole, except having an empty toMailbox. You could try to copy from JPA to JCR (use jcr-mailboxmanager). It's slower, but sh

Re: Question on upgrade process

2011-08-03 Thread Saibabu Vallurupalli
Hi Eric, I am seeing a comment in james-mailbox-maildir-context.xml file "". We are using Windows machine for James. Also, Is there anything I need to modify before using jConsole to copy mails from my JPA (MySQL Database) to MailDir and ViceVersa? Please advise. Thanks, Sai. On Wed, Aug 3, 201

Re: Question on upgrade process

2011-08-03 Thread Saibabu Vallurupalli
We have this problem in both versions 3.0-M3-SNAPSHOT and 3.0-Beta2 release as well. This will be really great help Eric. Look forward to see what you get. Thanks, Sai On Wed, Aug 3, 2011 at 12:06 PM, Eric Charles wrote: > Hi, > > If I remember well, the mailbox already exists exception is ca

Re: Question on upgrade process

2011-08-03 Thread Eric Charles
Hi, If I remember well, the mailbox already exists exception is catched, logged, and the process continues. So we are now with an unlogged exception... I will try to copy a small mailbox here and see if it works. Which version are you using? Thx. On 03/08/11 17:26, Saibabu Vallurupalli wrote

Re: Question on upgrade process

2011-08-03 Thread Saibabu Vallurupalli
Hi Eric, You are correct. Even I wondered after seeing the error it is first time I saw that mailbox already exists. Now , I cleared the maildir folder under var/store path and ran the copy operation one more time. Now, jConsole error remains same but james-server-log doesn't show any errors. Below

Re: Question on upgrade process

2011-08-03 Thread Eric Charles
Hi Sai, The returned message via JConsole is not inline with the real exception 'INBOX already exists'. Can you 'rm -fr $JAMES_HOME/var/store/maildir' and retest? (the target maildir already contains some files, which confuses the processus). Thx. On 03/08/11 16:55, Saibabu Vallurupalli w

Re: Question on upgrade process

2011-08-03 Thread Saibabu Vallurupalli
Hi Eric, We were able to send and receive emails successfully. Below are the steps I followed: - Ensured SMTP/POP3/IMAP4 services are disabled. - Started James - Opened jConsole and invoked mailboxcopier.copy with jpa-mailboxmanager and maildir-mailboxmanager I get exception in jConsole saying "Pro

Re: Question on upgrade process

2011-08-03 Thread Eric Charles
Hi Sai, Before copy invocation, is your mailbox operational (receive/send mails ok...) ? Could you send us the stacktrace you will find in the log file (log/james-server.log) ? Thx. On 03/08/11 14:47, Saibabu Vallurupalli wrote: Hi Eric, Thank you for confirming on this. We just encounte

Re: Question on upgrade process

2011-08-03 Thread Saibabu Vallurupalli
Hi Eric, Thank you for confirming on this. We just encountered a strange issue with backup and restore. If we don't have any emails in the user Inbox, backup works perfectly. If there are any users then jConsole throws exception saying unable to parse the message. Is there any other setting we ar

Re: Question on upgrade process

2011-08-03 Thread Eric Charles
Hi, If you copy mails from e.g. MailDir to JPA with JPAEncryptedMessage in persistence.xml, mails body and headers will be encrypted. Thx. On 02/08/11 20:50, Saibabu Vallurupalli wrote: Hi Norman and Team, I have got a question on James upgrade - At present we are using James milestore 3 sna