hi everybody,
i've configured smtp settings correctly in the general.properties file. i've modified the email template files and done e-mail settings for my store in manager web application. but when i register a new user i get an email and i get the following lines in logs/console.log. after that i'm getting every three minutes the same email until i stop the job in the job list of the manager application. console.log: 737482 (org.ofbiz.service.job.JobPoller@57807a) [ ServiceDispatcher.java:169:INFO ] Registered dispatcher: JobDispatcher 737485 (org.ofbiz.service.job.JobPoller@57807a) [ GenericDispatcher.java:85 :INFO ] [LocalDispatcher] : Created Dispatcher for: JobDispatcher 738091 (invoker-Thread-7) [PersistedServiceJob.java:146:INFO ] org.ofbiz.service.job.PersistedServiceJob@66a917[10300] -- Next runtime: -1 [Error] :2:12: cvc-elt.1: Cannot find the declaration of element 'ofbiz-ser'. 738115 (invoker-Thread-7) [ UtilXml.java:242:DEBUG] XML Read 0.013s: Internal Content 738304 (invoker-Thread-7) [ ServiceEcaRule.java:118:INFO ] Got false for condition: [null][][partyId][is-not-empty][null][][true][String][] 738305 (invoker-Thread-7) [ ServiceDispatcher.java:447:DEBUG] [[Sync service finished- total:0.182,since last(Begin):0.182]] - 'JobDispatcher / sendMail' 738307 (invoker-Thread-7) [ ModelService.java:401:ERROR] [ModelService.validate] : {sendGenericNotificationEmail} : (OUT) Required test error: org.ofbiz.service.ServiceValidationException: Unknown parameter found: bodyUnknown parameter found: partyIdUnknown parameter found: subject 738311 (invoker-Thread-7) [ ServiceDispatcher.java:366:ERROR] ---- exception report ---------------------------------------------------------- Outgoing result (in runSync : sendGenericNotificationEmail) does not match expected requirements Exception: org.ofbiz.service.ServiceValidationException Message: Unknown parameter found: bodyUnknown parameter found: partyIdUnknown parameter found: subject ---- stack trace --------------------------------------------------------------- org.ofbiz.service.ServiceValidationException: Unknown parameter found: bodyUnknown parameter found: partyIdUnknown parameter found: subject org.ofbiz.service.ModelService.validate(ModelService.java:463) org.ofbiz.service.ModelService.validate(ModelService.java:399) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:364) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110) org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:80) org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:226) java.lang.Thread.run(Thread.java:534) -------------------------------------------------------------------------------- 738311 (invoker-Thread-7) [ ServiceDispatcher.java:381:DEBUG] [[Sync service failed...- total:0.0,since last(Begin):0.0]] - 'JobDispatcher / sendGenericNotificationEmail' 738312 (invoker-Thread-7) [ ServiceDispatcher.java:384:ERROR] ---- exception report ---------------------------------------------------------- Service [sendGenericNotificationEmail] threw an unexpected exception/error Exception: org.ofbiz.service.ServiceValidationException Message: Unknown parameter found: bodyUnknown parameter found: partyIdUnknown parameter found: subject ---- stack trace --------------------------------------------------------------- org.ofbiz.service.ServiceValidationException: Unknown parameter found: bodyUnknown parameter found: partyIdUnknown parameter found: subject org.ofbiz.service.ModelService.validate(ModelService.java:463) org.ofbiz.service.ModelService.validate(ModelService.java:399) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:364) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110) org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:80) org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:226) java.lang.Thread.run(Thread.java:534) -------------------------------------------------------------------------------- 738313 (invoker-Thread-7) [ TransactionUtil.java:248:ERROR] ---- exception report ---------------------------------------------------------- [TransactionUtil.rollback] Exception: java.lang.Exception Message: Stack Trace ---- stack trace --------------------------------------------------------------- java.lang.Exception: Stack Trace org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:247) org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:229) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:387) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110) org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:80) org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:226) java.lang.Thread.run(Thread.java:534) -------------------------------------------------------------------------------- 738313 (invoker-Thread-7) [ TransactionUtil.java:258:INFO ] [TransactionUtil.rollback] transaction rolled back 738314 (invoker-Thread-7) [ TransactionUtil.java:196:INFO ] [TransactionUtil.commit] Not committing transaction, status is STATUS_NO_TRANSACTION 738314 (invoker-Thread-7) [ GenericServiceJob.java:127:ERROR] ---- exception report ---------------------------------------------------------- Async-Service failed. Exception: org.ofbiz.service.ServiceValidationException Message: Unknown parameter found: bodyUnknown parameter found: partyIdUnknown parameter found: subject ---- stack trace --------------------------------------------------------------- org.ofbiz.service.ServiceValidationException: Unknown parameter found: bodyUnknown parameter found: partyIdUnknown parameter found: subject org.ofbiz.service.ModelService.validate(ModelService.java:463) org.ofbiz.service.ModelService.validate(ModelService.java:399) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:364) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110) org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:80) org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:226) java.lang.Thread.run(Thread.java:534) -------------------------------------------------------------------------------- 738330 (invoker-Thread-7) [PersistedServiceJob.java:220:INFO ] Persisted Job [10300] Failed Re-Scheduling : 1140534224911 to me it seems there is some problem with the "body", "partyId" and "subject" attribute. i already played with these attributes in the services.xml file but it didn't work. i've already worked through some tutorials but didn't find some help. could you please give me some advice? thanks, gerald _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
Free forum by Nabble | Edit this page |