Running A Stock Java EE Application On Docker

preview_player
Показать описание
It is trivial to deploy a Java EE 7 WAR to a docker container with Maven.

Рекомендации по теме
Комментарии
Автор

Interesting, thank you. Now how would I spin up the same dockerized application on different machines but with individually different database connection pool settings?

Background on this:
I tried this without docker, just using Payara micro, providing a domain.xml file, but as soon as I stopped and restarted the Payara micro instance, it told me the application was already registered and I couldn't get it to work again without recreating the domain.xml from a backup, which is rather annoying. The full Payara however seems to have no issues with stopping an restarting.

brixomatic
Автор

Hi Adam, I got this kind of info :
logs docks
Waiting for domain1 to start
Successfully started the domain : domain1
domain Location:
Log File:
Admin Port: 4848
Command start-domain executed successfully.
remote failure: Archive type of /deploy was not recognized
Command deploy failed.

petervalencic