You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by fadzi <fa...@butterflycluster.com> on 2008/03/02 05:13:52 UTC

Error on prodct update

Hi 

i just did an update. but now i am getting this error:
I havent changed any classpaths etc. 
Any ideas?


The Following Errors Occurred:

Error calling event: org.ofbiz.webapp.event.EventHandlerException: Service
invocation error (Could not commit transaction for service [updateProduct]
call: Roll back error, could not commit transaction, was rolled back instead
because of: Error in simple-method [
[file:/home/XXX/ofbiz/specialpurpose/bi/script/org/ofbiz/bi/DimensionServices.xml#loadProductInProductDimension]]:
Error running the simple-method: Error in simple-method operation []:
java.lang.IllegalArgumentException: Could not find resource bundle
[DefaultMessages] in the locale [en_GB]
null)

-- 
View this message in context: http://www.nabble.com/Error-on-prodct-update-tp15784112p15784112.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Error on prodct update

Posted by Jacopo Cappellato <ti...@sastau.it>.
You have to define, in framework/entity/conf/entityengine.xml, the 
datasource for the org.ofbiz.olap group.

Change the following lines, from:

<delegator name="default" entity-model-reader="main" 
entity-group-reader="main" entity-eca-reader="main" 
distributed-cache-clear-enabled="false">
   <group-map group-name="org.ofbiz" datasource-name="localderby"/>
</delegator>

to

<delegator name="default" entity-model-reader="main" 
entity-group-reader="main" entity-eca-reader="main" 
distributed-cache-clear-enabled="false">
   <group-map group-name="org.ofbiz" datasource-name="localderby"/>
   <group-map group-name="org.ofbiz.olap" datasource-name="localderbyolap"/>
</delegator>

(as it is done in the svn version of the file)

Jacopo

fadzi wrote:
> Hi 
> 
> i just did an update. but now i am getting this error:
> I havent changed any classpaths etc. 
> Any ideas?
> 
> 
> The Following Errors Occurred:
> 
> Error calling event: org.ofbiz.webapp.event.EventHandlerException: Service
> invocation error (Could not commit transaction for service [updateProduct]
> call: Roll back error, could not commit transaction, was rolled back instead
> because of: Error in simple-method [
> [file:/home/XXX/ofbiz/specialpurpose/bi/script/org/ofbiz/bi/DimensionServices.xml#loadProductInProductDimension]]:
> Error running the simple-method: Error in simple-method operation []:
> java.lang.IllegalArgumentException: Could not find resource bundle
> [DefaultMessages] in the locale [en_GB]
> null)
>