james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shahar Davidson (JIRA)" <server-...@james.apache.org>
Subject [jira] [Updated] (JAMES-1541) James won't start when Tarpit is active - TarpitHandler not found
Date Sat, 15 Feb 2014 17:44:19 GMT

     [ https://issues.apache.org/jira/browse/JAMES-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Shahar Davidson updated JAMES-1541:
-----------------------------------

             Priority: Major  (was: Minor)
    Affects Version/s: 3.0-beta4

Apparently. the TarpitHandler classe is missing in the james-server-smtpserver jar.
It's in james-server-smtpserver-3.0-M3-20110601.102609-437.jar but in james-server-smtpserver-3.0-beta4-20120120.094527-566.jar
(and later) it is missing.

> James won't start when Tarpit is active - TarpitHandler not found
> -----------------------------------------------------------------
>
>                 Key: JAMES-1541
>                 URL: https://issues.apache.org/jira/browse/JAMES-1541
>             Project: James Server
>          Issue Type: Bug
>          Components: James Core
>    Affects Versions: 3.0-beta4, 3.0.0-beta5
>         Environment: Ubuntu 12.04
>            Reporter: Shahar Davidson
>
> I deployed james-server-app-3.0.0-beta5-20140130.003646-329-app.tar.gz.
> Uncommented the tarpit handler in smtpserver.xml and started the server.
> Server fails to start due to the following exception:
> INFO   | jvm 1    | 2014/02/03 23:27:10 | WrapperSimpleApp: Encountered an error running
main: org.springframework.beans.factory.BeanCreationException: Error creating b
> ean with name 'smtpserver': Invocation of init method failed; nested exception is org.apache.james.protocols.lib.handler.ProtocolHandlerLoader$LoadingException:
Unable
> to load handler
> INFO   | jvm 1    | 2014/02/03 23:27:10 | org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'smtpserver': Invocation of init method
>  failed; nested exception is org.apache.james.protocols.lib.handler.ProtocolHandlerLoader$LoadingException:
Unable to load handler
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(I
> nitDestroyAnnotationBeanPostProcessor.java:135)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitializat
> ion(AbstractAutowireCapableBeanFactory.java:394)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBe
> anFactory.java:1448)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBean
> Factory.java:519)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFa
> ctory.java:456)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java
> :225)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFact
> ory.java:609)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationCon
> text.java:918)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at org.apache.james.container.spring.context.JamesServerApplicationContext.<init>(JamesServerApplicationContext.java:39)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at org.apache.james.app.spring.JamesAppSpringMain.init(JamesAppSpringMain.java:61)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at org.apache.james.app.spring.JamesAppSpringMain.main(JamesAppSpringMain.java:42)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at java.lang.reflect.Method.invoke(Method.java:606)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at java.lang.Thread.run(Thread.java:724)
> INFO   | jvm 1    | 2014/02/03 23:27:10 | Caused by: org.apache.james.protocols.lib.handler.ProtocolHandlerLoader$LoadingException:
Unable to load handler
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at org.apache.james.container.spring.bean.factory.protocols.ProtocolHandlerLoaderBeanFactory.load(ProtocolHandlerLoaderBeanFactory.java:46)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at org.apache.james.protocols.lib.ProtocolHandlerChainImpl.init(ProtocolHandlerChainImpl.java:83)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at org.apache.james.protocols.lib.netty.AbstractProtocolAsyncServer.preInit(AbstractProtocolAsyncServer.java:52)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at org.apache.james.smtpserver.netty.SMTPServer.preInit(SMTPServer.java:95)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer.init(AbstractConfigurableAsyncServer.java:270)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at org.apache.james.protocols.lib.netty.AbstractServerFactory.init(AbstractServerFactory.java:66)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at java.lang.reflect.Method.invoke(Method.java:606)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:346)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:299)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:132)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       ... 22 more
> INFO   | jvm 1    | 2014/02/03 23:27:10 | Caused by: java.lang.ClassNotFoundException:
org.apache.james.smtpserver.fastfail.TarpitHandler
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at java.security.AccessController.doPrivileged(Native
Method)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       at org.apache.james.container.spring.bean.factory.protocols.ProtocolHandlerLoaderBeanFactory.load(ProtocolHandlerLoaderBeanFactory.java:39)
> INFO   | jvm 1    | 2014/02/03 23:27:10 |       ... 34 more
> STATUS | wrapper  | 2014/02/03 23:27:12 | <-- Wrapper Stopped



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

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