Hello,
I'm re-factoring spring-server.xml from server/app to import spring
contexts defined in the modules and I have encountered an issue. When
creating a smtp-server bean via <import/> I get:
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'smtpserver': Invocation of init method
failed; nested exception is java.lang.IllegalArgumentException: Passed
in key must select exactly one node: handlerchain
at
org.apache.commons.configuration.HierarchicalConfiguration.configurationAt(HierarchicalConfiguration.java:585)
I think the exception is thrown because the configuration file:
smtpserver.xml from protocols/protocols-smtp defines two handlers,
but I'm not sure.
<handlerchain enableJmx="true">
<handler
class="org.apache.james.smtpserver.fastfail.ValidRcptHandler"/>
<handler class="org.apache.james.smtpserver.CoreCmdHandlerLoader"/>
</handlerchain>
You can checkout the branch I've created and test it on your own [1].
[1] https://github.com/ieugen/james/tree/imports
Cheers,
--
Ioan Eugen Stan
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]