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

fixed a minor bug related to passing params

parent 5767597b
No related branches found
No related tags found
No related merge requests found
......@@ -51,9 +51,10 @@ public class CRLWorker extends X509Worker<RevocationRequest> {
public CRLWorker(PrivateKey privateKey, X509Certificate certificate) {
super(privateKey, certificate);
//TODO: The CRL needs to be loaded from somewhere.
this.setDaemon(true);
this.start();
//TODO: The CRL needs to be loaded from memory
log.info("Instantiated & started a CRL Worker...");
}
......
......@@ -41,9 +41,9 @@ public class AppStarter extends Thread {
private final AtomicBoolean doUpdate = new AtomicBoolean(false);
private Server server;
private AppUpdater appUpdater;
private static Integer port;
private static String serverCertificate;
private static String serverPrivateKey;
private static Integer port = 8080;
private static String serverCertificate = null;
private static String serverPrivateKey = null;
/**
......
......@@ -75,9 +75,6 @@ public class Server {
//This is a fix to drop old cached stuff from the tomcat classloader.
ClassPool.getDefault().clearImportedPackages();
switch (args.length) {
case 0:
tomcatLauncher = new TomcatLauncher(8080);
break;
case 1:
tomcatLauncher = new TomcatLauncher(Integer.parseInt(args[0]));
break;
......
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