This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to lis thte Comm Ports

 
Deepan Devadasan
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI

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 Tomcat (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 JSP and not a Servlet...

Meanwhile the GSM modem is connected to a local COMx port...

Please help me out in this
 
Tapan Maru
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic