A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
I/O and Streams
Unable to lis thte Comm Ports
Joined: Jan 25, 2007
Jun 03, 2007 11:29:00
I am developing a sms server app for a demo purpose...
When I run the web within the Netbeans IDE while development there is no problem...
The problem happens only when I deploy the app in a standalone Apache
(The one thats not integrated within Netbeans)..
Please note that both the development and deployment happened on the same machine with same state...
When I try to get a list of Comm ports available on the PC it doesnt work..
I am doing this with javax.comm.CommPortIdentifier within a
and not a
Meanwhile the GSM modem is connected to a local COMx port...
Please help me out in this
SCJP 1.4, SCWCD 1.4, SCMAD 1.0 SCBCD 1.3, MCP(.Net Frm 2.0 App Dev Fdn)
Joined: May 08, 2006
Jun 04, 2007 23:05:00
just try the following:
put comm.jar file in your <jre installation directory>/lib/ext if you are not having jdk installed. if you have jdk installed, than <jdk>/<jre>/<lib>/<ext> directory
please let me know whether you get a list or not.
I am also using comm.jar and able to display the list. The only thing is I am not using netbeans. But I dont think it should be a problem
I agree. Here's the link:
subject: Unable to lis thte Comm Ports
Websphere6 Problem: Multiple Server Profiles on a single machine.
Parallel and Serial Comm Using Java Comm API on Linux OS System
Servers In Netbeans or Eclipse
Accessing a virtual COMM port
problem in javax.comm
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014