Add java gateway gestion + update config file with 2.2 variables