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