tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikolaj Rydzewski <>
Subject Re: unable to access comm ports on apache tomcat 6.0.18
Date Sat, 09 Oct 2010 15:56:42 GMT
ramkumar wrote:
>     I want to send SMS to mobile clients using GSM modem. Modem is
> connected to PC through COM port. I installed JAVA COMMUNICATION API. 
>     I am using ecclipse ide. I am able to run my web application from
> ecclipse ide by enabling apache tomcat server from the ide(By using  
> option run as server in Ecclipse). But after deploying my application in
> apache tomcat server i am unamblt access comm ports.
> I am using  APACHE TOMCAT and JAVA 1.6 on Windows xp platform.
> My part of code is:
>        SerialComm com1 = new SerialComm(null ,"COM1");
>        com1.setBitRate("115200");
> My full stack trace is
> java.lang.ClassNotFoundException: javax.comm.PortInUseException
Are you able to communicate with modem at all? Not from within 
webapplication / tomcat?
Make sure you can do it, then try to deploy your code to tomcat.

Mikolaj Rydzewski <>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message