You are welcome :)

Bye,
Norman


2010/5/3 Max Levinson <max.levin...@gmail.com>:
> Hi Norman,
>
> Thanks for your help, I was able to build a revision 939854
>
> I used -U  key as well.
>
> Thanks.
>
> 2010/4/30 Norman Maurer <norman.mau...@googlemail.com>
>
>> Hi Max,
>>
>> I just tied a fresh checkout and used mvn -U clean package to build
>> it. Starting this version works like a charm..
>>
>> Could you try again ?
>>
>> Bye,
>> Norman
>>
>>
>> 2010/4/30 Max Levinson <max.levin...@gmail.com>:
>> > it's weird,because I just checked out revision 939728 built it,and it
>> still
>> > showing me the same error, I know I am a pain :-)
>> >
>> > 2010/4/30 Norman Maurer <nor...@apache.org>
>> >
>> >> This was fixed yesterday evening.
>> >>
>> >> Please svn update and Build again. Or just replace the
>> >> spring-beans.xml file in your conf Folder.
>> >>
>> >>
>> >> Bye
>> >> Norman
>> >>
>> >> 2010/4/30, Max Levinson <max.levin...@gmail.com>:
>> >> > Hi,
>> >> >
>> >> > Norman recommended me to update my James 3 build from most recent
>> trunk,
>> >> I
>> >> > did that, and it gives me error, I haven't seen them before, looks
>> like a
>> >> > problem with ActiveMQ to me.
>> >> >
>> >> > Here is an error log:
>> >> >
>> >> > INFO  14:42:52,211 |
>> >> > org.apache.xbean.spring.context.ResourceXmlApplicationContext |
>> >> Refreshing
>> >> > org.apache.xbean.spring.context.resourcexmlapplicationcont...@f2da21:
>> >> > startup date [Sun Apr 18 14:42:52 MSD 2010]; parent:
>> >> >
>> org.apache.james.container.spring.jamesserverapplicationcont...@1a125f0
>> >> > INFO  14:42:52,225 |
>> >> > org.apache.xbean.spring.context.v2.XBeanXmlBeanDefinitionReader |
>> Loading
>> >> > XML bean definitions from file
>> >> >
>> >>
>> [/root/trunk/spring-deployment/target/james-server-spring-deployment-3.0-SNAPSHOT/bin/../conf/activemq.xml]
>> >> > INFO  14:42:54,017 | org.apache.activemq.broker.BrokerService | Using
>> >> > Persistence Adapter:
>> >> > org.apache.activemq.store.kahadb.kahadbpersistenceadap...@11650d6
>> >> > log4j:WARN No appenders could be found for logger
>> >> > (org.apache.kahadb.index.BTreeIndex).
>> >> > log4j:WARN Please initialize the log4j system properly.
>> >> > INFO  14:42:56,875 | org.apache.activemq.store.kahadb.MessageDatabase
>> |
>> >> > Replayed 1 operations from the journal in 0.031 seconds.
>> >> > INFO  14:42:56,911 | org.apache.activemq.broker.BrokerService |
>> ActiveMQ
>> >> > 5.3.1 JMS Message Broker (localhost) is starting
>> >> > INFO  14:42:56,914 | org.apache.activemq.broker.BrokerService | For
>> help
>> >> or
>> >> > more information please see: http://activemq.apache.org/
>> >> > INFO  14:42:57,691 |
>> >> > org.apache.activemq.transport.TransportServerThreadSupport | Listening
>> >> for
>> >> > connections at: tcp://alex.com:61616
>> >> > INFO  14:42:57,695 | org.apache.activemq.broker.TransportConnector |
>> >> > Connector openwire Started
>> >> > INFO  14:42:57,706 | org.apache.activemq.broker.BrokerService |
>> ActiveMQ
>> >> JMS
>> >> > Message Broker (localhost, ID:alex.com-55087-1271587376992-0:0)
>> started
>> >> > INFO  14:43:00,140 | org.apache.activemq.broker.TransportConnector |
>> >> > Connector vm://localhost Started
>> >> > INFO  14:43:01,614 | org.apache.activemq.broker.BrokerService |
>> ActiveMQ
>> >> > Message Broker (localhost, ID:alex.com-55087-1271587376992-0:0) is
>> >> shutting
>> >> > down
>> >> > INFO  14:43:01,814 | org.apache.activemq.broker.TransportConnector |
>> >> > Connector openwire Stopped
>> >> > INFO  14:43:01,905 | org.apache.activemq.broker.TransportConnector |
>> >> > Connector vm://localhost Stopped
>> >> > INFO  14:43:02,054 | org.apache.activemq.broker.BrokerService |
>> ActiveMQ
>> >> JMS
>> >> > Message Broker (localhost, ID:alex.com-55087-1271587376992-0:0)
>> stopped
>> >> > WARN  14:43:02,122 |
>> >> > org.springframework.jms.listener.DefaultMessageListenerContainer |
>> Setup
>> >> of
>> >> > JMS message listener invoker failed for destination
>> 'processor.bounces' -
>> >> > trying to recover. Cause: The Consumer is closed
>> >> > WARN  14:43:02,125 |
>> >> > org.springframework.jms.listener.DefaultMessageListenerContainer |
>> Could
>> >> not
>> >> > refresh JMS Connection for destination 'processor.bounces' - retrying
>> in
>> >> > 5000 ms. Cause: null
>> >> > WARN  14:43:02,128 |
>> >> > org.springframework.jms.listener.DefaultMessageListenerContainer |
>> Setup
>> >> of
>> >> > JMS message listener invoker failed for destination 'processor.spam' -
>> >> > trying to recover. Cause: The Consumer is closed
>> >> > WARN  14:43:02,129 |
>> >> > org.springframework.jms.listener.DefaultMessageListenerContainer |
>> Could
>> >> not
>> >> > refresh JMS Connection for destination 'processor.spam' - retrying in
>> >> 5000
>> >> > ms. Cause: null
>> >> > WARN  14:43:02,123 |
>> >> > org.springframework.jms.listener.DefaultMessageListenerContainer |
>> Setup
>> >> of
>> >> > JMS message listener invoker failed for destination
>> >> > 'processor.local-address-error' - trying to recover. Cause: The
>> Consumer
>> >> is
>> >> > closed
>> >> > WARN  14:43:02,133 |
>> >> > org.springframework.jms.listener.DefaultMessageListenerContainer |
>> Could
>> >> not
>> >> > refresh JMS Connection for destination 'processor.local-address-error'
>> -
>> >> > retrying in 5000 ms. Cause: null
>> >> > WARN  14:43:02,124 |
>> >> > org.springframework.jms.listener.DefaultMessageListenerContainer |
>> Setup
>> >> of
>> >> > JMS message listener invoker failed for destination 'processor.virus'
>> -
>> >> > trying to recover. Cause: The Consumer is closed
>> >> > WARN  14:43:02,138 |
>> >> > org.springframework.jms.listener.DefaultMessageListenerContainer |
>> Could
>> >> not
>> >> > refresh JMS Connection for destination 'processor.virus' - retrying in
>> >> 5000
>> >> > ms. Cause: null
>> >> > WARN  14:43:02,140 |
>> >> > org.springframework.jms.listener.DefaultMessageListenerContainer |
>> Setup
>> >> of
>> >> > JMS message listener invoker failed for destination
>> 'processor.transport'
>> >> -
>> >> > trying to recover. Cause: The Consumer is closed
>> >> > WARN  14:43:02,140 |
>> >> > org.springframework.jms.listener.DefaultMessageListenerContainer |
>> Could
>> >> not
>> >> > refresh JMS Connection for destination 'processor.transport' -
>> retrying
>> >> in
>> >> > 5000 ms. Cause: null
>> >> > WARN  14:43:02,142 |
>> >> > org.springframework.jms.listener.DefaultMessageListenerContainer |
>> Setup
>> >> of
>> >> > JMS message listener invoker failed for destination 'processor.error'
>> -
>> >> > trying to recover. Cause: The Consumer is closed
>> >> > WARN  14:43:02,144 |
>> >> > org.springframework.jms.listener.DefaultMessageListenerContainer |
>> Could
>> >> not
>> >> > refresh JMS Connection for destination 'processor.error' - retrying in
>> >> 5000
>> >> > ms. Cause: null
>> >> > WARN  14:43:02,145 |
>> >> > org.springframework.jms.listener.DefaultMessageListenerContainer |
>> Setup
>> >> of
>> >> > JMS message listener invoker failed for destination 'relay' - trying
>> to
>> >> > recover. Cause: The Consumer is closed
>> >> > WARN  14:43:02,147 |
>> >> > org.springframework.jms.listener.DefaultMessageListenerContainer |
>> Could
>> >> not
>> >> > refresh JMS Connection for destination 'relay' - retrying in 5000 ms.
>> >> Cause:
>> >> > null
>> >> > WARN  14:43:02,148 |
>> >> > org.springframework.jms.listener.DefaultMessageListenerContainer |
>> Setup
>> >> of
>> >> > JMS message listener invoker failed for destination 'processor.root' -
>> >> > trying to recover. Cause: The Consumer is closed
>> >> > WARN  14:43:02,150 |
>> >> > org.springframework.jms.listener.DefaultMessageListenerContainer |
>> Could
>> >> not
>> >> > refresh JMS Connection for destination 'processor.root' - retrying in
>> >> 5000
>> >> > ms. Cause: null
>> >> > WARN  14:43:02,152 |
>> >> > org.springframework.jms.listener.DefaultMessageListenerContainer |
>> Setup
>> >> of
>> >> > JMS message listener invoker failed for destination
>> >> 'processor.relay-denied'
>> >> > - trying to recover. Cause: The Consumer is closed
>> >> > WARN  14:43:02,153 |
>> >> > org.springframework.jms.listener.DefaultMessageListenerContainer |
>> Could
>> >> not
>> >> > refresh JMS Connection for destination 'processor.relay-denied' -
>> >> retrying
>> >> > in 5000 ms. Cause: null
>> >> > WARN  14:43:02,155 |
>> >> > org.springframework.jms.listener.DefaultMessageListenerContainer |
>> Setup
>> >> of
>> >> > JMS message listener invoker failed for destination 'outgoing' -
>> trying
>> >> to
>> >> > recover. Cause: The Consumer is closed
>> >> > WARN  14:43:02,157 |
>> >> > org.springframework.jms.listener.DefaultMessageListenerContainer |
>> Could
>> >> not
>> >> > refresh JMS Connection for destination 'outgoing' - retrying in 5000
>> ms.
>> >> > Cause: null
>> >> > Exception in thread "main"
>> >> > org.springframework.beans.factory.BeanCreationException: Error
>> creating
>> >> bean
>> >> > with name 'broker' defined in class path resource [spring-beans.xml]:
>> >> > Invocation of init method failed; nested exception is
>> >> > org.springframework.beans.factory.BeanCreationException: Error
>> creating
>> >> bean
>> >> > with name 'org.apache.james.pop3server.core.PassCmdHandler': Injection
>> of
>> >> > resource dependencies failed; nested exception is
>> >> > org.springframework.beans.factory.BeanCreationException: Error
>> creating
>> >> bean
>> >> > with name 'mailboxmanager' defined in class path resource
>> >> > [spring-beans.xml]: Cannot resolve reference to bean 'subscriper'
>> while
>> >> > setting constructor argument; nested exception is
>> >> > org.springframework.beans.factory.UnsatisfiedDependencyException:
>> Error
>> >> > creating bean with name 'subscriper' defined in class path resource
>> >> > [spring-beans.xml]: Unsatisfied dependency expressed through
>> constructor
>> >> > argument with index 0 of type
>> >> > [org.apache.james.imap.jpa.MailboxSessionEntityManagerFactory]: Could
>> not
>> >> > convert constructor argument value of type [$Proxy27] to required type
>> >> > [org.apache.james.imap.jpa.MailboxSessionEntityManagerFactory]: Failed
>> to
>> >> > convert value of type '$Proxy27 implementing
>> >> >
>> >>
>> org.apache.openjpa.persistence.OpenJPAEntityManagerFactorySPI,org.springframework.orm.jpa.EntityManagerFactoryInfo'
>> >> > to required type
>> >> > 'org.apache.james.imap.jpa.MailboxSessionEntityManagerFactory'; nested
>> >> > exception is java.lang.IllegalStateException: Cannot convert value of
>> >> type
>> >> > [$Proxy27 implementing
>> >> >
>> >>
>> org.apache.openjpa.persistence.OpenJPAEntityManagerFactorySPI,org.springframework.orm.jpa.EntityManagerFactoryInfo]
>> >> > to required type
>> >> > [org.apache.james.imap.jpa.MailboxSessionEntityManagerFactory]: no
>> >> matching
>> >> > editors or conversion strategy found
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1401)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:512)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:280)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:557)
>> >> >         at
>> >> >
>> >>
>> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:842)
>> >> >         at
>> >> >
>> >>
>> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:416)
>> >> >         at
>> >> >
>> >>
>> org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
>> >> >         at
>> >> >
>> >>
>> org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
>> >> >         at
>> >> >
>> >>
>> org.apache.james.container.spring.JamesServerApplicationContext.<init>(JamesServerApplicationContext.java:72)
>> >> >         at org.apache.james.container.spring.Main.main(Main.java:27)
>> >> > Caused by: org.springframework.beans.factory.BeanCreationException:
>> Error
>> >> > creating bean with name
>> >> 'org.apache.james.pop3server.core.PassCmdHandler':
>> >> > Injection of resource dependencies failed; nested exception is
>> >> > org.springframework.beans.factory.BeanCreationException: Error
>> creating
>> >> bean
>> >> > with name 'mailboxmanager' defined in class path resource
>> >> > [spring-beans.xml]: Cannot resolve reference to bean 'subscriper'
>> while
>> >> > setting constructor argument; nested exception is
>> >> > org.springframework.beans.factory.UnsatisfiedDependencyException:
>> Error
>> >> > creating bean with name 'subscriper' defined in class path resource
>> >> > [spring-beans.xml]: Unsatisfied dependency expressed through
>> constructor
>> >> > argument with index 0 of type
>> >> > [org.apache.james.imap.jpa.MailboxSessionEntityManagerFactory]: Could
>> not
>> >> > convert constructor argument value of type [$Proxy27] to required type
>> >> > [org.apache.james.imap.jpa.MailboxSessionEntityManagerFactory]: Failed
>> to
>> >> > convert value of type '$Proxy27 implementing
>> >> >
>> >>
>> org.apache.openjpa.persistence.OpenJPAEntityManagerFactorySPI,org.springframework.orm.jpa.EntityManagerFactoryInfo'
>> >> > to required type
>> >> > 'org.apache.james.imap.jpa.MailboxSessionEntityManagerFactory'; nested
>> >> > exception is java.lang.IllegalStateException: Cannot convert value of
>> >> type
>> >> > [$Proxy27 implementing
>> >> >
>> >>
>> org.apache.openjpa.persistence.OpenJPAEntityManagerFactorySPI,org.springframework.orm.jpa.EntityManagerFactoryInfo]
>> >> > to required type
>> >> > [org.apache.james.imap.jpa.MailboxSessionEntityManagerFactory]: no
>> >> matching
>> >> > editors or conversion strategy found
>> >> >         at
>> >> >
>> >>
>> org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:297)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1055)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:385)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:375)
>> >> >         at
>> >> >
>> >>
>> org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1069)
>> >> >         at
>> >> >
>> >>
>> org.apache.james.container.spring.SpringProtocolHandlerChain.getHandlers(SpringProtocolHandlerChain.java:188)
>> >> >         at
>> >> >
>> >>
>> org.apache.james.container.spring.SpringProtocolHandlerChain.wireExtensibleHandlers(SpringProtocolHandlerChain.java:116)
>> >> >         at
>> >> >
>> >>
>> org.apache.james.container.spring.SpringProtocolHandlerChain.onApplicationEvent(SpringProtocolHandlerChain.java:265)
>> >> >         at
>> >> >
>> >>
>> org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)
>> >> >         at
>> >> >
>> >>
>> org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:294)
>> >> >         at
>> >> >
>> >>
>> org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:296)
>> >> >         at
>> >> >
>> >>
>> org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:858)
>> >> >         at
>> >> >
>> >>
>> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:419)
>> >> >         at
>> >> >
>> >>
>> org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:88)
>> >> >         at
>> >> >
>> >>
>> org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:76)
>> >> >         at
>> >> >
>> >>
>> org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:72)
>> >> >         at
>> >> >
>> >>
>> org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:68)
>> >> >         at
>> >> >
>> >>
>> org.apache.activemq.xbean.BrokerFactoryBean.afterPropertiesSet(BrokerFactoryBean.java:85)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1460)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1398)
>> >> >         ... 15 more
>> >> > Caused by: org.springframework.beans.factory.BeanCreationException:
>> Error
>> >> > creating bean with name 'mailboxmanager' defined in class path
>> resource
>> >> > [spring-beans.xml]: Cannot resolve reference to bean 'subscriper'
>> while
>> >> > setting constructor argument; nested exception is
>> >> > org.springframework.beans.factory.UnsatisfiedDependencyException:
>> Error
>> >> > creating bean with name 'subscriper' defined in class path resource
>> >> > [spring-beans.xml]: Unsatisfied dependency expressed through
>> constructor
>> >> > argument with index 0 of type
>> >> > [org.apache.james.imap.jpa.MailboxSessionEntityManagerFactory]: Could
>> not
>> >> > convert constructor argument value of type [$Proxy27] to required type
>> >> > [org.apache.james.imap.jpa.MailboxSessionEntityManagerFactory]: Failed
>> to
>> >> > convert value of type '$Proxy27 implementing
>> >> >
>> >>
>> org.apache.openjpa.persistence.OpenJPAEntityManagerFactorySPI,org.springframework.orm.jpa.EntityManagerFactoryInfo'
>> >> > to required type
>> >> > 'org.apache.james.imap.jpa.MailboxSessionEntityManagerFactory'; nested
>> >> > exception is java.lang.IllegalStateException: Cannot convert value of
>> >> type
>> >> > [$Proxy27 implementing
>> >> >
>> >>
>> org.apache.openjpa.persistence.OpenJPAEntityManagerFactorySPI,org.springframework.orm.jpa.EntityManagerFactoryInfo]
>> >> > to required type
>> >> > [org.apache.james.imap.jpa.MailboxSessionEntityManagerFactory]: no
>> >> matching
>> >> > editors or conversion strategy found
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:586)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:140)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:984)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:886)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:479)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
>> >> >         at
>> >> >
>> >>
>> org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:432)
>> >> >         at
>> >> >
>> >>
>> org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:406)
>> >> >         at
>> >> >
>> >>
>> org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:538)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:159)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:84)
>> >> >         at
>> >> >
>> >>
>> org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:294)
>> >> >         ... 40 more
>> >> > Caused by:
>> >> org.springframework.beans.factory.UnsatisfiedDependencyException:
>> >> > Error creating bean with name 'subscriper' defined in class path
>> resource
>> >> > [spring-beans.xml]: Unsatisfied dependency expressed through
>> constructor
>> >> > argument with index 0 of type
>> >> > [org.apache.james.imap.jpa.MailboxSessionEntityManagerFactory]: Could
>> not
>> >> > convert constructor argument value of type [$Proxy27] to required type
>> >> > [org.apache.james.imap.jpa.MailboxSessionEntityManagerFactory]: Failed
>> to
>> >> > convert value of type '$Proxy27 implementing
>> >> >
>> >>
>> org.apache.openjpa.persistence.OpenJPAEntityManagerFactorySPI,org.springframework.orm.jpa.EntityManagerFactoryInfo'
>> >> > to required type
>> >> > 'org.apache.james.imap.jpa.MailboxSessionEntityManagerFactory'; nested
>> >> > exception is java.lang.IllegalStateException: Cannot convert value of
>> >> type
>> >> > [$Proxy27 implementing
>> >> >
>> >>
>> org.apache.openjpa.persistence.OpenJPAEntityManagerFactorySPI,org.springframework.orm.jpa.EntityManagerFactoryInfo]
>> >> > to required type
>> >> > [org.apache.james.imap.jpa.MailboxSessionEntityManagerFactory]: no
>> >> matching
>> >> > editors or conversion strategy found
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:670)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:192)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:984)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:886)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:479)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)
>> >> >         at
>> >> >
>> >>
>> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
>> >> >         ... 57 more
>> >> >
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
>> >> For additional commands, e-mail: server-user-h...@james.apache.org
>> >>
>> >>
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
>> For additional commands, e-mail: server-user-h...@james.apache.org
>>
>>
>

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

Reply via email to