You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Ramkrishna Swamy <ra...@gmail.com> on 2010/02/24 09:06:45 UTC

Mail queuing problem

Hello list,

I am sending mail for a new customer registration using "creatCustomer"
events and this event uses service "sendGenericNotificationEmail" but
showing error so i used "sendCreatePartyEmailNotification" service  in the
event and mail is going to the customer properly but in console showing
following error


---- exception report
----------------------------------------------------------
Async-Service failed.
Exception: java.lang.Exception
Message: Invalid email body; null is not allowed
---- stack trace
---------------------------------------------------------------
java.lang.Exception: Invalid email body; null is not allowed
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:76)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:242)
java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------------

2010-02-24 13:06:42,171 (default-invoker-Thread-8)
[NotificationServices.java:205:ERROR] Problem getting the template URL:
component://ecommerce/widget/EmailOrderScreens.xml#CreateCustomerNotification
not found
2010-02-24 13:06:42,171 (default-invoker-Thread-8)
[NotificationServices.java:138:ERROR] prepareNotification failed: Problem
finding template; see logs
2010-02-24 13:06:42,171 (default-invoker-Thread-8)
[NotificationServices.java:160:ERROR] Invalid email body; null is not
allowed
2010-02-24 13:06:42,171 (default-invoker-Thread-8) [
ServiceDispatcher.java:530:ERROR] Error in Service
[sendGenericNotificationEmail]: Invalid email body; null is not allowed
2010-02-24 13:06:42,171 (default-invoker-Thread-8) [
TransactionUtil.java:286:ERROR]


010-02-24 13:24:40,315 (default-invoker-Thread-8)
[PersistedServiceJob.java:245:INFO ] Persisted Job [120162] Failed
Re-Scheduling : 1266998260253
2010-02-24 13:24:40,315 (default-invoker-Thread-7)
[PersistedServiceJob.java:245:INFO ] Persisted Job [120163] Failed
Re-Scheduling : 1266998260253
2010-02-24 13:24:40,519 (default-invoker-Thread-9)
[PersistedServiceJob.java:245:INFO ] Persisted Job [120164] Failed
Re-Scheduling : 1266998260425
2010-02-24 13:24:40,550 (default-invoker-Thread-11) [
JobInvoker.java:232:INFO ] Invoker [default-invoker-Thread-11] received job
[1266570044171] from poller [org.ofbiz.service.job.JobPoller@480c6c]
2010-02-24 13:24:40,581 (default-invoker-Thread-11)
[PersistedServiceJob.java:178:INFO ]
org.ofbiz.service.job.PersistedServiceJob@ae2ff9[120165] -- Next runtime:
Thu Jan 01 05:29:59 IST 1970


at a first glance it is because of screen not finding in service
sendGenericNotificationEmail while my path is correct and also somewhere it
is queuing the earlier mail which was sent by the service
"sendGenericNotificationEmail" and when i start server or create a customer
then every time it shows the same error.

Has anyone idea how to stop this mail queuing problem?

Thanks in advance.


-- 
Thanks
Ramkrishna