• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. mmn666
    3. Posts

    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.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 19
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by mmn666

    • SendTimeoutException

      Hi Lohbihler,

      I'm having this problem:

      'Serial 0': com.serotonin.modbus4j.exception.ModbusTransportException: com.serotonin.io.messaging.SendTimeoutException

      the modbus device is communicating...but the data is not shown

      What is wrong ?

      the most strange thing is that when I send a command to the device it recognizes the command, but the reading still does not work

      thanks for your patience

      regards,
      Mario

      posted in Modbus4J general discussion
      M
      mmn666
    • RE: SendTimeoutException

      Hi Lohbihler,

      I'm having this problem:

      'Serial 0': com.serotonin.modbus4j.exception.ModbusTransportException: com.serotonin.io.messaging.SendTimeoutException

      the modbus device is communicating...but the data is not shown

      What is wrong ?

      the most strange thing is that when I send a command to the device it recognizes the command, but the reading still does not work

      thanks for your patience

      regards,
      Mario

      posted in Modbus4J general discussion
      M
      mmn666
    • Publisher only once per day

      Hi Lohbihler,

      i want to know how can i use the publisher to send the data only once per day regardless of the value has updated or not ?

      thanks for your patience

      regards,
      Mario

      posted in User help
      M
      mmn666
    • RE: Publisher only once per day

      Hi Lohbihler,

      i want to know how can i use the publisher to send the data only once per day regardless of the value has updated or not ?

      thanks for your patience

      regards,
      Mario

      posted in User help
      M
      mmn666
    • Receive method POST

      Hi Lohbihler,

      i want to know how can i receive the method POST in my .jsf or .jsp ?

      sorry my ignorance...
      and thanks for your patience

      regards,
      Mario

      posted in How-To
      M
      mmn666
    • RE: Receive method POST

      Hi Lohbihler,

      i want to know how can i receive the method POST in my .jsf or .jsp ?

      sorry my ignorance...
      and thanks for your patience

      regards,
      Mario

      posted in How-To
      M
      mmn666
    • RE: Setting a coil value

      Hi Lohbihler,

      I need to know how can I set a coil value in my I/O device for 5 seconds?

      I try to use the point link, using the same point as source point and target point, but my code is not validated

      my code:
      TIMESTAMP = new Date().getTime();
      x=0;
      x.end(5000);
      return source.value;

      thanks for your patience

      regards,
      Mario

      posted in How-To
      M
      mmn666
    • Setting a coil value

      Hi,

      i try set a coil value in my I/O device but the time of the value is set, is much short. How i can set the value of a device for more time(or permanent)?

      sorry my ignorance...
      and thanks for your patience

      regards,
      Mario

      posted in How-To
      M
      mmn666
    • RE: Setting a coil value

      Hi,

      i try set a coil value in my I/O device but the time of the value is set, is much short. How i can set the value of a device for more time(or permanent)?

      sorry my ignorance...
      and thanks for your patience

      regards,
      Mario

      posted in How-To
      M
      mmn666
    • RE: Building Mango in Eclipse

      Hi,

      i try access http://localhost:8080/mango/(http://localhost:8080/mango/login.htm) and i have a error report

      com.serotonin.web.dwr.LocalizableMessageConverter.convertOutbound(LocalizableMessageConverter.java:25)

      and like in topic
      http://mango.serotoninsoftware.com/forum/posts/list/345.page

      the problem is my browser the firefox,when i desativated a plugin... ...works!!!

      thank you very much...
      hartelijk dank

      sorry my ignorance...
      and thanks for your patience

      best regards,
      Mario

      posted in Development general discussion
      M
      mmn666
    • RE: Building Mango in Eclipse

      Hi mlohbihler,

      i change the permission and works now i have the folder

      /home/mario/Programas/apache-tomcat-6.0.20/webapps/mango

      and the build is ok

      Buildfile: /home/mario/workspace7/SuperMango/build.xml
      compile:
      static:
      build:
      copy:
      [copy] Copying 2797 files to /home/mario/Programas/apache-tomcat-6.0.20/webapps/mango
      deploy:
      BUILD SUCCESSFUL
      Total time: 26 seconds

      :)

      now i will try access http://localhost:8080/mango
      right?

      sorry my ignorance...
      and thanks for your patience

      regards,
      Mario

      posted in Development general discussion
      M
      mmn666
    • RE: Building Mango in Eclipse

      Hi,

      maybe is not a silly question hehehehe

      only this is real

      /home/mario/Programas/apache-tomcat-6.0.20/webapps/

      sorry my ignorance...
      and thanks for your patience

      regards,
      Mario

      posted in Development general discussion
      M
      mmn666
    • RE: Building Mango in Eclipse

      Hi mlohbihler,

      i changed to

      tomcat.hostname=webapps

      but don't have any effect...

      Buildfile: /home/mario/workspace7/SuperMango/build.xml
      compile:
      static:
      build:
      copy:
      [copy] Copying 2797 files to /home/mario/Programas/apache-tomcat-6.0.20/webapps/mango

      BUILD FAILED
      /home/mario/workspace7/SuperMango/build.xml:117: Failed to copy /home/mario/workspace7/SuperMango/build/WEB-INF/classes/com/serotonin/mango/rt/maint/work/WorkItem.class to /home/mario/Programas/apache-tomcat-6.0.20/webapps/mango/WEB-INF/classes/com/serotonin/mango/rt/maint/work/WorkItem.class due to java.io.FileNotFoundException /home/mario/Programas/apache-tomcat-6.0.20/webapps/mango/WEB-INF/classes/com/serotonin/mango/rt/maint/work/WorkItem.class (No such file or directory)

      Total time: 3 seconds

      sorry my ignorance...
      and thanks for your patience

      regards,
      Mario

      posted in Development general discussion
      M
      mmn666
    • RE: Building Mango in Eclipse

      Hi Andras,

      in my tomcat-users.xml i have this

      <tomcat-users>

      <role rolename="tomcat"/>
      <role rolename="role1"/>
      <role rolename="manager"/>
      <user username="tomcat" password="tomcat" roles="tomcat"/>
      <user username="manager" password="manager" roles="tomcat,manager"/>
      <user username="both" password="tomcat" roles="tomcat,role1"/>
      <user username="role1" password="tomcat" roles="role1"/>

      </tomcat-users>

      and in my build.properties i have

      tomcat.home=/home/mario/Programas/apache-tomcat-6.0.20
      tomcat.manager.url=http://localhost:8080/manager
      tomcat.manager.username=manager
      tomcat.manager.password=manager
      tomcat.hostname=webapps/ROOT

      App name and app path are separated to accomodate root deployments. (i.e. 'ROOT' vs. '/')

      tomcat.appdir=mango
      tomcat.apppath=/mango

      and when i run the build.xml to createConfigFiles

      Buildfile: /home/mario/workspace7/SuperMango/build.xml
      createConfigFiles:
      [copy] Copying 1 file to /home/mario/workspace7/SuperMango/build/WEB-INF/classes
      [copy] Copying 1 file to /home/mario/workspace7/SuperMango/build/WEB-INF/classes
      BUILD SUCCESSFUL
      Total time: 466 milliseconds

      but when i run to deploy[default]

      Buildfile: /home/mario/workspace7/SuperMango/build.xml
      compile:
      static:
      build:
      copy:
      [copy] Copying 2797 files to /home/mario/Programas/apache-tomcat-6.0.20/webapps/ROOT/mango

      BUILD FAILED
      /home/mario/workspace7/SuperMango/build.xml:117: Failed to copy /home/mario/workspace7/SuperMango/build/WEB-INF/classes/com/serotonin/mango/rt/maint/work/WorkItem.class to /home/mario/Programas/apache-tomcat-6.0.20/webapps/ROOT/mango/WEB-INF/classes/com/serotonin/mango/rt/maint/work/WorkItem.class due to java.io.FileNotFoundException /home/mario/Programas/apache-tomcat-6.0.20/webapps/ROOT/mango/WEB-INF/classes/com/serotonin/mango/rt/maint/work/WorkItem.class (No such file or directory)

      Total time: 2 seconds

      other thing i observe is the fact when i started tomcat by the eclipse, i can't access the "http://localhost:8080/" , returning a HTTP Status 404

      but when i started the tomcat by console like root, i can access the homepage of tomcat("http://localhost:8080/") and "http://localhost:8080/manager/html" normally

      sorry my ignorance...
      and thanks for your patience

      regards,
      Mario

      posted in Development general discussion
      M
      mmn666
    • RE: Building Mango in Eclipse

      Hi,

      I try do everything from beginning again...because i could't access http://localhost:8080/manager/list
      so i install the tomcat6 again

      and when i try build i have another error

       [copy] Copying 2797 files to /home/mario/Programas/apache-tomcat-6.0.20/webapps/mango
      

      BUILD FAILED
      /home/mario/workspace7/SuperMango/build.xml:117: Failed to copy /home/mario/workspace7/SuperMango/build/WEB-INF/classes/com/serotonin/mango/rt/maint/work/WorkItem.class to /home/mario/Programas/apache-tomcat-6.0.20/webapps/mango/WEB-INF/classes/com/serotonin/mango/rt/maint/work/WorkItem.class due to java.io.FileNotFoundException /home/mario/Programas/apache-tomcat-6.0.20/webapps/mango/WEB-INF/classes/com/serotonin/mango/rt/maint/work/WorkItem.class (No such file or directory)

      Total time: 3 seconds

      sorry my ignorance...
      and thanks for your patience

      regards,
      Mario

      posted in Development general discussion
      M
      mmn666
    • RE: Building Mango in Eclipse

      Hi mlohbihler,

      yes this folder exist and have into:

      /audio
      /exception
      /graphics
      /images
      /resources
      /uploads
      /WEB-INF
      customViewExample.jsp
      index.jsp
      soundmanager2.swf
      soundmanager2_flash9.swf

      i guess the ant is used to build and get what i need to build the project and deploy.

      but i don't use the ant because Andras said this is not necessary

      sorry my ignorance...
      and thanks for your patience

      regards,
      Mario

      posted in Development general discussion
      M
      mmn666
    • RE: Building Mango in Eclipse

      this is the default folder in build.properties

      tomcat.appdir=test
      tomcat.apppath=/test

      no errors

      26/03/2010 18:30:38 org.apache.catalina.core.AprLifecycleListener init
      INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386/server:/usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.15/jre/../lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386/client:/usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386:/usr/lib/xulrunner-addons:/usr/lib/xulrunner-addons:/usr/java/packages/lib/i386:/lib:/usr/lib
      26/03/2010 18:30:38 org.apache.coyote.http11.Http11Protocol init
      INFO: Initializing Coyote HTTP/1.1 on http-8080
      26/03/2010 18:30:38 org.apache.catalina.startup.Catalina load
      INFO: Initialization processed in 1018 ms
      26/03/2010 18:30:38 org.apache.catalina.core.StandardService start
      INFO: Starting service Catalina
      26/03/2010 18:30:38 org.apache.catalina.core.StandardEngine start
      INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
      26/03/2010 18:30:38 org.apache.coyote.http11.Http11Protocol start
      INFO: Starting Coyote HTTP/1.1 on http-8080
      26/03/2010 18:30:38 org.apache.jk.common.ChannelSocket init
      INFO: JK: ajp13 listening on /0.0.0.0:8009
      26/03/2010 18:30:39 org.apache.jk.server.JkMain start
      INFO: Jk running ID=0 time=0/61 config=null
      26/03/2010 18:30:39 org.apache.catalina.startup.Catalina start
      INFO: Server startup in 710 ms

      sorry my ignorance...
      and thanks for your patience

      regards,
      Mario

      posted in Development general discussion
      M
      mmn666
    • RE: Building Mango in Eclipse

      Hi Andras,

      i use: linux(ubuntu-10.4)
      tomcat-6.0.20
      eclipse 3.5(galileo)
      mysql-server-5.0

      and i build the mango source without error or red markers the way you said(i added more others jars)

      For building Mango you don't need the axis stuff. Besides removing the axis jars from the build path, you can remove the last WDSL related part of the build.xml as well. It's not needed for the "deploy" build target. Building the way I described above should then work.

      but when i try to access http://localhost:8080/test with my browser(firefox 3.5) i can't see nothing only a HTTP STATUS 404

      regards,
      Mario

      posted in Development general discussion
      M
      mmn666
    • RE: Building Mango in Eclipse

      Hi,

      i want to install the mango source, but i have this error when i try run the build.xml.

      BUILD FAILED
      /home/.../workspace/myMangoBranch/build.xml:233: taskdef class org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask cannot be found

      i know the lib axis-ant fix a problem linked to wsdl2, but in my case this doesn't work... the lib's version is axis-ant-1.2.1.jar

      please i need help...

      regards
      Mario

      thanks

      posted in Development general discussion
      M
      mmn666