Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
String logFile = routines.context.getLogFilePath(hostname,"MY_JOB_NAME");
System.setOut(new java.io.PrintStream(new java.io.FileOutputStream(logFile,true)));
System.setErr(new java.io.PrintStream(new java.io.FileOutputStream(logFile,true)));
The scenario is an easy one, because job are ordered. In reality, PreJob is launch when the .kar is deployed on the karaf container. This was the hard thing to understand, because whenever I undeploy/deploy a WS, the order keep changing randomly.
The scenario is an easy one, because job are ordered. In reality, PreJob is launch when the .kar is deployed on the karaf container. This was the hard thing to understand, because whenever I undeploy/deploy a WS, the order keep changing randomly.