Hi all,

I'm trying to use servicemix-mail component with servicemix-mail cookbook
(http://servicemix.apache.org/simple-mail-forwarding.html)

I followed the steps to set my mailForwarder.xml, and deployed it in my
SMX4.
But it was failed to active mail-bc. 
The error log is as follow:

 | ERROR | ExtenderThread-7 | ContextLoaderListener            |
BundleApplicationContextListener   50 | Application context refresh failed
(OsgiBundleXmlApplicationContext(bundle=org.apache.servicemix.mail.examples.forwarder,
config=osgibundle:/META-INF/spring/*.xml))
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.apache.servicemix.common.osgi.EndpointExporter#0' defined in
URL [bundleentry://217.fwk721120351/META-INF/spring/mailForwarder.xml]:
Invocation of init method failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.apache.servicemix.mail.MailPollerEndpoint#0' defined in URL
[bundleentry://217.fwk721120351/META-INF/spring/mailForwarder.xml]: Error
setting property values; nested exception is
org.springframework.beans.PropertyBatchUpdateException; nested
PropertyAccessExceptions (1) are: PropertyAccessException 1:
org.springframework.beans.MethodInvocationException: Property 'connection'
threw exception; nested exception is java.lang.IllegalArgumentException
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
......
......
......

It was failed in my SMX 4.2-fuse and SMX 4.3.
Can any of you help me? 

Thanks for your help in advance 
Laurence

--
View this message in context: 
http://servicemix.396122.n5.nabble.com/Problem-about-simple-Mail-Forwarding-tp4681629p4681629.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to