Yes. Now it's OK! Your link is really valuable!
Thanks again!
Fabio
Yes. Now it's OK! Your link is really valuable!
Thanks again!
Fabio
Hi Joel,
now we still have a little problem. Take a look of the following screenshoots: the first ( Chrome ) is with the admin access and the second ( Mozilla ) with the "public" access. Could be some library missing?
Hi Joel,
the problem was in Mango. I didn't create the user "public" in Mango but only in DGLux. Now it works fine!
Thanks
Fabio
No, I can't log into the regular Mango Login page (Invalid login is the answer).
Hi Joel,
yes, I had already created the user "public" in DGLux before to try the access.
Perhaps something is missing?
I tryed to add the email address for the public user but nothing changes ...
Thanks
Hi,
my customer needs to view a DGLux page created by me on their MangoES. I followed the instruction as described into "dglux-login-options-and-making-a-dashboard-public" point 3. This is my "dglux.properties" content:
publicUser.username=public
publicUser.password=password
publicUser.email=
I have create a public.nav like described in the video of the page and this is the content:
<nav version="1.0">
<node name="Home" ord="dglux:" icon="file:!packs/icons/d/document-globe.png">
<node name="Home" ord="" icon="file:!packs/icons/d/document-globe.png">
<node name="test.dgml" icon="file:!packs/icons/d/document.png" ord="file:!dgml/test.dgml"/>
<node name="Uniflare.dgml" icon="file:!packs/icons/d/document.png" ord="file:!dgml/Uniflare.dgml" default="true"/>
</node>
</node>
</nav>
The first problem is that when I try to access to DGlux by http://<MY_URL>/dglux/login.htm I can see the login page but my "public" user credentials are ignored (the answer is "Invalid Login") but if I try to access with Admin credentials it works (obviously).
Where I wrong ?. The public.nav was correctly generated?
Thanks for your help.
We have 70 points in the list but only 18 are active. This is the env.properties 0_1475654024425_env.properties
Following your suggestion I have updated Java without any problem and after rebooting MangoES I wait ...
The next step it will be reinstall Mango. I keep you informed. Thanks.
Thanks Phildunlap for your prompt answer. Yes we have many files hs_err ( I attached the .zip containing all this files). I have also copied the system time to hardware time following your suggestion.. I would like to have your opinion about the error files ...
[0_1475608893007_hs-err.zip](Uploading 100%)
Hi,
we started to use a Mango ES in our company to collect few data point but without a logic reason and randomly the web server of Mango Es goes out. We can touch the Mango Es via SSH and we noted that the java service is down. We detected in ma.log several strange "fatal error" but we can't determine the cause.
ERROR 2016-10-02 16:37:27,235 (org.apache.taglibs.log.LoggerTag.doStartTag:97) - java.lang.IncompatibleClassChangeError
at org.directwebremoting.convert.MapConverter.convertOutbound(MapConverter.java:182)
at com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound(BlabberConverterManager.java:192)
at org.directwebremoting.extend.ScriptBufferUtil.createOutput(ScriptBufferUtil.java:56)
at org.directwebremoting.dwrp.BaseCallMarshaller$CallScriptConduit.addScript(BaseCallMarshaller.java:512)
at org.directwebremoting.extend.EnginePrivate.remoteHandleCallback(EnginePrivate.java:56)
at org.directwebremoting.dwrp.BaseCallMarshaller.marshallOutbound(BaseCallMarshaller.java:330)
at org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:53)
at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:101)
at org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:146)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:83)
at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:300)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:499)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.lang.Thread.run(Thread.java:745)
ERROR 2016-10-02 20:38:57,075 (com.serotonin.m2m2.rt.maint.BackgroundProcessing$1.run:57) - Error in work item
java.lang.InternalError: a fault occurred in a recent unsafe memory access operation in compiled Java code
at java.lang.Integer.toString(Integer.java:401)
at com.infiniteautomation.nosql.MangoNoSqlPointValueDao.savePointValueSync(MangoNoSqlPointValueDao.java:65)
at com.infiniteautomation.nosql.MangoNoSqlBatchWriteBehind.execute(MangoNoSqlBatchWriteBehind.java:96)
at com.serotonin.m2m2.rt.maint.BackgroundProcessing$1.run(BackgroundProcessing.java:54)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
FATAL 2016-10-02 20:38:57,155 (com.serotonin.timer.TimerThread.run:41) - TimerThread failed
java.lang.InternalError: a fault occurred in a recent unsafe memory access operation in compiled Java code
at java.util.concurrent.SynchronousQueue.offer(SynchronousQueue.java:913)
at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1361)
at com.serotonin.timer.OrderedThreadPoolExecutor.execute(OrderedThreadPoolExecutor.java:179)
at com.serotonin.timer.OrderedTimerThread.executeTask(OrderedTimerThread.java:28)
at com.serotonin.timer.TimerThread.mainLoop(TimerThread.java:127)
at com.serotonin.timer.TimerThread.run(TimerThread.java:38)
ERROR 2016-10-03 14:26:44,950 (com.serotonin.m2m2.web.dwr.util.ExceptionDetectionFilter.doFilter:38) - DWR invocation exception
java.lang.IllegalStateException: Timer already cancelled.
at com.serotonin.timer.RealTimeTimer.scheduleImpl(RealTimeTimer.java:129)
at com.serotonin.timer.AbstractTimer.schedule(AbstractTimer.java:35)
at com.serotonin.m2m2.util.timeout.TimeoutTask.<init>(TimeoutTask.java:63)
at com.serotonin.m2m2.rt.dataSource.PollingDataSource.beginPolling(PollingDataSource.java:289)
at com.serotonin.m2m2.rt.RuntimeManager.startDataSourcePolling(RuntimeManager.java:359)
at com.serotonin.m2m2.rt.RuntimeManager.saveDataSource(RuntimeManager.java:273)
at com.serotonin.m2m2.rt.dataSource.DataSourceRTM.save(DataSourceRTM.java:54)
at com.serotonin.m2m2.rt.dataSource.DataSourceRTM.save(DataSourceRTM.java:23)
at com.serotonin.m2m2.web.dwr.AbstractRTDwr.toggle(AbstractRTDwr.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34)
at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)
at com.serotonin.m2m2.web.dwr.util.TranslationsFilter.doFilter(TranslationsFilter.java:37)
at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)
0_1475572350474_ma.log
Can somebody help us? We attach the last ma.log file with hopeful that it will be useful. Thanks in advance.
Great! Thanks for your instructions! Now I can read all the registers without problems. Mango is the right software for us.
Thanks for your prompt response. This is the screenshoot of my data source creation:
![alt text](image url)
As you can see in the MODBUS read data window, I am able to read twelve registers of my device but when I try to test the point locator I receive the message "Unknown exeption code: 0". I followed your instruction to reduce the value of "Max read register count" but the result is the same. I also attach the screenshoot of the "Point details".
Where am I wrong?
I am trying to interface a MODBUS IP device with Mango. I encountered this problem: my device needs a request of minimum 10 register for a valid response (e.g.: from 30001 to 30021 where each register is composed of 2 words) . There is some way to do this? Thanks for your suggestions.