Previous Topic

Next Topic

Book Contents

Book Index

Troubleshooting COMM Windows Support Bundle

If you try to open a virtual port which was invalid for your system when the COMM Windows Bundle has started, the port will be disabled for opening. For example: if you plug a USB device mapped to the virtual port COM3, but the device was not attached when the COMM Windows Bundle started, a javax.comm.NoSuchPortException will be thrown and you will not be allowed to open the port. To be able to use the COM3 port, set the mbs.comm.devices (or comm.devices) system property to "COM3" to indicate that it has to skip the validity check on RXTX driver startup. If there are other ports which you want to open this way, you can list them all, for example:

set mbs.comm.devices = COM3,COM4,LPT2

Working with invalid virtual ports in such a way can lead to serious troubles in your system. That is why it is recommended to use an outside validation for these ports.

In case you are using a USB to Serial Converter, consider that the JVM system output will fail when closing the opened serial port.

See also