conf/context/james-server-context.xml Bye, Norman
2011/7/13 Saibabu Vallurupalli <[email protected]>: > Hi Eric, where is the main Spring file located? Sorry to ask too many > questions. > > Thanks, Sai > > On Wed, Jul 13, 2011 at 2:55 PM, Eric Charles > <[email protected]>wrote: > >> 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 <[email protected]>>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/**<https://repository.apache.org/**content/groups/snapshots/org/**> >>>>> apache/james/<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-**[email protected]<[email protected]> >>>> > >>>> For additional commands, e-mail: [email protected].****org< >>>> server-dev-help@james.**apache.org <[email protected]>> >>>> >>>> >>>> >>> >> >> -- >> Eric Charles >> http://about.echarles.net >> >> ------------------------------**------------------------------**--------- >> To unsubscribe, e-mail: >> server-dev-unsubscribe@james.**apache.org<[email protected]> >> For additional commands, e-mail: >> [email protected].**org<[email protected]> >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
