Closed cranberrysoft closed 3 years ago
I couldn't reproduce it. Can you try removing docker containers with volumes and starting it again?
docker-compose stop
docker-compose rm -v
docker-compose up -d
@jakzal Thanks for your guidance.
I think I know what's happening. The README was a bit outdated.
@cranberrysoft Besides the @jakzal approach, please consider the updated instructions to run the "aircraft-airport-ops" services:
In the root folder, execute docker-compose up -d
so that all infrastructure resources (Postgres DB, Schemata and RabbitMQ) will be installed and initialized. Then, run the following maven build goal:
$ mvn clean package
Finally, run each service through the executable jar
passing a port number:
$ java -jar [service-folder-name]/target/[jar-name].jar [port-number]
Note that you should use the package
goal instead of install
.
Please let me know if it's working fine now.
Thanks, it has solved the issue! I think somehow the containers were stale and the docker-compose commands helped.
Hi, I tried to build the vlingo-e2e-sys-airline-ops project from the master branch, but it constantly fails with the following error.
I run db,rabitmq and schemata using the docker-compose from the project. In the schemata logs the last log I is
Publication date: 2021-02-18T21:43:51.377424, specification=event AircraftConsigned { version semanticVersion string aircraftId string model string serialNumber string tailNumber }, status=Draft, previousVersion=0.0.0, currentVersion=1.0.0]]]
besides this, a bunch of errors like
io.vlingo.symbio.store.StorageException: ERROR: duplicate key value violates unique constraint
the same for the db logs
2021-02-18 10:44:11.679 UTC [33] ERROR: duplicate key value violates unique constraint "tbl_vlingo_symbio_dispatchables_pkey"
I would appreciate any help.