This is maybe related with r789506 changes, but these changes are in the trunk for months now, so I wonder why nobody reported an issue yet...
Mario : did you made some specific changes which use this functionnality ?
Ruth : BTW I did not find r809901 as an OFBiz revision, typo ?

Jacques

From: "Ruth Hoffman" <[email protected]>
Hi Mario:
I have experienced a similar problem (although, my emails are sent and received - probably since I'm calling the email services myself through events I've written.)

Here's my issue: I get the same log file garbage spewed (as far back as version 809901) whenever I use any of the "sendMail" services - although my emails are sent. (BTW, there is nothing wrong with my HTML - its all standard CSS & HTML). I'd like to know what is going on here...do I need to configure something differently? I haven't had time to track this down, but it is really annoying.

Ruth

MarioF wrote:
Hi all,

I have downloaded today a new OFBiz version (the current one). In previous
versions I had no problem with the emails that the user receives when he
buys something, but in the last one I receives this error in the server and
the user doesn't receive the emails. Can anyone sayme if this is a bug in
the current version or I have something bad configured?

At the end of the email is the log error that I receive.

Thanks in advance,
Mario.


2009-10-29 17:51:55,796 (default-invoker-Thread-9) [Log.java:111:INFO ]
[CommonPermissionServices.xml#genericBasePermissionCheck] Checking for
alternate permission PARTYMGR_CME_UPDATE Oct 29, 2009 5:51:55 PM 
AppNameNotSpecified IntrusionDetector
WARNING: SECURITY-FAILURE anonym...@unknown:unknown -- Invalid HTML input:
context=content, errors=[The html tag has been filtered for security
reasons. The contents of the tag will remain in place., The head tag has
been filt ered for security reasons. The contents of the tag will remain in
place., The meta tag has been filtered for security reasons. The contents of
the tag will remain in place., The title tag has been filtered for security
reasons. The contents of the tag will remain in place., .
.
.


2009-10-29 17:51:57,875 (default-invoker-Thread-9) [     
GenericEntity.java:413:WARN ]
---- exception report
----------------------------------------------------------
=-=-=-=-=-=-=-=-= Database type warning GenericEntity.set =-=-=-=-=-=-=-=-=
In entity field [ImageDataResource.imageData] set the value passed in [[B]
is not compatible with the Java type of the field [java.sql.Blob]
Exception: java.lang.Exception
Message: Location of database type warning
---- stack trace
---------------------------------------------------------------
java.lang.Exception: Location of database type warning
org.ofbiz.entity.GenericEntity.set(GenericEntity.java:413)
org.ofbiz.entity.GenericEntity.set(GenericEntity.java:365)
org.ofbiz.entity.GenericEntity.setBytes(GenericEntity.java:542)
org.ofbiz.content.data.DataServices.createImageMethod(DataServices.java:544)
org.ofbiz.content.data.DataServices.createImage(DataServices.java:530)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
org.ofbiz.service.ModelServiceReader$GenericInvokerImpl.runSync(ModelServiceReader.java:785)
_$gen.file_58$.D_58$.Projekte.ofbizTEST2.ofbiz_45$trunk.applications.content.servicedef.services_46$xml_35$createImage.r
unSync(file:/D:/Projekte/ofbizTEST2/ofbiz-trunk/applications/content/servicedef/services.xml#createImage:753)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:394)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:223)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:159)
org.ofbiz.content.ContentManagementServices.persistDataResourceAndDataMethod(ContentManagementServices.java:676)
org.ofbiz.content.ContentManagementServices.persistContentAndAssoc(ContentManagementServices.java:266)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
org.ofbiz.service.ModelServiceReader$GenericInvokerImpl.runSync(ModelServiceReader.java:785)
_$gen.file_58$.D_58$.Projekte.ofbizTEST2.ofbiz_45$trunk.applications.content.servicedef.services_46$xml_35$persistConten
tAndAssoc.runSync(file:/D:/Projekte/ofbizTEST2/ofbiz-trunk/applications/content/servicedef/services.xml#persistContentAn
dAssoc:421)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:394)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:223)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:173)
org.ofbiz.minilang.method.callops.CallService.exec(CallService.java:245)
org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883)
org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702)
org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160)
org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:142)
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78)
org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:53)
org.ofbiz.service.ModelServiceReader$GenericInvokerImpl.runSync(ModelServiceReader.java:785)
_$gen.file_58$.D_58$.Projekte.ofbizTEST2.ofbiz_45$trunk.applications.content.servicedef.services_95$commevent_46$xml_35$
createCommContentDataResource.runSync(file:/D:/Projekte/ofbizTEST2/ofbiz-trunk/applications/content/servicedef/services_
commevent.xml#createCommContentDataResource:39)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:394)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:223)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:159)
org.ofbiz.party.communication.CommunicationEventServices.createAttachmentContent(CommunicationEventServices.java:977)
org.ofbiz.party.communication.CommunicationEventServices.updateCommEventAfterEmail(CommunicationEventServices.java:603)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
org.ofbiz.service.ModelServiceReader$GenericInvokerImpl.runSync(ModelServiceReader.java:785)
_$gen.file_58$.D_58$.Projekte.ofbizTEST2.ofbiz_45$trunk.applications.party.servicedef.services_46$xml_35$updateCommEvent
AfterEmail.runSync(file:/D:/Projekte/ofbizTEST2/ofbiz-trunk/applications/party/servicedef/services.xml#updateCommEventAf
terEmail:870)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:394)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:223)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:159)
org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:135)
org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:152)
org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:157)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:492)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:223)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:159)
org.ofbiz.common.email.EmailServices.sendMailFromScreen(EmailServices.java:533)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
org.ofbiz.service.ModelServiceReader$GenericInvokerImpl.runSync(ModelServiceReader.java:785)
_$gen.file_58$.D_58$.Projekte.ofbizTEST2.ofbiz_45$trunk.framework.common.servicedef.services_95$email_46$xml_35$sendMail
FromScreen.runSync(file:/D:/Projekte/ofbizTEST2/ofbiz-trunk/framework/common/servicedef/services_email.xml#sendMailFromS
creen:75)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:394)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:223)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:159)
org.ofbiz.order.order.OrderServices.sendOrderNotificationScreen(OrderServices.java:2451)
org.ofbiz.order.order.OrderServices.sendOrderConfirmNotification(OrderServices.java:2301)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
org.ofbiz.service.ModelServiceReader$GenericInvokerImpl.runSync(ModelServiceReader.java:785)
_$gen.file_58$.D_58$.Projekte.ofbizTEST2.ofbiz_45$trunk.applications.order.servicedef.services_46$xml_35$sendOrderConfir
mation.runSync(file:/D:/Projekte/ofbizTEST2/ofbiz-trunk/applications/order/servicedef/services.xml#sendOrderConfirmation
:48)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:394)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:223)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:159)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:242)
java.lang.Thread.run(Thread.java:595)




Reply via email to