You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "BJ Freeman (JIRA)" <ji...@apache.org> on 2008/09/20 23:13:46 UTC

[jira] Created: (OFBIZ-1964) [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!

[ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!
------------------------------------------------------------------------------------------

                 Key: OFBIZ-1964
                 URL: https://issues.apache.org/jira/browse/OFBIZ-1964
             Project: OFBiz
          Issue Type: Bug
          Components: ecommerce, product
         Environment: svn 91430
            Reporter: BJ Freeman
            Priority: Minor


This is a clean db with only a customers Website, ProductStore.
it is not configured to use Ecommerce
I have not traced back to is going thru the Ecommerce controller
The code in the ProductStoreWorker.java
assumes that is info in the request to be able to resolve the product store.
in this type of configuration that is a bad assumption.

So there are two places this needs to be fixed.
1) the ProductStoreWorker.java to cover not having the information.
2) what is ever calling the Ecommerce controller when the Ecommerce is not being used.


[ BeanShellContainer.java:100:INFO ] Started BeanShell telnet service on 9989, 9990	
[ BeanShellContainer.java:101:INFO ] NOTICE: BeanShell service ports are not secure. Please protect the ports	
[  CartEventListener.java:53 :INFO ] No cart to save, doing nothing.	
[ControlEventListener.java:101:INFO ] Destroying session: 0528DB49367E57B71C5BD50D958FB7BD.jvm1	
[ControlEventListener.java:63 :INFO ] Creating session: E211B16441F789A8A590E73DB4F132EA.jvm1	
[     ControlServlet.java:93 :INFO ] The character encoding of the request is:	[null]. The character encoding we will use for the request and response is:
[     ControlServlet.java:131:INFO ]	[[[ViewBlogRss] Servlet Starting, doing setup- total:0.0,since last(Begin):0.0]]
[       VisitHandler.java:221:INFO ] Found visitorId	[10000] in cookie
[       SequenceUtil.java:341:INFO ] Got bank of sequenced IDs for	[Visit]; curSeqId=14500, maxSeqId=14600, bankSize=100
[     ControlServlet.java:196:INFO ]	[[[ViewBlogRss] Setup done, doing Event(s) and View(s)- total:1.125,since last([ViewBlogRss] Ser...):1.125]]
[            UtilXml.java:241:INFO ] XML Read 0.063s: jndi:/0.0.0.0/ecommerce/WEB-INF/controller.xml	
[    ConfigXMLReader.java:622:INFO ] ConfigMap Created: (5) records in 0.016s	
[    ConfigXMLReader.java:765:INFO ] HandlerMap Created: (5) view handlers and (10) request/event handlers in 0.0s	
[    ConfigXMLReader.java:378:INFO ] RequestMap Created: (275) records in 0.015s	
[    ConfigXMLReader.java:466:INFO ] ViewMap Created: (94) records in 0.0s	
[ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!	

 JavaEventHandler.java:97 :ERROR] 
---- runtime exception report --------------------------------------------------
Problems Processing Event
Exception: java.lang.NullPointerException
Message: null
---- stack trace ---------------------------------------------------------------
java.lang.NullPointerException

org.ofbiz.product.store.ProductStoreWorker.getStoreCurrencyUomId(ProductStoreWorker.java:95)
org.ofbiz.order.shoppingcart.WebShoppingCart.<init>(WebShoppingCart.java:44)
org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEvents.java:806)
org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEvents.java:825)
org.ofbiz.order.shoppingcart.ShoppingCartEvents.keepCartUpdated(ShoppingCartEvents.java:887)



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-1964) [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!

Posted by "Scott Gray (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-1964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12633045#action_12633045 ] 

Scott Gray commented on OFBIZ-1964:
-----------------------------------

>However I can shut down this one and start up the demo version and not see this request.
>so I figured it was something in the version. 

Firefox (for example) updates the live bookmark feeds only once per hour, leave the demo version running and then later search the logs.  I really really really think that an rss reader is causing the problem.

>That aside, there is still the errors that happen with a web.xml website is not supported by a product store.
>this need to be addressed so that if the web.xml website is not valid the process is aborted.

But the error will go away when you stop using ecommerce so its not really a problem on its own is it?  Besides I don't think you have to set the webSiteId in web.xml, but if you don't then you must make sure the productStoreId is present as a session attribute.

> [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!
> ------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1964
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1964
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce, product
>         Environment: svn 91430
>            Reporter: BJ Freeman
>            Priority: Minor
>
> This is a clean db with only a customers Website, ProductStore.
> it is not configured to use Ecommerce
> I have not traced back to is going thru the Ecommerce controller
> The code in the ProductStoreWorker.java
> assumes that is info in the request to be able to resolve the product store.
> in this type of configuration that is a bad assumption.
> So there are two places this needs to be fixed.
> 1) the ProductStoreWorker.java to cover not having the information.
> 2) what is ever calling the Ecommerce controller when the Ecommerce is not being used.
> [ BeanShellContainer.java:100:INFO ] Started BeanShell telnet service on 9989, 9990	
> [ BeanShellContainer.java:101:INFO ] NOTICE: BeanShell service ports are not secure. Please protect the ports	
> [  CartEventListener.java:53 :INFO ] No cart to save, doing nothing.	
> [ControlEventListener.java:101:INFO ] Destroying session: 0528DB49367E57B71C5BD50D958FB7BD.jvm1	
> [ControlEventListener.java:63 :INFO ] Creating session: E211B16441F789A8A590E73DB4F132EA.jvm1	
> [     ControlServlet.java:93 :INFO ] The character encoding of the request is:	[null]. The character encoding we will use for the request and response is:
> [     ControlServlet.java:131:INFO ]	[[[ViewBlogRss] Servlet Starting, doing setup- total:0.0,since last(Begin):0.0]]
> [       VisitHandler.java:221:INFO ] Found visitorId	[10000] in cookie
> [       SequenceUtil.java:341:INFO ] Got bank of sequenced IDs for	[Visit]; curSeqId=14500, maxSeqId=14600, bankSize=100
> [     ControlServlet.java:196:INFO ]	[[[ViewBlogRss] Setup done, doing Event(s) and View(s)- total:1.125,since last([ViewBlogRss] Ser...):1.125]]
> [            UtilXml.java:241:INFO ] XML Read 0.063s: jndi:/0.0.0.0/ecommerce/WEB-INF/controller.xml	
> [    ConfigXMLReader.java:622:INFO ] ConfigMap Created: (5) records in 0.016s	
> [    ConfigXMLReader.java:765:INFO ] HandlerMap Created: (5) view handlers and (10) request/event handlers in 0.0s	
> [    ConfigXMLReader.java:378:INFO ] RequestMap Created: (275) records in 0.015s	
> [    ConfigXMLReader.java:466:INFO ] ViewMap Created: (94) records in 0.0s	
> [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!	
>  JavaEventHandler.java:97 :ERROR] 
> ---- runtime exception report --------------------------------------------------
> Problems Processing Event
> Exception: java.lang.NullPointerException
> Message: null
> ---- stack trace ---------------------------------------------------------------
> java.lang.NullPointerException
> org.ofbiz.product.store.ProductStoreWorker.getStoreCurrencyUomId(ProductStoreWorker.java:95)
> org.ofbiz.order.shoppingcart.WebShoppingCart.<init>(WebShoppingCart.java:44)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEvents.java:806)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEvents.java:825)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.keepCartUpdated(ShoppingCartEvents.java:887)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-1964) [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!

Posted by "Scott Gray (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-1964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12633052#action_12633052 ] 

Scott Gray commented on OFBIZ-1964:
-----------------------------------

So we can close this issue?

> [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!
> ------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1964
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1964
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce, product
>         Environment: svn 91430
>            Reporter: BJ Freeman
>            Priority: Minor
>
> This is a clean db with only a customers Website, ProductStore.
> it is not configured to use Ecommerce
> I have not traced back to is going thru the Ecommerce controller
> The code in the ProductStoreWorker.java
> assumes that is info in the request to be able to resolve the product store.
> in this type of configuration that is a bad assumption.
> So there are two places this needs to be fixed.
> 1) the ProductStoreWorker.java to cover not having the information.
> 2) what is ever calling the Ecommerce controller when the Ecommerce is not being used.
> [ BeanShellContainer.java:100:INFO ] Started BeanShell telnet service on 9989, 9990	
> [ BeanShellContainer.java:101:INFO ] NOTICE: BeanShell service ports are not secure. Please protect the ports	
> [  CartEventListener.java:53 :INFO ] No cart to save, doing nothing.	
> [ControlEventListener.java:101:INFO ] Destroying session: 0528DB49367E57B71C5BD50D958FB7BD.jvm1	
> [ControlEventListener.java:63 :INFO ] Creating session: E211B16441F789A8A590E73DB4F132EA.jvm1	
> [     ControlServlet.java:93 :INFO ] The character encoding of the request is:	[null]. The character encoding we will use for the request and response is:
> [     ControlServlet.java:131:INFO ]	[[[ViewBlogRss] Servlet Starting, doing setup- total:0.0,since last(Begin):0.0]]
> [       VisitHandler.java:221:INFO ] Found visitorId	[10000] in cookie
> [       SequenceUtil.java:341:INFO ] Got bank of sequenced IDs for	[Visit]; curSeqId=14500, maxSeqId=14600, bankSize=100
> [     ControlServlet.java:196:INFO ]	[[[ViewBlogRss] Setup done, doing Event(s) and View(s)- total:1.125,since last([ViewBlogRss] Ser...):1.125]]
> [            UtilXml.java:241:INFO ] XML Read 0.063s: jndi:/0.0.0.0/ecommerce/WEB-INF/controller.xml	
> [    ConfigXMLReader.java:622:INFO ] ConfigMap Created: (5) records in 0.016s	
> [    ConfigXMLReader.java:765:INFO ] HandlerMap Created: (5) view handlers and (10) request/event handlers in 0.0s	
> [    ConfigXMLReader.java:378:INFO ] RequestMap Created: (275) records in 0.015s	
> [    ConfigXMLReader.java:466:INFO ] ViewMap Created: (94) records in 0.0s	
> [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!	
>  JavaEventHandler.java:97 :ERROR] 
> ---- runtime exception report --------------------------------------------------
> Problems Processing Event
> Exception: java.lang.NullPointerException
> Message: null
> ---- stack trace ---------------------------------------------------------------
> java.lang.NullPointerException
> org.ofbiz.product.store.ProductStoreWorker.getStoreCurrencyUomId(ProductStoreWorker.java:95)
> org.ofbiz.order.shoppingcart.WebShoppingCart.<init>(WebShoppingCart.java:44)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEvents.java:806)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEvents.java:825)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.keepCartUpdated(ShoppingCartEvents.java:887)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-1964) [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!

Posted by "BJ Freeman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-1964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12633022#action_12633022 ] 

BJ Freeman commented on OFBIZ-1964:
-----------------------------------

to further this the different components that are included for ecommerce are handled through their own URLs.
Like the forums, blogs, Sales, user logins to get statuses and send requests.
these are then made available to the remote website.


> [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!
> ------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1964
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1964
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce, product
>         Environment: svn 91430
>            Reporter: BJ Freeman
>            Priority: Minor
>
> This is a clean db with only a customers Website, ProductStore.
> it is not configured to use Ecommerce
> I have not traced back to is going thru the Ecommerce controller
> The code in the ProductStoreWorker.java
> assumes that is info in the request to be able to resolve the product store.
> in this type of configuration that is a bad assumption.
> So there are two places this needs to be fixed.
> 1) the ProductStoreWorker.java to cover not having the information.
> 2) what is ever calling the Ecommerce controller when the Ecommerce is not being used.
> [ BeanShellContainer.java:100:INFO ] Started BeanShell telnet service on 9989, 9990	
> [ BeanShellContainer.java:101:INFO ] NOTICE: BeanShell service ports are not secure. Please protect the ports	
> [  CartEventListener.java:53 :INFO ] No cart to save, doing nothing.	
> [ControlEventListener.java:101:INFO ] Destroying session: 0528DB49367E57B71C5BD50D958FB7BD.jvm1	
> [ControlEventListener.java:63 :INFO ] Creating session: E211B16441F789A8A590E73DB4F132EA.jvm1	
> [     ControlServlet.java:93 :INFO ] The character encoding of the request is:	[null]. The character encoding we will use for the request and response is:
> [     ControlServlet.java:131:INFO ]	[[[ViewBlogRss] Servlet Starting, doing setup- total:0.0,since last(Begin):0.0]]
> [       VisitHandler.java:221:INFO ] Found visitorId	[10000] in cookie
> [       SequenceUtil.java:341:INFO ] Got bank of sequenced IDs for	[Visit]; curSeqId=14500, maxSeqId=14600, bankSize=100
> [     ControlServlet.java:196:INFO ]	[[[ViewBlogRss] Setup done, doing Event(s) and View(s)- total:1.125,since last([ViewBlogRss] Ser...):1.125]]
> [            UtilXml.java:241:INFO ] XML Read 0.063s: jndi:/0.0.0.0/ecommerce/WEB-INF/controller.xml	
> [    ConfigXMLReader.java:622:INFO ] ConfigMap Created: (5) records in 0.016s	
> [    ConfigXMLReader.java:765:INFO ] HandlerMap Created: (5) view handlers and (10) request/event handlers in 0.0s	
> [    ConfigXMLReader.java:378:INFO ] RequestMap Created: (275) records in 0.015s	
> [    ConfigXMLReader.java:466:INFO ] ViewMap Created: (94) records in 0.0s	
> [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!	
>  JavaEventHandler.java:97 :ERROR] 
> ---- runtime exception report --------------------------------------------------
> Problems Processing Event
> Exception: java.lang.NullPointerException
> Message: null
> ---- stack trace ---------------------------------------------------------------
> java.lang.NullPointerException
> org.ofbiz.product.store.ProductStoreWorker.getStoreCurrencyUomId(ProductStoreWorker.java:95)
> org.ofbiz.order.shoppingcart.WebShoppingCart.<init>(WebShoppingCart.java:44)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEvents.java:806)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEvents.java:825)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.keepCartUpdated(ShoppingCartEvents.java:887)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (OFBIZ-1964) [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!

Posted by "BJ Freeman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-1964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

BJ Freeman closed OFBIZ-1964.
-----------------------------

       Resolution: Invalid
    Fix Version/s: SVN trunk

see https://issues.apache.org/jira/browse/OFBIZ-1958


> [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!
> ------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1964
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1964
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce, product
>         Environment: svn 91430
>            Reporter: BJ Freeman
>            Priority: Minor
>             Fix For: SVN trunk
>
>
> This is a clean db with only a customers Website, ProductStore.
> it is not configured to use Ecommerce
> I have not traced back to is going thru the Ecommerce controller
> The code in the ProductStoreWorker.java
> assumes that is info in the request to be able to resolve the product store.
> in this type of configuration that is a bad assumption.
> So there are two places this needs to be fixed.
> 1) the ProductStoreWorker.java to cover not having the information.
> 2) what is ever calling the Ecommerce controller when the Ecommerce is not being used.
> [ BeanShellContainer.java:100:INFO ] Started BeanShell telnet service on 9989, 9990	
> [ BeanShellContainer.java:101:INFO ] NOTICE: BeanShell service ports are not secure. Please protect the ports	
> [  CartEventListener.java:53 :INFO ] No cart to save, doing nothing.	
> [ControlEventListener.java:101:INFO ] Destroying session: 0528DB49367E57B71C5BD50D958FB7BD.jvm1	
> [ControlEventListener.java:63 :INFO ] Creating session: E211B16441F789A8A590E73DB4F132EA.jvm1	
> [     ControlServlet.java:93 :INFO ] The character encoding of the request is:	[null]. The character encoding we will use for the request and response is:
> [     ControlServlet.java:131:INFO ]	[[[ViewBlogRss] Servlet Starting, doing setup- total:0.0,since last(Begin):0.0]]
> [       VisitHandler.java:221:INFO ] Found visitorId	[10000] in cookie
> [       SequenceUtil.java:341:INFO ] Got bank of sequenced IDs for	[Visit]; curSeqId=14500, maxSeqId=14600, bankSize=100
> [     ControlServlet.java:196:INFO ]	[[[ViewBlogRss] Setup done, doing Event(s) and View(s)- total:1.125,since last([ViewBlogRss] Ser...):1.125]]
> [            UtilXml.java:241:INFO ] XML Read 0.063s: jndi:/0.0.0.0/ecommerce/WEB-INF/controller.xml	
> [    ConfigXMLReader.java:622:INFO ] ConfigMap Created: (5) records in 0.016s	
> [    ConfigXMLReader.java:765:INFO ] HandlerMap Created: (5) view handlers and (10) request/event handlers in 0.0s	
> [    ConfigXMLReader.java:378:INFO ] RequestMap Created: (275) records in 0.015s	
> [    ConfigXMLReader.java:466:INFO ] ViewMap Created: (94) records in 0.0s	
> [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!	
>  JavaEventHandler.java:97 :ERROR] 
> ---- runtime exception report --------------------------------------------------
> Problems Processing Event
> Exception: java.lang.NullPointerException
> Message: null
> ---- stack trace ---------------------------------------------------------------
> java.lang.NullPointerException
> org.ofbiz.product.store.ProductStoreWorker.getStoreCurrencyUomId(ProductStoreWorker.java:95)
> org.ofbiz.order.shoppingcart.WebShoppingCart.<init>(WebShoppingCart.java:44)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEvents.java:806)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEvents.java:825)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.keepCartUpdated(ShoppingCartEvents.java:887)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-1964) [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!

Posted by "BJ Freeman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-1964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12633025#action_12633025 ] 

BJ Freeman commented on OFBIZ-1964:
-----------------------------------

I have just started ofbiz and have not done anything.
I am guessing it has something to do with the ViewBlogRss.
also note this only has seed-intial and seed data.
I have removed the website in the web.xml
I have put in a Webstie and Productstore.
this will cause this error.


> [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!
> ------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1964
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1964
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce, product
>         Environment: svn 91430
>            Reporter: BJ Freeman
>            Priority: Minor
>
> This is a clean db with only a customers Website, ProductStore.
> it is not configured to use Ecommerce
> I have not traced back to is going thru the Ecommerce controller
> The code in the ProductStoreWorker.java
> assumes that is info in the request to be able to resolve the product store.
> in this type of configuration that is a bad assumption.
> So there are two places this needs to be fixed.
> 1) the ProductStoreWorker.java to cover not having the information.
> 2) what is ever calling the Ecommerce controller when the Ecommerce is not being used.
> [ BeanShellContainer.java:100:INFO ] Started BeanShell telnet service on 9989, 9990	
> [ BeanShellContainer.java:101:INFO ] NOTICE: BeanShell service ports are not secure. Please protect the ports	
> [  CartEventListener.java:53 :INFO ] No cart to save, doing nothing.	
> [ControlEventListener.java:101:INFO ] Destroying session: 0528DB49367E57B71C5BD50D958FB7BD.jvm1	
> [ControlEventListener.java:63 :INFO ] Creating session: E211B16441F789A8A590E73DB4F132EA.jvm1	
> [     ControlServlet.java:93 :INFO ] The character encoding of the request is:	[null]. The character encoding we will use for the request and response is:
> [     ControlServlet.java:131:INFO ]	[[[ViewBlogRss] Servlet Starting, doing setup- total:0.0,since last(Begin):0.0]]
> [       VisitHandler.java:221:INFO ] Found visitorId	[10000] in cookie
> [       SequenceUtil.java:341:INFO ] Got bank of sequenced IDs for	[Visit]; curSeqId=14500, maxSeqId=14600, bankSize=100
> [     ControlServlet.java:196:INFO ]	[[[ViewBlogRss] Setup done, doing Event(s) and View(s)- total:1.125,since last([ViewBlogRss] Ser...):1.125]]
> [            UtilXml.java:241:INFO ] XML Read 0.063s: jndi:/0.0.0.0/ecommerce/WEB-INF/controller.xml	
> [    ConfigXMLReader.java:622:INFO ] ConfigMap Created: (5) records in 0.016s	
> [    ConfigXMLReader.java:765:INFO ] HandlerMap Created: (5) view handlers and (10) request/event handlers in 0.0s	
> [    ConfigXMLReader.java:378:INFO ] RequestMap Created: (275) records in 0.015s	
> [    ConfigXMLReader.java:466:INFO ] ViewMap Created: (94) records in 0.0s	
> [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!	
>  JavaEventHandler.java:97 :ERROR] 
> ---- runtime exception report --------------------------------------------------
> Problems Processing Event
> Exception: java.lang.NullPointerException
> Message: null
> ---- stack trace ---------------------------------------------------------------
> java.lang.NullPointerException
> org.ofbiz.product.store.ProductStoreWorker.getStoreCurrencyUomId(ProductStoreWorker.java:95)
> org.ofbiz.order.shoppingcart.WebShoppingCart.<init>(WebShoppingCart.java:44)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEvents.java:806)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEvents.java:825)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.keepCartUpdated(ShoppingCartEvents.java:887)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-1964) [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!

Posted by "BJ Freeman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-1964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12633021#action_12633021 ] 

BJ Freeman commented on OFBIZ-1964:
-----------------------------------

to expand on this.
content website
products Productstore 
and 
eccommerce Cart services should work without being assigned the website in the web.xml
the Ecommerce Cart should reference the Website in the content component, if there is not one defined in the web.xml
In this case the real-time link that is used to receive orders looks at the order then fines the correct website. and passes that on.
from there everthing is based on the Productstore related to the website.

in this senario I currently have as many as 15 websites each having it own productstores. 



> [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!
> ------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1964
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1964
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce, product
>         Environment: svn 91430
>            Reporter: BJ Freeman
>            Priority: Minor
>
> This is a clean db with only a customers Website, ProductStore.
> it is not configured to use Ecommerce
> I have not traced back to is going thru the Ecommerce controller
> The code in the ProductStoreWorker.java
> assumes that is info in the request to be able to resolve the product store.
> in this type of configuration that is a bad assumption.
> So there are two places this needs to be fixed.
> 1) the ProductStoreWorker.java to cover not having the information.
> 2) what is ever calling the Ecommerce controller when the Ecommerce is not being used.
> [ BeanShellContainer.java:100:INFO ] Started BeanShell telnet service on 9989, 9990	
> [ BeanShellContainer.java:101:INFO ] NOTICE: BeanShell service ports are not secure. Please protect the ports	
> [  CartEventListener.java:53 :INFO ] No cart to save, doing nothing.	
> [ControlEventListener.java:101:INFO ] Destroying session: 0528DB49367E57B71C5BD50D958FB7BD.jvm1	
> [ControlEventListener.java:63 :INFO ] Creating session: E211B16441F789A8A590E73DB4F132EA.jvm1	
> [     ControlServlet.java:93 :INFO ] The character encoding of the request is:	[null]. The character encoding we will use for the request and response is:
> [     ControlServlet.java:131:INFO ]	[[[ViewBlogRss] Servlet Starting, doing setup- total:0.0,since last(Begin):0.0]]
> [       VisitHandler.java:221:INFO ] Found visitorId	[10000] in cookie
> [       SequenceUtil.java:341:INFO ] Got bank of sequenced IDs for	[Visit]; curSeqId=14500, maxSeqId=14600, bankSize=100
> [     ControlServlet.java:196:INFO ]	[[[ViewBlogRss] Setup done, doing Event(s) and View(s)- total:1.125,since last([ViewBlogRss] Ser...):1.125]]
> [            UtilXml.java:241:INFO ] XML Read 0.063s: jndi:/0.0.0.0/ecommerce/WEB-INF/controller.xml	
> [    ConfigXMLReader.java:622:INFO ] ConfigMap Created: (5) records in 0.016s	
> [    ConfigXMLReader.java:765:INFO ] HandlerMap Created: (5) view handlers and (10) request/event handlers in 0.0s	
> [    ConfigXMLReader.java:378:INFO ] RequestMap Created: (275) records in 0.015s	
> [    ConfigXMLReader.java:466:INFO ] ViewMap Created: (94) records in 0.0s	
> [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!	
>  JavaEventHandler.java:97 :ERROR] 
> ---- runtime exception report --------------------------------------------------
> Problems Processing Event
> Exception: java.lang.NullPointerException
> Message: null
> ---- stack trace ---------------------------------------------------------------
> java.lang.NullPointerException
> org.ofbiz.product.store.ProductStoreWorker.getStoreCurrencyUomId(ProductStoreWorker.java:95)
> org.ofbiz.order.shoppingcart.WebShoppingCart.<init>(WebShoppingCart.java:44)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEvents.java:806)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEvents.java:825)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.keepCartUpdated(ShoppingCartEvents.java:887)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-1964) [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!

Posted by "BJ Freeman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-1964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12633053#action_12633053 ] 

BJ Freeman commented on OFBIZ-1964:
-----------------------------------

I will close it once I have check my code still works.
:D
and if I need to have Ecommerce active to solve my problems.
I still think we need to address the error.
but I don't think I have the energy to make that happen.

> [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!
> ------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1964
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1964
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce, product
>         Environment: svn 91430
>            Reporter: BJ Freeman
>            Priority: Minor
>
> This is a clean db with only a customers Website, ProductStore.
> it is not configured to use Ecommerce
> I have not traced back to is going thru the Ecommerce controller
> The code in the ProductStoreWorker.java
> assumes that is info in the request to be able to resolve the product store.
> in this type of configuration that is a bad assumption.
> So there are two places this needs to be fixed.
> 1) the ProductStoreWorker.java to cover not having the information.
> 2) what is ever calling the Ecommerce controller when the Ecommerce is not being used.
> [ BeanShellContainer.java:100:INFO ] Started BeanShell telnet service on 9989, 9990	
> [ BeanShellContainer.java:101:INFO ] NOTICE: BeanShell service ports are not secure. Please protect the ports	
> [  CartEventListener.java:53 :INFO ] No cart to save, doing nothing.	
> [ControlEventListener.java:101:INFO ] Destroying session: 0528DB49367E57B71C5BD50D958FB7BD.jvm1	
> [ControlEventListener.java:63 :INFO ] Creating session: E211B16441F789A8A590E73DB4F132EA.jvm1	
> [     ControlServlet.java:93 :INFO ] The character encoding of the request is:	[null]. The character encoding we will use for the request and response is:
> [     ControlServlet.java:131:INFO ]	[[[ViewBlogRss] Servlet Starting, doing setup- total:0.0,since last(Begin):0.0]]
> [       VisitHandler.java:221:INFO ] Found visitorId	[10000] in cookie
> [       SequenceUtil.java:341:INFO ] Got bank of sequenced IDs for	[Visit]; curSeqId=14500, maxSeqId=14600, bankSize=100
> [     ControlServlet.java:196:INFO ]	[[[ViewBlogRss] Setup done, doing Event(s) and View(s)- total:1.125,since last([ViewBlogRss] Ser...):1.125]]
> [            UtilXml.java:241:INFO ] XML Read 0.063s: jndi:/0.0.0.0/ecommerce/WEB-INF/controller.xml	
> [    ConfigXMLReader.java:622:INFO ] ConfigMap Created: (5) records in 0.016s	
> [    ConfigXMLReader.java:765:INFO ] HandlerMap Created: (5) view handlers and (10) request/event handlers in 0.0s	
> [    ConfigXMLReader.java:378:INFO ] RequestMap Created: (275) records in 0.015s	
> [    ConfigXMLReader.java:466:INFO ] ViewMap Created: (94) records in 0.0s	
> [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!	
>  JavaEventHandler.java:97 :ERROR] 
> ---- runtime exception report --------------------------------------------------
> Problems Processing Event
> Exception: java.lang.NullPointerException
> Message: null
> ---- stack trace ---------------------------------------------------------------
> java.lang.NullPointerException
> org.ofbiz.product.store.ProductStoreWorker.getStoreCurrencyUomId(ProductStoreWorker.java:95)
> org.ofbiz.order.shoppingcart.WebShoppingCart.<init>(WebShoppingCart.java:44)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEvents.java:806)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEvents.java:825)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.keepCartUpdated(ShoppingCartEvents.java:887)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-1964) [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!

Posted by "Scott Gray (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-1964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12633016#action_12633016 ] 

Scott Gray commented on OFBIZ-1964:
-----------------------------------

Have you changed the webSiteId in applications/order/webapp/ordermgr/WEB-INF/web.xml to point to your customer's WebSite?

> [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!
> ------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1964
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1964
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce, product
>         Environment: svn 91430
>            Reporter: BJ Freeman
>            Priority: Minor
>
> This is a clean db with only a customers Website, ProductStore.
> it is not configured to use Ecommerce
> I have not traced back to is going thru the Ecommerce controller
> The code in the ProductStoreWorker.java
> assumes that is info in the request to be able to resolve the product store.
> in this type of configuration that is a bad assumption.
> So there are two places this needs to be fixed.
> 1) the ProductStoreWorker.java to cover not having the information.
> 2) what is ever calling the Ecommerce controller when the Ecommerce is not being used.
> [ BeanShellContainer.java:100:INFO ] Started BeanShell telnet service on 9989, 9990	
> [ BeanShellContainer.java:101:INFO ] NOTICE: BeanShell service ports are not secure. Please protect the ports	
> [  CartEventListener.java:53 :INFO ] No cart to save, doing nothing.	
> [ControlEventListener.java:101:INFO ] Destroying session: 0528DB49367E57B71C5BD50D958FB7BD.jvm1	
> [ControlEventListener.java:63 :INFO ] Creating session: E211B16441F789A8A590E73DB4F132EA.jvm1	
> [     ControlServlet.java:93 :INFO ] The character encoding of the request is:	[null]. The character encoding we will use for the request and response is:
> [     ControlServlet.java:131:INFO ]	[[[ViewBlogRss] Servlet Starting, doing setup- total:0.0,since last(Begin):0.0]]
> [       VisitHandler.java:221:INFO ] Found visitorId	[10000] in cookie
> [       SequenceUtil.java:341:INFO ] Got bank of sequenced IDs for	[Visit]; curSeqId=14500, maxSeqId=14600, bankSize=100
> [     ControlServlet.java:196:INFO ]	[[[ViewBlogRss] Setup done, doing Event(s) and View(s)- total:1.125,since last([ViewBlogRss] Ser...):1.125]]
> [            UtilXml.java:241:INFO ] XML Read 0.063s: jndi:/0.0.0.0/ecommerce/WEB-INF/controller.xml	
> [    ConfigXMLReader.java:622:INFO ] ConfigMap Created: (5) records in 0.016s	
> [    ConfigXMLReader.java:765:INFO ] HandlerMap Created: (5) view handlers and (10) request/event handlers in 0.0s	
> [    ConfigXMLReader.java:378:INFO ] RequestMap Created: (275) records in 0.015s	
> [    ConfigXMLReader.java:466:INFO ] ViewMap Created: (94) records in 0.0s	
> [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!	
>  JavaEventHandler.java:97 :ERROR] 
> ---- runtime exception report --------------------------------------------------
> Problems Processing Event
> Exception: java.lang.NullPointerException
> Message: null
> ---- stack trace ---------------------------------------------------------------
> java.lang.NullPointerException
> org.ofbiz.product.store.ProductStoreWorker.getStoreCurrencyUomId(ProductStoreWorker.java:95)
> org.ofbiz.order.shoppingcart.WebShoppingCart.<init>(WebShoppingCart.java:44)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEvents.java:806)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEvents.java:825)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.keepCartUpdated(ShoppingCartEvents.java:887)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-1964) [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!

Posted by "BJ Freeman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-1964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12633049#action_12633049 ] 

BJ Freeman commented on OFBIZ-1964:
-----------------------------------

Thanks for the tip.
I did restart the browser and see the problem re-appear in both runtimes.

So if you want to harden ofbiz so no outside references to it, like the rssfeed one or the ecommerce url, how would one keep the Cart functions for internal use and not allow outside access.
Something that can be done as a configuration, without recoding ofbiz.

will  try to disable the Ecommerce, again,  by taking it out of the component-load.xml see if it still causes my code to break.



> [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!
> ------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1964
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1964
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce, product
>         Environment: svn 91430
>            Reporter: BJ Freeman
>            Priority: Minor
>
> This is a clean db with only a customers Website, ProductStore.
> it is not configured to use Ecommerce
> I have not traced back to is going thru the Ecommerce controller
> The code in the ProductStoreWorker.java
> assumes that is info in the request to be able to resolve the product store.
> in this type of configuration that is a bad assumption.
> So there are two places this needs to be fixed.
> 1) the ProductStoreWorker.java to cover not having the information.
> 2) what is ever calling the Ecommerce controller when the Ecommerce is not being used.
> [ BeanShellContainer.java:100:INFO ] Started BeanShell telnet service on 9989, 9990	
> [ BeanShellContainer.java:101:INFO ] NOTICE: BeanShell service ports are not secure. Please protect the ports	
> [  CartEventListener.java:53 :INFO ] No cart to save, doing nothing.	
> [ControlEventListener.java:101:INFO ] Destroying session: 0528DB49367E57B71C5BD50D958FB7BD.jvm1	
> [ControlEventListener.java:63 :INFO ] Creating session: E211B16441F789A8A590E73DB4F132EA.jvm1	
> [     ControlServlet.java:93 :INFO ] The character encoding of the request is:	[null]. The character encoding we will use for the request and response is:
> [     ControlServlet.java:131:INFO ]	[[[ViewBlogRss] Servlet Starting, doing setup- total:0.0,since last(Begin):0.0]]
> [       VisitHandler.java:221:INFO ] Found visitorId	[10000] in cookie
> [       SequenceUtil.java:341:INFO ] Got bank of sequenced IDs for	[Visit]; curSeqId=14500, maxSeqId=14600, bankSize=100
> [     ControlServlet.java:196:INFO ]	[[[ViewBlogRss] Setup done, doing Event(s) and View(s)- total:1.125,since last([ViewBlogRss] Ser...):1.125]]
> [            UtilXml.java:241:INFO ] XML Read 0.063s: jndi:/0.0.0.0/ecommerce/WEB-INF/controller.xml	
> [    ConfigXMLReader.java:622:INFO ] ConfigMap Created: (5) records in 0.016s	
> [    ConfigXMLReader.java:765:INFO ] HandlerMap Created: (5) view handlers and (10) request/event handlers in 0.0s	
> [    ConfigXMLReader.java:378:INFO ] RequestMap Created: (275) records in 0.015s	
> [    ConfigXMLReader.java:466:INFO ] ViewMap Created: (94) records in 0.0s	
> [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!	
>  JavaEventHandler.java:97 :ERROR] 
> ---- runtime exception report --------------------------------------------------
> Problems Processing Event
> Exception: java.lang.NullPointerException
> Message: null
> ---- stack trace ---------------------------------------------------------------
> java.lang.NullPointerException
> org.ofbiz.product.store.ProductStoreWorker.getStoreCurrencyUomId(ProductStoreWorker.java:95)
> org.ofbiz.order.shoppingcart.WebShoppingCart.<init>(WebShoppingCart.java:44)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEvents.java:806)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEvents.java:825)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.keepCartUpdated(ShoppingCartEvents.java:887)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-1964) [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!

Posted by "Scott Gray (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-1964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12633023#action_12633023 ] 

Scott Gray commented on OFBIZ-1964:
-----------------------------------

What request are you calling that result in the error?

> [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!
> ------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1964
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1964
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce, product
>         Environment: svn 91430
>            Reporter: BJ Freeman
>            Priority: Minor
>
> This is a clean db with only a customers Website, ProductStore.
> it is not configured to use Ecommerce
> I have not traced back to is going thru the Ecommerce controller
> The code in the ProductStoreWorker.java
> assumes that is info in the request to be able to resolve the product store.
> in this type of configuration that is a bad assumption.
> So there are two places this needs to be fixed.
> 1) the ProductStoreWorker.java to cover not having the information.
> 2) what is ever calling the Ecommerce controller when the Ecommerce is not being used.
> [ BeanShellContainer.java:100:INFO ] Started BeanShell telnet service on 9989, 9990	
> [ BeanShellContainer.java:101:INFO ] NOTICE: BeanShell service ports are not secure. Please protect the ports	
> [  CartEventListener.java:53 :INFO ] No cart to save, doing nothing.	
> [ControlEventListener.java:101:INFO ] Destroying session: 0528DB49367E57B71C5BD50D958FB7BD.jvm1	
> [ControlEventListener.java:63 :INFO ] Creating session: E211B16441F789A8A590E73DB4F132EA.jvm1	
> [     ControlServlet.java:93 :INFO ] The character encoding of the request is:	[null]. The character encoding we will use for the request and response is:
> [     ControlServlet.java:131:INFO ]	[[[ViewBlogRss] Servlet Starting, doing setup- total:0.0,since last(Begin):0.0]]
> [       VisitHandler.java:221:INFO ] Found visitorId	[10000] in cookie
> [       SequenceUtil.java:341:INFO ] Got bank of sequenced IDs for	[Visit]; curSeqId=14500, maxSeqId=14600, bankSize=100
> [     ControlServlet.java:196:INFO ]	[[[ViewBlogRss] Setup done, doing Event(s) and View(s)- total:1.125,since last([ViewBlogRss] Ser...):1.125]]
> [            UtilXml.java:241:INFO ] XML Read 0.063s: jndi:/0.0.0.0/ecommerce/WEB-INF/controller.xml	
> [    ConfigXMLReader.java:622:INFO ] ConfigMap Created: (5) records in 0.016s	
> [    ConfigXMLReader.java:765:INFO ] HandlerMap Created: (5) view handlers and (10) request/event handlers in 0.0s	
> [    ConfigXMLReader.java:378:INFO ] RequestMap Created: (275) records in 0.015s	
> [    ConfigXMLReader.java:466:INFO ] ViewMap Created: (94) records in 0.0s	
> [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!	
>  JavaEventHandler.java:97 :ERROR] 
> ---- runtime exception report --------------------------------------------------
> Problems Processing Event
> Exception: java.lang.NullPointerException
> Message: null
> ---- stack trace ---------------------------------------------------------------
> java.lang.NullPointerException
> org.ofbiz.product.store.ProductStoreWorker.getStoreCurrencyUomId(ProductStoreWorker.java:95)
> org.ofbiz.order.shoppingcart.WebShoppingCart.<init>(WebShoppingCart.java:44)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEvents.java:806)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEvents.java:825)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.keepCartUpdated(ShoppingCartEvents.java:887)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-1964) [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!

Posted by "BJ Freeman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-1964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12633019#action_12633019 ] 

BJ Freeman commented on OFBIZ-1964:
-----------------------------------

I have not, on purpose.
the ecommerce is not used, as I stated before.
in this configuration, the  routines I have added use the websitie and productStore to Identify which one to use for the remote website that is sending orders.
This is a valid configuration for using the back in without ecommerce.
Now if I make the Web.xml value null for website then nothing, should be initiated.


> [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!
> ------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1964
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1964
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce, product
>         Environment: svn 91430
>            Reporter: BJ Freeman
>            Priority: Minor
>
> This is a clean db with only a customers Website, ProductStore.
> it is not configured to use Ecommerce
> I have not traced back to is going thru the Ecommerce controller
> The code in the ProductStoreWorker.java
> assumes that is info in the request to be able to resolve the product store.
> in this type of configuration that is a bad assumption.
> So there are two places this needs to be fixed.
> 1) the ProductStoreWorker.java to cover not having the information.
> 2) what is ever calling the Ecommerce controller when the Ecommerce is not being used.
> [ BeanShellContainer.java:100:INFO ] Started BeanShell telnet service on 9989, 9990	
> [ BeanShellContainer.java:101:INFO ] NOTICE: BeanShell service ports are not secure. Please protect the ports	
> [  CartEventListener.java:53 :INFO ] No cart to save, doing nothing.	
> [ControlEventListener.java:101:INFO ] Destroying session: 0528DB49367E57B71C5BD50D958FB7BD.jvm1	
> [ControlEventListener.java:63 :INFO ] Creating session: E211B16441F789A8A590E73DB4F132EA.jvm1	
> [     ControlServlet.java:93 :INFO ] The character encoding of the request is:	[null]. The character encoding we will use for the request and response is:
> [     ControlServlet.java:131:INFO ]	[[[ViewBlogRss] Servlet Starting, doing setup- total:0.0,since last(Begin):0.0]]
> [       VisitHandler.java:221:INFO ] Found visitorId	[10000] in cookie
> [       SequenceUtil.java:341:INFO ] Got bank of sequenced IDs for	[Visit]; curSeqId=14500, maxSeqId=14600, bankSize=100
> [     ControlServlet.java:196:INFO ]	[[[ViewBlogRss] Setup done, doing Event(s) and View(s)- total:1.125,since last([ViewBlogRss] Ser...):1.125]]
> [            UtilXml.java:241:INFO ] XML Read 0.063s: jndi:/0.0.0.0/ecommerce/WEB-INF/controller.xml	
> [    ConfigXMLReader.java:622:INFO ] ConfigMap Created: (5) records in 0.016s	
> [    ConfigXMLReader.java:765:INFO ] HandlerMap Created: (5) view handlers and (10) request/event handlers in 0.0s	
> [    ConfigXMLReader.java:378:INFO ] RequestMap Created: (275) records in 0.015s	
> [    ConfigXMLReader.java:466:INFO ] ViewMap Created: (94) records in 0.0s	
> [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!	
>  JavaEventHandler.java:97 :ERROR] 
> ---- runtime exception report --------------------------------------------------
> Problems Processing Event
> Exception: java.lang.NullPointerException
> Message: null
> ---- stack trace ---------------------------------------------------------------
> java.lang.NullPointerException
> org.ofbiz.product.store.ProductStoreWorker.getStoreCurrencyUomId(ProductStoreWorker.java:95)
> org.ofbiz.order.shoppingcart.WebShoppingCart.<init>(WebShoppingCart.java:44)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEvents.java:806)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEvents.java:825)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.keepCartUpdated(ShoppingCartEvents.java:887)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-1964) [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!

Posted by "Scott Gray (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-1964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12633031#action_12633031 ] 

Scott Gray commented on OFBIZ-1964:
-----------------------------------

Are you sure that you haven't subscribed to an RSS feed at some point in the past?  My guess is that a client on your machine is trying is read to the feeds available in ecommerce.

> [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!
> ------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1964
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1964
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce, product
>         Environment: svn 91430
>            Reporter: BJ Freeman
>            Priority: Minor
>
> This is a clean db with only a customers Website, ProductStore.
> it is not configured to use Ecommerce
> I have not traced back to is going thru the Ecommerce controller
> The code in the ProductStoreWorker.java
> assumes that is info in the request to be able to resolve the product store.
> in this type of configuration that is a bad assumption.
> So there are two places this needs to be fixed.
> 1) the ProductStoreWorker.java to cover not having the information.
> 2) what is ever calling the Ecommerce controller when the Ecommerce is not being used.
> [ BeanShellContainer.java:100:INFO ] Started BeanShell telnet service on 9989, 9990	
> [ BeanShellContainer.java:101:INFO ] NOTICE: BeanShell service ports are not secure. Please protect the ports	
> [  CartEventListener.java:53 :INFO ] No cart to save, doing nothing.	
> [ControlEventListener.java:101:INFO ] Destroying session: 0528DB49367E57B71C5BD50D958FB7BD.jvm1	
> [ControlEventListener.java:63 :INFO ] Creating session: E211B16441F789A8A590E73DB4F132EA.jvm1	
> [     ControlServlet.java:93 :INFO ] The character encoding of the request is:	[null]. The character encoding we will use for the request and response is:
> [     ControlServlet.java:131:INFO ]	[[[ViewBlogRss] Servlet Starting, doing setup- total:0.0,since last(Begin):0.0]]
> [       VisitHandler.java:221:INFO ] Found visitorId	[10000] in cookie
> [       SequenceUtil.java:341:INFO ] Got bank of sequenced IDs for	[Visit]; curSeqId=14500, maxSeqId=14600, bankSize=100
> [     ControlServlet.java:196:INFO ]	[[[ViewBlogRss] Setup done, doing Event(s) and View(s)- total:1.125,since last([ViewBlogRss] Ser...):1.125]]
> [            UtilXml.java:241:INFO ] XML Read 0.063s: jndi:/0.0.0.0/ecommerce/WEB-INF/controller.xml	
> [    ConfigXMLReader.java:622:INFO ] ConfigMap Created: (5) records in 0.016s	
> [    ConfigXMLReader.java:765:INFO ] HandlerMap Created: (5) view handlers and (10) request/event handlers in 0.0s	
> [    ConfigXMLReader.java:378:INFO ] RequestMap Created: (275) records in 0.015s	
> [    ConfigXMLReader.java:466:INFO ] ViewMap Created: (94) records in 0.0s	
> [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!	
>  JavaEventHandler.java:97 :ERROR] 
> ---- runtime exception report --------------------------------------------------
> Problems Processing Event
> Exception: java.lang.NullPointerException
> Message: null
> ---- stack trace ---------------------------------------------------------------
> java.lang.NullPointerException
> org.ofbiz.product.store.ProductStoreWorker.getStoreCurrencyUomId(ProductStoreWorker.java:95)
> org.ofbiz.order.shoppingcart.WebShoppingCart.<init>(WebShoppingCart.java:44)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEvents.java:806)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEvents.java:825)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.keepCartUpdated(ShoppingCartEvents.java:887)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-1964) [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!

Posted by "BJ Freeman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-1964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12633038#action_12633038 ] 

BJ Freeman commented on OFBIZ-1964:
-----------------------------------

I looked in my browser and email client
did not see any.
I even had my email client shut down.
I can see where it looks like I am getting a request.
However I can shut down this one and start up the demo version and not see this request.
so I figured it was something in the version.

That aside, there is still the errors that happen with a web.xml website is not supported by a product store.
this need to be addressed so that if the web.xml website is not valid the process is aborted.



> [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!
> ------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1964
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1964
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce, product
>         Environment: svn 91430
>            Reporter: BJ Freeman
>            Priority: Minor
>
> This is a clean db with only a customers Website, ProductStore.
> it is not configured to use Ecommerce
> I have not traced back to is going thru the Ecommerce controller
> The code in the ProductStoreWorker.java
> assumes that is info in the request to be able to resolve the product store.
> in this type of configuration that is a bad assumption.
> So there are two places this needs to be fixed.
> 1) the ProductStoreWorker.java to cover not having the information.
> 2) what is ever calling the Ecommerce controller when the Ecommerce is not being used.
> [ BeanShellContainer.java:100:INFO ] Started BeanShell telnet service on 9989, 9990	
> [ BeanShellContainer.java:101:INFO ] NOTICE: BeanShell service ports are not secure. Please protect the ports	
> [  CartEventListener.java:53 :INFO ] No cart to save, doing nothing.	
> [ControlEventListener.java:101:INFO ] Destroying session: 0528DB49367E57B71C5BD50D958FB7BD.jvm1	
> [ControlEventListener.java:63 :INFO ] Creating session: E211B16441F789A8A590E73DB4F132EA.jvm1	
> [     ControlServlet.java:93 :INFO ] The character encoding of the request is:	[null]. The character encoding we will use for the request and response is:
> [     ControlServlet.java:131:INFO ]	[[[ViewBlogRss] Servlet Starting, doing setup- total:0.0,since last(Begin):0.0]]
> [       VisitHandler.java:221:INFO ] Found visitorId	[10000] in cookie
> [       SequenceUtil.java:341:INFO ] Got bank of sequenced IDs for	[Visit]; curSeqId=14500, maxSeqId=14600, bankSize=100
> [     ControlServlet.java:196:INFO ]	[[[ViewBlogRss] Setup done, doing Event(s) and View(s)- total:1.125,since last([ViewBlogRss] Ser...):1.125]]
> [            UtilXml.java:241:INFO ] XML Read 0.063s: jndi:/0.0.0.0/ecommerce/WEB-INF/controller.xml	
> [    ConfigXMLReader.java:622:INFO ] ConfigMap Created: (5) records in 0.016s	
> [    ConfigXMLReader.java:765:INFO ] HandlerMap Created: (5) view handlers and (10) request/event handlers in 0.0s	
> [    ConfigXMLReader.java:378:INFO ] RequestMap Created: (275) records in 0.015s	
> [    ConfigXMLReader.java:466:INFO ] ViewMap Created: (94) records in 0.0s	
> [ ProductStoreWorker.java:101:ERROR] No product store found in request, cannot set locale!	
>  JavaEventHandler.java:97 :ERROR] 
> ---- runtime exception report --------------------------------------------------
> Problems Processing Event
> Exception: java.lang.NullPointerException
> Message: null
> ---- stack trace ---------------------------------------------------------------
> java.lang.NullPointerException
> org.ofbiz.product.store.ProductStoreWorker.getStoreCurrencyUomId(ProductStoreWorker.java:95)
> org.ofbiz.order.shoppingcart.WebShoppingCart.<init>(WebShoppingCart.java:44)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEvents.java:806)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEvents.java:825)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.keepCartUpdated(ShoppingCartEvents.java:887)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.