[OFBiz] Users - A few errors/exceptions with latest SVN build

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

[OFBiz] Users - A few errors/exceptions with latest SVN build

Charles So-2
Dear List Members,

Recently I played with SVN 6066 and SVN 6090. There was an error when  
OFBiz is starting up. Also, an assortment of exceptions (total of 3,  
all listed below) when I play around in ecommerce. One of them is  
fairly critical - cannot log in via ecommerce using a newly created  
account.

--> Error 1 (start up error)

231892 (invoker-Thread-7) [   GenericDelegator.java:1798:ERROR]
---- exception report  
----------------------------------------------------------
ERROR: Cannot do a find that returns an EntityListIterator with no  
transaction in place. Wrap this call in a transaction.
Exception: java.lang.Exception
Message: Stack Trace
---- stack trace  
---------------------------------------------------------------
java.lang.Exception: Stack Trace
org.ofbiz.entity.GenericDelegator.findListIteratorByCondition
(GenericDelegator.java:1797)
org.ofbiz.entity.GenericDelegator.findListIteratorByCondition
(GenericDelegator.java:1775)
org.ofbiz.shipment.shipment.ShipmentServices.updateShipmentsFromStaging(
ShipmentServices.java:635)
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:324)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker
(StandardJavaEngine.java:101)
org.ofbiz.service.engine.StandardJavaEngine.runSync
(StandardJavaEngine.java:63)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339)
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:552)
------------------------------------------------------------------------
--------

This does not seem normal as this error occurred the first time I ran  
both SVN editions (after building it using 'ant run-install'). Is  
this a bug?

--> Error 2

In addition, I come across a run time exception when I played with  
ecommerce. The exception occurred upon clicking on "submit" button in  
the "Mouse Hand Poll" section. Again, clicking on the button is the  
first action upon loading the ecommerce page.

564317 (http-0.0.0.0-8080-Processor8) [       SimpleMethod.java:
779:INFO ] The env-to-field operation has been deprecated in favor of  
the set operation; found use of this in [Create Survey Question  
Application [file:/Users/charles/Desktop/OFBiz_6090/applications/
content/script/org/ofbiz/content/survey/
SurveyServices.xml#createSurveyQuestionAppl]]: <env-to-field env-
name="nowTimestamp" field-name="fromDate" map-name="newEntity"/>
564630 (http-0.0.0.0-8080-Processor8) [       SimpleMethod.java:
783:INFO ] The field-to-env operation has been deprecated in favor of  
the set operation; found use of this in [Create Survey Response  
[file:/Users/charles/Desktop/OFBiz_6090/applications/content/script/
org/ofbiz/content/survey/SurveyServices.xml#createSurveyResponse]]:  
<field-to-env env-name="answers" field-name="answers" map-
name="parameters"/>
564717 (http-0.0.0.0-8080-Processor8) [       SimpleMethod.java:
779:INFO ] The env-to-field operation has been deprecated in favor of  
the set operation; found use of this in [Create Survey Response  
[file:/Users/charles/Desktop/OFBiz_6090/applications/content/script/
org/ofbiz/content/survey/SurveyServices.xml#createSurveyResponse]]:  
<env-to-field env-name="surveyResponseId" field-
name="surveyResponseId" map-name="surveyResponse"/>
565114 (http-0.0.0.0-8080-Processor8) [    TransactionUtil.java:
282:WARN ]
---- exception report  
----------------------------------------------------------
[TransactionUtil.setRollbackOnly] Calling transaction  
setRollbackOnly; this stack trace shows where this is happening:
Exception: java.lang.Exception
Message: null
---- stack trace  
---------------------------------------------------------------
java.lang.Exception
org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly
(TransactionUtil.java:282)
org.ofbiz.entity.transaction.TransactionUtil.rollback
(TransactionUtil.java:232)
org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:698)
org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:116)
org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:98)
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker
(SimpleServiceEngine.java:86)
org.ofbiz.minilang.SimpleServiceEngine.runSync
(SimpleServiceEngine.java:61)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110)
org.ofbiz.webapp.event.ServiceEventHandler.invoke
(ServiceEventHandler.java:296)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:
393)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:
250)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:87)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:173)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:178)
org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:107)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
526)
org.apache.catalina.connector.CoyoteAdapter.service
(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
856)
org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:552)
------------------------------------------------------------------------
--------

565154 (http-0.0.0.0-8080-Processor8) [  ServiceDispatcher.java:
407:ERROR] Service Error [createSurveyResponse]: Anonymous response  
to this survey is not allowed
565160 (http-0.0.0.0-8080-Processor8) [    TransactionUtil.java:
249: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:248)
org.ofbiz.entity.transaction.TransactionUtil.rollback
(TransactionUtil.java:230)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:411)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110)
org.ofbiz.webapp.event.ServiceEventHandler.invoke
(ServiceEventHandler.java:296)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:
393)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:
250)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:87)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:173)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:178)
org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:107)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
526)
org.apache.catalina.connector.CoyoteAdapter.service
(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
856)
org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:552)
------------------------------------------------------------------------
--------

565172 (http-0.0.0.0-8080-Processor8) [    TransactionUtil.java:
259:INFO ] [TransactionUtil.rollback] transaction rolled back
565176 (http-0.0.0.0-8080-Processor8) [  ServiceDispatcher.java:
447:DEBUG] [[Sync service finished- total:2.094,since last(Begin):
2.094]] - 'ecommerce / createSurveyResponse'
565566 (http-0.0.0.0-8080-Processor8) [     RequestHandler.java:
281:ERROR] Request minipoll caused an error with the following  
message: Anonymous response to this survey is not allowed

--> Error 3

Upon clicking on the link "Ask the Experts", here is another exception :

796794 (http-0.0.0.0-8443-Processor3) [EntityPermissionChecker.java:
841:ERROR]
---- exception report  
----------------------------------------------------------
No associated purposes found.
Exception: org.ofbiz.entity.GenericModelException
Message: Could not find relation for relationName:  
ContentDataResourceViewPurpose for value  
[GenericEntity:ContentDataResourceView][characterSetId,null()]
[childBranchCount,null()][childLeafCount,null()][contentId,ASK
(java.lang.String)][contentName,Ask the Experts(java.lang.String)]
[contentTypeId,WEB_SITE_PUB_PT(java.lang.String)]
[createdByUserLogin,admin(java.lang.String)][createdDate,2004-03-01  
12:00:00.0(java.sql.Timestamp)][dataResourceId,null()]
[dataSourceId,null()][description,Ask the Experts(java.lang.String)]
[drCharacterSetId,null()][drCreatedByUserLogin,null()]
[drCreatedDate,null()][drDataCategoryId,null()][drDataResourceId,null
()][drDataResourceName,null()][drDataResourceTypeId,null()]
[drDataSourceId,null()][drDataTemplateTypeId,null()]
[drLastModifiedByUserLogin,null()][drLastModifiedDate,null()]
[drLocaleString,null()][drMimeTypeId,null()][drObjectInfo,null()]
[drStatusId,null()][lastModifiedByUserLogin,null()]
[lastModifiedDate,null()][localeString,null()][mimeTypeId,null()]
[ownerContentId,WebStoreFORUM(java.lang.String)][privilegeEnumId,null
()][serviceName,null()][statusId,null()][templateDataResourceId,null()]
---- stack trace  
---------------------------------------------------------------
org.ofbiz.entity.GenericModelException: Could not find relation for  
relationName: ContentDataResourceViewPurpose for value  
[GenericEntity:ContentDataResourceView][characterSetId,null()]
[childBranchCount,null()][childLeafCount,null()][contentId,ASK
(java.lang.String)][contentName,Ask the Experts(java.lang.String)]
[contentTypeId,WEB_SITE_PUB_PT(java.lang.String)]
[createdByUserLogin,admin(java.lang.String)][createdDate,2004-03-01  
12:00:00.0(java.sql.Timestamp)][dataResourceId,null()]
[dataSourceId,null()][description,Ask the Experts(java.lang.String)]
[drCharacterSetId,null()][drCreatedByUserLogin,null()]
[drCreatedDate,null()][drDataCategoryId,null()][drDataResourceId,null
()][drDataResourceName,null()][drDataResourceTypeId,null()]
[drDataSourceId,null()][drDataTemplateTypeId,null()]
[drLastModifiedByUserLogin,null()][drLastModifiedDate,null()]
[drLocaleString,null()][drMimeTypeId,null()][drObjectInfo,null()]
[drStatusId,null()][lastModifiedByUserLogin,null()]
[lastModifiedDate,null()][localeString,null()][mimeTypeId,null()]
[ownerContentId,WebStoreFORUM(java.lang.String)][privilegeEnumId,null
()][serviceName,null()][statusId,null()][templateDataResourceId,null()]
org.ofbiz.entity.GenericDelegator.getRelatedCache
(GenericDelegator.java:2080)
org.ofbiz.entity.GenericValue.getRelatedCache(GenericValue.java:196)
org.ofbiz.entityext.permission.EntityPermissionChecker.getRelatedPurpose
s(EntityPermissionChecker.java:839)
org.ofbiz.entityext.permission.EntityPermissionChecker.checkPermissionMe
thod(EntityPermissionChecker.java:386)
org.ofbiz.entityext.permission.EntityPermissionChecker.checkPermission
(EntityPermissionChecker.java:224)
org.ofbiz.content.webapp.ftl.CheckPermissionTransform$1.onStart
(CheckPermissionTransform.java:161)
freemarker.core.Environment.visit(Environment.java:230)
freemarker.core.UnifiedCall.accept(UnifiedCall.java:116)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.Macro$Context.runMacro(Macro.java:164)
freemarker.core.Environment.visit(Environment.java:537)
freemarker.core.UnifiedCall.accept(UnifiedCall.java:128)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.Environment.process(Environment.java:176)
freemarker.template.Template.process(Template.java:231)
org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateAtLocation
(FreeMarkerWorker.java:176)
org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:
86)
org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString
(HtmlWidget.java:114)
org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:
73)
org.ofbiz.widget.screen.ModelScreenWidget
$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:802)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString
(ModelScreenWidget.java:157)
org.ofbiz.widget.screen.ModelScreenWidget
$DecoratorSection.renderWidgetString(ModelScreenWidget.java:528)
org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render
(ModelScreenWidget.java:189)
org.ofbiz.widget.screen.ModelScreenWidget
$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:550)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString
(ModelScreenWidget.java:157)
org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString
(ModelScreenWidget.java:306)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString
(ModelScreenWidget.java:157)
org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString
(ModelScreenWidget.java:306)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString
(ModelScreenWidget.java:157)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString
(ModelScreenWidget.java:250)
org.ofbiz.widget.screen.ModelScreen.renderScreenString
(ModelScreen.java:124)
org.ofbiz.widget.screen.ModelScreenWidget
$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:496)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString
(ModelScreenWidget.java:157)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString
(ModelScreenWidget.java:250)
org.ofbiz.widget.screen.ModelScreen.renderScreenString
(ModelScreen.java:124)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:115)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:100)
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render
(ScreenWidgetViewHandler.java:85)
org.ofbiz.webapp.control.RequestHandler.renderView
(RequestHandler.java:589)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:
374)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:173)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:178)
org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:107)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
526)
org.apache.catalina.connector.CoyoteAdapter.service
(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
856)
org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:552)
------------------------------------------------------------------------
--------

796876 (http-0.0.0.0-8443-Processor3) [EntityPermissionChecker.java:
841:ERROR]
---- exception report  
----------------------------------------------------------
No associated purposes found.
Exception: org.ofbiz.entity.GenericModelException
Message: Could not find relation for relationName:  
ContentDataResourceViewPurpose for value  
[GenericEntity:ContentDataResourceView][characterSetId,null()]
[childBranchCount,null()][childLeafCount,null()][contentId,ASK
(java.lang.String)][contentName,Ask the Experts(java.lang.String)]
[contentTypeId,WEB_SITE_PUB_PT(java.lang.String)]
[createdByUserLogin,admin(java.lang.String)][createdDate,2004-03-01  
12:00:00.0(java.sql.Timestamp)][dataResourceId,null()]
[dataSourceId,null()][description,Ask the Experts(java.lang.String)]
[drCharacterSetId,null()][drCreatedByUserLogin,null()]
[drCreatedDate,null()][drDataCategoryId,null()][drDataResourceId,null
()][drDataResourceName,null()][drDataResourceTypeId,null()]
[drDataSourceId,null()][drDataTemplateTypeId,null()]
[drLastModifiedByUserLogin,null()][drLastModifiedDate,null()]
[drLocaleString,null()][drMimeTypeId,null()][drObjectInfo,null()]
[drStatusId,null()][lastModifiedByUserLogin,null()]
[lastModifiedDate,null()][localeString,null()][mimeTypeId,null()]
[ownerContentId,WebStoreFORUM(java.lang.String)][privilegeEnumId,null
()][serviceName,null()][statusId,null()][templateDataResourceId,null()]
---- stack trace  
---------------------------------------------------------------
org.ofbiz.entity.GenericModelException: Could not find relation for  
relationName: ContentDataResourceViewPurpose for value  
[GenericEntity:ContentDataResourceView][characterSetId,null()]
[childBranchCount,null()][childLeafCount,null()][contentId,ASK
(java.lang.String)][contentName,Ask the Experts(java.lang.String)]
[contentTypeId,WEB_SITE_PUB_PT(java.lang.String)]
[createdByUserLogin,admin(java.lang.String)][createdDate,2004-03-01  
12:00:00.0(java.sql.Timestamp)][dataResourceId,null()]
[dataSourceId,null()][description,Ask the Experts(java.lang.String)]
[drCharacterSetId,null()][drCreatedByUserLogin,null()]
[drCreatedDate,null()][drDataCategoryId,null()][drDataResourceId,null
()][drDataResourceName,null()][drDataResourceTypeId,null()]
[drDataSourceId,null()][drDataTemplateTypeId,null()]
[drLastModifiedByUserLogin,null()][drLastModifiedDate,null()]
[drLocaleString,null()][drMimeTypeId,null()][drObjectInfo,null()]
[drStatusId,null()][lastModifiedByUserLogin,null()]
[lastModifiedDate,null()][localeString,null()][mimeTypeId,null()]
[ownerContentId,WebStoreFORUM(java.lang.String)][privilegeEnumId,null
()][serviceName,null()][statusId,null()][templateDataResourceId,null()]
org.ofbiz.entity.GenericDelegator.getRelatedCache
(GenericDelegator.java:2080)
org.ofbiz.entity.GenericValue.getRelatedCache(GenericValue.java:196)
org.ofbiz.entityext.permission.EntityPermissionChecker.getRelatedPurpose
s(EntityPermissionChecker.java:839)
org.ofbiz.entityext.permission.EntityPermissionChecker.checkPermissionMe
thod(EntityPermissionChecker.java:386)
org.ofbiz.entityext.permission.EntityPermissionChecker.checkPermission
(EntityPermissionChecker.java:224)
org.ofbiz.content.webapp.ftl.CheckPermissionTransform$1.onStart
(CheckPermissionTransform.java:161)
freemarker.core.Environment.visit(Environment.java:230)
freemarker.core.UnifiedCall.accept(UnifiedCall.java:116)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.Macro$Context.runMacro(Macro.java:164)
freemarker.core.Environment.visit(Environment.java:537)
freemarker.core.UnifiedCall.accept(UnifiedCall.java:128)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:196)
freemarker.core.Environment.process(Environment.java:176)
freemarker.template.Template.process(Template.java:231)
org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateAtLocation
(FreeMarkerWorker.java:176)
org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:
86)
org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString
(HtmlWidget.java:114)
org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:
73)
org.ofbiz.widget.screen.ModelScreenWidget
$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:802)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString
(ModelScreenWidget.java:157)
org.ofbiz.widget.screen.ModelScreenWidget
$DecoratorSection.renderWidgetString(ModelScreenWidget.java:528)
org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render
(ModelScreenWidget.java:189)
org.ofbiz.widget.screen.ModelScreenWidget
$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:550)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString
(ModelScreenWidget.java:157)
org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString
(ModelScreenWidget.java:306)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString
(ModelScreenWidget.java:157)
org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString
(ModelScreenWidget.java:306)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString
(ModelScreenWidget.java:157)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString
(ModelScreenWidget.java:250)
org.ofbiz.widget.screen.ModelScreen.renderScreenString
(ModelScreen.java:124)
org.ofbiz.widget.screen.ModelScreenWidget
$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:496)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString
(ModelScreenWidget.java:157)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString
(ModelScreenWidget.java:250)
org.ofbiz.widget.screen.ModelScreen.renderScreenString
(ModelScreen.java:124)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:115)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:100)
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render
(ScreenWidgetViewHandler.java:85)
org.ofbiz.webapp.control.RequestHandler.renderView
(RequestHandler.java:589)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:
374)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:173)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:178)
org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:107)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
526)
org.apache.catalina.connector.CoyoteAdapter.service
(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
856)
org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:552)
------------------------------------------------------------------------
--------

--> Error 4

Created an account within ecommerce, specified email address as the  
user name. Specified a password too.

Once completed, ecommerce would display the default page, with  
Welcome <new user name> at the top of the screen. Click on "Not you",  
and come to the log in screen.

Type in the new user name (in the form of email address), type in the  
password and click on "Login". Exception would occur. As the result,  
I cannot log in using the newly created account.

1160050 (http-0.0.0.0-8443-Processor2) [     RequestHandler.java:
210:INFO ] [Processing Request]: login
1160162 (http-0.0.0.0-8443-Processor2) [      LoginServices.java:
213:INFO ] [LoginServices.userLogin] : Password Incorrect
1162233 (http-0.0.0.0-8443-Processor2) [  ServiceDispatcher.java:
407:ERROR] Service Error [userLogin]: Password incorrect.
1162313 (http-0.0.0.0-8443-Processor2) [    TransactionUtil.java:
249: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:248)
org.ofbiz.entity.transaction.TransactionUtil.rollback
(TransactionUtil.java:230)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:411)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110)
org.ofbiz.securityext.login.LoginEvents.login(LoginEvents.java:226)
org.ofbiz.securityext.login.LoginEvents.storeLogin(LoginEvents.java:746)
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:324)
org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:99)
org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:85)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:
393)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:
250)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:87)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:173)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:178)
org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:107)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
526)
org.apache.catalina.connector.CoyoteAdapter.service
(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
856)
org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:552)
------------------------------------------------------------------------
--------

1162528 (http-0.0.0.0-8443-Processor2) [    TransactionUtil.java:
259:INFO ] [TransactionUtil.rollback] transaction rolled back
1162533 (http-0.0.0.0-8443-Processor2) [  ServiceDispatcher.java:
447:DEBUG] [[Sync service finished- total:2.478,since last(Begin):
2.478]] - 'ecommerce / userLogin'
1162540 (http-0.0.0.0-8443-Processor2) [     RequestHandler.java:
281:ERROR] Request login caused an error with the following message:  
The following error occurred during login: Password incorrect.



I am running on OSX Server Tiger 10.4.3, with Java 1.4.2 Release 2.  
Stock configuration - no external DB.

Does anyone else come across these errors?

Cheers,

Charles
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: [OFBiz] Users - A few errors/exceptions with latest SVN build

David E. Jones

This does not affect anything except for the stuff it is part of, and  
there is already an issue in Jira for it that is assigned to Andy  
Zeneski who wrote and is maintaining this code, though I guess it's  
not a priority for him since it has been there for a few weeks.

Unless you need to use this code, don't worry about it. If you do  
need this code, you might want to email Andy directly as often  
doesn't have time to monitor these lists.

-David


On Nov 8, 2005, at 11:12 AM, Charles So wrote:

> Dear List Members,
>
> Recently I played with SVN 6066 and SVN 6090. There was an error  
> when OFBiz is starting up. Also, an assortment of exceptions (total  
> of 3, all listed below) when I play around in ecommerce. One of  
> them is fairly critical - cannot log in via ecommerce using a newly  
> created account.
>
> --> Error 1 (start up error)
>
> 231892 (invoker-Thread-7) [   GenericDelegator.java:1798:ERROR]
> ---- exception report  
> ----------------------------------------------------------
> ERROR: Cannot do a find that returns an EntityListIterator with no  
> transaction in place. Wrap this call in a transaction.
> Exception: java.lang.Exception
> Message: Stack Trace
> ---- stack trace  
> ---------------------------------------------------------------
> java.lang.Exception: Stack Trace
> org.ofbiz.entity.GenericDelegator.findListIteratorByCondition
> (GenericDelegator.java:1797)
> org.ofbiz.entity.GenericDelegator.findListIteratorByCondition
> (GenericDelegator.java:1775)
> org.ofbiz.shipment.shipment.ShipmentServices.updateShipmentsFromStagin
> g(ShipmentServices.java:635)
> 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:324)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker
> (StandardJavaEngine.java:101)
> org.ofbiz.service.engine.StandardJavaEngine.runSync
> (StandardJavaEngine.java:63)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:
> 339)
> 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:552)
> ----------------------------------------------------------------------
> ----------
>
> This does not seem normal as this error occurred the first time I  
> ran both SVN editions (after building it using 'ant run-install').  
> Is this a bug?
>
> --> Error 2
>
> In addition, I come across a run time exception when I played with  
> ecommerce. The exception occurred upon clicking on "submit" button  
> in the "Mouse Hand Poll" section. Again, clicking on the button is  
> the first action upon loading the ecommerce page.
>
> 564317 (http-0.0.0.0-8080-Processor8) [       SimpleMethod.java:
> 779:INFO ] The env-to-field operation has been deprecated in favor  
> of the set operation; found use of this in [Create Survey Question  
> Application [file:/Users/charles/Desktop/OFBiz_6090/applications/
> content/script/org/ofbiz/content/survey/
> SurveyServices.xml#createSurveyQuestionAppl]]: <env-to-field env-
> name="nowTimestamp" field-name="fromDate" map-name="newEntity"/>
> 564630 (http-0.0.0.0-8080-Processor8) [       SimpleMethod.java:
> 783:INFO ] The field-to-env operation has been deprecated in favor  
> of the set operation; found use of this in [Create Survey Response  
> [file:/Users/charles/Desktop/OFBiz_6090/applications/content/script/
> org/ofbiz/content/survey/SurveyServices.xml#createSurveyResponse]]:  
> <field-to-env env-name="answers" field-name="answers" map-
> name="parameters"/>
> 564717 (http-0.0.0.0-8080-Processor8) [       SimpleMethod.java:
> 779:INFO ] The env-to-field operation has been deprecated in favor  
> of the set operation; found use of this in [Create Survey Response  
> [file:/Users/charles/Desktop/OFBiz_6090/applications/content/script/
> org/ofbiz/content/survey/SurveyServices.xml#createSurveyResponse]]:  
> <env-to-field env-name="surveyResponseId" field-
> name="surveyResponseId" map-name="surveyResponse"/>
> 565114 (http-0.0.0.0-8080-Processor8) [    TransactionUtil.java:
> 282:WARN ]
> ---- exception report  
> ----------------------------------------------------------
> [TransactionUtil.setRollbackOnly] Calling transaction  
> setRollbackOnly; this stack trace shows where this is happening:
> Exception: java.lang.Exception
> Message: null
> ---- stack trace  
> ---------------------------------------------------------------
> java.lang.Exception
> org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly
> (TransactionUtil.java:282)
> org.ofbiz.entity.transaction.TransactionUtil.rollback
> (TransactionUtil.java:232)
> org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:698)
> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:116)
> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:98)
> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker
> (SimpleServiceEngine.java:86)
> org.ofbiz.minilang.SimpleServiceEngine.runSync
> (SimpleServiceEngine.java:61)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:
> 339)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:
> 213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:
> 110)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke
> (ServiceEventHandler.java:296)
> org.ofbiz.webapp.control.RequestHandler.runEvent
> (RequestHandler.java:393)
> org.ofbiz.webapp.control.RequestHandler.doRequest
> (RequestHandler.java:250)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:87)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationFilterChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:
> 258)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke
> (StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke
> (StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke
> (StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke
> (ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke
> (StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke
> (AccessLogValve.java:526)
> org.apache.catalina.connector.CoyoteAdapter.service
> (CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process
> (Http11Processor.java:856)
> org.apache.coyote.http11.Http11Protocol
> $Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
> (PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
> (LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
> (ThreadPool.java:684)
> java.lang.Thread.run(Thread.java:552)
> ----------------------------------------------------------------------
> ----------
>
> 565154 (http-0.0.0.0-8080-Processor8) [  ServiceDispatcher.java:
> 407:ERROR] Service Error [createSurveyResponse]: Anonymous response  
> to this survey is not allowed
> 565160 (http-0.0.0.0-8080-Processor8) [    TransactionUtil.java:
> 249: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:248)
> org.ofbiz.entity.transaction.TransactionUtil.rollback
> (TransactionUtil.java:230)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:
> 411)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:
> 213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:
> 110)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke
> (ServiceEventHandler.java:296)
> org.ofbiz.webapp.control.RequestHandler.runEvent
> (RequestHandler.java:393)
> org.ofbiz.webapp.control.RequestHandler.doRequest
> (RequestHandler.java:250)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:87)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationFilterChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:
> 258)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke
> (StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke
> (StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke
> (StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke
> (ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke
> (StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke
> (AccessLogValve.java:526)
> org.apache.catalina.connector.CoyoteAdapter.service
> (CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process
> (Http11Processor.java:856)
> org.apache.coyote.http11.Http11Protocol
> $Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
> (PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
> (LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
> (ThreadPool.java:684)
> java.lang.Thread.run(Thread.java:552)
> ----------------------------------------------------------------------
> ----------
>
> 565172 (http-0.0.0.0-8080-Processor8) [    TransactionUtil.java:
> 259:INFO ] [TransactionUtil.rollback] transaction rolled back
> 565176 (http-0.0.0.0-8080-Processor8) [  ServiceDispatcher.java:
> 447:DEBUG] [[Sync service finished- total:2.094,since last(Begin):
> 2.094]] - 'ecommerce / createSurveyResponse'
> 565566 (http-0.0.0.0-8080-Processor8) [     RequestHandler.java:
> 281:ERROR] Request minipoll caused an error with the following  
> message: Anonymous response to this survey is not allowed
>
> --> Error 3
>
> Upon clicking on the link "Ask the Experts", here is another  
> exception :
>
> 796794 (http-0.0.0.0-8443-Processor3) [EntityPermissionChecker.java:
> 841:ERROR]
> ---- exception report  
> ----------------------------------------------------------
> No associated purposes found.
> Exception: org.ofbiz.entity.GenericModelException
> Message: Could not find relation for relationName:  
> ContentDataResourceViewPurpose for value  
> [GenericEntity:ContentDataResourceView][characterSetId,null()]
> [childBranchCount,null()][childLeafCount,null()][contentId,ASK
> (java.lang.String)][contentName,Ask the Experts(java.lang.String)]
> [contentTypeId,WEB_SITE_PUB_PT(java.lang.String)]
> [createdByUserLogin,admin(java.lang.String)][createdDate,2004-03-01  
> 12:00:00.0(java.sql.Timestamp)][dataResourceId,null()]
> [dataSourceId,null()][description,Ask the Experts(java.lang.String)]
> [drCharacterSetId,null()][drCreatedByUserLogin,null()]
> [drCreatedDate,null()][drDataCategoryId,null()]
> [drDataResourceId,null()][drDataResourceName,null()]
> [drDataResourceTypeId,null()][drDataSourceId,null()]
> [drDataTemplateTypeId,null()][drLastModifiedByUserLogin,null()]
> [drLastModifiedDate,null()][drLocaleString,null()][drMimeTypeId,null
> ()][drObjectInfo,null()][drStatusId,null()]
> [lastModifiedByUserLogin,null()][lastModifiedDate,null()]
> [localeString,null()][mimeTypeId,null()]
> [ownerContentId,WebStoreFORUM(java.lang.String)]
> [privilegeEnumId,null()][serviceName,null()][statusId,null()]
> [templateDataResourceId,null()]
> ---- stack trace  
> ---------------------------------------------------------------
> org.ofbiz.entity.GenericModelException: Could not find relation for  
> relationName: ContentDataResourceViewPurpose for value  
> [GenericEntity:ContentDataResourceView][characterSetId,null()]
> [childBranchCount,null()][childLeafCount,null()][contentId,ASK
> (java.lang.String)][contentName,Ask the Experts(java.lang.String)]
> [contentTypeId,WEB_SITE_PUB_PT(java.lang.String)]
> [createdByUserLogin,admin(java.lang.String)][createdDate,2004-03-01  
> 12:00:00.0(java.sql.Timestamp)][dataResourceId,null()]
> [dataSourceId,null()][description,Ask the Experts(java.lang.String)]
> [drCharacterSetId,null()][drCreatedByUserLogin,null()]
> [drCreatedDate,null()][drDataCategoryId,null()]
> [drDataResourceId,null()][drDataResourceName,null()]
> [drDataResourceTypeId,null()][drDataSourceId,null()]
> [drDataTemplateTypeId,null()][drLastModifiedByUserLogin,null()]
> [drLastModifiedDate,null()][drLocaleString,null()][drMimeTypeId,null
> ()][drObjectInfo,null()][drStatusId,null()]
> [lastModifiedByUserLogin,null()][lastModifiedDate,null()]
> [localeString,null()][mimeTypeId,null()]
> [ownerContentId,WebStoreFORUM(java.lang.String)]
> [privilegeEnumId,null()][serviceName,null()][statusId,null()]
> [templateDataResourceId,null()]
> org.ofbiz.entity.GenericDelegator.getRelatedCache
> (GenericDelegator.java:2080)
> org.ofbiz.entity.GenericValue.getRelatedCache(GenericValue.java:196)
> org.ofbiz.entityext.permission.EntityPermissionChecker.getRelatedPurpo
> ses(EntityPermissionChecker.java:839)
> org.ofbiz.entityext.permission.EntityPermissionChecker.checkPermission
> Method(EntityPermissionChecker.java:386)
> org.ofbiz.entityext.permission.EntityPermissionChecker.checkPermission
> (EntityPermissionChecker.java:224)
> org.ofbiz.content.webapp.ftl.CheckPermissionTransform$1.onStart
> (CheckPermissionTransform.java:161)
> freemarker.core.Environment.visit(Environment.java:230)
> freemarker.core.UnifiedCall.accept(UnifiedCall.java:116)
> freemarker.core.Environment.visit(Environment.java:196)
> freemarker.core.MixedContent.accept(MixedContent.java:92)
> freemarker.core.Environment.visit(Environment.java:196)
> freemarker.core.Macro$Context.runMacro(Macro.java:164)
> freemarker.core.Environment.visit(Environment.java:537)
> freemarker.core.UnifiedCall.accept(UnifiedCall.java:128)
> freemarker.core.Environment.visit(Environment.java:196)
> freemarker.core.MixedContent.accept(MixedContent.java:92)
> freemarker.core.Environment.visit(Environment.java:196)
> freemarker.core.Environment.process(Environment.java:176)
> freemarker.template.Template.process(Template.java:231)
> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateAtLocation
> (FreeMarkerWorker.java:176)
> org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate
> (HtmlWidget.java:86)
> org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString
> (HtmlWidget.java:114)
> org.ofbiz.widget.screen.HtmlWidget.renderWidgetString
> (HtmlWidget.java:73)
> org.ofbiz.widget.screen.ModelScreenWidget
> $PlatformSpecific.renderWidgetString(ModelScreenWidget.java:802)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString
> (ModelScreenWidget.java:157)
> org.ofbiz.widget.screen.ModelScreenWidget
> $DecoratorSection.renderWidgetString(ModelScreenWidget.java:528)
> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render
> (ModelScreenWidget.java:189)
> org.ofbiz.widget.screen.ModelScreenWidget
> $DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:
> 550)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString
> (ModelScreenWidget.java:157)
> org.ofbiz.widget.screen.ModelScreenWidget
> $Container.renderWidgetString(ModelScreenWidget.java:306)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString
> (ModelScreenWidget.java:157)
> org.ofbiz.widget.screen.ModelScreenWidget
> $Container.renderWidgetString(ModelScreenWidget.java:306)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString
> (ModelScreenWidget.java:157)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString
> (ModelScreenWidget.java:250)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString
> (ModelScreen.java:124)
> org.ofbiz.widget.screen.ModelScreenWidget
> $DecoratorScreen.renderWidgetString(ModelScreenWidget.java:496)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString
> (ModelScreenWidget.java:157)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString
> (ModelScreenWidget.java:250)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString
> (ModelScreen.java:124)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:115)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:100)
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render
> (ScreenWidgetViewHandler.java:85)
> org.ofbiz.webapp.control.RequestHandler.renderView
> (RequestHandler.java:589)
> org.ofbiz.webapp.control.RequestHandler.doRequest
> (RequestHandler.java:374)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationFilterChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:
> 258)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke
> (StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke
> (StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke
> (StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke
> (ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke
> (StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke
> (AccessLogValve.java:526)
> org.apache.catalina.connector.CoyoteAdapter.service
> (CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process
> (Http11Processor.java:856)
> org.apache.coyote.http11.Http11Protocol
> $Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
> (PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
> (LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
> (ThreadPool.java:684)
> java.lang.Thread.run(Thread.java:552)
> ----------------------------------------------------------------------
> ----------
>
> 796876 (http-0.0.0.0-8443-Processor3) [EntityPermissionChecker.java:
> 841:ERROR]
> ---- exception report  
> ----------------------------------------------------------
> No associated purposes found.
> Exception: org.ofbiz.entity.GenericModelException
> Message: Could not find relation for relationName:  
> ContentDataResourceViewPurpose for value  
> [GenericEntity:ContentDataResourceView][characterSetId,null()]
> [childBranchCount,null()][childLeafCount,null()][contentId,ASK
> (java.lang.String)][contentName,Ask the Experts(java.lang.String)]
> [contentTypeId,WEB_SITE_PUB_PT(java.lang.String)]
> [createdByUserLogin,admin(java.lang.String)][createdDate,2004-03-01  
> 12:00:00.0(java.sql.Timestamp)][dataResourceId,null()]
> [dataSourceId,null()][description,Ask the Experts(java.lang.String)]
> [drCharacterSetId,null()][drCreatedByUserLogin,null()]
> [drCreatedDate,null()][drDataCategoryId,null()]
> [drDataResourceId,null()][drDataResourceName,null()]
> [drDataResourceTypeId,null()][drDataSourceId,null()]
> [drDataTemplateTypeId,null()][drLastModifiedByUserLogin,null()]
> [drLastModifiedDate,null()][drLocaleString,null()][drMimeTypeId,null
> ()][drObjectInfo,null()][drStatusId,null()]
> [lastModifiedByUserLogin,null()][lastModifiedDate,null()]
> [localeString,null()][mimeTypeId,null()]
> [ownerContentId,WebStoreFORUM(java.lang.String)]
> [privilegeEnumId,null()][serviceName,null()][statusId,null()]
> [templateDataResourceId,null()]
> ---- stack trace  
> ---------------------------------------------------------------
> org.ofbiz.entity.GenericModelException: Could not find relation for  
> relationName: ContentDataResourceViewPurpose for value  
> [GenericEntity:ContentDataResourceView][characterSetId,null()]
> [childBranchCount,null()][childLeafCount,null()][contentId,ASK
> (java.lang.String)][contentName,Ask the Experts(java.lang.String)]
> [contentTypeId,WEB_SITE_PUB_PT(java.lang.String)]
> [createdByUserLogin,admin(java.lang.String)][createdDate,2004-03-01  
> 12:00:00.0(java.sql.Timestamp)][dataResourceId,null()]
> [dataSourceId,null()][description,Ask the Experts(java.lang.String)]
> [drCharacterSetId,null()][drCreatedByUserLogin,null()]
> [drCreatedDate,null()][drDataCategoryId,null()]
> [drDataResourceId,null()][drDataResourceName,null()]
> [drDataResourceTypeId,null()][drDataSourceId,null()]
> [drDataTemplateTypeId,null()][drLastModifiedByUserLogin,null()]
> [drLastModifiedDate,null()][drLocaleString,null()][drMimeTypeId,null
> ()][drObjectInfo,null()][drStatusId,null()]
> [lastModifiedByUserLogin,null()][lastModifiedDate,null()]
> [localeString,null()][mimeTypeId,null()]
> [ownerContentId,WebStoreFORUM(java.lang.String)]
> [privilegeEnumId,null()][serviceName,null()][statusId,null()]
> [templateDataResourceId,null()]
> org.ofbiz.entity.GenericDelegator.getRelatedCache
> (GenericDelegator.java:2080)
> org.ofbiz.entity.GenericValue.getRelatedCache(GenericValue.java:196)
> org.ofbiz.entityext.permission.EntityPermissionChecker.getRelatedPurpo
> ses(EntityPermissionChecker.java:839)
> org.ofbiz.entityext.permission.EntityPermissionChecker.checkPermission
> Method(EntityPermissionChecker.java:386)
> org.ofbiz.entityext.permission.EntityPermissionChecker.checkPermission
> (EntityPermissionChecker.java:224)
> org.ofbiz.content.webapp.ftl.CheckPermissionTransform$1.onStart
> (CheckPermissionTransform.java:161)
> freemarker.core.Environment.visit(Environment.java:230)
> freemarker.core.UnifiedCall.accept(UnifiedCall.java:116)
> freemarker.core.Environment.visit(Environment.java:196)
> freemarker.core.MixedContent.accept(MixedContent.java:92)
> freemarker.core.Environment.visit(Environment.java:196)
> freemarker.core.Macro$Context.runMacro(Macro.java:164)
> freemarker.core.Environment.visit(Environment.java:537)
> freemarker.core.UnifiedCall.accept(UnifiedCall.java:128)
> freemarker.core.Environment.visit(Environment.java:196)
> freemarker.core.MixedContent.accept(MixedContent.java:92)
> freemarker.core.Environment.visit(Environment.java:196)
> freemarker.core.Environment.process(Environment.java:176)
> freemarker.template.Template.process(Template.java:231)
> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateAtLocation
> (FreeMarkerWorker.java:176)
> org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate
> (HtmlWidget.java:86)
> org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString
> (HtmlWidget.java:114)
> org.ofbiz.widget.screen.HtmlWidget.renderWidgetString
> (HtmlWidget.java:73)
> org.ofbiz.widget.screen.ModelScreenWidget
> $PlatformSpecific.renderWidgetString(ModelScreenWidget.java:802)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString
> (ModelScreenWidget.java:157)
> org.ofbiz.widget.screen.ModelScreenWidget
> $DecoratorSection.renderWidgetString(ModelScreenWidget.java:528)
> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render
> (ModelScreenWidget.java:189)
> org.ofbiz.widget.screen.ModelScreenWidget
> $DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:
> 550)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString
> (ModelScreenWidget.java:157)
> org.ofbiz.widget.screen.ModelScreenWidget
> $Container.renderWidgetString(ModelScreenWidget.java:306)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString
> (ModelScreenWidget.java:157)
> org.ofbiz.widget.screen.ModelScreenWidget
> $Container.renderWidgetString(ModelScreenWidget.java:306)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString
> (ModelScreenWidget.java:157)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString
> (ModelScreenWidget.java:250)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString
> (ModelScreen.java:124)
> org.ofbiz.widget.screen.ModelScreenWidget
> $DecoratorScreen.renderWidgetString(ModelScreenWidget.java:496)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString
> (ModelScreenWidget.java:157)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString
> (ModelScreenWidget.java:250)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString
> (ModelScreen.java:124)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:115)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:100)
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render
> (ScreenWidgetViewHandler.java:85)
> org.ofbiz.webapp.control.RequestHandler.renderView
> (RequestHandler.java:589)
> org.ofbiz.webapp.control.RequestHandler.doRequest
> (RequestHandler.java:374)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationFilterChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:
> 258)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke
> (StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke
> (StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke
> (StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke
> (ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke
> (StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke
> (AccessLogValve.java:526)
> org.apache.catalina.connector.CoyoteAdapter.service
> (CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process
> (Http11Processor.java:856)
> org.apache.coyote.http11.Http11Protocol
> $Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
> (PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
> (LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
> (ThreadPool.java:684)
> java.lang.Thread.run(Thread.java:552)
> ----------------------------------------------------------------------
> ----------
>
> --> Error 4
>
> Created an account within ecommerce, specified email address as the  
> user name. Specified a password too.
>
> Once completed, ecommerce would display the default page, with  
> Welcome <new user name> at the top of the screen. Click on "Not  
> you", and come to the log in screen.
>
> Type in the new user name (in the form of email address), type in  
> the password and click on "Login". Exception would occur. As the  
> result, I cannot log in using the newly created account.
>
> 1160050 (http-0.0.0.0-8443-Processor2) [     RequestHandler.java:
> 210:INFO ] [Processing Request]: login
> 1160162 (http-0.0.0.0-8443-Processor2) [      LoginServices.java:
> 213:INFO ] [LoginServices.userLogin] : Password Incorrect
> 1162233 (http-0.0.0.0-8443-Processor2) [  ServiceDispatcher.java:
> 407:ERROR] Service Error [userLogin]: Password incorrect.
> 1162313 (http-0.0.0.0-8443-Processor2) [    TransactionUtil.java:
> 249: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:248)
> org.ofbiz.entity.transaction.TransactionUtil.rollback
> (TransactionUtil.java:230)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:
> 411)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:
> 213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:
> 110)
> org.ofbiz.securityext.login.LoginEvents.login(LoginEvents.java:226)
> org.ofbiz.securityext.login.LoginEvents.storeLogin(LoginEvents.java:
> 746)
> 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:324)
> org.ofbiz.webapp.event.JavaEventHandler.invoke
> (JavaEventHandler.java:99)
> org.ofbiz.webapp.event.JavaEventHandler.invoke
> (JavaEventHandler.java:85)
> org.ofbiz.webapp.control.RequestHandler.runEvent
> (RequestHandler.java:393)
> org.ofbiz.webapp.control.RequestHandler.doRequest
> (RequestHandler.java:250)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:87)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationFilterChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:
> 258)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke
> (StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke
> (StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke
> (StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke
> (ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke
> (StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke
> (AccessLogValve.java:526)
> org.apache.catalina.connector.CoyoteAdapter.service
> (CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process
> (Http11Processor.java:856)
> org.apache.coyote.http11.Http11Protocol
> $Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
> (PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
> (LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
> (ThreadPool.java:684)
> java.lang.Thread.run(Thread.java:552)
> ----------------------------------------------------------------------
> ----------
>
> 1162528 (http-0.0.0.0-8443-Processor2) [    TransactionUtil.java:
> 259:INFO ] [TransactionUtil.rollback] transaction rolled back
> 1162533 (http-0.0.0.0-8443-Processor2) [  ServiceDispatcher.java:
> 447:DEBUG] [[Sync service finished- total:2.478,since last(Begin):
> 2.478]] - 'ecommerce / userLogin'
> 1162540 (http-0.0.0.0-8443-Processor2) [     RequestHandler.java:
> 281:ERROR] Request login caused an error with the following  
> message: The following error occurred during login: Password  
> incorrect.
>
>
>
> I am running on OSX Server Tiger 10.4.3, with Java 1.4.2 Release 2.  
> Stock configuration - no external DB.
>
> Does anyone else come across these errors?
>
> Cheers,
>
> Charles
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
>

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

RE: [OFBiz] Users - A few errors/exceptions with latest SVN build

Manuel Meyer
Hi Charles and all,

It looks like when someone creates a user on the e-commerce part, you cannot
log again and you have an invalid password error.
When you change the password inside the party manager, you can login again.

According the what I've seen, it seems that the password is ciphered once in
the createCustomer event, and 're-ciphered' again in the createUserLogin
service (location="org.ofbiz.securityext.login.LoginServices"
invoke="createUserLogin">) before being stored in the db.

In the old version of Ofbiz I am using (58xx) it was not the case, and I
have seen that the same issue applies in the last version of sequoia (at
least RC2).

I think that the difference is in
applications/party/script/org/ofbiz/party/party/PartySimpleMethods.xml,
    <simple-method method-name="createPersonAndUserLogin"
short-description="Creates a person and userlogin" login-required="false">
which directly stores the values in the DB in the old version, while in more
recent version a call to the service "createUserLogin" is made, which
'double cipher' the password.

Best regards,
Manuel

> Dear List Members,
>
> Recently I played with SVN 6066 and SVN 6090. There was an error  
> when OFBiz is starting up. Also, an assortment of exceptions (total  
> of 3, all listed below) when I play around in ecommerce. One of  
> them is fairly critical - cannot log in via ecommerce using a newly  
> created account.
>
> --> Error 4
>
> Created an account within ecommerce, specified email address as the  
> user name. Specified a password too.
>
> Once completed, ecommerce would display the default page, with  
> Welcome <new user name> at the top of the screen. Click on "Not  
> you", and come to the log in screen.
>
> Type in the new user name (in the form of email address), type in  
> the password and click on "Login". Exception would occur. As the  
> result, I cannot log in using the newly created account.
>
> 1160050 (http-0.0.0.0-8443-Processor2) [     RequestHandler.java:
> 210:INFO ] [Processing Request]: login
> 1160162 (http-0.0.0.0-8443-Processor2) [      LoginServices.java:
> 213:INFO ] [LoginServices.userLogin] : Password Incorrect
> 1162233 (http-0.0.0.0-8443-Processor2) [  ServiceDispatcher.java:
> 407:ERROR] Service Error [userLogin]: Password incorrect.
> 1162313 (http-0.0.0.0-8443-Processor2) [    TransactionUtil.java:
> 249:ERROR]
> ---- exception report  


 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users