Before getting your response, I went a head and deployed Mailbox-Store
library as well 0.4-SNAPSHOT and see the error below:
**********
DEBUG 10:43:21,414 |
org.springframework.beans.factory.support.DefaultListableBeanFactory |
Ignoring bean class loading failure for bean 'authenticator'
org.springframework.beans.factory.CannotLoadBeanClassException: Error
loading class 
[org.apache.james.adapter.mailbox.store.UserRepositoryAuthenticator]
for bean with name 'authenticator' defined in class path resource
[context/james-server-context.xml]: problem with class file or
dependent class; nested exception is java.lang.NoClassDefFoundError:
org/apache/james/mailbox/store/Authenticator
**********

Look forward for your response.

Thank you,
Sai


On 7/13/11, Saibabu Vallurupalli <saibabu.vallurupa...@gmail.com> wrote:
> 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 <e...@apache.org> 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: server-dev-unsubscr...@james.apache.org
>> For additional commands, e-mail: server-dev-h...@james.apache.org
>>
>>
>
>
> --
> Thank you,
> Sai
>


-- 
Thank you,
Sai

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to