[
https://issues.apache.org/jira/browse/JAMES-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17110760#comment-17110760
]
Benoit Tellier commented on JAMES-1541:
---------------------------------------
Hello [~chris1k]
I was not aware of this issue.
I which version was there a TarpitHandler class? Why had it been removed?
I believe the best short term move here is to remove tarpit related things from
this default configuration.
> 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
> Priority: Major
>
> 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
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]