handler.emitError(messageError, messageError);
InstallLog.getInstance().error(messageError);
}
break;
case JBOSS:
final JBoss jBoss = new JBoss(
jbossSsl, jbossHost, jbossPort, jbossAdminUsername,
jbossAdminPassword, installPath, artifactId, handler);
boolean deployCoreJboss = jBoss.deployCore();
if (deployCoreJboss) {
handler.logOutput("Core successfully deployed ", true);
InstallLog.getInstance().info("Core successfully deployed ");
} else {
final String messageError = "Deploy core on JBoss failed";
handler.emitError(messageError, messageError);
InstallLog.getInstance().error(messageError);
}
boolean deployConsoleJBoss = jBoss.deployConsole();
if (deployConsoleJBoss) {
handler.logOutput("Console successfully deployed ", true);
InstallLog.getInstance().info("Console successfully deployed ");
} else {
final String messageError = "Deploy console on JBoss failed";