Hi Norman,
This morning I started upgrade and just deployed Mailbox-JPA JAR file
did all the configuration changes and started James server. In the log
file I found an error as below:
****
org.springframework.beans.factory.CannotLoadBeanClassException: Error
loading class [org.apache.james.mailbox.jpa.mail.JPAUidProvider] for
bean with name 'jpa-uidProvider' defined in class path resource
[context/james-mailbox-jpa-context.xml]: problem with class file or
dependent class; nested exception is java.lang.NoClassDefFoundError:
org/apache/james/mailbox/store/mail/AbstractLockingUidProvider
****

This sounds like I have upgrade entire MailBox NOT just Mailbox-JPA
library. Please correct me if there is anything I am missing.

Thanks,
Sai


On 7/13/11, Eric Charles <[email protected]> wrote:
> On 13/07/11 07:28, Norman Maurer wrote:
>> Hi there,
>>
>> you need to use this two files content:
>>
> <snip>
>>
>> conf/james-mailbox-jpa-context.xml:
>> <beans xmlns="http://www.springframework.org/schema/beans";
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>> xsi:schemaLocation="
>> http://www.springframework.org/schema/beans
>> classpath:org/springframework/beans/factory/xml/spring-beans-3.0.xsd">
>> <!--
>> Mailbox JPA
>> -->
>>
>> <bean id="jpa-locker"
>> class="org.apache.james.mailbox.store.JVMMailboxPathLocker"/>
>>
>> <bean id="jpa-mailboxmanager"
>> class="org.apache.james.mailbox.jpa.openjpa.OpenJPAMailboxManager"
>> init-method="init">
>> <constructor-arg index="0" ref="jpa-sessionMapperFactory"/>
>> <constructor-arg index="1" ref="authenticator"/>
>> <constructor-arg index="2" ref="jpa-locker"/>
>> <constructor-arg index="3" value="YOURPASSWORD"/>
>> </bean>
>
> I like the AdvanceFeature enum in OpenJPAMessageManager.
>
> I didn't known how to pass null value to trigger "if (encryptPass !=
> null) ", but it seems to be:
> <constructor-arg index="3"><null/></constructor-arg>
>
>
> --
> Eric
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Thank you,
Sai

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to