[ 
https://issues.apache.org/jira/browse/JAMES-1317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119986#comment-13119986
 ] 

Michael Herrmann commented on JAMES-1317:
-----------------------------------------

Hi, 

in James 3.0-beta3, replacing james-server-mailetcontainer-camel-3.0-beta3.jar 
by james-server-mailetcontainer-camel-3.0-beta4-SNAPSHOT.jar yields

c:\Users\michael.herrmann\Temp\apache-james-3.0-beta3_for_integration_test\bin>run
INFO  12:05:16,440 | 
org.apache.james.container.spring.context.JamesServerApplicationContext | 
Refreshing 
org.apache.james.container.spring.context.JamesServerApplicationContext@d2906a: 
startup date [Tue Oct 04 12:05:16 CEST 2011]; root of
context hierarchy
INFO  12:05:38,856 | 
org.apache.james.container.spring.context.JamesServerApplicationContext | Bean 
'logprovider' of type [class 
org.apache.james.container.spring.lifecycle.LogProviderImpl] is not eligible 
for getting processed by all BeanP
ostProcessors (for example: not eligible for auto-proxying)
INFO  12:05:38,903 | 
org.apache.james.container.spring.context.JamesServerApplicationContext | Bean 
'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0'
 of type [class org.springframework.transaction.annotatio
n.AnnotationTransactionAttributeSource] is not eligible for getting processed 
by all BeanPostProcessors (for example: not eligible for auto-proxying)
INFO  12:05:38,903 | 
org.apache.james.container.spring.context.JamesServerApplicationContext | Bean 
'org.springframework.transaction.config.internalTransactionAdvisor' of type 
[class org.springframework.transaction.interceptor.BeanFactoryTr
ansactionAttributeSourceAdvisor] is not eligible for getting processed by all 
BeanPostProcessors (for example: not eligible for auto-proxying)
INFO  12:05:39,699 | james.mailrepositorystore | JamesMailStore init...
INFO  12:05:39,714 | james.mailrepositorystore | Registering Repository 
instance of class org.apache.james.mailrepository.file.FileMailRepository to 
handle file protocol requests for repositories with key file
INFO  12:05:39,714 | james.mailrepositorystore | Registering Repository 
instance of class org.apache.james.mailrepository.jdbc.JDBCMailRepository to 
handle db protocol requests for repositories with key db
INFO  12:05:39,714 | james.mailrepositorystore | Registering Repository 
instance of class org.apache.james.mailrepository.jdbc.JDBCMailRepository to 
handle dbfile protocol requests for repositories with key dbfile
INFO  12:05:39,714 | james.mailrepositorystore | Registering Repository 
instance of class org.apache.james.mailrepository.file.MBoxMailRepository to 
handle mbox protocol requests for repositories with key mbox
Exception in thread "main" 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'mailprocessor': Injection of resource dependencies failed; nested 
exception is org.springframework.beans.factory.BeanCreation
Exception: Error creating bean with name 'mailetcontext': Injection of resource 
dependencies failed; nested exception is 
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 
'mailQueueFactory' is defined
        at 
org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:300)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1074)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
        at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
        at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
        at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
        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.context.JamesServerApplicationContext.<init>(JamesServerApplicationContext.java:39)
        at org.apache.james.container.spring.Main.init(Main.java:66)
        at org.apache.james.container.spring.Main.main(Main.java:42)
Caused by: org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'mailetcontext': Injection of resource dependencies 
failed; nested exception is 
org.springframework.beans.factory.NoSuchBeanDefinitionExceptio
n: No bean named 'mailQueueFactory' is defined
        at 
org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:300)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1074)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
        at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
        at 
org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:435)
        at 
org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:409)
        at 
org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:541)
        at 
org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:156)
        at 
org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:84)
        at 
org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:297)
        ... 15 more
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No 
bean named 'mailQueueFactory' is defined
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:527)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1083)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:274)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
        at 
org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:435)
        at 
org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:409)
        at 
org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:541)
        at 
org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:156)
        at 
org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:84)
        at 
org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:297)
        ... 28 more

on startup. I'll try in James 3.0-beta4 and will post my results here. 
                
> Mail spooled but not processed
> ------------------------------
>
>                 Key: JAMES-1317
>                 URL: https://issues.apache.org/jira/browse/JAMES-1317
>             Project: JAMES Server
>          Issue Type: Bug
>          Components: SpoolManager & Processors
>    Affects Versions: 3.0-M1, 3.0-M2, 3.0-beta3
>            Reporter: Raju Buchi
>            Priority: Critical
>             Fix For: 3.0-beta4
>
>         Attachments: Dump.txt, 
> james-server-mailetcontainer-camel-3.0-beta4-SNAPSHOT.jar, jstack.zip, 
> logs.zip
>
>
> Mails sent to James server are spooled but they are not processed and sent 
> out.
> The issue is similar to the one faced by Zach.
> The server seems to be working fine for a few hours or few days, but some 
> time all the mails are spooled but they will not be processed and sent out. 
> Restarted the server several times and some time a few of the mails will be 
> processed and all the others are lost.
> As Norman suggested I have took a jstack trace. 
> Please let me how we can resolve this issue
> Thanks
> - Raju

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
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