|
@@ -5,6 +5,8 @@ import org.mortbay.jetty.Server;
|
|
|
import org.mortbay.jetty.bio.SocketConnector;
|
|
import org.mortbay.jetty.bio.SocketConnector;
|
|
|
import org.mortbay.jetty.webapp.WebAppContext;
|
|
import org.mortbay.jetty.webapp.WebAppContext;
|
|
|
|
|
|
|
|
|
|
+import cz.hsrs.db.pool.SQLExecutor;
|
|
|
|
|
+
|
|
|
public class StartJetty {
|
|
public class StartJetty {
|
|
|
|
|
|
|
|
public static Server server = new Server();
|
|
public static Server server = new Server();
|
|
@@ -21,7 +23,7 @@ public class StartJetty {
|
|
|
//context.setContextPath("/");
|
|
//context.setContextPath("/");
|
|
|
context.setWar("src/main/webapp");
|
|
context.setWar("src/main/webapp");
|
|
|
server.addHandler(context);
|
|
server.addHandler(context);
|
|
|
- //SQLExecutor.setConfigfile("WEB-INF/local_logging.properties");
|
|
|
|
|
|
|
+ SQLExecutor.setConfigFile("WEB-INF/local_logging.properties");
|
|
|
|
|
|
|
|
server.start();
|
|
server.start();
|
|
|
|
|
|