<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[I obtained an error trying adding datasource Virtual Data]]></title><description><![CDATA[<p dir="auto">Hello  :D</p>
<p dir="auto">I would appreciate help with this error wich appears in a W2000 installation trying to adding the first datasource:</p>
<p dir="auto">org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.NoClassDefFoundError: javax/comm/CommPortIdentifier<br />
Caused by: java.lang.NoClassDefFoundError: javax/comm/CommPortIdentifier<br />
at com.serotonin.mango.Common.getCommPorts(Common.java:242)<br />
at com.serotonin.mango.web.mvc.controller.DataSourceEditController.handleRequestInternal(DataSourceEditController.java:71)<br />
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)</p>
]]></description><link>https://forum.mango-os.com/topic/38/i-obtained-an-error-trying-adding-datasource-virtual-data</link><generator>RSS for Node</generator><lastBuildDate>Wed, 10 Jun 2026 09:35:32 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/38.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 03 Oct 2007 12:38:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to I obtained an error trying adding datasource Virtual Data on Thu, 25 Oct 2007 03:00:55 GMT]]></title><description><![CDATA[<p dir="auto">Hi Roberto,</p>
<p dir="auto">Mango can read from an external database using the SQL data source. Out of the box it can connect to a MySQL database, but others can be implemented by finding the appropriate driver (usually just a jar file that you can add to WEB-INF/lib).</p>
<p dir="auto">If you are on a Windows platform, it is possible to use an ODBC/JDBC driver to connect Mango to and ODBC data source. In Windows you can then set up various things - like flat files, Excel spreadsheets, Access databases - as your ODBC sources. Might be worth a try. By finding the appropriate drivers (which are typically easy to find), you can also connect Mango directly to Oracle, MS SQL Server, Postgres, etc.</p>
<p dir="auto">Your alternative to having a database intermediary is to connect directly to your A/D converter processing board, assuming it supports some communications protocol like Modbus, BACNet, 1-wire, etc. Do you know?</p>
<p dir="auto">Once you've decided on a connectivity strategy, i can help you with the details.</p>
]]></description><link>https://forum.mango-os.com/post/2000</link><guid isPermaLink="true">https://forum.mango-os.com/post/2000</guid><dc:creator><![CDATA[mlohbihler]]></dc:creator><pubDate>Thu, 25 Oct 2007 03:00:55 GMT</pubDate></item><item><title><![CDATA[Reply to I obtained an error trying adding datasource Virtual Data on Tue, 23 Oct 2007 13:05:50 GMT]]></title><description><![CDATA[<p dir="auto">Hi m@:</p>
<p dir="auto">First of all, Thanks for your clear explanation.<br />
I´m not sure I should change to another subforum, but the following topic naturally comes to me .   :roll: The idea is connecting Mango to an own developed  A/D converter processing board, controlled by a set of Visual Basic routines, which can put data on the hard disc in any standard file formats.<br />
Which could be the proper way to implement the SQL Data source for Mango ?.  I mean, should/can Mango read an external database, or I must put data into native Mango's database ? In both cases, which is the appropriate mechanism (script, event driven routine, scheduled task...)<br />
I tried finding examples in other subforum, I saw <a href="http://store.qkits.com/moreinfo.cfm/K8061" rel="nofollow ugc">http://store.qkits.com/moreinfo.cfm/K8061</a> board and their uses, very interesting  :shock:   Did you write some work notes to implement such a functionality (tables names, record format, data type ...)<br />
My best regards.</p>
]]></description><link>https://forum.mango-os.com/post/1998</link><guid isPermaLink="true">https://forum.mango-os.com/post/1998</guid><dc:creator><![CDATA[rcarabaj]]></dc:creator><pubDate>Tue, 23 Oct 2007 13:05:50 GMT</pubDate></item><item><title><![CDATA[Reply to I obtained an error trying adding datasource Virtual Data on Wed, 17 Oct 2007 15:20:26 GMT]]></title><description><![CDATA[<p dir="auto">Hi Roberto,</p>
<p dir="auto">Great to hear. Thanks for following up.</p>
<p dir="auto">Regarding access to the Mango database, remember that Derby is a standard SQL database that happens to be implemented in Java, so there's no magic to it. However, in this case, the properties of Derby that make it especially useful to Mango are the same as those that will cause you difficulty in accessing it the way that you want.</p>
<p dir="auto">A bit of background; skip this paragraph if you want. Derby has the ability to run "in process" with a Java application, so that you don't need to, for example, start your database process, and then start Mango; you just start Mango and the single Java VM runs everything. This greatly simplifies installation and operation, as well as improving performance since the in process mode makes DB connections into lightweight objects, which also makes connection pooling unnecessary. There is also a small security benefit since Mango has exclusive access to the database.</p>
<p dir="auto">The problem in your case is that Mango has exclusive access to the database. If you want to get directly into the Derby tables, you first need to stop Mango, and then start a Java process that itself would exclusively access Derby.</p>
<p dir="auto">However, there is a way to get to the database through Mango, but it's not pretty. Recall that there is a SQL menu item in Mango from which you can run arbitrary queries and execute updates. It would be possible to automate a process of logging in, executing queries, scraping the results, and then logging out. (Told you it wasn't pretty.)</p>
<p dir="auto">Better alternatives would be either to build into Mango the functionality that you want, or to build something like a web service with which more natural M2M access to the data is made available. Sadly, at the moment we are swamped and so will not be able to get to this for some time. Any enterprising Java developers are welcome to take a stab at it though. :)</p>
]]></description><link>https://forum.mango-os.com/post/1996</link><guid isPermaLink="true">https://forum.mango-os.com/post/1996</guid><dc:creator><![CDATA[mlohbihler]]></dc:creator><pubDate>Wed, 17 Oct 2007 15:20:26 GMT</pubDate></item><item><title><![CDATA[Reply to I obtained an error trying adding datasource Virtual Data on Wed, 17 Oct 2007 12:29:00 GMT]]></title><description><![CDATA[<p dir="auto">Hello:<br />
:DAfter a while, all is working. I am going to deploy my sensors.  There is a point that interests me:  :roll:Is it possible to observe (see, inspect) database tables with a simple utility, or perhaps see them from another database ? In example, is it possible to link to JAVA tables from Access 2003 using and ODBC that lets Access connect to Mango´s JAVA tables.? The idea is to follow the parent-child relation between folder and sensors at an index level.  I make this questions as a traditional Microsoft user,  JAVA environment is all new to me :shock: :!:.<br />
Thanks very much.<br />
Roberto</p>
]]></description><link>https://forum.mango-os.com/post/1995</link><guid isPermaLink="true">https://forum.mango-os.com/post/1995</guid><dc:creator><![CDATA[rcarabaj]]></dc:creator><pubDate>Wed, 17 Oct 2007 12:29:00 GMT</pubDate></item><item><title><![CDATA[Reply to I obtained an error trying adding datasource Virtual Data on Mon, 08 Oct 2007 21:15:33 GMT]]></title><description><![CDATA[<p dir="auto">No need to apologize Roberto; we'll get you through this...  :)</p>
<p dir="auto">Ok, good, you already have it installed. When you start Tomcat you'll see references in the startup messages to the Java implementation that it is using. Ensure it is specifying your JDK 1.6 installation.</p>
<p dir="auto">If it isn't, to get Mango to use the JDK you'll need to change whatever it is that decides what JDK to use. It could be explicitly set in your Tomcat start script, or it could be set in your environmental variables; you'll have to determine that yourself, but it should only be one of those two. Change it to point at the JDK 1.6 installation.</p>
<p dir="auto">Once you're sure your Mango instance is using JDK 1.6, follow the instructions on the Mango download page to ensure that the RXTX files are in the correct directories and try again.</p>
]]></description><link>https://forum.mango-os.com/post/1985</link><guid isPermaLink="true">https://forum.mango-os.com/post/1985</guid><dc:creator><![CDATA[mlohbihler]]></dc:creator><pubDate>Mon, 08 Oct 2007 21:15:33 GMT</pubDate></item><item><title><![CDATA[Reply to I obtained an error trying adding datasource Virtual Data on Mon, 08 Oct 2007 19:05:34 GMT]]></title><description><![CDATA[<p dir="auto">JDK is installed. I apologize for my ignorance,  :oops:but which changes are needed to run Mango with JDK instead JRE  ?</p>
]]></description><link>https://forum.mango-os.com/post/1984</link><guid isPermaLink="true">https://forum.mango-os.com/post/1984</guid><dc:creator><![CDATA[rcarabaj]]></dc:creator><pubDate>Mon, 08 Oct 2007 19:05:34 GMT</pubDate></item><item><title><![CDATA[Reply to I obtained an error trying adding datasource Virtual Data on Mon, 08 Oct 2007 14:30:27 GMT]]></title><description><![CDATA[<p dir="auto">Hi Roberto,</p>
<p dir="auto">You need to use the JDK rather than the JRE. Can you try installing the JDK and using that instead? (Don't forget to change how Tomcat gets started up too).</p>
]]></description><link>https://forum.mango-os.com/post/1983</link><guid isPermaLink="true">https://forum.mango-os.com/post/1983</guid><dc:creator><![CDATA[mlohbihler]]></dc:creator><pubDate>Mon, 08 Oct 2007 14:30:27 GMT</pubDate></item><item><title><![CDATA[Reply to I obtained an error trying adding datasource Virtual Data on Mon, 08 Oct 2007 13:58:05 GMT]]></title><description><![CDATA[<p dir="auto">Hello:<br />
Thanks. Now is just working. Please, can you guide me how to debug the error:<br />
org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.NoClassDefFoundError: gnu/io/CommPortIdentifier<br />
Caused by: java.lang.NoClassDefFoundError: gnu/io/CommPortIdentifier</p>
<p dir="auto">I verified that the proper files were copied:<br />
RXTXcomm.jar: save in &lt;jdk1.6-home&gt;\jre\lib\ext<br />
rxtxSerial.dll: save in &lt;jdk1.6-home&gt;\jre\bin</p>
<p dir="auto">Java version is Java(TM) SE Runtime Environment (build 1.6.0_03-b05)<br />
Could be there some problem ?<br />
Thanks for your patience.</p>
]]></description><link>https://forum.mango-os.com/post/1982</link><guid isPermaLink="true">https://forum.mango-os.com/post/1982</guid><dc:creator><![CDATA[rcarabaj]]></dc:creator><pubDate>Mon, 08 Oct 2007 13:58:05 GMT</pubDate></item><item><title><![CDATA[Reply to I obtained an error trying adding datasource Virtual Data on Fri, 05 Oct 2007 21:20:50 GMT]]></title><description><![CDATA[<p dir="auto">Hi Roberto,</p>
<p dir="auto">Yes, the header.js calls the corresponding function in the common.js. I'm sorry, but I can't say what is going on because it works in every other instance of Mango that we run. I can only suggest that perhaps your browser cache is hanging on to an old version of the common.js file. To refresh, press ctrl+F5; hopefully that will correct the problem.</p>
]]></description><link>https://forum.mango-os.com/post/1978</link><guid isPermaLink="true">https://forum.mango-os.com/post/1978</guid><dc:creator><![CDATA[mlohbihler]]></dc:creator><pubDate>Fri, 05 Oct 2007 21:20:50 GMT</pubDate></item><item><title><![CDATA[Reply to I obtained an error trying adding datasource Virtual Data on Fri, 05 Oct 2007 19:07:01 GMT]]></title><description><![CDATA[<p dir="auto">Well, I think that my life is getting complicated. :roll:<br />
I installed Tomcat 6.0 and try several fresh Mango Installations but obtained :<br />
! SetAlarmLevelText not defined</p>
<p dir="auto">I searched and founded that function in C:\Tomcat 6.0\webapps\ROOT\resources files common.js and headers.js</p>
<p dir="auto">Whats going on  :?:<br />
Thanks very much.</p>
]]></description><link>https://forum.mango-os.com/post/1977</link><guid isPermaLink="true">https://forum.mango-os.com/post/1977</guid><dc:creator><![CDATA[rcarabaj]]></dc:creator><pubDate>Fri, 05 Oct 2007 19:07:01 GMT</pubDate></item><item><title><![CDATA[Reply to I obtained an error trying adding datasource Virtual Data on Wed, 03 Oct 2007 20:03:40 GMT]]></title><description><![CDATA[<p dir="auto">That error message is strange because the line number does not correspond to executable code. Also, all references to javax.comm.* were removed in version 0.9.2.</p>
<p dir="auto">Did you upgrade from a previous version, or download 0.9.2 and install fresh? If you upgraded, can you try the upgrade again? Perhaps it didn't install correctly for some reason.</p>
]]></description><link>https://forum.mango-os.com/post/1972</link><guid isPermaLink="true">https://forum.mango-os.com/post/1972</guid><dc:creator><![CDATA[mlohbihler]]></dc:creator><pubDate>Wed, 03 Oct 2007 20:03:40 GMT</pubDate></item><item><title><![CDATA[Reply to I obtained an error trying adding datasource Virtual Data on Wed, 03 Oct 2007 19:09:37 GMT]]></title><description><![CDATA[<p dir="auto">I am using 0.9.2. I observed that the error says<br />
javax/comm/CommPortIdentifier<br />
at com.serotonin.mango.Common.getCommPorts(Common.java:242)</p>
]]></description><link>https://forum.mango-os.com/post/1971</link><guid isPermaLink="true">https://forum.mango-os.com/post/1971</guid><dc:creator><![CDATA[rcarabaj]]></dc:creator><pubDate>Wed, 03 Oct 2007 19:09:37 GMT</pubDate></item><item><title><![CDATA[Reply to I obtained an error trying adding datasource Virtual Data on Wed, 03 Oct 2007 15:46:23 GMT]]></title><description><![CDATA[<p dir="auto">Hi Roberto,</p>
<p dir="auto">Two things:</p>
<ol>
<li>
<p dir="auto">Please confirm the version of Mango you are using. 0.9.2 should not have any references to javax.comm.*.</p>
</li>
<li>
<p dir="auto">Errors like that or <a href="http://gnu.io" rel="nofollow ugc">gnu.io</a>* indicate incorrectly configured serial i/o. Please check the instructions on the download page.</p>
</li>
</ol>
]]></description><link>https://forum.mango-os.com/post/1970</link><guid isPermaLink="true">https://forum.mango-os.com/post/1970</guid><dc:creator><![CDATA[mlohbihler]]></dc:creator><pubDate>Wed, 03 Oct 2007 15:46:23 GMT</pubDate></item></channel></rss>