<?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[Comport scan ok, but modbus serial error...]]></title><description><![CDATA[<p dir="auto">hi,<br />
I have some problem to connect datasource with modbus serial interface,<br />
the web page detect all my serial port, I see the serial activity in the preliminary serial port scan<br />
with a blink led rx tx on my arduino board, but if i configure the data source and then enable it,<br />
cause a java exception logged on apache-tomcat windows.</p>
<p dir="auto">this problem is present on my two different machine configuration:</p>
<p dir="auto">conf1:<br />
amd x64 with windows 7 x64 ultimate<br />
google chrome 8<br />
java jdk last ver<br />
rxtx and dll for x64 OS<br />
FDTI serial interface (USB)</p>
<p dir="auto">conf2:<br />
vmware x86 windows xp pro sp3<br />
google chrome8<br />
java jdk last version<br />
rxtx and dll for x86 OS(included rxtx don'twork)<br />
phisical com rs232 (linked on vmware hardware config to FDTI serial port on host os)</p>
<p dir="auto">Please help me!!</p>
<p dir="auto">thx for all,</p>
<p dir="auto">append a printscreen of error:</p>
<p dir="auto"><img src="https://camo.nodebb.org/102cb7da57a6a76487bc2081a87238e7deceaedd?url=http%3A%2F%2Fsphotos.ak.fbcdn.net%2Fhphotos-ak-snc6%2Fhs014.snc6%2F166418_136113939785865_100001617792077_247674_7923066_o.jpg" alt="image" class=" img-fluid img-markdown" /></p>
<p dir="auto">append a apache-tomcat log:</p>
<blockquote></blockquote>
<h1>INFO: Server startup in 21795 ms<br />
Stable Library</h1>
<p dir="auto">Native lib Version = RXTX-2.1-7<br />
Java lib Version   = RXTX-2.1-7<br />
ERROR 2011-01-20 23:46:03,441 (com.serotonin.mango.web.filter.ExceptionDetectionFilter.doFilter:52) - DWR invocation exception<br />
java.lang.NoSuchMethodError: com.serotonin.modbus4j.ModbusFactory.createRtuMaster(Lcom/serotonin/io/serial/SerialParameters;I)Lcom/serotonin/modbus4j/<br />
ModbusMaster;<br />
at com.serotonin.mango.rt.dataSource.modbus.ModbusSerialDataSource.initialize(ModbusSerialDataSource.java:62)<br />
at com.serotonin.mango.rt.RuntimeManager.initializeDataSource(RuntimeManager.java:308)<br />
at com.serotonin.mango.rt.RuntimeManager.saveDataSource(RuntimeManager.java:292)<br />
at com.serotonin.mango.web.dwr.DataSourceListDwr.toggleDataSource(DataSourceListDwr.java:69)<br />
at com.serotonin.mango.web.dwr.DataSourceEditDwr.toggleEditDataSource(DataSourceEditDwr.java:304)<br />
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br />
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />
at java.lang.reflect.Method.invoke(Method.java:597)<br />
at org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34)<br />
at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)<br />
at com.serotonin.mango.web.dwr.util.LoggedInAjaxFilter.doFilter(LoggedInAjaxFilter.java:39)<br />
at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)<br />
at com.serotonin.web.dwr.LocalizationFilter.doFilter(LocalizationFilter.java:42)<br />
at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)<br />
at com.serotonin.mango.web.filter.ExceptionDetectionFilter.doFilter(ExceptionDetectionFilter.java:40)<br />
at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)<br />
at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:431)<br />
at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:283)<br />
at org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:52)<br />
at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:101)<br />
at org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:146)<br />
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)<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.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)<br />
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)<br />
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)<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:293)<br />
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)<br />
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)<br />
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)<br />
at java.lang.Thread.run(Thread.java:662)</p>
<p dir="auto">Attachment: <a href="http://archive.infiniteautomation.com/forum/posts/downloadAttach/89.page" rel="nofollow ugc">download link</a></p>
]]></description><link>https://forum.mango-os.com/topic/715/comport-scan-ok-but-modbus-serial-error</link><generator>RSS for Node</generator><lastBuildDate>Tue, 08 Sep 2026 06:55:14 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/715.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 20 Jan 2011 23:28:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Comport scan ok, but modbus serial error... on Fri, 21 Jan 2011 01:50:26 GMT]]></title><description><![CDATA[<p dir="auto">It looks like your Mango version is not compatible with the Modbus4J version you have. Did you update one and not the other?</p>
]]></description><link>https://forum.mango-os.com/post/5235</link><guid isPermaLink="true">https://forum.mango-os.com/post/5235</guid><dc:creator><![CDATA[mlohbihler]]></dc:creator><pubDate>Fri, 21 Jan 2011 01:50:26 GMT</pubDate></item></channel></rss>