Starting multiple app in the same composite project

Hi all!

I have a composite project with a jmix app, a jmix rest service, and a shared module addon (gol-print-db-module): trying to start app and service simultaneously on different ports, i’m facing a problem on shared module addon with message:

FAILURE: Build failed with an exception.

** What went wrong:*
Execution failed for task ‘:gol-print-db-module:gol-print-db-module:jar’.
> Unable to delete file ‘E:\1\strumenti\stampa\gol-print-db-module\gol-print-db-module\build\libs\gol-print-db-module-2.3.0-RELEASE.jar’

Thank’s in advance

Hello,

> Unable to delete file ‘E:\1\strumenti\stampa\gol-print-db-module\gol-print-db-module\build\libs\gol-print-db-module-2.3.0-RELEASE.jar’

It could be that some hanging java process locked it because of the previous start and did not stop gracefully.
Find the file and try to delete it yourself, or kill the process locking it, maybe restart everything.

Kind regards,
Mladen

Thanks for reply, but our goal is to run multiple apps at the same time within the same composite project