Hi Ingo,

Not sure if this would be of help.
Since we did not need it on our local instance we made zip and tar
gradle tasks optional based on arguments.

Added the below within the build.gradle:

tasks.named('distTar').configure {
    onlyIf {
        project.hasProperty('includeDistTar')
    }
}
tasks.named('distZip').configure {
    onlyIf {
        project.hasProperty('includeDistZip')
    }
}

This made our startup significantly faster.

Kind Regards,
Johan

On Tue, 4 Jun 2024 at 14:32, Ingo Wolfmayr <[email protected]> wrote:
>
> Hi everybody,
>
> I have an OFBiz installation (multiple tenants, trunk) with many products and 
> therefore many images. When I start OFBiz, it takes forever until it can be 
> accessed via the interface. The log stops with the following entry: "This is 
> the first request in this visit. Hidden sessionId by default."
>
> If I remove the images (unmount the path) and restart, OFBiz is quickly 
> available as usual.
>
> What could be the problem here? During the waiting time, hardly any resources 
> are used - neither CPU, memory, nor HDD read.
>
> Best regards,
> Ingo

Reply via email to