Hi Eric and Team, I tried this options and got hit again with the same error. After adding the below dependency to POM.XML of container-spring project, I compiled entire 3.0Beta2 source and took the latest server files jame-server-*.jar files and deployed in my James/lib folder. After restarting the server I tried copying from jpa-mailboxmanager to jcr-mailboxmanager and got the below error in my jConsole.
********* 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) ********* Please advise. Thanks, Sai. On Thu, Aug 4, 2011 at 12:46 PM, Eric Charles <eric.char...@u-mangate.com>wrote: > Hi, > > Sorry, you need to change pom.xml in container-spring [1] and add there in > the <dependencies> tag > > <dependency> > <groupId>org.apache.james</**groupId> > <artifactId>apache-james-**mailbox-jcr</artifactId> > </dependency> > > The mailbox-lucene is not yet incorporated (I was wrong), so you don't have > to remove anything. > > I hope you will find your way to build, and also the jcr is still > operational (we didn't look too much on this the last time, although the > build tests are fine). > > Thx. > > [1] https://svn.apache.org/repos/**asf/james/server/tags/james-** > server-3.0-beta2/container-**spring/pom.xml<https://svn.apache.org/repos/asf/james/server/tags/james-server-3.0-beta2/container-spring/pom.xml> > > > On 04/08/11 17:56, Eric Charles wrote: > >> Quick answer: >> - Remove from root pom.xml mailbox-lucene and uncomment/add mailbox-jcr. >> - Invoke mvn package. >> >> You should get in target folder the tar.gz. >> thx. >> >> On 04/08/11 17:27, Saibabu Vallurupalli wrote: >> >>> Hi Eric, >>> >>> We have discussed on the 3 approaches you have recommended and found >>> the 2nd >>> option JCR looks simple and fast approach for us. I have 3.0Beta2 source >>> code. >>> >>> Can you suggest me where I need to modify (The source file name) and >>> which >>> JAR file gets impacted? >>> >>> We appreciate your help on this. >>> >>> Thank you, Sai. >>> >>> >>> On Thu, Aug 4, 2011 at 9:37 AM, Eric Charles<e...@apache.org> wrote: >>> >>> Hi, >>>> >>>> For MailDir, you can read >>>> http://en.wikipedia.org/wiki/****<http://en.wikipedia.org/wiki/**> >>>> Maildir#Windows_compatibility<**http://en.wikipedia.org/wiki/** >>>> Maildir#Windows_compatibility<http://en.wikipedia.org/wiki/Maildir#Windows_compatibility> >>>> >**, >>>> >>>> James can not do much on that... >>>> >>>> For JCR, it's possible to remove mailbox-lucene and readd >>>> mailbox-jcr, but >>>> this need a recompilation. Can you do this? >>>> >>>> Otherwise, there is also the option to make a SQL diff between the 2 >>>> database schemas, and see this delta can be implemented with SQL >>>> scripts. >>>> >>>> Thx. >>>> >>>> >>>> On 04/08/11 15:26, Saibabu Vallurupalli wrote: >>>> >>>> Hi Eric, >>>>> >>>>> I have initiated a new thread because the other thread is too much >>>>> crowded. >>>>> Is there a possibility to have a fix for MailDir to work on Windows >>>>> machine? >>>>> I can contribute the fix if there is a possibility even for JCR >>>>> Mailbox or >>>>> any advise is greatly appreciated. >>>>> >>>>> Thanks, >>>>> Sai >>>>> >>>>> >>>>> >>>> -- >>>> Eric Charles >>>> http://about.echarles.net >>>> >>>> ------------------------------****----------------------------** >>>> --**--------- >>>> >>>> To unsubscribe, e-mail: >>>> server-dev-unsubscribe@james.****apache.org<server-dev-** >>>> unsubscr...@james.apache.org <server-dev-unsubscr...@james.apache.org>> >>>> >>>> For additional commands, e-mail: >>>> server-dev-help@james.apache.****org<server-dev-help@james.**apache.org<server-dev-h...@james.apache.org> >>>> > >>>> >>>> >>>> >>> >> >> > > -- > Eric Charles > http://about.echarles.net > > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: > server-dev-unsubscribe@james.**apache.org<server-dev-unsubscr...@james.apache.org> > For additional commands, e-mail: > server-dev-help@james.apache.**org<server-dev-h...@james.apache.org> > >