At the end of the term you will want to shut down the Derby and Payara
servers.
You stop the Derby server with the stop-database
subcommand
of Payara's asadmin
command.
You stop the Payara server with the stop-domain
subcommand.
You need to be in the payara41
folder to give this command.
gshute@ukko:~$ cd ~/server/payara41 gshute@ukko:~/server/payara41$ bin/asadmin stop-database --dbport 53100 gshute@ukko:~/server/payara41$ bin/asadmin stop-domain domain1 Command stop-domain executed successfully.