533352: Error browsing ECommerce Forum (Gizmos)

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

533352: Error browsing ECommerce Forum (Gizmos)

Vinay Agarwal
Hello,

I am running into ServiceValidationException (from service
getPublicForumMessage) while trying to browse Ecommerce Gizmos forum (the
only one with content) from unmodified 533352 version. The service call
takes only one parameter which is being set correctly. Any suggestions?
Thanks in advance.

Regards,

Vinay Agarwal

Reply | Threaded
Open this post in threaded view
|

Re: 533352: Error browsing ECommerce Forum (Gizmos)

Jacopo Cappellato
Hi Vinay,

maybe it's an output parameter that is missing... what is the error message?

Jacopo

Vinay Agarwal wrote:

> Hello,
>
> I am running into ServiceValidationException (from service
> getPublicForumMessage) while trying to browse Ecommerce Gizmos forum (the
> only one with content) from unmodified 533352 version. The service call
> takes only one parameter which is being set correctly. Any suggestions?
> Thanks in advance.
>
> Regards,
>
> Vinay Agarwal
>
>

Reply | Threaded
Open this post in threaded view
|

RE: 533352: Error browsing ECommerce Forum (Gizmos)

Vinay Agarwal
Jacopo,
All the output parameters for getPublicForumMessage are optional. The error
message is below.
Regards,
Vinay

Method public java.util.Map
org.ofbiz.service.GenericDispatcher.runSync(java.lang.String,java.util.Map)
throws
org.ofbiz.service.ServiceValidationException,org.ofbiz.service.GenericServic
eException threw an exception when invoked on
org.ofbiz.service.WebAppDispatcher@13de2bd The problematic instruction:
---------- ==> assignment:
result=dispatcher.runSync("getPublicForumMessage",
Static["org.ofbiz.base.util.UtilMisc"].toMap("contentId", contentId)) [on
line 21, column 17 in messageDisplay.ftl] in include "messageDisplay.ftl"
[on line 21, column 9 in showforum.ftl] ---------- Java backtrace for
programmers: ---------- freemarker.template.TemplateModelException: Method
public java.util.Map
org.ofbiz.service.GenericDispatcher.runSync(java.lang.String,java.util.Map)
throws
org.ofbiz.service.ServiceValidationException,org.ofbiz.service.GenericServic
eException threw an exception when invoked on
org.ofbiz.service.WebAppDispatcher@13de2bd at
freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:1
34) at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93) at
freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at
freemarker.core.Assignment.accept(Assignment.java:90) at
freemarker.core.Environment.visit(Environment.java:196) at
freemarker.core.MixedContent.accept(MixedContent.java:92) at
freemarker.core.Environment.visit(Environment.java:196) at
freemarker.core.Environment.include(Environment.java:1375) at
freemarker.core.Include.accept(Include.java:155) at
freemarker.core.Environment.visit(Environment.java:196) at
freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160) at
freemarker.core.Environment.visit(Environment.java:351) at
freemarker.core.IteratorBlock.accept(IteratorBlock.java:95) at
freemarker.core.Environment.visit(Environment.java:196) at
freemarker.core.MixedContent.accept(MixedContent.java:92) at
freemarker.core.Environment.visit(Environment.java:196) at
freemarker.core.Environment.process(Environment.java:176) at
freemarker.template.Template.process(Template.java:232) at
org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateAtLocation(FreeM
arkerWorker.java:179) at
org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:77) at
org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidge
t.java:105) at
org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:64) at
org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetStrin
g(ModelScreenWidget.java:807) at
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
Widget.java:152) at
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
reenWidget.java:245) at
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
Widget.java:152) at
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetStrin
g(ModelScreenWidget.java:522) at
org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScree
nWidget.java:184) at
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidg
etString(ModelScreenWidget.java:554) at
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
Widget.java:152) at
org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
ScreenWidget.java:300) at
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
Widget.java:152) at
org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
ScreenWidget.java:300) at
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
Widget.java:152) at
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
reenWidget.java:245) at
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:134)
at
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString
(ModelScreenWidget.java:490) at
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
Widget.java:152) at
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
reenWidget.java:245) at
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:134)
at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105) at
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90) at
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandl
er.java:78) at
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:644)
at
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:428)
at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:193) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:595) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:688) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173) at
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:202) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173) at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:213) at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:178) at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
) at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
) at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:107) at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processC
onnection(Http11BaseProtocol.java:664) at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
a:527) at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
rkerThread.java:80) at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684) at java.lang.Thread.run(Thread.java:619) Caused by:
org.ofbiz.service.ServiceAuthException: User authorization is required for
this service: genericContentPermission at
org.ofbiz.service.ServiceDispatcher.checkAuth(ServiceDispatcher.java:780) at
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:303) at
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211) at
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136) at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
java:25) at java.lang.reflect.Method.invoke(Method.java:597) at
freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:616) at
freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:1
11) ... 65 more

-----Original Message-----
From: Jacopo Cappellato [mailto:[hidden email]]
Sent: Saturday, April 28, 2007 8:24 AM
To: [hidden email]
Subject: Re: 533352: Error browsing ECommerce Forum (Gizmos)

Hi Vinay,

maybe it's an output parameter that is missing... what is the error message?

Jacopo

Vinay Agarwal wrote:

> Hello,
>
> I am running into ServiceValidationException (from service
> getPublicForumMessage) while trying to browse Ecommerce Gizmos forum (the
> only one with content) from unmodified 533352 version. The service call
> takes only one parameter which is being set correctly. Any suggestions?
> Thanks in advance.
>
> Regards,
>
> Vinay Agarwal
>
>


Reply | Threaded
Open this post in threaded view
|

Re: 533352: Error browsing ECommerce Forum (Gizmos)

Jacopo Cappellato
In reply to this post by Jacopo Cappellato
Ah,

the relevant part is this:

User authorization is required for
this service: genericContentPermission

I think that we are not passing the "userLogin" object to the parameter...

Jacopo

Vinay Agarwal wrote:

> Jacopo,
> All the output parameters for getPublicForumMessage are optional. The error
> message is below.
> Regards,
> Vinay
>
> Method public java.util.Map
> org.ofbiz.service.GenericDispatcher.runSync(java.lang.String,java.util.Map)
> throws
> org.ofbiz.service.ServiceValidationException,org.ofbiz.service.GenericServic
> eException threw an exception when invoked on
> org.ofbiz.service.WebAppDispatcher@13de2bd The problematic instruction:
> ---------- ==> assignment:
> result=dispatcher.runSync("getPublicForumMessage",
> Static["org.ofbiz.base.util.UtilMisc"].toMap("contentId", contentId)) [on
> line 21, column 17 in messageDisplay.ftl] in include "messageDisplay.ftl"
> [on line 21, column 9 in showforum.ftl] ---------- Java backtrace for
> programmers: ---------- freemarker.template.TemplateModelException: Method
> public java.util.Map
> org.ofbiz.service.GenericDispatcher.runSync(java.lang.String,java.util.Map)
> throws
> org.ofbiz.service.ServiceValidationException,org.ofbiz.service.GenericServic
> eException threw an exception when invoked on
> org.ofbiz.service.WebAppDispatcher@13de2bd at
> freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:1
> 34) at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93) at
> freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at
> freemarker.core.Assignment.accept(Assignment.java:90) at
> freemarker.core.Environment.visit(Environment.java:196) at
> freemarker.core.MixedContent.accept(MixedContent.java:92) at
> freemarker.core.Environment.visit(Environment.java:196) at
> freemarker.core.Environment.include(Environment.java:1375) at
> freemarker.core.Include.accept(Include.java:155) at
> freemarker.core.Environment.visit(Environment.java:196) at
> freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160) at
> freemarker.core.Environment.visit(Environment.java:351) at
> freemarker.core.IteratorBlock.accept(IteratorBlock.java:95) at
> freemarker.core.Environment.visit(Environment.java:196) at
> freemarker.core.MixedContent.accept(MixedContent.java:92) at
> freemarker.core.Environment.visit(Environment.java:196) at
> freemarker.core.Environment.process(Environment.java:176) at
> freemarker.template.Template.process(Template.java:232) at
> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateAtLocation(FreeM
> arkerWorker.java:179) at
> org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:77) at
> org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidge
> t.java:105) at
> org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:64) at
> org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetStrin
> g(ModelScreenWidget.java:807) at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:152) at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
> reenWidget.java:245) at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:152) at
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetStrin
> g(ModelScreenWidget.java:522) at
> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScree
> nWidget.java:184) at
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidg
> etString(ModelScreenWidget.java:554) at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:152) at
> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
> ScreenWidget.java:300) at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:152) at
> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
> ScreenWidget.java:300) at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:152) at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
> reenWidget.java:245) at
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:134)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString
> (ModelScreenWidget.java:490) at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:152) at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
> reenWidget.java:245) at
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:134)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105) at
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90) at
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandl
> er.java:78) at
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:644)
> at
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:428)
> at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:193) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688) at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:252) at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:173) at
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248) at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:202) at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:173) at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:213) at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> va:178) at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
> ) at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
> ) at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
> :107) at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> at
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processC
> onnection(Http11BaseProtocol.java:664) at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
> a:527) at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
> rkerThread.java:80) at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> a:684) at java.lang.Thread.run(Thread.java:619) Caused by:
> org.ofbiz.service.ServiceAuthException: User authorization is required for
> this service: genericContentPermission at
> org.ofbiz.service.ServiceDispatcher.checkAuth(ServiceDispatcher.java:780) at
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:303) at
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211) at
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136) at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> ) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> java:25) at java.lang.reflect.Method.invoke(Method.java:597) at
> freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:616) at
> freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:1
> 11) ... 65 more
>
> -----Original Message-----
> From: Jacopo Cappellato [mailto:[hidden email]]
> Sent: Saturday, April 28, 2007 8:24 AM
> To: [hidden email]
> Subject: Re: 533352: Error browsing ECommerce Forum (Gizmos)
>
> Hi Vinay,
>
> maybe it's an output parameter that is missing... what is the error message?
>
> Jacopo
>
> Vinay Agarwal wrote:
>> Hello,
>>
>> I am running into ServiceValidationException (from service
>> getPublicForumMessage) while trying to browse Ecommerce Gizmos forum (the
>> only one with content) from unmodified 533352 version. The service call
>> takes only one parameter which is being set correctly. Any suggestions?
>> Thanks in advance.
>>
>> Regards,
>>
>> Vinay Agarwal
>>
>>
>

Reply | Threaded
Open this post in threaded view
|

RE: 533352: Error browsing ECommerce Forum (Gizmos)

Vinay Agarwal
Passing userLogin object to getPublicForumMessage service displays the forum
correctly when the userLogin object does exist. If there isn't a login,
which passing userLogin for anonymous user ends is permission error. Is
there a special user for content defined for browsing forums without a
login?

Vinay

-----Original Message-----
From: Jacopo Cappellato [mailto:[hidden email]]
Sent: Saturday, April 28, 2007 8:36 AM
To: [hidden email]
Subject: Re: 533352: Error browsing ECommerce Forum (Gizmos)

Ah,

the relevant part is this:

User authorization is required for
this service: genericContentPermission

I think that we are not passing the "userLogin" object to the parameter...

Jacopo

Vinay Agarwal wrote:
> Jacopo,
> All the output parameters for getPublicForumMessage are optional. The
error
> message is below.
> Regards,
> Vinay
>
> Method public java.util.Map
>
org.ofbiz.service.GenericDispatcher.runSync(java.lang.String,java.util.Map)
> throws
>
org.ofbiz.service.ServiceValidationException,org.ofbiz.service.GenericServic

> eException threw an exception when invoked on
> org.ofbiz.service.WebAppDispatcher@13de2bd The problematic instruction:
> ---------- ==> assignment:
> result=dispatcher.runSync("getPublicForumMessage",
> Static["org.ofbiz.base.util.UtilMisc"].toMap("contentId", contentId)) [on
> line 21, column 17 in messageDisplay.ftl] in include "messageDisplay.ftl"
> [on line 21, column 9 in showforum.ftl] ---------- Java backtrace for
> programmers: ---------- freemarker.template.TemplateModelException: Method
> public java.util.Map
>
org.ofbiz.service.GenericDispatcher.runSync(java.lang.String,java.util.Map)
> throws
>
org.ofbiz.service.ServiceValidationException,org.ofbiz.service.GenericServic
> eException threw an exception when invoked on
> org.ofbiz.service.WebAppDispatcher@13de2bd at
>
freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:1
> 34) at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
at

> freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at
> freemarker.core.Assignment.accept(Assignment.java:90) at
> freemarker.core.Environment.visit(Environment.java:196) at
> freemarker.core.MixedContent.accept(MixedContent.java:92) at
> freemarker.core.Environment.visit(Environment.java:196) at
> freemarker.core.Environment.include(Environment.java:1375) at
> freemarker.core.Include.accept(Include.java:155) at
> freemarker.core.Environment.visit(Environment.java:196) at
> freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160) at
> freemarker.core.Environment.visit(Environment.java:351) at
> freemarker.core.IteratorBlock.accept(IteratorBlock.java:95) at
> freemarker.core.Environment.visit(Environment.java:196) at
> freemarker.core.MixedContent.accept(MixedContent.java:92) at
> freemarker.core.Environment.visit(Environment.java:196) at
> freemarker.core.Environment.process(Environment.java:176) at
> freemarker.template.Template.process(Template.java:232) at
>
org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateAtLocation(FreeM
> arkerWorker.java:179) at
> org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:77)
at
>
org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidge
> t.java:105) at
> org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:64)
at
>
org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetStrin
> g(ModelScreenWidget.java:807) at
>
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:152) at
>
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
> reenWidget.java:245) at
>
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:152) at
>
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetStrin
> g(ModelScreenWidget.java:522) at
>
org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScree
> nWidget.java:184) at
>
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidg
> etString(ModelScreenWidget.java:554) at
>
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:152) at
>
org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
> ScreenWidget.java:300) at
>
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:152) at
>
org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
> ScreenWidget.java:300) at
>
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:152) at
>
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
> reenWidget.java:245) at
>
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:134)
> at
>
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString
> (ModelScreenWidget.java:490) at
>
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:152) at
>
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
> reenWidget.java:245) at
>
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:134)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
at
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90) at
>
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandl
> er.java:78) at
>
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:644)
> at
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:428)
> at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:193)
at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688) at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:252) at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:173) at
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248) at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:202) at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:173) at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:213) at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> va:178) at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
> ) at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
> ) at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
> :107) at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
at
>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> at
>
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processC
> onnection(Http11BaseProtocol.java:664) at
>
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
> a:527) at
>
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
> rkerThread.java:80) at
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> a:684) at java.lang.Thread.run(Thread.java:619) Caused by:
> org.ofbiz.service.ServiceAuthException: User authorization is required for
> this service: genericContentPermission at
> org.ofbiz.service.ServiceDispatcher.checkAuth(ServiceDispatcher.java:780)
at
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:303) at
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211) at
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136) at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> ) at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> java:25) at java.lang.reflect.Method.invoke(Method.java:597) at
> freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:616) at
>
freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:1

> 11) ... 65 more
>
> -----Original Message-----
> From: Jacopo Cappellato [mailto:[hidden email]]
> Sent: Saturday, April 28, 2007 8:24 AM
> To: [hidden email]
> Subject: Re: 533352: Error browsing ECommerce Forum (Gizmos)
>
> Hi Vinay,
>
> maybe it's an output parameter that is missing... what is the error
message?

>
> Jacopo
>
> Vinay Agarwal wrote:
>> Hello,
>>
>> I am running into ServiceValidationException (from service
>> getPublicForumMessage) while trying to browse Ecommerce Gizmos forum (the
>> only one with content) from unmodified 533352 version. The service call
>> takes only one parameter which is being set correctly. Any suggestions?
>> Thanks in advance.
>>
>> Regards,
>>
>> Vinay Agarwal
>>
>>
>