On Tue, Jan 22, 2013 at 7:21 AM, pranjal rajput
<fighterjockey...@gmail.com>wrote:

> it also works well in the web application IF it is launched using eclipse
> IDE.
> All libraries are in place.
>
> but when the application is deployed on separate tomcat server, it throws
> following exception:
> Error in making serial connection gnu.io.NoSuchPortException
> gnu.io.NoSuchPortException
>         at
> gnu.io.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java:218)
>

1. Works when launched using eclipse ID means, launched from your
development server. Correct?

2. NoSuchPortException on a 'separate tomcat server' clearly means that
a/the port is not available on the 'target' tomcat server. Correct?

3. Did you compare the ports used when (1) deployed via eclipse IDE and (2)
deployed to a 'separate tomcat server'?

4. Upon reading your question, I searched google for '
gnu.io.NoSuchPortException', and the following was the first listed in the
search results.

http://stackoverflow.com/questions/274179/nosuchportexception-using-rxtx-java-library-on-windows

Reply via email to