<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Serotonin Software Forums - Latest forum topics]]></title>
		<link>http://mango.serotoninsoftware.com/forum/recentTopics/list.page</link>
		<description><![CDATA[The newest discussed topics in the entire board]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Error creating bean with name 'DataSourceEditDwr' defined in ServletContext resource</title>
				<description><![CDATA[ hi,<br /> i got this error everytime i try to start my webapp :<br /> [quote]10 févr. 2012 19:08:58 org.apache.catalina.core.ApplicationContext log<br /> INFO: Initializing Spring root WebApplicationContext<br /> 10 févr. 2012 19:08:58 org.apache.catalina.core.StandardContext listenerStart<br /> GRAVE: Exception lors de l'envoi de l'évènement contexte initialisé (context initialized) à l'instance de classe d'écoute (listener) org.springframework.web.context.ContextLoaderListener<br /> org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DataSourceEditDwr' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.serotonin.mango.web.dwr.DataSourceEditDwr]: No default constructor found; nested exception is java.lang.SecurityException: SHA1 digest error for com/dalsemi/onewire/OneWireException.class<br /> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:881)<br /> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:837)<br /> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)<br /> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)<br /> 	at java.security.AccessController.doPrivileged(Native Method)<br /> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)<br /> 	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)<br /> 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:217)<br /> 	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)<br /> 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)<br /> 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)<br /> 	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)<br /> 	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)<br /> 	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)<br /> 	at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)<br /> 	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)<br /> 	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)<br /> 	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205)<br /> 	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)<br /> 	at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1276)<br /> 	at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:625)<br /> 	at org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:136)<br /> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)<br /> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br /> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<br /> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br /> 	at org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)<br /> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)<br /> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br /> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)<br /> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)<br /> 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)<br /> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)<br /> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)<br /> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)<br /> 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)<br /> 	at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:864)<br /> 	at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)<br /> 	at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1665)<br /> 	at java.lang.Thread.run(Thread.java:662)<br /> Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.serotonin.mango.web.dwr.DataSourceEditDwr]: No default constructor found; nested exception is java.lang.SecurityException: SHA1 digest error for com/dalsemi/onewire/OneWireException.class<br /> 	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:58)<br /> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:875)<br /> 	... 39 more<br /> Caused by: java.lang.SecurityException: SHA1 digest error for com/dalsemi/onewire/OneWireException.class<br /> 	at sun.security.util.ManifestEntryVerifier.verify(ManifestEntryVerifier.java:198)<br /> 	at java.util.jar.JarVerifier.processEntry(JarVerifier.java:212)<br /> 	at java.util.jar.JarVerifier.update(JarVerifier.java:199)<br /> 	at java.util.jar.JarVerifier$VerifierStream.read(JarVerifier.java:449)<br /> 	at org.apache.catalina.loader.WebappClassLoader.findResourceInternal(WebappClassLoader.java:3067)<br /> 	at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2753)<br /> 	at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1159)<br /> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1647)<br /> 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)<br /> 	at java.lang.Class.getDeclaredConstructors0(Native Method)<br /> 	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)<br /> 	at java.lang.Class.getConstructor0(Class.java:2699)<br /> 	at java.lang.Class.getDeclaredConstructor(Class.java:1985)<br /> 	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:54)<br /> 	... 40 more<br /> 10 févr. 2012 19:09:01 org.apache.catalina.core.ApplicationContext log<br /> INFO: Closing Spring root WebApplicationContext[/quote]<br /> any suggestion ?]]></description>
				<guid isPermaLink="true">http://mango.serotoninsoftware.com/forum/posts/preList/1047/4462.page</guid>
				<link>http://mango.serotoninsoftware.com/forum/posts/preList/1047/4462.page</link>
				<pubDate><![CDATA[Fri, 10 Feb 2012 19:13:51]]> GMT</pubDate>
				<author><![CDATA[ r00t]]></author>
			</item>
			<item>
				<title>Mango 1.13.0 Modbus Data Source issue</title>
				<description><![CDATA[ Try these steps:<br /> 1. Create Modbus Serial data source<br /> 2. Create numeric point as Holding Register and 2 byte signed integer<br /> 3. Make this point writable<br /> [b]4. Set multiplier to 0.1 for this point[/b]<br /> <br /> Isuue:<br /> Try to write 12.7 to this point. Actually written value is 126 (instead of 127).<br /> I think problem is in method setPointValue() of class ModbusDataSource.<br /> [code] <br />     ...<br />            if (dataPoint.getDataTypeId() == DataTypes.NUMERIC) {<br />                 double convertedValue = valueTime.getDoubleValue();<br />                 convertedValue -= pl.getVO().getAdditive();<br />                 convertedValue /= pl.getVO().getMultiplier();<br />                 modbusMaster.setValue(ml, convertedValue);<br />             }<br />     ...<br /> [/code]<br /> convertedValue gets 126.99999999999999. Fractional part of this value gets lost in method modbusMaster.setValue().<br /> ]]></description>
				<guid isPermaLink="true">http://mango.serotoninsoftware.com/forum/posts/preList/1045/4451.page</guid>
				<link>http://mango.serotoninsoftware.com/forum/posts/preList/1045/4451.page</link>
				<pubDate><![CDATA[Tue, 7 Feb 2012 17:17:37]]> GMT</pubDate>
				<author><![CDATA[ Sergii]]></author>
			</item>
			<item>
				<title>Mango 1.13.0 DataPoints import issue</title>
				<description><![CDATA[ Hello everyone,<br /> I found an issue on latest Mango version 1.13.0.<br /> When you export and then import data points from a Modbus datasource, import task return an error about ChartRenderer property:<br /> <br /> [quote]Data point 'DP_347885': 'JsonException reading property 'chartRenderer' of type null', caused by: 'null'[/quote]<br /> <br /> It seams it couldn't parse 'null' value of chartRenderer property. What I have to do is set this property to a different value, for example<br /> <br /> [quote]<br /> "chartRenderer":{<br />     "type":"TABLE",<br />     "limit":10<br /> }<br /> [/quote]<br /> <br /> The workaround works and using Search-and-Replace feature of every text editor I managed to import saved configurations.<br /> <br /> Anyway it is quite annoying to set this property, because I don't use it at all..<br /> When will be release next Mango version?<br /> <br /> Best regards and thank you]]></description>
				<guid isPermaLink="true">http://mango.serotoninsoftware.com/forum/posts/preList/1044/4450.page</guid>
				<link>http://mango.serotoninsoftware.com/forum/posts/preList/1044/4450.page</link>
				<pubDate><![CDATA[Tue, 7 Feb 2012 11:40:37]]> GMT</pubDate>
				<author><![CDATA[ zumiani]]></author>
			</item>
			<item>
				<title>Mango M2M questions</title>
				<description><![CDATA[ Hi,<br /> <br /> I have the following questions related to Mango M2M solution. <br /> <br /> 1) The link here lists many of the Mango M2M application <a class="snap_shots" href="http://mango.serotoninsoftware.com/home.jsp" target="_blank" rel="nofollow">http://mango.serotoninsoftware.com/home.jsp</a> (Building mgmt, health care etc). Please let us know whether any of these applications are already included in the Mango 1.12.3 ? If yes, which are the M2M servier side applications that are included with the release ?.<br /> <br /> 2) The forum discussions indicate that many users have customized Mango for supporting new applications. Which are the modules to be typically customized for  supporting a new M2M application ?.<br /> <br /> 3)  For a quick demo purpose, we would like to use Mango for only the M2M web application and use another M2M Service delivery platform to manage the M2M device, provision it, configure the sensor and receive sensor values. The mango framework we would like to use for business analytics, graph plotting, generating reports, events etc. I browsed through the  Mango code and it has a data receiver/source component. So, if we write a bridge module that converts messages between Mango format to hte format of the other Service deliver platform and vice-versa, will it work ?. Can you provide your thoughts ?.<br /> <br /> 4)  What are the list of messages exchanged between Mango (M2M server side application) and the M2M device in a M2M use case (e.g. configure sensors, read the values, getting the current status, activate the device etc). Is there any document/source file that we can look at to understand the detailed list of messages and interface.<br /> <br /> Thanks,<br /> kotoor <br /> ]]></description>
				<guid isPermaLink="true">http://mango.serotoninsoftware.com/forum/posts/preList/1043/4447.page</guid>
				<link>http://mango.serotoninsoftware.com/forum/posts/preList/1043/4447.page</link>
				<pubDate><![CDATA[Fri, 3 Feb 2012 09:49:00]]> GMT</pubDate>
				<author><![CDATA[ kotoor]]></author>
			</item>
			<item>
				<title>HTTP Image flipbook not working</title>
				<description><![CDATA[ Hi,<br /> <br /> i have one http image datasource but my flipbook is not working. The images are correctly saved on the folder WEB-INF/filedata, the point Logging type are All data, but i cant see the image history, it just displays the current image (on the watch list).<br /> <br /> The image source is: <a class="snap_shots" href="http://infotrafego.pbh.gov.br/rlt/images/camara20.jpg" target="_blank" rel="nofollow">http://infotrafego.pbh.gov.br/rlt/images/camara20.jpg</a><br /> <br /> The url of the images in the flipbook is: <a class="snap_shots" href="http://localhost:8080/mango/imageValue/hst1328189547973_1.?w=40&h=40" target="_blank" rel="nofollow">http://localhost:8080/mango/imageValue/hst1328189547973_1.?w=40&h=40</a><br /> And the files in the folder WEB-INF/filedata are: img1.jgp, img2.jpg, ...<br /> <br /> Can anyone please give me some advice?<br /> <br /> Thanks]]></description>
				<guid isPermaLink="true">http://mango.serotoninsoftware.com/forum/posts/preList/1042/4444.page</guid>
				<link>http://mango.serotoninsoftware.com/forum/posts/preList/1042/4444.page</link>
				<pubDate><![CDATA[Thu, 2 Feb 2012 13:36:45]]> GMT</pubDate>
				<author><![CDATA[ tiago156]]></author>
			</item>
			<item>
				<title>Dimensions of &quot;Graphical View editor&quot;</title>
				<description><![CDATA[ how can i enlarge the the box of "Graphical View editor"?: i need to have a much more big area where to insert a lot of components.<br /> Is possible to do this? Are there solutions?<br /> Thanks]]></description>
				<guid isPermaLink="true">http://mango.serotoninsoftware.com/forum/posts/preList/1041/4438.page</guid>
				<link>http://mango.serotoninsoftware.com/forum/posts/preList/1041/4438.page</link>
				<pubDate><![CDATA[Wed, 1 Feb 2012 17:26:02]]> GMT</pubDate>
				<author><![CDATA[ peppemath]]></author>
			</item>
			<item>
				<title>Data point backup</title>
				<description><![CDATA[ My system is fall down. Maybe hard disk is gone. :cry:  But if I can recovery that, where is all data points, and graphical views? Is any else files what I should recovery?<br /> <br /> BR Antsu]]></description>
				<guid isPermaLink="true">http://mango.serotoninsoftware.com/forum/posts/preList/1040/4433.page</guid>
				<link>http://mango.serotoninsoftware.com/forum/posts/preList/1040/4433.page</link>
				<pubDate><![CDATA[Fri, 27 Jan 2012 20:55:42]]> GMT</pubDate>
				<author><![CDATA[ Antsu]]></author>
			</item>
			<item>
				<title>Custom BACnet Control System using Mango Automation</title>
				<description><![CDATA[ Hello Mango's Community,<br /> <br /> I'm creating a BACnet based control system for databases built by a software we built.<br /> In that "design" software we say which devices are in the system (instance ids, objects identifiers, types, etc..)<br /> And in the "control" system I want to show the devices and their status and be able to control them.<br /> <br /> I am using MA, I've based my main.js script on the bacnetTest.js file.<br /> Whenever I get an IAmReceived, I check if it's in the database and add a field to a node with its objects (i.e. d0001_b01 for device_id 1:binary 1) <br /> And then on the JSP Page, I created a function that inserts the addViewFunction script with the appropriate node and field name.<br /> <br /> The system is now working, but working very slow.<br /> Writing input to the devices is very slow (writeProperties is a blocking method) and I can't do a lot of commands in a row.<br /> The polling sometimes fail because of high delay (everything is running sequentialy)<br /> I'm afraid that bigger configuration will cause the system to not function at all.<br /> <br /> Do you have any other methods I could try to accomplish my goal?<br /> Or maybe change something about the way I'm inquisting?<br /> <br /> Thanks,<br /> Eli.<br /> TriDiNetworks]]></description>
				<guid isPermaLink="true">http://mango.serotoninsoftware.com/forum/posts/preList/1039/4426.page</guid>
				<link>http://mango.serotoninsoftware.com/forum/posts/preList/1039/4426.page</link>
				<pubDate><![CDATA[Thu, 26 Jan 2012 08:09:39]]> GMT</pubDate>
				<author><![CDATA[ eli_tridinetworks]]></author>
			</item>
			<item>
				<title>Full support for timeout</title>
				<description><![CDATA[ Hi,<br /> <br /> I found that the TCP connection of Modbus4j does not fully support timeout features of Java sockets.<br /> <br /> Only the connection timeout is controlled in current implementation.<br /> It can be easily extended by controlling the read timeout too.<br /> <br /> For this reason one can consider changing TcpMaster.openConnection() method part:<br /> <br /> Before:<br /> [quote]                <br /> socket = new Socket();<br /> socket.connect(new InetSocketAddress(ipParameters.getHost(), ipParameters.getPort()), getTimeout());<br /> transport = new StreamTransport(socket.getInputStream(), socket.getOutputStream());<br /> [/quote]<br /> <br /> After:<br /> [quote]                <br /> socket = new Socket();<br /> socket.setSoTimeout(getTimeout());<br /> socket.connect(new InetSocketAddress(ipParameters.getHost(), ipParameters.getPort()), getTimeout());<br /> transport = new StreamTransport(socket.getInputStream(), socket.getOutputStream());<br /> [/quote]<br /> <br /> This might be useful for somebody.<br /> <br /> ]]></description>
				<guid isPermaLink="true">http://mango.serotoninsoftware.com/forum/posts/preList/1038/4418.page</guid>
				<link>http://mango.serotoninsoftware.com/forum/posts/preList/1038/4418.page</link>
				<pubDate><![CDATA[Wed, 25 Jan 2012 09:05:54]]> GMT</pubDate>
				<author><![CDATA[ Sebastian Gurgul]]></author>
			</item>
			<item>
				<title>How communicate to a remote device ?</title>
				<description><![CDATA[ Hi,<br /> I made a local device communicate with my application.<br /> But how do I make to communicate to a remote device ?<br /> <br /> Is possible to do this using ip or dns ? (because the ip changes sometimes).]]></description>
				<guid isPermaLink="true">http://mango.serotoninsoftware.com/forum/posts/preList/1037/4411.page</guid>
				<link>http://mango.serotoninsoftware.com/forum/posts/preList/1037/4411.page</link>
				<pubDate><![CDATA[Fri, 20 Jan 2012 16:32:00]]> GMT</pubDate>
				<author><![CDATA[ Valter Henrique]]></author>
			</item>
			<item>
				<title>Encodable not found ?</title>
				<description><![CDATA[ Hi,<br /> I'm trying to use bacnet4j with JSF.<br /> <br /> I build an application in .java which turn on/off a lamp, but if I try to call the same method from a JSF page, gives me :<br /> <br /> [code]type Exception report<br /> <br /> message<br /> <br /> descriptionThe server encountered an internal error () that prevented it from fulfilling this request.<br /> <br /> exception<br /> <br /> javax.servlet.ServletException: com/serotonin/bacnet4j/type/Encodable<br /> root cause<br /> <br /> java.lang.NoClassDefFoundError: com/serotonin/bacnet4j/type/Encodable<br /> root cause<br /> <br /> java.lang.ClassNotFoundException: com.serotonin.bacnet4j.type.Encodable[/code]<br /> <br /> But I'm pretty sure that the class is there, because if not my java application don't work, right ?<br /> <br /> Any idea why this is happening ?]]></description>
				<guid isPermaLink="true">http://mango.serotoninsoftware.com/forum/posts/preList/1036/4403.page</guid>
				<link>http://mango.serotoninsoftware.com/forum/posts/preList/1036/4403.page</link>
				<pubDate><![CDATA[Fri, 20 Jan 2012 14:11:11]]> GMT</pubDate>
				<author><![CDATA[ Valter Henrique]]></author>
			</item>
			<item>
				<title>Running MANGO in a WRAP Board ALIX 2D embebbed Solution working 100% with Arduino</title>
				<description><![CDATA[ This tuturial is for thoose want to build a small box to run Mango or ScadaBr<br /> Since I was looking for a small pc I remember to use a Alix board that is more cheap than a pc and more compact and try to build a linux debian based system and them install MANGO<br /> In this tuturial I will try to explain the steeps I take to sucssefuly install the debian and then the Mango. My choise of using mango was because I can't get ScadaBr running because of the installer script so I turn to Mango<br /> <br /> In my configuration I will use:<br /> <br /> An Arduino Duemilanove<br /> an Alix Board 2D from PC Engines GmbH, can be bought at <a class="snap_shots" href="http://pcengines.ch/alix.htm" target="_blank" rel="nofollow">http://pcengines.ch/alix.htm</a><br /> 1 CF card 4Gb (for debian instalation and MANGO)<br /> <br /> <br /> After a seach on google I found a website with some instrutions that help me to get all up and running<br /> You can see all the instrutions where <a class="snap_shots" href="http://www.gooze.eu/howto/debian-installation-on-alix-board-howto/setting-time" target="_blank" rel="nofollow">http://www.gooze.eu/howto/debian-installation-on-alix-board-howto/setting-time</a> but for now I will try to resume some of then.<br /> In case you have some dificult I sugest you to read the instrutions on the above link.<br /> You will need a pc with a CFcard reader to start the instalation on the CFcard, in my case I'm using a Linux Mint distro but any other will do <br /> I will assume you have some linux experience and soo I will not go to deep<br /> Soo insert the CFcard on your reader.You will need to know waht was the /dev/sdXXX your system give to the CFcard. There are diferent ways to see this, I will describe 2 ways:<br /> before insert the card open a console and type: "tail -f /var/log/messages" then insert the CFcard, you will see the text will flick and there you can read the /dev/sdXX that was assigned to your card<br /> after that just hit CTRL+C to exit from the tail.Now you know the id of your device<br /> Another way is just use the gparted wich is a disk tool to manage partitions on linux with a nice GUI.there you can also see the "/dev" id of your card<br /> <br /> we will use the "dd" command to copy an image to CFcard with a prebuild of a debian instalation<br /> open again a console in case you close the last one and download the image <br /> $wget <a class="snap_shots" href="http://download.gooze.eu/embedded/debian/images/debian.tar.gz" target="_blank" rel="nofollow">http://download.gooze.eu/embedded/debian/images/debian.tar.gz</a><br /> then extact the tar using:<br /> $tar -xvf debian.tar.gz<br /> After that we can transfer the image to the CFcard using:<br /> $ dd if=debian.img of=/dev/sd[b,c,d]<br /> double check the command because if you make some mustake you can delete or harddrive!!!<br /> it will take a while so just wait until you get the prompt again with the details of the duration and speed of the copy<br /> After that remove the card and insert the CFcard on the alix board.Before you power it you will need a Serial cable to connect the alix board to your computer <br /> You will also need a hiperterminal client, I had used gtkterm but you can use "screen" ou putty, its up to you.<br /> The baud is 38400N,8,1 <br /> Open the port with with configuration and the power the alix board.<br /> You should start to see some lines of a test memory wich is normal on the alix board and the wait until you see the debian instalation menu.This can take a while , do not remove the power, if soo perhaps you will need to reinstall the image of the last step<br /> Follow the setup as normal(if you have trouble read the instrutions on the link I give above)<br /> After the instalation is complete install ssh for remote acess.I will assume you already have internet conection on the alix <br /> $apt-get install openssh-server<br /> If you want to install mysql to support the Mango databases you can just install it by using:<br /> $apt-get install mysql-server<br /> <br /> Mango needs to have JAVA installed <br /> In my case using "apt-get install sun-java6-jdk" it give me a message no package found then I had need to add a source to a new repository<br /> use vi or nano and add the folowing line to /etc/apt/sources.list "deb <a class="snap_shots" href="http://archive.canonical.com/" target="_blank" rel="nofollow">http://archive.canonical.com/</a> lucid partner" without the " of course<br /> Save it and update all sources using "apt-get update"<br /> after that you should be able to install java then type "apt-get install sun-java6-jdk"<br /> Then install a ntp package to automaticaly update the time of your system<br /> $apt-get install ntpdate<br /> $ntpdate pt.pool.ntp.org<br /> <br /> In my case I'm using a Portuguese NTP server, adapt to your needs<br /> after that confirm the date and time using <br /> $date<br /> It must display the right time and date now.<br /> Now that we have all the requirements lets move to the MANGO instalation.<br /> Visit the link <a class="snap_shots" href="http://mango.serotoninsoftware.com/download.jsp" target="_blank" rel="nofollow">http://mango.serotoninsoftware.com/download.jsp</a> <br /> Here we can find the parts we need <br /> Open a console again and choose a location to store the instalation.I had installed on /usr<br /> $cd /usr/local<br /> Lets Dowload the TOMCAT:<br /> $wget <a class="snap_shots" href="http://mango.serotoninsoftware.com/downloads/apache-tomcat-6.0.20.tar.gz" target="_blank" rel="nofollow">http://mango.serotoninsoftware.com/downloads/apache-tomcat-6.0.20.tar.gz</a><br /> Extract it:<br /> tar -xvf apache-tomcat-6.0.20.tar.gz<br /> Rename the folder to tomcat just to be more simple<br /> $ mv -R apache-tomcat-6.0.20 tomcat<br /> $ cd tomcat/bin<br /> <br /> For test the apachTomCat lets fireup it and see if it runs.To do this just do:<br /> $ ./startup.sh <br /> This will start the Service and now he would be able to open the welcome page of tomcat opening <a class="snap_shots" href="http://ip_of_box:8080" target="_blank" rel="nofollow">http://ip_of_box:8080</a><br /> If you see the page you are ok, close it and lets stop it for now using :<br /> $ ./shutdown.sh<br /> Now we need to remove some folders inside the webapps/ROOT folder to store the MANGO<br /> to do this use:<br /> $cd /usr/local/tomcat/webapps/ROOT<br /> Remove all folders using:<br /> $rm -R <br /> This will remove all folders and files on this location, we need to remove it because this is the root dir of tomcat, this are the files and folder displayed when you start Tomcat, since we want just the MANGO lets now dowload it for this directory and extact it were<br /> Assuming you stil are in the same folder ("/usr/local/tomcat/webapps/ROOT") download the MANGO <br /> $wget <a class="snap_shots" href="http://mango.serotoninsoftware.com/downloads/mango-1.13.0.tar.gz" target="_blank" rel="nofollow">http://mango.serotoninsoftware.com/downloads/mango-1.13.0.tar.gz</a><br /> Extact it :<br /> $tar -xvf mango-1.13.0.tar.gz<br /> To confirm all files and folder are now here just do an "ls -al" to list the directory:<br /> $ls -al<br /> you should see something like this:<br /> <br /> root@supervisao:/usr/local/tomcat/webapps/ROOT# ls -al<br /> total 28532<br /> drwxr-xr-x 10 root root     4096 Jan  1  2000 .<br /> drwxr-xr-x  7 root root     4096 May 14  2009 ..<br /> drwxr-xr-x 12 root root     4096 Dec 19 15:52 WEB-INF<br /> drwxr-xr-x  3 root root     4096 Dec 19 15:52 audio<br /> drwxr-xr-x  3 root root     4096 Jan  1  2000 backup<br /> -rw-r--r--  1 root root     6619 Mar  6  2011 customViewExample.jsp<br /> drwxr-xr-x  2 root root     4096 Dec 19 15:52 exception<br /> drwxr-xr-x 18 root root     4096 Dec 18 23:34 graphics<br /> drwxr-xr-x  3 root root     4096 Dec 19 15:52 images<br /> -rw-r--r--  1 root root     1712 Mar  6  2011 index.jsp<br /> -rw-r--r--  1 root root 29117044 Dec 19 15:52 mango-1.13.0.zip<br /> drwxr-xr-x  3 root root     4096 Dec 19 15:52 resources<br /> -rw-r--r--  1 root root     2436 Mar  6  2011 soundmanager2.swf<br /> -rw-r--r--  1 root root     8119 Mar  6  2011 soundmanager2_flash9.swf<br /> drwxr-xr-x  2 root root     4096 Jan 19 12:15 uploads<br /> <br /> If this is your output to you are almost finish the instalation.<br /> In my case In using an arduino to comunicate to outside world via USB port.In this case I need to include a file on java dir to be able to comunicate with serial ports ("dev/ttyUSB0 in my case") 	<br /> If this is also your case lets just download the librxtxSerial.so and import it:<br /> $wget <a class="snap_shots" href="http://mango.serotoninsoftware.com/downloads/librxtxSerial.so" target="_blank" rel="nofollow">http://mango.serotoninsoftware.com/downloads/librxtxSerial.so</a><br /> Now we need to save in &lt;jdk1.6-home&gt;/jre/lib/i386<br /> To find this location on your instalation just use:<br /> $updatedb<br /> $locate /jre/lib/i386<br /> This will display the path of you java, now lets move the librxtxSerial.so to that location.Im my case it was:<br /> $mv librxtxSerial.so /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/i386/<br /> <br /> It's everything done<br /> Lets start the Tomcat and test it on your alix Board:)<br /> $cd /usr/local/tomcat/bin<br /> $./startup.sh<br /> <br /> In the first run the system will build the MANGO database soo it can take a while until the page loads.<br /> It could take about 40 secounds soo be patient<br /> When the page loads just enter the default login :admin admin and your MANGO small box is ready!!<br /> <br /> I hope this tuturial help those you want to test it on a alix board.<br /> I not a linux expert then it is possible to some steps could be wrong and could be a better way to do it.<br /> This manual can be modified to get better and sugestions are acepted<br /> <br /> email:hugo.santos@i9box.net<br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> ]]></description>
				<guid isPermaLink="true">http://mango.serotoninsoftware.com/forum/posts/preList/1035/4399.page</guid>
				<link>http://mango.serotoninsoftware.com/forum/posts/preList/1035/4399.page</link>
				<pubDate><![CDATA[Fri, 20 Jan 2012 10:29:57]]> GMT</pubDate>
				<author><![CDATA[ hugo007]]></author>
			</item>
			<item>
				<title>Fire Alarm trigger and send informaton to notify the client software</title>
				<description><![CDATA[ Hi there, <br /> <br /> As mention above can someone explain how to to archieve via BACNET4J?<br /> <br /> THanks,<br /> WenJun]]></description>
				<guid isPermaLink="true">http://mango.serotoninsoftware.com/forum/posts/preList/1034/4397.page</guid>
				<link>http://mango.serotoninsoftware.com/forum/posts/preList/1034/4397.page</link>
				<pubDate><![CDATA[Fri, 20 Jan 2012 08:57:51]]> GMT</pubDate>
				<author><![CDATA[ R-GiGgS84]]></author>
			</item>
			<item>
				<title>M2M v1.13.0 - Meta Data Source Bug? [SOLVED]</title>
				<description><![CDATA[ Hi All,<br /> <br /> I just upgraded to 1.13, however I am having problems with meta data sources. I keep getting the error message: [quote]Could not convert result "sun.org.mozilla.javascript.internal.InterpretedFunction@47869d" to Numeric[/quote] for all meta data sources. Even if my meta data source only contains the code [code]return 123;[/code] which should definately work... this is why I am wondering if a bug slipped into this release. Anyone else have this same issue?]]></description>
				<guid isPermaLink="true">http://mango.serotoninsoftware.com/forum/posts/preList/1033/4392.page</guid>
				<link>http://mango.serotoninsoftware.com/forum/posts/preList/1033/4392.page</link>
				<pubDate><![CDATA[Thu, 19 Jan 2012 14:51:20]]> GMT</pubDate>
				<author><![CDATA[ rcopeland]]></author>
			</item>
			<item>
				<title>Multiple BACnet Controllers with BACnet objects</title>
				<description><![CDATA[ Hi there, <br /> <br /> I am building a Servlet that will be connecting to many BACnet Controller. I want to know if there is anyway that i can identify which BACnet Object is under which BACnet Controller and how can i go about doing it?<br /> <br /> Thanks.<br /> WenJun]]></description>
				<guid isPermaLink="true">http://mango.serotoninsoftware.com/forum/posts/preList/1032/4389.page</guid>
				<link>http://mango.serotoninsoftware.com/forum/posts/preList/1032/4389.page</link>
				<pubDate><![CDATA[Wed, 18 Jan 2012 02:07:51]]> GMT</pubDate>
				<author><![CDATA[ R-GiGgS84]]></author>
			</item>
	</channel>
</rss>
