The following document contains the results of Rat (Release Audit Tool).
***************************************************** Summary ------- Generated at: 2017-03-12T00:14:13-05:00 Notes: 0 Binaries: 0 Archives: 0 Standards: 9 Apache Licensed: 4 Generated Documents: 0 JavaDocs are generated, thus a license header is optional. Generated files do not require license headers. 5 Unknown Licenses ***************************************************** Files with unapproved licenses: C:/projects/fgsms/fgsms-server/fgsms-server-crash-alerter/mail.properties C:/projects/fgsms/fgsms-server/fgsms-server-crash-alerter/pom.xml C:/projects/fgsms/fgsms-server/fgsms-server-crash-alerter/src/main/java/org/miloss/fgsms/alerting/Daemon.java C:/projects/fgsms/fgsms-server/fgsms-server-crash-alerter/src/main/java/org/miloss/fgsms/alerting/FgsmsServerCrashAlerters.java C:/projects/fgsms/fgsms-server/fgsms-server-crash-alerter/src/main/java/org/miloss/fgsms/alerting/ThreadRunner.java ***************************************************** ***************************************************** Files with Apache License headers will be marked AL Binary files (which do not require any license headers) will be marked B Compressed archives will be marked A Notices, licenses etc. will be marked N AL C:/projects/fgsms/fgsms-server/fgsms-server-crash-alerter/CrashAlerterInstall.cmd AL C:/projects/fgsms/fgsms-server/fgsms-server-crash-alerter/CrashAlerterInstallx64.cmd AL C:/projects/fgsms/fgsms-server/fgsms-server-crash-alerter/CrashAlerterRemove.cmd AL C:/projects/fgsms/fgsms-server/fgsms-server-crash-alerter/CrashAlerterRemovex64.cmd !????? C:/projects/fgsms/fgsms-server/fgsms-server-crash-alerter/mail.properties !????? C:/projects/fgsms/fgsms-server/fgsms-server-crash-alerter/pom.xml !????? C:/projects/fgsms/fgsms-server/fgsms-server-crash-alerter/src/main/java/org/miloss/fgsms/alerting/Daemon.java !????? C:/projects/fgsms/fgsms-server/fgsms-server-crash-alerter/src/main/java/org/miloss/fgsms/alerting/FgsmsServerCrashAlerters.java !????? C:/projects/fgsms/fgsms-server/fgsms-server-crash-alerter/src/main/java/org/miloss/fgsms/alerting/ThreadRunner.java ***************************************************** Printing headers for text files without a valid license header... ===================================================== == File: C:/projects/fgsms/fgsms-server/fgsms-server-crash-alerter/mail.properties ===================================================== # these settings are used by this daemon to fire off an email if fgsms's server ever goes down. # see the following links for a complete list of settings that you can put here # see https://javamail.java.net/nonav/docs/api/ # see https://javamail.java.net/nonav/docs/api/com/sun/mail/smtp/package-summary.html mail.smtp.port=25 mail.smtp.auth=false mail.smtp.user =user@domain.com mail.smtp.auth.plain=password! mail.smtp.host=my.mail.server.com # these are fgsms specific sendfrom=reply@domain.com sendto=admins@domain.com ===================================================== == File: C:/projects/fgsms/fgsms-server/fgsms-server-crash-alerter/pom.xml ===================================================== <?xml version="1.0" encoding="UTF-8"?> <!-- This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. If it is not possible or desirable to put the notice in a particular file, then You may include the notice in a location (such as a LICENSE file in a relevant directory) where a recipient would be likely to look for such a notice. U.S. Government, Department of the Army Army Materiel Command Research Development Engineering Command Communications Electronics Research Development and Engineering Center --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.mil-oss</groupId> <artifactId>fgsms-server</artifactId> <version>7.0.0</version> </parent> <artifactId>fgsms-server-crash-alerter</artifactId> <packaging>bundle</packaging> <name>fgsms Server Crash Alerter</name> <description>A utility that alerts fgsms administrators in case of fgsms server crash</description> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.mil-oss</groupId> <artifactId>fgsms-common</artifactId> <version>${project.parent.version}</version> </dependency> <dependency> <groupId>org.mil-oss</groupId> <artifactId>fgsms-common-interfaces</artifactId> <version>${project.parent.version}</version> </dependency> ===================================================== == File: C:/projects/fgsms/fgsms-server/fgsms-server-crash-alerter/src/main/java/org/miloss/fgsms/alerting/Daemon.java ===================================================== /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * If it is not possible or desirable to put the notice in a particular * file, then You may include the notice in a location (such as a LICENSE * file in a relevant directory) where a recipient would be likely to look * for such a notice. * */ /* --------------------------------------------------------------------------- * U.S. Government, Department of the Army * Army Materiel Command * Research Development Engineering Command * Communications Electronics Research Development and Engineering Center * --------------------------------------------------------------------------- */ package org.miloss.fgsms.alerting; /** * * @author AO */ public class Daemon { private static ThreadRunner runner = null; public static void start(String[] args) { runner = new ThreadRunner(args); t = new Thread(runner); t.start(); } static Thread t; public static void stop(String[] args) { if (t != null && t.isAlive() && runner != null) { runner.m.running = false; try { t.join(); } catch (InterruptedException ex) { ex.printStackTrace(); } } } } ===================================================== == File: C:/projects/fgsms/fgsms-server/fgsms-server-crash-alerter/src/main/java/org/miloss/fgsms/alerting/FgsmsServerCrashAlerters.java ===================================================== /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * If it is not possible or desirable to put the notice in a particular * file, then You may include the notice in a location (such as a LICENSE * file in a relevant directory) where a recipient would be likely to look * for such a notice. * */ /* --------------------------------------------------------------------------- * U.S. Government, Department of the Army * Army Materiel Command * Research Development Engineering Command * Communications Electronics Research Development and Engineering Center * --------------------------------------------------------------------------- */ package org.miloss.fgsms.alerting; import java.io.FileInputStream; import java.util.Properties; import javax.mail.Message; import javax.mail.Session; import javax.mail.Transport; import javax.mail.internet.InternetAddress; import javax.mail.internet.MimeMessage; import org.miloss.fgsms.agentcore.ConfigLoader; import org.miloss.fgsms.common.Utility; import org.miloss.fgsms.services.interfaces.policyconfiguration.GlobalPolicy; /** * * @author AO */ public class FgsmsServerCrashAlerters { boolean running = false; /** * This program will loop forever and periodically test to see if the PCS * service is available and thus also prove that the database is running. If * this assertion fails, an email is dispatched. * * @param args the command line arguments */ public static void main(String[] args) throws Exception { new FgsmsServerCrashAlerters().runMain(); } ===================================================== == File: C:/projects/fgsms/fgsms-server/fgsms-server-crash-alerter/src/main/java/org/miloss/fgsms/alerting/ThreadRunner.java ===================================================== /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * If it is not possible or desirable to put the notice in a particular * file, then You may include the notice in a location (such as a LICENSE * file in a relevant directory) where a recipient would be likely to look * for such a notice. * */ /* --------------------------------------------------------------------------- * U.S. Government, Department of the Army * Army Materiel Command * Research Development Engineering Command * Communications Electronics Research Development and Engineering Center * --------------------------------------------------------------------------- */ package org.miloss.fgsms.alerting; /** * * @author AO */ public class ThreadRunner implements Runnable{ public ThreadRunner() {} public ThreadRunner( String[] inargs) { this.args = inargs; } public String[] args; protected FgsmsServerCrashAlerters m= null; @Override public void run() { try { m=new FgsmsServerCrashAlerters(); m.runMain(); } catch (Exception ex) { } } }