did you add the JPAEncryptedMessage to persistence.xml ? bye norman
Am Samstag, 6. August 2011 schrieb Saibabu Vallurupalli < saibabu.vallurupa...@gmail.com>: > Hi Eric and Team, > > I am feeling bad to come back to you so many times on this issue. I tried > the options below and I still get the same error: > > Step 1 - Modified POM.xml in container-spring [1] project by adding the > dependency as shown below: > <dependency> > <groupId>org.apache.james</groupId> > <artifactId>apache-james-mailbox-jcr</artifactId> > </dependency> > > Step 2 - Did a maven build mvn package. > Step 3 - Unzipped the distribution and copied all the libraries from > apache-james-3.0-beta2/lib to my Original installation path. > Step 4 - Also visually compared if I missed any other libraires (JAR files) > from the latest distribution and my Original 3.0-Beta2 version. Everything > looks same. > Step 5 - Ran the application jConsole -> copy operation using > jpa-mailboxmanager and jcr-mailboxmanager > Step6 - I still get the same error as shown below: > ********* > Problem invoking copy : java.rmi.UnmarshalException: Error unmarshaling > return; nested exception is: > java.lang.ClassNotFoundException: > org.apache.openjpa.persistence.InvalidStateException (no security manager: > RMI class loader disabled) > ********* > > I am not seeing any errors in james-server.log file below is the content: > ********** > INFO 15:50:36,179 | org.apache.james.mailbox.copier.MailboxCopierImpl | > Found 12 mailboxes in source mailbox manager. > INFO 15:50:36,179 | org.apache.james.mailbox.copier.MailboxCopierImpl | > Mailbox#0 path=#private:ad...@florida-hie.net:INBOX > INFO 15:50:36,180 | org.apache.james.mailbox.copier.MailboxCopierImpl | > Mailbox#1 path=#private:ad...@florida-hie.net:INBOX.Sent > INFO 15:50:36,180 | org.apache.james.mailbox.copier.MailboxCopierImpl | > Mailbox#2 path=#private:ad...@florida-hie.net:INBOX.Trash > INFO 15:50:36,180 | org.apache.james.mailbox.copier.MailboxCopierImpl | > Mailbox#3 path=#private:ad...@florida-hie.net:INBOX.Drafts > INFO 15:50:36,180 | org.apache.james.mailbox.copier.MailboxCopierImpl | > Mailbox#4 path=#private:sbrew...@florida-hie.net:INBOX > INFO 15:50:36,180 | org.apache.james.mailbox.copier.MailboxCopierImpl | > Mailbox#5 path=#private:sbrew...@florida-hie.net:INBOX.Sent > INFO 15:50:36,180 | org.apache.james.mailbox.copier.MailboxCopierImpl | > Mailbox#6 path=#private:sbrew...@florida-hie.net:INBOX.Trash > INFO 15:50:36,180 | org.apache.james.mailbox.copier.MailboxCopierImpl | > Mailbox#7 path=#private:sbrew...@florida-hie.net:INBOX.Drafts > INFO 15:50:36,180 | org.apache.james.mailbox.copier.MailboxCopierImpl | > Mailbox#8 path=#private:pvall...@florida-hie.net:INBOX > INFO 15:50:36,180 | org.apache.james.mailbox.copier.MailboxCopierImpl | > Mailbox#9 path=#private:pvall...@florida-hie.net:INBOX.Sent > INFO 15:50:36,180 | org.apache.james.mailbox.copier.MailboxCopierImpl | > Mailbox#10 path=#private:pvall...@florida-hie.net:INBOX.Trash > INFO 15:50:36,181 | org.apache.james.mailbox.copier.MailboxCopierImpl | > Mailbox#11 path=#private:pvall...@florida-hie.net:INBOX.Drafts > INFO 15:50:36,181 | org.apache.james.mailbox.copier.MailboxCopierImpl | > Ready to copy source mailbox path=#private:ad...@florida-hie.net:INBOX > INFO 15:50:36,964 | org.apache.james.mailbox.copier.MailboxCopierImpl | > Destination mailbox 0/12 created with path=#private:ad...@florida-hie.net :INBOX > after 1059 ms. > *********** > > Any help on this will be greatly appreciated. I can't consider the manual > schema export and import approach because of Encryption. Our production > system already has got some data and this upgrade has got a fix to encrypt > email message and header. If I manually export data from MySQL and during > restore these emails are NOT encrypted and we might run into issues. So, I > have to use one of the techniques recommended by you either using > jcr-mailboxmanager or modify jpa-mailboxmanager for backup. We can't move to > Linux environment because we already have our production box running on > Windows. > > Thank you, > Sai > > [1] > https://svn.apache.org/repos/asf/james/server/tags/james-server-3.0-beta2/container-spring/pom.xml >