if( r == null ){
log.warn("Could not create reader for the audit-log file on "+auditFile.getAbsolutePath() );
System.exit(-1);
}
NetworkEventServer server = null;
try {
InputStream kurl = AuditServer.class.getResourceAsStream("/org/jwall/web/audit/net/keystore");
server = NetworkEventServer.createSSLEventServer( kurl, port, auth );
} catch (Exception e2) {
e2.printStackTrace();
System.exit(-1);
}
server.start();
AuditEventDispatcher d = new AuditEventDispatcher( r );
d.addAuditEventListener( server );