Skip to content
Snippets Groups Projects
Commit ca738e13 authored by Felix Sidokhine's avatar Felix Sidokhine
Browse files

research in progress

parent 48efba0c
No related branches found
No related tags found
No related merge requests found
......@@ -87,6 +87,7 @@ public class AppStarter extends Thread {
}
if(doUpdate.get()){
Server.tomcatLauncher.stopTomcat();
server = null;
//This will trigger a force reload of the lib.
LibraryLoader.loadlibs(System.getProperty("user.dir"), AppStarter.class);
server = ServerLoader.loadServer(appUpdater, Integer.toString(port), serverCertificate, serverPrivateKey);
......
......@@ -51,7 +51,7 @@ import static net.jami.jams.server.Server.certificateAuthority;
@Slf4j
public class TomcatLauncher {
private Tomcat tomcat = new Tomcat();
private final Tomcat tomcat = new Tomcat();
private Connector connector;
private StandardContext context;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment