Error on prodct update

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

Error on prodct update

fadzi
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)
Reply | Threaded
Open this post in threaded view
|

Re: Error on prodct update

Jacopo Cappellato
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)
>