james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Charles <eric.char...@u-mangate.com>
Subject Re: Unable to start James after Mailbox upgrade
Date Wed, 13 Jul 2011 18:55:40 GMT
Hi,

I have to leave and can not give you a valid answer to solve this (time 
is too short).

As temp workaround, you could comment all references in the main spring 
file to the mailbox-jrc-context.xml (spring will not load that part).

Thx.

On 13/07/11 20:47, Saibabu Vallurupalli wrote:
> Hi Eric,
>
> This error is coming from Jackrabbit on two argument constructor using
> "public static RepositoryConfig create(String file, String home)"
> I am not familiar with the relation between the configuration inside the
> file James/conf/context/james-mailbox-jcr-context.xml and Jackrabbit. But
> same configuration works great with 0.2-M2 files this error occurs only when
> I replace the these files with 0.4-SNAPSHOT.
>
> Is there anything I am missing?
>
> Please advise.
>
> Thanks,
> Sai
>
>
>
> On Wed, Jul 13, 2011 at 2:16 PM, Eric Charles<eric.charles@u-mangate.com>wrote:
>
>> Hi,
>> Do you use the spring files from app or fro mailbox/spring ?
>> You should normally rely on app ones, the mailbox/spring ones are not
>> up-to-date.
>>
>> Thx.
>>
>>
>> On 13/07/11 18:33, Saibabu Vallurupalli wrote:
>>
>>> Hi Eric,
>>>
>>> I just did the upgrade part for Mailbox got the files from:
>>> https://repository.apache.org/**content/groups/snapshots/org/**
>>> apache/james/<https://repository.apache.org/content/groups/snapshots/org/apache/james/>
>>> apache-james-mailbox-api-0.4-**20110713.042145-27.jar
>>> apache-james-mailbox-jcr-0.4-**20110713.042325-27.jar
>>> apache-james-mailbox-jpa-0.4-**20110713.042245-27.jar
>>> apache-james-mailbox-maildir-**0.4-20110713.042343-27.jar
>>> apache-james-mailbox-memory-0.**4-20110713.042223-27.jar
>>> apache-james-mailbox-store-0.**4-20110713.042202-27.jar
>>> apache-james-mailbox-tool-0.4-**20110713.042357-27.jar
>>>
>>> Also, updated Spring config file except for "james-server-context.xml"
>>> rest
>>> all I update from the site you have just sent to me.
>>>
>>> After modification I am trying to start Apache James server and it
>>> crashes.
>>> The exception in the  log file shows like below:
>>> ****************
>>> Error creating bean with name 'imapCndLoader' defined in class path
>>> resource
>>> [context/james-mailbox-jcr-**context.xml]: Cannot resolve reference to
>>> bean
>>> 'jcrRepository' while setting bean property 'arguments' with key [0];
>>> nested
>>> exception is org.springframework.beans.**factory.BeanCreationException:
>>> Error
>>> creating bean with name 'jcrRepository' defined in class path resource
>>> [context/james-mailbox-jcr-**context.xml]: Cannot resolve reference to
>>> bean
>>> 'config' while setting constructor argument; nested exception is
>>> org.springframework.beans.**factory.BeanCreationException: Error creating
>>> bean
>>> with name 'config' defined in class path resource
>>> [context/james-mailbox-jcr-**context.xml]: No matching factory method
>>> found:
>>> factory method 'create(InputStream,String)'. Check that a method with the
>>> specified name and arguments exists and that it is static.
>>> ****************
>>>
>>> Please advise.
>>>
>>> Thanks,
>>> Sai
>>>
>>>
>>
>> --
>> Eric Charles
>> http://about.echarles.net
>>
>> ------------------------------**------------------------------**---------
>> To unsubscribe, e-mail: server-dev-unsubscribe@james.**apache.org<server-dev-unsubscribe@james.apache.org>
>> For additional commands, e-mail: server-dev-help@james.apache.**org<server-dev-help@james.apache.org>
>>
>>
>


-- 
Eric Charles
http://about.echarles.net

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


Mime
View raw message