use of org.apache.openejb.util.LoggingPrintWriter in project tomee by apache.
the class DerbyNetworkService method start.
@Override
public void start() throws ServiceException {
if (this.disabled) {
return;
}
try {
this.serverControl = new NetworkServerControl(host, port);
this.serverControl.start(new LoggingPrintWriter("Derby"));
if (verbose) {
LOGGER.info("Starting openejb-derbynet with derby " + serverControl.getRuntimeInfo() + " " + serverControl.getSysinfo());
}
} catch (Exception e) {
throw new ServiceException(e);
}
}
Aggregations