gerco/IssuesTest — Issue #4: [Mailservice] Error by sending email with pdf attachement
Author: gerco
Created: 2012-03-09 17:16:25+00:00
State: open

After making a multipart message for sending email with pdf attachement the email is send but there are also errors in the ESB container log file.

'''The error:'''
''[07/04/18 16:09:54] ID=dev_ESBCore (info) [MailService] Sending e-mail:

[07/04/18 16:09:54] ID=dev_ESBCore (info) [MailService] Subject: DEV Testmail met PDF erbij

[07/04/18 16:09:54] ID=dev_ESBCore (info) [MailService] Recipients: tgr@progaia-rs.nl gdr@progaia-rs.nl

[07/04/18 16:09:56] ID=dev_ESBCore (severe) [Dispatch] Exception calling service service.mail.DRG.attachment: message rejected

[07/04/18 16:09:56] ID=dev_ESBCore (severe) Trace follows...
java.lang.ClassCastException
at com.progress.mailservice.MailService.service(MailService.java:127)
at com.sonicsw.xqimpl.service.debug.DebugServiceInterceptor.intercept(Unknown Source)
at com.sonicsw.xqimpl.service.XQServiceChain$XQInterceptorServiceWrapper.intercept(Unknown Source)
at com.sonicsw.xqimpl.service.XQServiceChain$XQInterceptorServiceWrapper.service(Unknown Source)
at com.sonicsw.xqimpl.service.XQServiceChain.service(Unknown Source)
at com.sonicsw.xqimpl.service.ServiceMessageHandler.callService(Unknown Source)
at com.sonicsw.xqimpl.service.ServiceMessageHandler.handleMessage(Unknown Source)
at com.sonicsw.xqimpl.service.XQDispatcher.onMessage(Unknown Source)
at com.sonicsw.xqimpl.endpoint.container.EndpointContextContainer.onMessage(Unknown Source)
at com.sonicsw.xq.connector.jms.JMSEndpoint$JMSEndpointListener.onMessage(Unknown Source)
at progress.message.jimpl.Session.deliver(Unknown Source)
at progress.message.jimpl.Session.run(Unknown Source)
at progress.message.jimpl.Session$SessionThread.run(Unknown Source)
com.sonicsw.xq.XQServiceException:
at com.progress.mailservice.MailService.service(MailService.java:153)
at com.sonicsw.xqimpl.service.debug.DebugServiceInterceptor.intercept(Unknown Source)
at com.sonicsw.xqimpl.service.XQServiceChain$XQInterceptorServiceWrapper.intercept(Unknown Source)
at com.sonicsw.xqimpl.service.XQServiceChain$XQInterceptorServiceWrapper.service(Unknown Source)
at com.sonicsw.xqimpl.service.XQServiceChain.service(Unknown Source)
at com.sonicsw.xqimpl.service.ServiceMessageHandler.callService(Unknown Source)
at com.sonicsw.xqimpl.service.ServiceMessageHandler.handleMessage(Unknown Source)
at com.sonicsw.xqimpl.service.XQDispatcher.onMessage(Unknown Source)
at com.sonicsw.xqimpl.endpoint.container.EndpointContextContainer.onMessage(Unknown Source)
at com.sonicsw.xq.connector.jms.JMSEndpoint$JMSEndpointListener.onMessage(Unknown Source)
at progress.message.jimpl.Session.deliver(Unknown Source)
at progress.message.jimpl.Session.run(Unknown Source)
at progress.message.jimpl.Session$SessionThread.run(Unknown Source)
Caused by...
java.lang.ClassCastException
at com.progress.mailservice.MailService.service(MailService.java:127)
at com.sonicsw.xqimpl.service.debug.DebugServiceInterceptor.intercept(Unknown Source)
at com.sonicsw.xqimpl.service.XQServiceChain$XQInterceptorServiceWrapper.intercept(Unknown Source)
at com.sonicsw.xqimpl.service.XQServiceChain$XQInterceptorServiceWrapper.service(Unknown Source)
at com.sonicsw.xqimpl.service.XQServiceChain.service(Unknown Source)
at com.sonicsw.xqimpl.service.ServiceMessageHandler.callService(Unknown Source)
at com.sonicsw.xqimpl.service.ServiceMessageHandler.handleMessage(Unknown Source)
at com.sonicsw.xqimpl.service.XQDispatcher.onMessage(Unknown Source)
at com.sonicsw.xqimpl.endpoint.container.EndpointContextContainer.onMessage(Unknown Source)
at com.sonicsw.xq.connector.jms.JMSEndpoint$JMSEndpointListener.onMessage(Unknown Source)
at progress.message.jimpl.Session.deliver(Unknown Source)
at progress.message.jimpl.Session.run(Unknown Source)
at progress.message.jimpl.Session$SessionThread.run(Unknown Source)

[07/04/18 16:09:56] ID=dev_ESBCore (warning) [Dispatch] No rejected message endpoint defined for: com.sonicsw.xqimpl.service.ServiceMessageHandler@10ccc48''

Multipart message is send from a Progress application. On request I can send you the code