hi,
I have some problem to connect datasource with modbus serial interface,
the web page detect all my serial port, I see the serial activity in the preliminary serial port scan
with a blink led rx tx on my arduino board, but if i configure the data source and then enable it,
cause a java exception logged on apache-tomcat windows.
this problem is present on my two different machine configuration:
conf1:
amd x64 with windows 7 x64 ultimate
google chrome 8
java jdk last ver
rxtx and dll for x64 OS
FDTI serial interface (USB)
conf2:
vmware x86 windows xp pro sp3
google chrome8
java jdk last version
rxtx and dll for x86 OS(included rxtx don'twork)
phisical com rs232 (linked on vmware hardware config to FDTI serial port on host os)
Please help me!!
thx for all,
append a printscreen of error:
append a apache-tomcat log:
INFO: Server startup in 21795 ms
Stable Library
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
ERROR 2011-01-20 23:46:03,441 (com.serotonin.mango.web.filter.ExceptionDetectionFilter.doFilter:52) - DWR invocation exception
java.lang.NoSuchMethodError: com.serotonin.modbus4j.ModbusFactory.createRtuMaster(Lcom/serotonin/io/serial/SerialParameters;I)Lcom/serotonin/modbus4j/
ModbusMaster;
at com.serotonin.mango.rt.dataSource.modbus.ModbusSerialDataSource.initialize(ModbusSerialDataSource.java:62)
at com.serotonin.mango.rt.RuntimeManager.initializeDataSource(RuntimeManager.java:308)
at com.serotonin.mango.rt.RuntimeManager.saveDataSource(RuntimeManager.java:292)
at com.serotonin.mango.web.dwr.DataSourceListDwr.toggleDataSource(DataSourceListDwr.java:69)
at com.serotonin.mango.web.dwr.DataSourceEditDwr.toggleEditDataSource(DataSourceEditDwr.java:304)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34)
at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)
at com.serotonin.mango.web.dwr.util.LoggedInAjaxFilter.doFilter(LoggedInAjaxFilter.java:39)
at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)
at com.serotonin.web.dwr.LocalizationFilter.doFilter(LocalizationFilter.java:42)
at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)
at com.serotonin.mango.web.filter.ExceptionDetectionFilter.doFilter(ExceptionDetectionFilter.java:40)
at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)
at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:431)
at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:283)
at org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:52)
at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:101)
at org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:146)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Thread.java:662)
Attachment: download link