My name is Patrick and i'm from Brasil.
What should I do for perform a Script ANT from a SessionBean? I am trying to do like this:
String[] argumentos = new String[3];
argumentos[0] = "-file";
argumentos[1] = "..\\antScript.xml";
argumentos[2] = "compilar";
Launcher.main(argumentos);
But when the script finishes of perform, the JBoss performs SHUTDOWN