tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid <...@pidster.com>
Subject Re: unable to access comm ports on apache tomcat 6.0.18
Date Sat, 09 Oct 2010 16:03:30 GMT
On 09/10/2010 16:56, Mikolaj Rydzewski wrote:
> 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 1.6.0.18 and JAVA 1.6 on Windows xp platform.
>>
>> My part of code is:
>>        SerialComm com1 = new SerialComm(null ,"COM1");
>>        com1.setBitRate("115200");
>>        COM1.OPEN(); // HERE I AM GETTING EXCEPTION
>>
>> My full stack trace is
>>
>> java.lang.ClassNotFoundException: javax.comm.PortInUseException

Case closed.  You haven't included the javax.comm API jar in the
application.


p

Mime
View raw message