MyController version "1.5.0.Final" released





  • Great news! 🙂

    One question though..... Won't we also have to uninstall previous oracle java and install openjdk as well?

    If so can you add the steps to acomplish this in the 'how to update' section.

    Still a nice early Christmas present to us all..... Thank you!



  • @skywatch said in MyController version "1.5.0.Final" released:

    One question though..... Won't we also have to uninstall previous oracle java and install openjdk as well?

    It is up to you. I do not change anything on java versions.
    This command can work on ubuntu based linux: sudo apt-get install openjdk-8-jdk



  • Wow! - That was quick! 🙂

    I'll try with currently installed java and see how it goes.....



  • 1.5.0 running well here.

    At first I thought the issue with my node eui 0 showing as 'down' was gone as it was 'up' on reboot. But after an hour I checked and it was showing 'down' again despite it working as a MYSGW just fine.



  • Really nice surprise for Christmas. I got just upgrade MC without any problems.
    Thank you very much!!



  • @skywatch said in MyController version "1.5.0.Final" released:

    At first I thought the issue with my node eui 0 showing as 'down' was gone as it was 'up' on reboot. But after an hour I checked and it was showing 'down' again despite it working as a MYSGW just fine.

    Is this issue specific to 1.0.5 version? Can you disconnect and reconnect your MYSGW?



  • It was happening before with 1.4.0 as well. Not a big problem as it works as expected, just odd that it changes from 'up' mode after reboot to 'down' mode after some time and stays that way (but again still working normally)......

    FYI here is the server log since upgrade to 1.5.0......

    2019-12-11 18:39:37,551 INFO [main] [org.mycontroller.standalone.AppProperties:530] Created directory location: [/home/mycontroller/conf/resources/scripts/conditions]
    2019-12-11 18:39:38,172 INFO [main] [org.mycontroller.standalone.db.DataBaseUtils:116] Checking migration...
    2019-12-11 18:39:45,651 INFO [main] [org.mycontroller.standalone.db.DataBaseUtils:167] Application information: [Version:1.5.0, Database(type:H2 database embedded, version:1.4.194 (2017-03-10), schema version:1.04.06 - 2018 Dec 04), Built on:2019-12-11T11:29:51+0530, Git commit:b4e9a0cc5e911acb0053e27579eb6c7b9850b76c:master]
    2019-12-11 18:39:46,358 INFO [main] [org.mycontroller.standalone.offheap.OffHeapFactory:95] Cleared McPersistent location[../conf/persistent_stores/mc/]
    2019-12-11 18:39:46,360 INFO [main] [org.mycontroller.standalone.AppProperties:530] Created directory location: [/home/mycontroller/conf/persistent_stores/mc]
    2019-12-11 18:39:47,326 WARN [main] [io.moquette.persistence.mapdb.MapDBPersistentStore:78] Using fresh MapDB store file. Path=../conf/persistent_stores/moquette/moquette_store.mapdb
    2019-12-11 18:39:47,894 WARN [main] [io.moquette.server.Server:186] Using default SSL context creator
    2019-12-11 18:39:48,537 WARN [main] [io.netty.bootstrap.ServerBootstrap:146] Unknown channel option 'TCP_NODELAY' for channel '[id: 0x46aeb5c6]'
    2019-12-11 18:39:48,633 WARN [main] [io.netty.bootstrap.ServerBootstrap:146] Unknown channel option 'TCP_NODELAY' for channel '[id: 0xcc151772]'
    2019-12-11 18:39:48,637 INFO [main] [org.mycontroller.standalone.mqttbroker.MoquetteMqttBroker:54] MQTT Broker started successfully. MqttBrokerSettings(enabled=true, sslEnabled=false, bindAddress=0.0.0.0, mqttPort=1883, mqttsPort=8883, websocketPort=7080, allowAnonymous=true, enabledOnBackend=true, sslKeystoreFile=null)
    2019-12-11 18:39:49,579 INFO [main] [org.mycontroller.standalone.scheduler.SchedulerUtils:90] System jobs reloaded.
    2019-12-11 18:39:49,606 INFO [mc-th-pool-1] [org.mycontroller.standalone.gateway.mqtt.MQTTDriver:94] MQTT Gateway[name:Raspberry Pi, URI:tcp://localhost:1883, NetworkType:MyController] connected successfully..
    2019-12-11 18:39:51,554 WARN [Thread-8] [org.mycontroller.standalone.utils.McUtils:146] Looks like supplied value[#F￾ヨ￿ヨ)Yメ0] is not a integer, non-integers will be removed and retried...
    2019-12-11 18:39:53,184 INFO [main] [org.mycontroller.standalone.StartApp:242] TJWS server started successfully, HTTPS Enabled?:true, HTTP(S) Port: [8443]
    2019-12-11 18:39:53,730 INFO [main] [org.mycontroller.standalone.api.GoogleAnalyticsApi:94] Google analytics details[enabled:false, ga_anonymous_id:0904c9fb-6a3c-4c67-9ca8-908c0c2cb2f0]
    2019-12-11 18:39:53,731 INFO [main] [org.mycontroller.standalone.StartApp:139] MyController.org server started in [15805] ms
    [Wed Dec 11 18:45:51 GMT 2019] Unexpected problem running servlet
    org.jboss.resteasy.spi.UnhandledException: RESTEASY003770: Response is committed, can't handle exception
    	at org.jboss.resteasy.core.SynchronousDispatcher.writeException(SynchronousDispatcher.java:167)
    	at org.jboss.resteasy.core.SynchronousDispatcher.writeResponse(SynchronousDispatcher.java:471)
    	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:415)
    	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:202)
    	at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:221)
    	at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
    	at org.jboss.resteasy.plugins.server.tjws.TJWSServletDispatcher.service(TJWSServletDispatcher.java:40)
    	at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    	at Acme.Serve.Serve$ServeConnection.runServlet(Serve.java:2328)
    	at Acme.Serve.Serve$ServeConnection.parseRequest(Serve.java:2282)
    	at Acme.Serve.Serve$ServeConnection.run(Serve.java:2054)
    	at Acme.Utils$ThreadPool$PooledThread.run(Utils.java:1402)
    	at java.lang.Thread.run(Thread.java:748)
    Caused by: javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException: java.net.SocketException: Broken pipe (Write failed)
    	at sun.security.ssl.SSLSocketImpl.checkEOF(SSLSocketImpl.java:1533)
    	at sun.security.ssl.SSLSocketImpl.checkWrite(SSLSocketImpl.java:1545)
    	at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:71)
    	at java.io.OutputStream.write(OutputStream.java:75)
    	at Acme.Serve.Serve$ServeOutputStream.flush(Serve.java:4889)
    	at Acme.Serve.Serve$ServeOutputStream.close(Serve.java:4923)
    	at org.jboss.resteasy.plugins.server.servlet.HttpServletResponseWrapper$DeferredOutputStream.close(HttpServletResponseWrapper.java:58)
    	at org.jboss.resteasy.util.CommitHeaderOutputStream.close(CommitHeaderOutputStream.java:87)
    	at org.jboss.resteasy.util.DelegatingOutputStream.close(DelegatingOutputStream.java:60)
    	at com.fasterxml.jackson.core.json.UTF8JsonGenerator.close(UTF8JsonGenerator.java:1060)
    	at org.jboss.resteasy.plugins.providers.jackson.ResteasyJackson2Provider.writeTo(ResteasyJackson2Provider.java:209)
    	at org.mycontroller.standalone.api.jaxrs.mixins.McJacksonJson2Provider.writeTo(McJacksonJson2Provider.java:120)
    	at org.jboss.resteasy.core.interception.AbstractWriterInterceptorContext.writeTo(AbstractWriterInterceptorContext.java:131)
    	at org.jboss.resteasy.core.interception.ServerWriterInterceptorContext.writeTo(ServerWriterInterceptorContext.java:60)
    	at org.jboss.resteasy.core.interception.AbstractWriterInterceptorContext.proceed(AbstractWriterInterceptorContext.java:120)
    	at org.jboss.resteasy.plugins.interceptors.encoding.GZIPEncodingInterceptor.aroundWriteTo(GZIPEncodingInterceptor.java:100)
    	at org.jboss.resteasy.core.interception.AbstractWriterInterceptorContext.proceed(AbstractWriterInterceptorContext.java:124)
    	at org.jboss.resteasy.core.ServerResponseWriter.writeNomapResponse(ServerResponseWriter.java:98)
    	at org.jboss.resteasy.core.SynchronousDispatcher.writeResponse(SynchronousDispatcher.java:466)
    	... 12 more
    Caused by: javax.net.ssl.SSLException: java.net.SocketException: Broken pipe (Write failed)
    	at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
    	at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1946)
    	at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1903)
    	at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1867)
    	at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1812)
    	at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:128)
    	at Acme.Serve.Serve$ServeOutputStream.write(Serve.java:4856)
    	at org.jboss.resteasy.plugins.server.servlet.HttpServletResponseWrapper$DeferredOutputStream.write(HttpServletResponseWrapper.java:46)
    	at org.jboss.resteasy.util.CommitHeaderOutputStream.write(CommitHeaderOutputStream.java:71)
    	at org.jboss.resteasy.util.DelegatingOutputStream.write(DelegatingOutputStream.java:48)
    	at com.fasterxml.jackson.core.json.UTF8JsonGenerator._flushBuffer(UTF8JsonGenerator.java:2003)
    	at com.fasterxml.jackson.core.json.UTF8JsonGenerator.flush(UTF8JsonGenerator.java:1019)
    	at com.fasterxml.jackson.databind.ObjectMapper.writeValue(ObjectMapper.java:2385)
    	at org.mycontroller.standalone.api.jaxrs.mixins.GatewayTableSerializer.serialize(GatewayMixin.java:64)
    	at org.mycontroller.standalone.api.jaxrs.mixins.GatewayTableSerializer.serialize(GatewayMixin.java:59)
    	at com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:693)
    	at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:675)
    	at com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:157)
    	at com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:693)
    	at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:675)
    	at com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:157)
    	at com.fasterxml.jackson.databind.ser.impl.IndexedListSerializer.serializeContents(IndexedListSerializer.java:119)
    	at com.fasterxml.jackson.databind.ser.impl.IndexedListSerializer.serialize(IndexedListSerializer.java:79)
    	at com.fasterxml.jackson.databind.ser.impl.IndexedListSerializer.serialize(IndexedListSerializer.java:18)
    	at com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:693)
    	at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:675)
    	at com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:157)
    	at com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:130)
    	at com.fasterxml.jackson.databind.ObjectWriter$Prefetch.serialize(ObjectWriter.java:1387)
    	at com.fasterxml.jackson.databind.ObjectWriter.writeValue(ObjectWriter.java:889)
    	at org.jboss.resteasy.plugins.providers.jackson.ResteasyJackson2Provider.writeTo(ResteasyJackson2Provider.java:207)
    	... 20 more
    Caused by: java.net.SocketException: Broken pipe (Write failed)
    	at java.net.SocketOutputStream.socketWrite0(Native Method)
    	at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)
    	at java.net.SocketOutputStream.write(SocketOutputStream.java:155)
    	at sun.security.ssl.OutputRecord.writeBuffer(OutputRecord.java:431)
    	at sun.security.ssl.OutputRecord.write(OutputRecord.java:417)
    	at sun.security.ssl.SSLSocketImpl.writeRecordInternal(SSLSocketImpl.java:879)
    	at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:850)
    	at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123)
    	... 45 more
    
    [Wed Dec 11 18:45:51 GMT 2019] Unexpected problem running servlet: org.jboss.resteasy.spi.UnhandledException: RESTEASY003770: Response is committed, can't handle exception
    [Wed Dec 11 18:45:51 GMT 2019] IO error: javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException: java.net.SocketException: Broken pipe (Write failed) in processing a request from /192.168.1.64:8443 / sun.security.ssl.SSLSocketImpl
    2019-12-11 19:00:15,941 INFO [Quartz_Scheduler_Worker-5] [org.mycontroller.standalone.jobs.NodeAliveStatusJob:137] Seems this gateway[MYSGW] is down for a while, realoading this gateway.
    2019-12-11 20:39:32,461 ERROR [mc-th-pool-5] [org.mycontroller.standalone.provider.EngineAbstract:279] Throws exception while processing!, [MessageImpl(gatewayId=1, nodeEui=18, sensorId=0, type=Set, subType=Humidity, ack=0, payload=NAN, isTxMessage=false, timestamp=1576096772427, properties=null)]
    java.lang.NumberFormatException: For input string: "NAN"
    	at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
    	at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
    	at java.lang.Double.parseDouble(Double.java:538)
    	at java.lang.Double.valueOf(Double.java:502)
    	at org.mycontroller.standalone.utils.McUtils.getDouble(McUtils.java:100)
    	at org.mycontroller.standalone.utils.McUtils.getDouble(McUtils.java:95)
    	at org.mycontroller.standalone.provider.ExecuterAbstract.updateSensorVariable(ExecuterAbstract.java:584)
    	at org.mycontroller.standalone.provider.ExecuterAbstract.executeSet(ExecuterAbstract.java:359)
    	at org.mycontroller.standalone.provider.ExecuterAbstract.execute(ExecuterAbstract.java:106)
    	at org.mycontroller.standalone.provider.EngineAbstract.auditQueue(EngineAbstract.java:274)
    	at org.mycontroller.standalone.provider.EngineAbstract.run(EngineAbstract.java:133)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    	at java.lang.Thread.run(Thread.java:748)
    2019-12-11 20:39:32,652 ERROR [mc-th-pool-5] [org.mycontroller.standalone.provider.EngineAbstract:279] Throws exception while processing!, [MessageImpl(gatewayId=1, nodeEui=18, sensorId=2, type=Set, subType=Temperature, ack=0, payload=NAN, isTxMessage=false, timestamp=1576096772630, properties=null)]
    java.lang.NumberFormatException: For input string: "NAN"
    	at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
    	at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
    	at java.lang.Double.parseDouble(Double.java:538)
    	at java.lang.Double.valueOf(Double.java:502)
    	at org.mycontroller.standalone.utils.McUtils.getDouble(McUtils.java:100)
    	at org.mycontroller.standalone.utils.McUtils.getDouble(McUtils.java:95)
    	at org.mycontroller.standalone.provider.ExecuterAbstract.updateSensorVariable(ExecuterAbstract.java:584)
    	at org.mycontroller.standalone.provider.ExecuterAbstract.executeSet(ExecuterAbstract.java:359)
    	at org.mycontroller.standalone.provider.ExecuterAbstract.execute(ExecuterAbstract.java:106)
    	at org.mycontroller.standalone.provider.EngineAbstract.auditQueue(EngineAbstract.java:274)
    	at org.mycontroller.standalone.provider.EngineAbstract.run(EngineAbstract.java:133)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    	at java.lang.Thread.run(Thread.java:748)
    [Thu Dec 12 09:24:10 GMT 2019] Unexpected problem running servlet
    org.jboss.resteasy.spi.UnhandledException: RESTEASY003770: Response is committed, can't handle exception
    	at org.jboss.resteasy.core.SynchronousDispatcher.writeException(SynchronousDispatcher.java:167)
    	at org.jboss.resteasy.core.SynchronousDispatcher.writeResponse(SynchronousDispatcher.java:471)
    	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:415)
    	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:202)
    	at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:221)
    	at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
    	at org.jboss.resteasy.plugins.server.tjws.TJWSServletDispatcher.service(TJWSServletDispatcher.java:40)
    	at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    	at Acme.Serve.Serve$ServeConnection.runServlet(Serve.java:2328)
    	at Acme.Serve.Serve$ServeConnection.parseRequest(Serve.java:2282)
    	at Acme.Serve.Serve$ServeConnection.run(Serve.java:2054)
    	at Acme.Utils$ThreadPool$PooledThread.run(Utils.java:1402)
    	at java.lang.Thread.run(Thread.java:748)
    Caused by: java.net.SocketException: Broken pipe (Write failed)
    	at java.net.SocketOutputStream.socketWrite0(Native Method)
    	at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)
    	at java.net.SocketOutputStream.write(SocketOutputStream.java:155)
    	at sun.security.ssl.OutputRecord.writeBuffer(OutputRecord.java:431)
    	at sun.security.ssl.OutputRecord.write(OutputRecord.java:417)
    	at sun.security.ssl.SSLSocketImpl.writeRecordInternal(SSLSocketImpl.java:879)
    	at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:850)
    	at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123)
    	at java.io.OutputStream.write(OutputStream.java:75)
    	at Acme.Serve.Serve$ServeOutputStream.flush(Serve.java:4891)
    	at Acme.Serve.Serve$ServeOutputStream.close(Serve.java:4923)
    	at org.jboss.resteasy.plugins.server.servlet.HttpServletResponseWrapper$DeferredOutputStream.close(HttpServletResponseWrapper.java:58)
    	at org.jboss.resteasy.util.CommitHeaderOutputStream.close(CommitHeaderOutputStream.java:87)
    	at org.jboss.resteasy.util.DelegatingOutputStream.close(DelegatingOutputStream.java:60)
    	at com.fasterxml.jackson.core.json.UTF8JsonGenerator.close(UTF8JsonGenerator.java:1060)
    	at org.jboss.resteasy.plugins.providers.jackson.ResteasyJackson2Provider.writeTo(ResteasyJackson2Provider.java:209)
    	at org.mycontroller.standalone.api.jaxrs.mixins.McJacksonJson2Provider.writeTo(McJacksonJson2Provider.java:120)
    	at org.jboss.resteasy.core.interception.AbstractWriterInterceptorContext.writeTo(AbstractWriterInterceptorContext.java:131)
    	at org.jboss.resteasy.core.interception.ServerWriterInterceptorContext.writeTo(ServerWriterInterceptorContext.java:60)
    	at org.jboss.resteasy.core.interception.AbstractWriterInterceptorContext.proceed(AbstractWriterInterceptorContext.java:120)
    	at org.jboss.resteasy.plugins.interceptors.encoding.GZIPEncodingInterceptor.aroundWriteTo(GZIPEncodingInterceptor.java:100)
    	at org.jboss.resteasy.core.interception.AbstractWriterInterceptorContext.proceed(AbstractWriterInterceptorContext.java:124)
    	at org.jboss.resteasy.core.ServerResponseWriter.writeNomapResponse(ServerResponseWriter.java:98)
    	at org.jboss.resteasy.core.SynchronousDispatcher.writeResponse(SynchronousDispatcher.java:466)
    	... 12 more
    
    [Thu Dec 12 09:24:10 GMT 2019] Unexpected problem running servlet: org.jboss.resteasy.spi.UnhandledException: RESTEASY003770: Response is committed, can't handle exception
    [Thu Dec 12 09:24:10 GMT 2019] IO error: javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException: java.net.SocketException: Broken pipe (Write failed) in processing a request from /192.168.1.64:8443 / sun.security.ssl.SSLSocketImpl
    
        
    

  • MOD

    YEAH!!! thank you for the cristmas present!! 🙂
    Will upgrade right away!

    Works like a charm as always!! thank you!!



Suggested Topics

6
Online

541
Users

441
Topics

2.7k
Posts