Error with send email service

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Error with send email service

G.Venkata Phanindra
Hi,
     I am getting following Error message with send email service when i am
using for email password,

Error occurred: unable to email password. Please try again later or contact
customer service. (error was: Error send email :
org.ofbiz.service.ServiceValidationException: Unknown parameter found: [
sendMail.partyId]).

I gues there is some problem with service defination but i could not fix the
problem by adding Party id as an attribute for sendmail service in
applications/content/servicedef/services_email.xml, any information on this
will be of great help. I am getting this  stack trace in the console

 2006-11-07 11:27:11,579 (TP-Processor7) [       ModelService.java:394:ERROR]
[ModelService.validate] : {sendMail} : (OUT) Required test error:
org.ofbiz.service.ServiceValidationException: Unknown parameter found: [
sendMail.partyId]
     [java] 2006-11-07 11:27:11,582 (TP-Processor7) [
ServiceDispatcher.java:365:ERROR]
     [java] ---- exception report
----------------------------------------------------------
     [java] Outgoing result (in runSync : sendMail) does not match expected
requirements
     [java] Exception: org.ofbiz.service.ServiceValidationException
     [java] Message: Unknown parameter found: [sendMail.partyId]
     [java] ---- stack trace
---------------------------------------------------------------
     [java] org.ofbiz.service.ServiceValidationException: Unknown parameter
found: [sendMail.partyId]
     [java] org.ofbiz.service.ModelService.validate(ModelService.java:500)
     [java] org.ofbiz.service.ModelService.validate(ModelService.java:392)
     [java] org.ofbiz.service.ServiceDispatcher.runSync(
ServiceDispatcher.java:363)
     [java] org.ofbiz.service.ServiceDispatcher.runSync(
ServiceDispatcher.java:212)
     [java] org.ofbiz.service.GenericDispatcher.runSync(
GenericDispatcher.java:114)
     [java] org.ofbiz.content.email.EmailServices.sendMailFromScreen(
EmailServices.java:466)
     [java] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java] sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
     [java] sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
     [java] java.lang.reflect.Method.invoke(Method.java:585)
     [java] org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(
StandardJavaEngine.java:92)
     [java] org.ofbiz.service.engine.StandardJavaEngine.runSync(
StandardJavaEngine.java:54)
     [java] org.ofbiz.service.ServiceDispatcher.runSync(
ServiceDispatcher.java:338)
     [java] org.ofbiz.service.ServiceDispatcher.runSync(
ServiceDispatcher.java:212)
     [java] org.ofbiz.service.GenericDispatcher.runSync(
GenericDispatcher.java:114)
     [java] org.ofbiz.securityext.login.LoginEvents.emailPassword(
LoginEvents.java:294)
     [java] org.ofbiz.securityext.login.LoginEvents.forgotPassword(
LoginEvents.java:102)
     [java] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java] sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
     [java] sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
     [java] java.lang.reflect.Method.invoke(Method.java:585)
     [java] org.ofbiz.webapp.event.JavaEventHandler.invoke(
JavaEventHandler.java:90)
     [java] org.ofbiz.webapp.event.JavaEventHandler.invoke(
JavaEventHandler.java:76)
     [java] org.ofbiz.webapp.control.RequestHandler.runEvent(
RequestHandler.java:408)
     [java] org.ofbiz.webapp.control.RequestHandler.doRequest(
RequestHandler.java:243)
     [java] org.ofbiz.webapp.control.ControlServlet.doGet(
ControlServlet.java:183)
     [java] org.ofbiz.webapp.control.ControlServlet.doPost(
ControlServlet.java:79)
     [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
     [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
     [java] org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:252)
     [java] org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:173)
     [java] org.ofbiz.webapp.control.ContextFilter.doFilter(
ContextFilter.java:249)
     [java] org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:202)
     [java] org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:173)
     [java] org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:213)
     [java] org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:178)
     [java] org.apache.catalina.core.StandardHostValve.invoke(
StandardHostValve.java:126)
     [java] org.apache.catalina.valves.ErrorReportValve.invoke(
ErrorReportValve.java:105)
     [java] org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:107)
     [java] org.apache.catalina.valves.AccessLogValve.invoke(
AccessLogValve.java:541)
     [java] org.apache.catalina.connector.CoyoteAdapter.service(
CoyoteAdapter.java:148)
     [java] org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java
:199)
     [java] org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java
:282)
     [java] org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java
:754)
     [java] org.apache.jk.common.ChannelSocket.processConnection(
ChannelSocket.java:684)
     [java] org.apache.jk.common.ChannelSocket$SocketConnection.runIt(
ChannelSocket.java:876)
     [java] org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:684)
     [java] java.lang.Thread.run(Thread.java:595)
     [java]
--------------------------------------------------------------------------------
     [java] 2006-11-07 11:27:11,585 (TP-Processor7) [
ServiceDispatcher.java:387:ERROR]
     [java] ---- exception report
----------------------------------------------------------
     [java] Service [sendMail] threw an unexpected exception/error
     [java] Exception: org.ofbiz.service.ServiceValidationException
     [java] Message: Unknown parameter found: [sendMail.partyId]
     [java] ---- stack trace
---------------------------------------------------------------
     [java] org.ofbiz.service.ServiceValidationException: Unknown parameter
found: [sendMail.partyId]
     [java] org.ofbiz.service.ModelService.valida

--
G.Venkata Phanindra
Mob:: 9849852989
Reply | Threaded
Open this post in threaded view
|

Re: Error with send email service

Tim Ruppert
G, I ran this scenario and did not get this result.  Please try with
with the demo application and let us know what you find.

Cheers,
Tim

--
Tim Ruppert
HotWax Media
http://www.hotwaxmedia.com

o:801.649.6594
f:801.649.6595

G.Venkata Phanindra wrote:

> Hi,
>     I am getting following Error message with send email service when
> i am
> using for email password,
>
> Error occurred: unable to email password. Please try again later or
> contact
> customer service. (error was: Error send email :
> org.ofbiz.service.ServiceValidationException: Unknown parameter found: [
> sendMail.partyId]).
>
> I gues there is some problem with service defination but i could not
> fix the
> problem by adding Party id as an attribute for sendmail service in
> applications/content/servicedef/services_email.xml, any information on
> this
> will be of great help. I am getting this  stack trace in the console
>
> 2006-11-07 11:27:11,579 (TP-Processor7) [      
> ModelService.java:394:ERROR]
> [ModelService.validate] : {sendMail} : (OUT) Required test error:
> org.ofbiz.service.ServiceValidationException: Unknown parameter found: [
> sendMail.partyId]
>     [java] 2006-11-07 11:27:11,582 (TP-Processor7) [
> ServiceDispatcher.java:365:ERROR]
>     [java] ---- exception report
> ----------------------------------------------------------
>     [java] Outgoing result (in runSync : sendMail) does not match
> expected
> requirements
>     [java] Exception: org.ofbiz.service.ServiceValidationException
>     [java] Message: Unknown parameter found: [sendMail.partyId]
>     [java] ---- stack trace
> ---------------------------------------------------------------
>     [java] org.ofbiz.service.ServiceValidationException: Unknown
> parameter
> found: [sendMail.partyId]
>     [java] org.ofbiz.service.ModelService.validate(ModelService.java:500)
>     [java] org.ofbiz.service.ModelService.validate(ModelService.java:392)
>     [java] org.ofbiz.service.ServiceDispatcher.runSync(
> ServiceDispatcher.java:363)
>     [java] org.ofbiz.service.ServiceDispatcher.runSync(
> ServiceDispatcher.java:212)
>     [java] org.ofbiz.service.GenericDispatcher.runSync(
> GenericDispatcher.java:114)
>     [java] org.ofbiz.content.email.EmailServices.sendMailFromScreen(
> EmailServices.java:466)
>     [java] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     [java] sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:39)
>     [java] sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
>     [java] java.lang.reflect.Method.invoke(Method.java:585)
>     [java] org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(
> StandardJavaEngine.java:92)
>     [java] org.ofbiz.service.engine.StandardJavaEngine.runSync(
> StandardJavaEngine.java:54)
>     [java] org.ofbiz.service.ServiceDispatcher.runSync(
> ServiceDispatcher.java:338)
>     [java] org.ofbiz.service.ServiceDispatcher.runSync(
> ServiceDispatcher.java:212)
>     [java] org.ofbiz.service.GenericDispatcher.runSync(
> GenericDispatcher.java:114)
>     [java] org.ofbiz.securityext.login.LoginEvents.emailPassword(
> LoginEvents.java:294)
>     [java] org.ofbiz.securityext.login.LoginEvents.forgotPassword(
> LoginEvents.java:102)
>     [java] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     [java] sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:39)
>     [java] sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
>     [java] java.lang.reflect.Method.invoke(Method.java:585)
>     [java] org.ofbiz.webapp.event.JavaEventHandler.invoke(
> JavaEventHandler.java:90)
>     [java] org.ofbiz.webapp.event.JavaEventHandler.invoke(
> JavaEventHandler.java:76)
>     [java] org.ofbiz.webapp.control.RequestHandler.runEvent(
> RequestHandler.java:408)
>     [java] org.ofbiz.webapp.control.RequestHandler.doRequest(
> RequestHandler.java:243)
>     [java] org.ofbiz.webapp.control.ControlServlet.doGet(
> ControlServlet.java:183)
>     [java] org.ofbiz.webapp.control.ControlServlet.doPost(
> ControlServlet.java:79)
>     [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
>     [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>     [java]
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationFilterChain.java:252)
>     [java] org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
>     [java] org.ofbiz.webapp.control.ContextFilter.doFilter(
> ContextFilter.java:249)
>     [java]
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationFilterChain.java:202)
>     [java] org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
>     [java] org.apache.catalina.core.StandardWrapperValve.invoke(
> StandardWrapperValve.java:213)
>     [java] org.apache.catalina.core.StandardContextValve.invoke(
> StandardContextValve.java:178)
>     [java] org.apache.catalina.core.StandardHostValve.invoke(
> StandardHostValve.java:126)
>     [java] org.apache.catalina.valves.ErrorReportValve.invoke(
> ErrorReportValve.java:105)
>     [java] org.apache.catalina.core.StandardEngineValve.invoke(
> StandardEngineValve.java:107)
>     [java] org.apache.catalina.valves.AccessLogValve.invoke(
> AccessLogValve.java:541)
>     [java] org.apache.catalina.connector.CoyoteAdapter.service(
> CoyoteAdapter.java:148)
>     [java]
> org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java
> :199)
>     [java] org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java
> :282)
>     [java] org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java
> :754)
>     [java] org.apache.jk.common.ChannelSocket.processConnection(
> ChannelSocket.java:684)
>     [java] org.apache.jk.common.ChannelSocket$SocketConnection.runIt(
> ChannelSocket.java:876)
>     [java] org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> ThreadPool.java:684)
>     [java] java.lang.Thread.run(Thread.java:595)
>     [java]
> --------------------------------------------------------------------------------
>
>     [java] 2006-11-07 11:27:11,585 (TP-Processor7) [
> ServiceDispatcher.java:387:ERROR]
>     [java] ---- exception report
> ----------------------------------------------------------
>     [java] Service [sendMail] threw an unexpected exception/error
>     [java] Exception: org.ofbiz.service.ServiceValidationException
>     [java] Message: Unknown parameter found: [sendMail.partyId]
>     [java] ---- stack trace
> ---------------------------------------------------------------
>     [java] org.ofbiz.service.ServiceValidationException: Unknown
> parameter
> found: [sendMail.partyId]
>     [java] org.ofbiz.service.ModelService.valida
>
Reply | Threaded
Open this post in threaded view
|

Re: Error with send email service

G.Venkata Phanindra
Hi Tim,
I am also getting this problem in the demo ecommerce store. when i tried to
use Password email option.

regards
Phani

On 11/7/06, Tim Ruppert <[hidden email]> wrote:

>
> G, I ran this scenario and did not get this result.  Please try with
> with the demo application and let us know what you find.
>
> Cheers,
> Tim
>
> --
> Tim Ruppert
> HotWax Media
> http://www.hotwaxmedia.com
>
> o:801.649.6594
> f:801.649.6595
>
> G.Venkata Phanindra wrote:
> > Hi,
> >     I am getting following Error message with send email service when
> > i am
> > using for email password,
> >
> > Error occurred: unable to email password. Please try again later or
> > contact
> > customer service. (error was: Error send email :
> > org.ofbiz.service.ServiceValidationException: Unknown parameter found: [
> > sendMail.partyId]).
> >
> > I gues there is some problem with service defination but i could not
> > fix the
> > problem by adding Party id as an attribute for sendmail service in
> > applications/content/servicedef/services_email.xml, any information on
> > this
> > will be of great help. I am getting this  stack trace in the console
> >
> > 2006-11-07 11:27:11,579 (TP-Processor7) [
> > ModelService.java:394:ERROR]
> > [ModelService.validate] : {sendMail} : (OUT) Required test error:
> > org.ofbiz.service.ServiceValidationException: Unknown parameter found: [
> > sendMail.partyId]
> >     [java] 2006-11-07 11:27:11,582 (TP-Processor7) [
> > ServiceDispatcher.java:365:ERROR]
> >     [java] ---- exception report
> > ----------------------------------------------------------
> >     [java] Outgoing result (in runSync : sendMail) does not match
> > expected
> > requirements
> >     [java] Exception: org.ofbiz.service.ServiceValidationException
> >     [java] Message: Unknown parameter found: [sendMail.partyId]
> >     [java] ---- stack trace
> > ---------------------------------------------------------------
> >     [java] org.ofbiz.service.ServiceValidationException: Unknown
> > parameter
> > found: [sendMail.partyId]
> >     [java] org.ofbiz.service.ModelService.validate(ModelService.java
> :500)
> >     [java] org.ofbiz.service.ModelService.validate(ModelService.java
> :392)
> >     [java] org.ofbiz.service.ServiceDispatcher.runSync(
> > ServiceDispatcher.java:363)
> >     [java] org.ofbiz.service.ServiceDispatcher.runSync(
> > ServiceDispatcher.java:212)
> >     [java] org.ofbiz.service.GenericDispatcher.runSync(
> > GenericDispatcher.java:114)
> >     [java] org.ofbiz.content.email.EmailServices.sendMailFromScreen(
> > EmailServices.java:466)
> >     [java] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >     [java] sun.reflect.NativeMethodAccessorImpl.invoke(
> > NativeMethodAccessorImpl.java:39)
> >     [java] sun.reflect.DelegatingMethodAccessorImpl.invoke(
> > DelegatingMethodAccessorImpl.java:25)
> >     [java] java.lang.reflect.Method.invoke(Method.java:585)
> >     [java] org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(
> > StandardJavaEngine.java:92)
> >     [java] org.ofbiz.service.engine.StandardJavaEngine.runSync(
> > StandardJavaEngine.java:54)
> >     [java] org.ofbiz.service.ServiceDispatcher.runSync(
> > ServiceDispatcher.java:338)
> >     [java] org.ofbiz.service.ServiceDispatcher.runSync(
> > ServiceDispatcher.java:212)
> >     [java] org.ofbiz.service.GenericDispatcher.runSync(
> > GenericDispatcher.java:114)
> >     [java] org.ofbiz.securityext.login.LoginEvents.emailPassword(
> > LoginEvents.java:294)
> >     [java] org.ofbiz.securityext.login.LoginEvents.forgotPassword(
> > LoginEvents.java:102)
> >     [java] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >     [java] sun.reflect.NativeMethodAccessorImpl.invoke(
> > NativeMethodAccessorImpl.java:39)
> >     [java] sun.reflect.DelegatingMethodAccessorImpl.invoke(
> > DelegatingMethodAccessorImpl.java:25)
> >     [java] java.lang.reflect.Method.invoke(Method.java:585)
> >     [java] org.ofbiz.webapp.event.JavaEventHandler.invoke(
> > JavaEventHandler.java:90)
> >     [java] org.ofbiz.webapp.event.JavaEventHandler.invoke(
> > JavaEventHandler.java:76)
> >     [java] org.ofbiz.webapp.control.RequestHandler.runEvent(
> > RequestHandler.java:408)
> >     [java] org.ofbiz.webapp.control.RequestHandler.doRequest(
> > RequestHandler.java:243)
> >     [java] org.ofbiz.webapp.control.ControlServlet.doGet(
> > ControlServlet.java:183)
> >     [java] org.ofbiz.webapp.control.ControlServlet.doPost(
> > ControlServlet.java:79)
> >     [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
> >     [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> >     [java]
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> > (ApplicationFilterChain.java:252)
> >     [java] org.apache.catalina.core.ApplicationFilterChain.doFilter(
> > ApplicationFilterChain.java:173)
> >     [java] org.ofbiz.webapp.control.ContextFilter.doFilter(
> > ContextFilter.java:249)
> >     [java]
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> > (ApplicationFilterChain.java:202)
> >     [java] org.apache.catalina.core.ApplicationFilterChain.doFilter(
> > ApplicationFilterChain.java:173)
> >     [java] org.apache.catalina.core.StandardWrapperValve.invoke(
> > StandardWrapperValve.java:213)
> >     [java] org.apache.catalina.core.StandardContextValve.invoke(
> > StandardContextValve.java:178)
> >     [java] org.apache.catalina.core.StandardHostValve.invoke(
> > StandardHostValve.java:126)
> >     [java] org.apache.catalina.valves.ErrorReportValve.invoke(
> > ErrorReportValve.java:105)
> >     [java] org.apache.catalina.core.StandardEngineValve.invoke(
> > StandardEngineValve.java:107)
> >     [java] org.apache.catalina.valves.AccessLogValve.invoke(
> > AccessLogValve.java:541)
> >     [java] org.apache.catalina.connector.CoyoteAdapter.service(
> > CoyoteAdapter.java:148)
> >     [java]
> > org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java
> > :199)
> >     [java] org.apache.jk.common.HandlerRequest.invoke(
> HandlerRequest.java
> > :282)
> >     [java] org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java
> > :754)
> >     [java] org.apache.jk.common.ChannelSocket.processConnection(
> > ChannelSocket.java:684)
> >     [java] org.apache.jk.common.ChannelSocket$SocketConnection.runIt(
> > ChannelSocket.java:876)
> >     [java] org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
> (
> > ThreadPool.java:684)
> >     [java] java.lang.Thread.run(Thread.java:595)
> >     [java]
> >
> --------------------------------------------------------------------------------
> >
> >     [java] 2006-11-07 11:27:11,585 (TP-Processor7) [
> > ServiceDispatcher.java:387:ERROR]
> >     [java] ---- exception report
> > ----------------------------------------------------------
> >     [java] Service [sendMail] threw an unexpected exception/error
> >     [java] Exception: org.ofbiz.service.ServiceValidationException
> >     [java] Message: Unknown parameter found: [sendMail.partyId]
> >     [java] ---- stack trace
> > ---------------------------------------------------------------
> >     [java] org.ofbiz.service.ServiceValidationException: Unknown
> > parameter
> > found: [sendMail.partyId]
> >     [java] org.ofbiz.service.ModelService.valida
> >
>



--
G.Venkata Phanindra
Mob:: 9849852989
Reply | Threaded
Open this post in threaded view
|

Re: Error with send email service

David E Jones-2

Phani,

The demo.dejc.com ecommerce site is not setup to send emails, which  
may be related to what you are seeing here.

Is the setup you are testing on setup (in general.properties) to send  
emails?

-David


On Nov 6, 2006, at 11:32 PM, G.Venkata Phanindra wrote:

> Hi Tim,
> I am also getting this problem in the demo ecommerce store. when i  
> tried to
> use Password email option.
>
> regards
> Phani
>
> On 11/7/06, Tim Ruppert <[hidden email]> wrote:
>>
>> G, I ran this scenario and did not get this result.  Please try with
>> with the demo application and let us know what you find.
>>
>> Cheers,
>> Tim
>>
>> --
>> Tim Ruppert
>> HotWax Media
>> http://www.hotwaxmedia.com
>>
>> o:801.649.6594
>> f:801.649.6595
>>
>> G.Venkata Phanindra wrote:
>> > Hi,
>> >     I am getting following Error message with send email service  
>> when
>> > i am
>> > using for email password,
>> >
>> > Error occurred: unable to email password. Please try again later or
>> > contact
>> > customer service. (error was: Error send email :
>> > org.ofbiz.service.ServiceValidationException: Unknown parameter  
>> found: [
>> > sendMail.partyId]).
>> >
>> > I gues there is some problem with service defination but i could  
>> not
>> > fix the
>> > problem by adding Party id as an attribute for sendmail service in
>> > applications/content/servicedef/services_email.xml, any  
>> information on
>> > this
>> > will be of great help. I am getting this  stack trace in the  
>> console
>> >
>> > 2006-11-07 11:27:11,579 (TP-Processor7) [
>> > ModelService.java:394:ERROR]
>> > [ModelService.validate] : {sendMail} : (OUT) Required test error:
>> > org.ofbiz.service.ServiceValidationException: Unknown parameter  
>> found: [
>> > sendMail.partyId]
>> >     [java] 2006-11-07 11:27:11,582 (TP-Processor7) [
>> > ServiceDispatcher.java:365:ERROR]
>> >     [java] ---- exception report
>> > ----------------------------------------------------------
>> >     [java] Outgoing result (in runSync : sendMail) does not match
>> > expected
>> > requirements
>> >     [java] Exception: org.ofbiz.service.ServiceValidationException
>> >     [java] Message: Unknown parameter found: [sendMail.partyId]
>> >     [java] ---- stack trace
>> > ---------------------------------------------------------------
>> >     [java] org.ofbiz.service.ServiceValidationException: Unknown
>> > parameter
>> > found: [sendMail.partyId]
>> >     [java] org.ofbiz.service.ModelService.validate
>> (ModelService.java
>> :500)
>> >     [java] org.ofbiz.service.ModelService.validate
>> (ModelService.java
>> :392)
>> >     [java] org.ofbiz.service.ServiceDispatcher.runSync(
>> > ServiceDispatcher.java:363)
>> >     [java] org.ofbiz.service.ServiceDispatcher.runSync(
>> > ServiceDispatcher.java:212)
>> >     [java] org.ofbiz.service.GenericDispatcher.runSync(
>> > GenericDispatcher.java:114)
>> >     [java]  
>> org.ofbiz.content.email.EmailServices.sendMailFromScreen(
>> > EmailServices.java:466)
>> >     [java] sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
>> Method)
>> >     [java] sun.reflect.NativeMethodAccessorImpl.invoke(
>> > NativeMethodAccessorImpl.java:39)
>> >     [java] sun.reflect.DelegatingMethodAccessorImpl.invoke(
>> > DelegatingMethodAccessorImpl.java:25)
>> >     [java] java.lang.reflect.Method.invoke(Method.java:585)
>> >     [java]  
>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(
>> > StandardJavaEngine.java:92)
>> >     [java] org.ofbiz.service.engine.StandardJavaEngine.runSync(
>> > StandardJavaEngine.java:54)
>> >     [java] org.ofbiz.service.ServiceDispatcher.runSync(
>> > ServiceDispatcher.java:338)
>> >     [java] org.ofbiz.service.ServiceDispatcher.runSync(
>> > ServiceDispatcher.java:212)
>> >     [java] org.ofbiz.service.GenericDispatcher.runSync(
>> > GenericDispatcher.java:114)
>> >     [java] org.ofbiz.securityext.login.LoginEvents.emailPassword(
>> > LoginEvents.java:294)
>> >     [java] org.ofbiz.securityext.login.LoginEvents.forgotPassword(
>> > LoginEvents.java:102)
>> >     [java] sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
>> Method)
>> >     [java] sun.reflect.NativeMethodAccessorImpl.invoke(
>> > NativeMethodAccessorImpl.java:39)
>> >     [java] sun.reflect.DelegatingMethodAccessorImpl.invoke(
>> > DelegatingMethodAccessorImpl.java:25)
>> >     [java] java.lang.reflect.Method.invoke(Method.java:585)
>> >     [java] org.ofbiz.webapp.event.JavaEventHandler.invoke(
>> > JavaEventHandler.java:90)
>> >     [java] org.ofbiz.webapp.event.JavaEventHandler.invoke(
>> > JavaEventHandler.java:76)
>> >     [java] org.ofbiz.webapp.control.RequestHandler.runEvent(
>> > RequestHandler.java:408)
>> >     [java] org.ofbiz.webapp.control.RequestHandler.doRequest(
>> > RequestHandler.java:243)
>> >     [java] org.ofbiz.webapp.control.ControlServlet.doGet(
>> > ControlServlet.java:183)
>> >     [java] org.ofbiz.webapp.control.ControlServlet.doPost(
>> > ControlServlet.java:79)
>> >     [java] javax.servlet.http.HttpServlet.service
>> (HttpServlet.java:615)
>> >     [java] javax.servlet.http.HttpServlet.service
>> (HttpServlet.java:688)
>> >     [java]
>> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
>> > (ApplicationFilterChain.java:252)
>> >     [java]  
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(
>> > ApplicationFilterChain.java:173)
>> >     [java] org.ofbiz.webapp.control.ContextFilter.doFilter(
>> > ContextFilter.java:249)
>> >     [java]
>> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
>> > (ApplicationFilterChain.java:202)
>> >     [java]  
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(
>> > ApplicationFilterChain.java:173)
>> >     [java] org.apache.catalina.core.StandardWrapperValve.invoke(
>> > StandardWrapperValve.java:213)
>> >     [java] org.apache.catalina.core.StandardContextValve.invoke(
>> > StandardContextValve.java:178)
>> >     [java] org.apache.catalina.core.StandardHostValve.invoke(
>> > StandardHostValve.java:126)
>> >     [java] org.apache.catalina.valves.ErrorReportValve.invoke(
>> > ErrorReportValve.java:105)
>> >     [java] org.apache.catalina.core.StandardEngineValve.invoke(
>> > StandardEngineValve.java:107)
>> >     [java] org.apache.catalina.valves.AccessLogValve.invoke(
>> > AccessLogValve.java:541)
>> >     [java] org.apache.catalina.connector.CoyoteAdapter.service(
>> > CoyoteAdapter.java:148)
>> >     [java]
>> > org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java
>> > :199)
>> >     [java] org.apache.jk.common.HandlerRequest.invoke(
>> HandlerRequest.java
>> > :282)
>> >     [java] org.apache.jk.common.ChannelSocket.invoke
>> (ChannelSocket.java
>> > :754)
>> >     [java] org.apache.jk.common.ChannelSocket.processConnection(
>> > ChannelSocket.java:684)
>> >     [java] org.apache.jk.common.ChannelSocket
>> $SocketConnection.runIt(
>> > ChannelSocket.java:876)
>> >     [java] org.apache.tomcat.util.threads.ThreadPool
>> $ControlRunnable.run
>> (
>> > ThreadPool.java:684)
>> >     [java] java.lang.Thread.run(Thread.java:595)
>> >     [java]
>> >
>> ---------------------------------------------------------------------
>> -----------
>> >
>> >     [java] 2006-11-07 11:27:11,585 (TP-Processor7) [
>> > ServiceDispatcher.java:387:ERROR]
>> >     [java] ---- exception report
>> > ----------------------------------------------------------
>> >     [java] Service [sendMail] threw an unexpected exception/error
>> >     [java] Exception: org.ofbiz.service.ServiceValidationException
>> >     [java] Message: Unknown parameter found: [sendMail.partyId]
>> >     [java] ---- stack trace
>> > ---------------------------------------------------------------
>> >     [java] org.ofbiz.service.ServiceValidationException: Unknown
>> > parameter
>> > found: [sendMail.partyId]
>> >     [java] org.ofbiz.service.ModelService.valida
>> >
>>
>
>
>
> --
> G.Venkata Phanindra
> Mob:: 9849852989

Reply | Threaded
Open this post in threaded view
|

Re: Error with send email service

G.Venkata Phanindra
Hi Jones.
       I have installed ofbiz locally and i am working with demo ecommerce
site,
 as settings for email in general.prooperties yes i have enabled.

Regards
Phani

On 11/7/06, David E Jones <[hidden email]> wrote:

>
>
> Phani,
>
> The demo.dejc.com ecommerce site is not setup to send emails, which
> may be related to what you are seeing here.
>
> Is the setup you are testing on setup (in general.properties) to send
> emails?
>
> -David
>
>
> On Nov 6, 2006, at 11:32 PM, G.Venkata Phanindra wrote:
>
> > Hi Tim,
> > I am also getting this problem in the demo ecommerce store. when i
> > tried to
> > use Password email option.
> >
> > regards
> > Phani
> >
> > On 11/7/06, Tim Ruppert <[hidden email]> wrote:
> >>
> >> G, I ran this scenario and did not get this result.  Please try with
> >> with the demo application and let us know what you find.
> >>
> >> Cheers,
> >> Tim
> >>
> >> --
> >> Tim Ruppert
> >> HotWax Media
> >> http://www.hotwaxmedia.com
> >>
> >> o:801.649.6594
> >> f:801.649.6595
> >>
> >> G.Venkata Phanindra wrote:
> >> > Hi,
> >> >     I am getting following Error message with send email service
> >> when
> >> > i am
> >> > using for email password,
> >> >
> >> > Error occurred: unable to email password. Please try again later or
> >> > contact
> >> > customer service. (error was: Error send email :
> >> > org.ofbiz.service.ServiceValidationException: Unknown parameter
> >> found: [
> >> > sendMail.partyId]).
> >> >
> >> > I gues there is some problem with service defination but i could
> >> not
> >> > fix the
> >> > problem by adding Party id as an attribute for sendmail service in
> >> > applications/content/servicedef/services_email.xml, any
> >> information on
> >> > this
> >> > will be of great help. I am getting this  stack trace in the
> >> console
> >> >
> >> > 2006-11-07 11:27:11,579 (TP-Processor7) [
> >> > ModelService.java:394:ERROR]
> >> > [ModelService.validate] : {sendMail} : (OUT) Required test error:
> >> > org.ofbiz.service.ServiceValidationException: Unknown parameter
> >> found: [
> >> > sendMail.partyId]
> >> >     [java] 2006-11-07 11:27:11,582 (TP-Processor7) [
> >> > ServiceDispatcher.java:365:ERROR]
> >> >     [java] ---- exception report
> >> > ----------------------------------------------------------
> >> >     [java] Outgoing result (in runSync : sendMail) does not match
> >> > expected
> >> > requirements
> >> >     [java] Exception: org.ofbiz.service.ServiceValidationException
> >> >     [java] Message: Unknown parameter found: [sendMail.partyId]
> >> >     [java] ---- stack trace
> >> > ---------------------------------------------------------------
> >> >     [java] org.ofbiz.service.ServiceValidationException: Unknown
> >> > parameter
> >> > found: [sendMail.partyId]
> >> >     [java] org.ofbiz.service.ModelService.validate
> >> (ModelService.java
> >> :500)
> >> >     [java] org.ofbiz.service.ModelService.validate
> >> (ModelService.java
> >> :392)
> >> >     [java] org.ofbiz.service.ServiceDispatcher.runSync(
> >> > ServiceDispatcher.java:363)
> >> >     [java] org.ofbiz.service.ServiceDispatcher.runSync(
> >> > ServiceDispatcher.java:212)
> >> >     [java] org.ofbiz.service.GenericDispatcher.runSync(
> >> > GenericDispatcher.java:114)
> >> >     [java]
> >> org.ofbiz.content.email.EmailServices.sendMailFromScreen(
> >> > EmailServices.java:466)
> >> >     [java] sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> >> Method)
> >> >     [java] sun.reflect.NativeMethodAccessorImpl.invoke(
> >> > NativeMethodAccessorImpl.java:39)
> >> >     [java] sun.reflect.DelegatingMethodAccessorImpl.invoke(
> >> > DelegatingMethodAccessorImpl.java:25)
> >> >     [java] java.lang.reflect.Method.invoke(Method.java:585)
> >> >     [java]
> >> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(
> >> > StandardJavaEngine.java:92)
> >> >     [java] org.ofbiz.service.engine.StandardJavaEngine.runSync(
> >> > StandardJavaEngine.java:54)
> >> >     [java] org.ofbiz.service.ServiceDispatcher.runSync(
> >> > ServiceDispatcher.java:338)
> >> >     [java] org.ofbiz.service.ServiceDispatcher.runSync(
> >> > ServiceDispatcher.java:212)
> >> >     [java] org.ofbiz.service.GenericDispatcher.runSync(
> >> > GenericDispatcher.java:114)
> >> >     [java] org.ofbiz.securityext.login.LoginEvents.emailPassword(
> >> > LoginEvents.java:294)
> >> >     [java] org.ofbiz.securityext.login.LoginEvents.forgotPassword(
> >> > LoginEvents.java:102)
> >> >     [java] sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> >> Method)
> >> >     [java] sun.reflect.NativeMethodAccessorImpl.invoke(
> >> > NativeMethodAccessorImpl.java:39)
> >> >     [java] sun.reflect.DelegatingMethodAccessorImpl.invoke(
> >> > DelegatingMethodAccessorImpl.java:25)
> >> >     [java] java.lang.reflect.Method.invoke(Method.java:585)
> >> >     [java] org.ofbiz.webapp.event.JavaEventHandler.invoke(
> >> > JavaEventHandler.java:90)
> >> >     [java] org.ofbiz.webapp.event.JavaEventHandler.invoke(
> >> > JavaEventHandler.java:76)
> >> >     [java] org.ofbiz.webapp.control.RequestHandler.runEvent(
> >> > RequestHandler.java:408)
> >> >     [java] org.ofbiz.webapp.control.RequestHandler.doRequest(
> >> > RequestHandler.java:243)
> >> >     [java] org.ofbiz.webapp.control.ControlServlet.doGet(
> >> > ControlServlet.java:183)
> >> >     [java] org.ofbiz.webapp.control.ControlServlet.doPost(
> >> > ControlServlet.java:79)
> >> >     [java] javax.servlet.http.HttpServlet.service
> >> (HttpServlet.java:615)
> >> >     [java] javax.servlet.http.HttpServlet.service
> >> (HttpServlet.java:688)
> >> >     [java]
> >> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> >> > (ApplicationFilterChain.java:252)
> >> >     [java]
> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(
> >> > ApplicationFilterChain.java:173)
> >> >     [java] org.ofbiz.webapp.control.ContextFilter.doFilter(
> >> > ContextFilter.java:249)
> >> >     [java]
> >> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> >> > (ApplicationFilterChain.java:202)
> >> >     [java]
> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(
> >> > ApplicationFilterChain.java:173)
> >> >     [java] org.apache.catalina.core.StandardWrapperValve.invoke(
> >> > StandardWrapperValve.java:213)
> >> >     [java] org.apache.catalina.core.StandardContextValve.invoke(
> >> > StandardContextValve.java:178)
> >> >     [java] org.apache.catalina.core.StandardHostValve.invoke(
> >> > StandardHostValve.java:126)
> >> >     [java] org.apache.catalina.valves.ErrorReportValve.invoke(
> >> > ErrorReportValve.java:105)
> >> >     [java] org.apache.catalina.core.StandardEngineValve.invoke(
> >> > StandardEngineValve.java:107)
> >> >     [java] org.apache.catalina.valves.AccessLogValve.invoke(
> >> > AccessLogValve.java:541)
> >> >     [java] org.apache.catalina.connector.CoyoteAdapter.service(
> >> > CoyoteAdapter.java:148)
> >> >     [java]
> >> > org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java
> >> > :199)
> >> >     [java] org.apache.jk.common.HandlerRequest.invoke(
> >> HandlerRequest.java
> >> > :282)
> >> >     [java] org.apache.jk.common.ChannelSocket.invoke
> >> (ChannelSocket.java
> >> > :754)
> >> >     [java] org.apache.jk.common.ChannelSocket.processConnection(
> >> > ChannelSocket.java:684)
> >> >     [java] org.apache.jk.common.ChannelSocket
> >> $SocketConnection.runIt(
> >> > ChannelSocket.java:876)
> >> >     [java] org.apache.tomcat.util.threads.ThreadPool
> >> $ControlRunnable.run
> >> (
> >> > ThreadPool.java:684)
> >> >     [java] java.lang.Thread.run(Thread.java:595)
> >> >     [java]
> >> >
> >> ---------------------------------------------------------------------
> >> -----------
> >> >
> >> >     [java] 2006-11-07 11:27:11,585 (TP-Processor7) [
> >> > ServiceDispatcher.java:387:ERROR]
> >> >     [java] ---- exception report
> >> > ----------------------------------------------------------
> >> >     [java] Service [sendMail] threw an unexpected exception/error
> >> >     [java] Exception: org.ofbiz.service.ServiceValidationException
> >> >     [java] Message: Unknown parameter found: [sendMail.partyId]
> >> >     [java] ---- stack trace
> >> > ---------------------------------------------------------------
> >> >     [java] org.ofbiz.service.ServiceValidationException: Unknown
> >> > parameter
> >> > found: [sendMail.partyId]
> >> >     [java] org.ofbiz.service.ModelService.valida
> >> >
> >>
> >
> >
> >
> > --
> > G.Venkata Phanindra
> > Mob:: 9849852989
>
>


--
G.Venkata Phanindra
Mob:: 9849852989