Hi, please help ....
I build a small SMS receiver/sender server (not using built-in
smslib's SmsServer component, because some particular reason) using
spring and I use Tomcat 6 to deploy it
I use eclipse export >> war facility to deploy to not running Tomcat's
webapp folder
When I start the tomcat from within eclipse IDE .... everything run
smoothly... the SMS gateway service that I developed could send and
receives SMS.
But when I start the tomcat from COMMAND LINE dialog .... my app
cannot create the connection to my GSM modem. It says:
---------------------------------------------------------------------------------------------------------------------------------------------------------------
0 [Thread-1] INFO smslib - Version: 3.4.0
0 [Thread-1] INFO smslib - JRE Version: 1.6.0_03
0 [Thread-1] INFO smslib - JRE Impl Version: 1.6.0_03-b05
0 [Thread-1] INFO smslib - O/S: Windows XP / x86 / 5.1
31 [Thread-5] INFO smslib - GTW: siemensGateway: Starting gateway,
using Generic AT Handler.
31 [Thread-5] INFO smslib - GTW: siemensGateway: Opening: COM4 @57600
Exception in thread "Thread-5" java.lang.ExceptionInInitializerError
at org.smslib.modem.SerialModemDriver.connectPort
(SerialModemDriver.java:69)
at org.smslib.modem.AModemDriver.connect(AModemDriver.java:
110)
at org.smslib.modem.ModemGateway.startGateway
(ModemGateway.java:158)
at org.smslib.Service$1Starter.run(Service.java:238)
Caused by: java.lang.RuntimeException: CommPortIdentifier class not
found
at org.smslib.helper.CommPortIdentifier.<clinit>
(CommPortIdentifier.java:76)
---------------------------------------------------------------------------------------------------------------------------------------------------------------
Can anybody explain this?? .. because I plan to deploy my SMS service
in a form of window service ....
Thank you in advance
Bromo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SMSLib User Group" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/SMSLib?hl=en
-~----------~----~----~----~------~----~------~--~---