Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
Remote view issue
-
I try to view my graphical from Remote.(http://mmydomainnamme/public_view.htm?viewId=1)
The page show this message:
sstgraphics is not defined.
I have not this problem from local view (http://mydomainname/view_edit.shtm?viewId=1)Thanks for Help
-
This is being caused by the Horizontal and Vertical Levels being used on the dashboard. When they are removed it works without errors.
-
How I can remove it ????
-
Remove the view components that use horz or vert levels, or install the sstgraphics module into your MA instance.
-
I have the same issue with Mango 2.1.0
sstGraphics 1.0.2 is installed.If I remove the horizontal and vertical bars, one of the 6 dials becomes visible, but the rest not, and error is the same.
Mango log file does not contain an entry on that.
Is there a verbose option? -
Hi torsten,
Yes, you can either add a command line argument to configure the location of the log4j configuration, or you can do the easier method: in Mango_Home/classes rename log4j.xml to normal-log4j.xml and rename debug-log4j.xml to just log4j.xml
This way you can switch them back easily after your problem is resolved.
-
The problem occurs only, and with all "dynamic graphic" objects.
I realized that there is a URL call for some "ajax...google..." site.
Probably there is the problem, as this call does not happen with other graphic objects.The debug-mode log does not contain any useful information.
Here is the call of a view containing a horizontal level (dyn. graphic), that fails:DEBUG 2013-12-19 08:42:05,764 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=8, eventTypeId=1) DEBUG 2013-12-19 08:42:05,767 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=8, eventTypeId=2) DEBUG 2013-12-19 08:42:05,772 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=11, eventTypeId=1) DEBUG 2013-12-19 08:42:05,780 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=11, eventTypeId=2) DEBUG 2013-12-19 08:42:05,806 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=7, eventTypeId=1) DEBUG 2013-12-19 08:42:05,814 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=7, eventTypeId=2) DEBUG 2013-12-19 08:42:06,757 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=1, eventTypeId=1) DEBUG 2013-12-19 08:42:06,768 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=1, eventTypeId=2) DEBUG 2013-12-19 08:42:06,781 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.getHandlerInternal:221) - Mapping [/public_view.htm] to HandlerExecutionChain with handler [com.serotonin.m2m2.web.mvc.UrlHandlerController@7f68faf3] and 1 interceptor DEBUG 2013-12-19 08:42:08,850 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=6, eventTypeId=1) DEBUG 2013-12-19 08:42:08,852 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=6, eventTypeId=2) DEBUG 2013-12-19 08:42:10,432 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=14, eventTypeId=1) DEBUG 2013-12-19 08:42:10,433 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=14, eventTypeId=2) DEBUG 2013-12-19 08:42:10,441 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=15, eventTypeId=1) DEBUG 2013-12-19 08:42:10,442 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=15, eventTypeId=2) DEBUG 2013-12-19 08:42:26,854 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=15, eventTypeId=1) DEBUG 2013-12-19 08:42:26,855 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=15, eventTypeId=2)
And a view call without the level graphic, that works smoothly:
DEBUG 2013-12-19 08:39:20,637 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=6, eventTypeId=1) DEBUG 2013-12-19 08:39:20,638 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=6, eventTypeId=2) DEBUG 2013-12-19 08:39:21,336 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=14, eventTypeId=1) DEBUG 2013-12-19 08:39:21,338 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=14, eventTypeId=2) DEBUG 2013-12-19 08:39:21,341 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=15, eventTypeId=1) DEBUG 2013-12-19 08:39:21,343 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=15, eventTypeId=2) DEBUG 2013-12-19 08:39:27,121 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=15, eventTypeId=1) DEBUG 2013-12-19 08:39:27,124 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=15, eventTypeId=2) DEBUG 2013-12-19 08:39:33,323 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.getHandlerInternal:221) - Mapping [/public_view.htm] to HandlerExecutionChain with handler [com.serotonin.m2m2.web.mvc.UrlHandlerController@7f68faf3] and 1 interceptor DEBUG 2013-12-19 08:39:46,864 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=15, eventTypeId=1) DEBUG 2013-12-19 08:39:46,868 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=15, eventTypeId=2) DEBUG 2013-12-19 08:40:05,817 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=8, eventTypeId=1) DEBUG 2013-12-19 08:40:05,818 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=8, eventTypeId=2) DEBUG 2013-12-19 08:40:05,842 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=7, eventTypeId=1) DEBUG 2013-12-19 08:40:05,843 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=7, eventTypeId=2) DEBUG 2013-12-19 08:40:05,864 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=11, eventTypeId=1) DEBUG 2013-12-19 08:40:05,864 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=11, eventTypeId=2)
SUGGESTED SOLUTION:
Don't use some funny external ajax calls for such simple things, but include the graphics into the mango module code. As intermediate solution, mapping it as an analog graphic will do.