diff --git a/cave/com.raytheon.uf.viz.product.alertviz/alertviz.product b/cave/com.raytheon.uf.viz.product.alertviz/alertviz.product index 467a48adb8..117a9d7c83 100644 --- a/cave/com.raytheon.uf.viz.product.alertviz/alertviz.product +++ b/cave/com.raytheon.uf.viz.product.alertviz/alertviz.product @@ -29,8 +29,6 @@ Developed on the Raytheon Visualization Environment (viz) -XX:MaxPermSize=128m -Dorg.eclipse.ui/KEY_CONFIGURATION_ID=com.raytheon.viz.ui.awips.scheme -Dqpid.dest_syntax=BURL --Dcom.sun.management.jmxremote.authenticate=false --Dcom.sun.management.jmxremote.ssl=false -Dlogback.configurationFile=logback-alertviz.xml -Dlogback.statusListenerClass=com.raytheon.uf.common.status.logback.UFLogbackInternalStatusListener -Dthrift.stream.maxsize=200 diff --git a/cave/com.raytheon.viz.product.awips/awips.product b/cave/com.raytheon.viz.product.awips/awips.product index d321607b9b..6fd5170aa1 100644 --- a/cave/com.raytheon.viz.product.awips/awips.product +++ b/cave/com.raytheon.viz.product.awips/awips.product @@ -23,9 +23,6 @@ -XX:MaxPermSize=128m -Dorg.eclipse.ui/KEY_CONFIGURATION_ID=com.raytheon.viz.ui.awips.scheme -Dqpid.dest_syntax=BURL --Dcom.sun.management.jmxremote --Dcom.sun.management.jmxremote.authenticate=false --Dcom.sun.management.jmxremote.ssl=false -XX:OnOutOfMemoryError="capture -t no -p $pid &" -Dlogback.configurationFile=logback-viz-core.xml -Dlogback.statusListenerClass=com.raytheon.uf.common.status.logback.UFLogbackInternalStatusListener diff --git a/cave/com.raytheon.viz.product.awips/developer.product b/cave/com.raytheon.viz.product.awips/developer.product index 4ef1489d5a..7dc45dd4e5 100644 --- a/cave/com.raytheon.viz.product.awips/developer.product +++ b/cave/com.raytheon.viz.product.awips/developer.product @@ -22,9 +22,6 @@ -Dorg.eclipse.update.reconcile=false -XX:MaxPermSize=256m -Dorg.eclipse.ui/KEY_CONFIGURATION_ID=com.raytheon.viz.ui.awips.scheme -Dqpid.dest_syntax=BURL --Dcom.sun.management.jmxremote --Dcom.sun.management.jmxremote.authenticate=false --Dcom.sun.management.jmxremote.ssl=false -Dlogback.configurationFile=logback-viz-core-developer.xml -Dlogback.statusListenerClass=com.raytheon.uf.common.status.logback.UFLogbackInternalStatusListener -Dthrift.stream.maxsize=200 diff --git a/cave/com.raytheon.viz.ui.personalities.awips/src/com/raytheon/viz/ui/personalities/awips/menus/SystemIdItem.java b/cave/com.raytheon.viz.ui.personalities.awips/src/com/raytheon/viz/ui/personalities/awips/menus/SystemIdItem.java deleted file mode 100644 index 8407abd2ff..0000000000 --- a/cave/com.raytheon.viz.ui.personalities.awips/src/com/raytheon/viz/ui/personalities/awips/menus/SystemIdItem.java +++ /dev/null @@ -1,133 +0,0 @@ -/** - * This software was developed and / or modified by Raytheon Company, - * pursuant to Contract DG133W-05-CQ-1067 with the US Government. - * - * U.S. EXPORT CONTROLLED TECHNICAL DATA - * This software product contains export-restricted data whose - * export/transfer/disclosure is restricted by U.S. law. Dissemination - * to non-U.S. persons whether in the United States or abroad requires - * an export license or other authorization. - * - * Contractor Name: Raytheon Company - * Contractor Address: 6825 Pine Street, Suite 340 - * Mail Stop B8 - * Omaha, NE 68106 - * 402.291.0100 - * - * See the AWIPS II Master Rights File ("Master Rights File.pdf") for - * further licensing information. - **/ -package com.raytheon.viz.ui.personalities.awips.menus; - -import java.lang.management.ManagementFactory; - -import org.eclipse.jface.action.Action; -import org.eclipse.jface.action.ActionContributionItem; -import org.eclipse.jface.action.IContributionItem; -import org.eclipse.ui.actions.CompoundContributionItem; - -import sun.management.Agent; - -/** - * Command that displays the system id - * - *
- * 
- * SOFTWARE HISTORY
- * 
- * Date         Ticket#    Engineer    Description
- * ------------ ---------- ----------- --------------------------
- * Aug 10, 2011            mschenke     Initial creation
- * 
- * 
- * - * @author mschenke - * @version 1.0 - */ - -public class SystemIdItem extends CompoundContributionItem { - - /** - * Boolean to mark if we can use the file names as a connection checking - * method for determining orphaned locks - */ - private static boolean canCheckConnection = false; - - static { - try { - String val = System - .getProperty("com.sun.management.jmxremote.port"); - // If the port is set, then the Agent is already started and we - // would shutdown if we couldn't connect - if (val == null) { - // Get starting jmx remote port, default to 20000 - boolean connectionFailed = true; - int startPort = 20000; - int i = 0; - System.setProperty("com.sun.management.jmxremote.port", "" - + startPort); - do { - // Stop at 50 since at that point, may be underlying issue - // (firewall) blocking it and less likely there are 50 - // instances - try { - ++i; - Agent.startAgent(); - // jmx manager successfully started - connectionFailed = false; - canCheckConnection = true; - } catch (Exception e) { - System.setProperty("com.sun.management.jmxremote.port", - "" + (startPort + i)); - Agent.getManagementProperties() - .setProperty( - "com.sun.management.jmxremote.port", - System.getProperty("com.sun.management.jmxremote.port")); - - } - } while (connectionFailed && i < 50); - } else { - canCheckConnection = true; - } - } catch (Throwable t) { - t.printStackTrace(); - } - } - - private static final String jmxPort = System - .getProperty("com.sun.management.jmxremote.port"); - - private static final String NAME = ManagementFactory.getRuntimeMXBean() - .getName(); - - private static final String HOST = NAME.split("[@]")[1]; - - private static final String PID = NAME.split("[@]")[0]; - - // name is in form processid@host, ID = host:port if we can check - // connections or we will just use processid@host - private static final String ID = HOST + ":" - + (canCheckConnection ? jmxPort : PID); - - static { - System.out.println(ID); - } - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.ui.actions.CompoundContributionItem#getContributionItems() - */ - @Override - protected IContributionItem[] getContributionItems() { - return new IContributionItem[] { new ActionContributionItem(new Action( - HOST + ":" + PID) { - @Override - public boolean isEnabled() { - return false; - } - }) }; - } - -} diff --git a/cave/com.raytheon.viz.ui.personalities.awips/src/com/raytheon/viz/ui/personalities/awips/menus/package-info.java b/cave/com.raytheon.viz.ui.personalities.awips/src/com/raytheon/viz/ui/personalities/awips/menus/package-info.java deleted file mode 100644 index 5716b6140f..0000000000 --- a/cave/com.raytheon.viz.ui.personalities.awips/src/com/raytheon/viz/ui/personalities/awips/menus/package-info.java +++ /dev/null @@ -1,23 +0,0 @@ -/** - * This software was developed and / or modified by Raytheon Company, - * pursuant to Contract DG133W-05-CQ-1067 with the US Government. - * - * U.S. EXPORT CONTROLLED TECHNICAL DATA - * This software product contains export-restricted data whose - * export/transfer/disclosure is restricted by U.S. law. Dissemination - * to non-U.S. persons whether in the United States or abroad requires - * an export license or other authorization. - * - * Contractor Name: Raytheon Company - * Contractor Address: 6825 Pine Street, Suite 340 - * Mail Stop B8 - * Omaha, NE 68106 - * 402.291.0100 - * - * See the AWIPS II Master Rights File ("Master Rights File.pdf") for - * further licensing information. - **/ -/** - * Provides menu management for the AWIPS application - */ -package com.raytheon.viz.ui.personalities.awips.menus; \ No newline at end of file