Tridium Niagara Ax - ERROR [java.lang.OutOfMemoryError: Java heap space - Due to NWS Weather Service Advisory - Disable Service to resolve memory leak.

 
 
ERROR [java.lang.OutOfMemoryError: Java heap space - Due to NWS Weather Service Advisory - Disable Service to resolve memory leak.
 
 
Note: Output could vary from below, but will having striking resemblance:
 
ERROR [java.lang.OutOfMemoryError: Java heap space
09:01:46 16-Jun-16 CDT][sys.engine] Action failed: closeUnusedHistories() at java.lang.String.<init>(Unknown Source)
Exception in thread "BnTCli" java.lang.OutOfMemoryError: Java heap space
 at java.lang.String.<init>(Unknown Source)
Exception in thread "tCryptoFileMonitor-/ffs0/niagara/security" java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
Exception in thread "Timer-1" java.lang.OutOfMemoryError: Java heap space
Exception in thread "Timer-2" java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
ENGINE WATCHDOG TIMEOUT STACK DUMP @ Thu Jun 16 09:05:04 GMT-05:00 2016
26ms)
MESSAGE [08:59:13 16-Jun-16 CDT][sys] Saved /ffs0/niagara/stations/TMS/config.bog (37906ms)
WARNING [08:59:32 16-Jun-16 CDT][fox] Closing session [0: Server ("Project I.P. address and port will be displayed here>>>"XX.XX.XXX.XXX:XXXXX) doesn't match opened session [null]
MESSAGE [08:59:34 16-Jun-16 CDT][fox] Opened: 1 <- 1 :: Workbench @ sandBOXPC
invalid apdu source:2
ERROR [java.lang.OutOfMemoryError: Java heap space
09:01:46 16-Jun-16 CDT][sys.engine] Action failed: closeUnusedHistories() at java.lang.String.<init>(Unknown Source)
Exception in thread "BnTCli" java.lang.OutOfMemoryError: Java heap space
 at java.lang.String.<init>(Unknown Source)
Exception in thread "tCryptoFileMonitor-/ffs0/niagara/s
 
 

 
 
 
 
 
 
 

 
Cause:

 

Official Notice of NWS (National Weather Service) decommissioning from: http://www.nws.noaa.gov

http://www.nws.noaa.gov/os/notification/scn16-16wngcca.htm

 

 
NOUS41 KWBC 131317 CCA
SCNWSH
 
Service Change Notice 16-16 Corrected
National Weather Service Headquarters Washington DC
917 AM EDT Mon Jun 13 2016
 
To:       Subscribers:
           -NOAA Weather Wire Service
           -Emergency Managers Weather Information Network
           -NOAAPORT
           Other NWS partners and NWS employees
 
From:     Luis Cano
          Director, Office of Operational Systems
 
Subject:  Corrected: Termination of the NWS Weather.Noaa.Gov (WNG) Web
          Service effective June 15, 2016
 
Link for Ocean Prediction Center corrected:
 
 
The NWS will eliminate the web service found at the following
address effective June 15, 2016:
 
 
Comments on this change were requested via the following notice:
 
 
After addressing all questions, comments and feedback, a
decision was made to terminate the service.
 
This legacy web site was launched over a decade ago to provide
accessibility to NWS weather products for the general public.
The WNG website will be decommissioned as part of the
NWSTG Re-Architecture project. The WNG web site is obsolete
because NWS weather.gov site is now the primary hub for NWS web
services and data products. A list of options available for
obtaining weather data normally found via the WNG URL is
provided below.
 
WNG Site Data Link: Alternative Links          
------------------              
United States Weather:     http://weather.gov
Radar Graphics:            http://radar.weather.gov
Weather Maps:              ftp://tgftp.nws.noaa.gov/fax
                           http://tgftp.nws.noaa.gov
International Weather:     https://www.aviationweather.gov/metar
Aviation Weather:          https://www.aviationweather.gov
United States Weather:     http://weather.gov
Marine Weather:            http://weather.gov
                           http://www.opc.ncep.noaa.gov/
 
For questions or comments on this notice, please contact:
 
Kevin Conaty
NOAA/NWS/IDP NRT PM
Silver Spring, MD 20910
301-427-9169
 
National Service Change Notices are online at:
 
 
 

 
 
 
 
1:Connect to the Niagara AX Jace Station, or if inaccessible, connect to the (Platform), in the (Application Director), (Stop) the station DB, and if the station DB fails to Stop,  (Kill) the Station via the Application Director's (Kill) button.
 
2:Copy the Config.bog to the localhost, disable the Config.bog file's Weather Service (In the Services container), upload the Weather Service (Disabled) Config.bog via the Station Copier, follow the dialogs steps to "Station Copy" back into the Jace, and lastly (REBOOT THE NIAGARA AX JACE).
 
 
 
 
 
Permanent Solution:
 
 

On or about June 14, 2016 the National Weather Service made modifications to its servers, and they now redirect all HTTP requests
to HTTPS for ‘alerts.weather.gov’. Unfortunately the current Niagara Weather Service doesn't support HTTPS, and this lack of
support triggers the service to make recursive gets to ‘http://alerts.weather.gov’. When the Weather service is running on an
embedded platform (JACE-2/3/4/5/6/7) the ‘recursive gets’ cause the unit to eventually run out of memory, which will trigger Engine
Watchdog Timeout (EWT). Typically the EWT will result in an automatic reboot of the platform. Depending on the processes affected
by the out of memory exception the unit may lock-up requiring a hard reset to recover.
Tridium has completed an update to the AX Weather module which adds HTTPS support to handle making secure server connects
to the Weather Service.
Due to the lack of HTTPS support on IBM J9 platforms (JACE-2, JACE-403, JACE-545) weather alerts will no longer function. All other
platforms can be configured to poll for alerts.
Download 'weather.zip' located under the ‘Files’ tab of this Knowledge article. Weather.zip contains weather module updates for
3.7U1, 3.8R, 3.8U1 and 4.1. Extract the appropriate module version and follow the installation instructions below. Password for
weather.zip is 'niagara'.
Installation Instructions-
Copy the appropriate new weather jar into the ‘modules’ folder under your Niagara installation, and then restart Workbench. After
Workbench is updated with the new jar you can then connect to each platform needing this update and use the Software Manager
to push in the new weather jar. Information regarding using the Software Manager can be found in Workbench ‘Help Contents’
using the following ord module://docPlatform/doc/aSoftwareManager.html (within help view type control + L and paste in the ord).
Allow Hosts Approval in 3.7
In order for alerts to function properly in 3.7, you must approve an entry for 'alerts.weather.gov' to the allowed hosts table using
the Certificate Management tool.
Using Workbench connect to the station after updating the module and navigate to /Services/PlatformServices
/CertManagerService. Click on the 'Allowed Hosts' tab.

Click on the 'alerts.weather.gov' host (red shield) then click the 'Approve' button.
.