Hi Sumesh, Deployments using docker containers (recently added to trunk) also use the distTar distribution and update entityengine.xml.
Please see this line in the docker-entry script ( https://github.com/apache/ofbiz-framework/blob/f018d48ff3056f618612dcfbb39fcc1e2deb8ca7/docker/docker-entrypoint.sh#L343 ) Here we copy and transform entityengine.xml into the ofbiz/config directory. Off the top of my head, I'm not sure which resource loading mechanism is used for entityengine.xml, but assuming it is classpath based then you will want to place your updated property files, such as entityengine.xml and url.properties, in the ofbiz/config directory. Dan. On Thu, 30 Mar 2023 at 14:01, Sumesh R Acharya <[email protected]> wrote: > Hello community, > > In our project we have made required changes to implement ofbiz archive > feature (distTar or distZip) and able to generate the archive then running > the project using bash script which is present inside it. > > > > But problem i noticed is when i make any changes like changing the > datasource configuration in the entityengine file which is present inside > in the directory > [build/distributions/ofbiz/framework/entity/config/entityengine.xml] then > running the project using the ofbiz bash script from the bin directory. > *(NOTE: i extracted the ofbiz.zip inside the distributions directory) > These above database changes are not reflected in the project. > > > But the project is taking the changes which i mentioned before building > this archive. > > > Can you please tell me know is any other configuration changes i have to > make in the project to get this changes reflected. > > Regards, > Sumesh R Acharya > -- Daniel Watford
