nguyenbahuong / smslib

Automatically exported from code.google.com/p/smslib
0 stars 0 forks source link

Re:Opening@115200,Closing@115200 using Wavecom Generic <At Handler> #502

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi

   i have already installed the Wavecom At handler in windows 7 and when trying to install in another machine with the windows xp configuration cannot able to open the Wavecom modem with the baudrate 115200 which i used to install in earlier system,i have tried with all the baud rates it is giving same error

 The log is as follows:

D:\Sms\SMSMiddleware Executables>cd D:\Sms\SMSMiddlewareExecutables
The system cannot find the path specified.

D:\Sms\SMSMiddleware Executables>set path=D:\Program Files\Java\jdk1.7.0\bin

D:\Sms\SMSMiddleware Executables>set classpath=D:\Program Files\Java\jdk1.7.0\li
b

D:\Sms\SMSMiddleware Executables>java -jar SMSMiddleWare.jar
SMSLib: A Java API library for sending and receiving SMS via a GSM modem or othe
r supported gateways.
This software is distributed under the terms of the Apache v2.0 License.
Web Site: http://smslib.org

SMSLib API version: 3.4.6
SMSServer version: 3.4.6
0      2012-08-24 20:44:42,156 [main] INFO  org.smslib.helper.Logger  - SMSLib:
A Java API library for sending and receiving SMS via a GSM modem or other suppor
ted gateways.
This software is distributed under the terms of the Apache v2.0 License.
Web Site: http://smslib.org
15     2012-08-24 20:44:42,171 [main] INFO  org.smslib.helper.Logger  - Version:
 3.4.6
15     2012-08-24 20:44:42,171 [main] INFO  org.smslib.helper.Logger  - JRE Vers
ion: 1.7.0
15     2012-08-24 20:44:42,171 [main] INFO  org.smslib.helper.Logger  - JRE Impl
 Version: 21.0-b17
15     2012-08-24 20:44:42,171 [main] INFO  org.smslib.helper.Logger  - O/S: Win
dows XP / x86 / 5.1
15     2012-08-24 20:44:42,171 [main] DEBUG org.smslib.helper.Logger  - Initiali
zed.
31     2012-08-24 20:44:42,187 [DelayQueueManager] DEBUG org.smslib.helper.Logge
r  - Running...
31     2012-08-24 20:44:42,187 [DelayQueueManager] DEBUG org.smslib.helper.Logge
r  - DelayQueueManager running...
31     2012-08-24 20:44:42,187 [main] DEBUG org.smslib.helper.Logger  - Initiali
zed.
31     2012-08-24 20:44:42,187 [NotifyQueueManager] DEBUG org.smslib.helper.Logg
er  - Running...
31     2012-08-24 20:44:42,187 [NotifyQueueManager] DEBUG org.smslib.helper.Logg
er  - NotifyQueueManager running...
31     2012-08-24 20:44:42,187 [main] INFO  org.smslib.helper.Logger  - SMSServe
r: set balancer to: RoundRobinLoadBalancer
78     2012-08-24 20:44:42,234 [main] INFO  org.smslib.helper.Logger  - SMSServe
r: added gateway modem1 / Default Serial Modem Gateway.
78     2012-08-24 20:44:42,234 [main] INFO  org.smslib.helper.Logger  - SMSServe
r: added interface db1 / Default database interface. / INOUTBOUND
78     2012-08-24 20:44:42,234 [main] INFO  org.smslib.helper.Logger  - SMSServe
r: added interface file1 / Simple file logger for inbound messages. / INBOUND
515    2012-08-24 20:44:42,671 [main] INFO  org.smslib.helper.Logger  - SMSServe
r: interface: org.smslib.smsserver.interfaces.Database started.
515    2012-08-24 20:44:42,671 [main] INFO  org.smslib.helper.Logger  - SMSServe
r: interface: org.smslib.smsserver.interfaces.SimpleInboundFileLogger started.
515    2012-08-24 20:44:42,671 [main] DEBUG org.smslib.helper.Logger  - Initiali
zed.
515    2012-08-24 20:44:42,671 [WatchDog] DEBUG org.smslib.helper.Logger  - Runn
ing...
515    2012-08-24 20:44:42,671 [Thread-4] INFO  org.smslib.helper.Logger  - GTW:
 modem1: Starting gateway, using Wavecom (Generic) AT Handler.
515    2012-08-24 20:44:42,671 [Thread-4] INFO  org.smslib.helper.Logger  - GTW:
 modem1: Opening: COM6 @115200
531    2012-08-24 20:44:42,687 [Thread-4] INFO  org.smslib.helper.Logger  - GTW:
 modem1: Closing: COM6 @115200
1515   2012-08-24 20:44:43,671 [NotifyQueueManager] DEBUG org.smslib.helper.Logg
er  - NotifyQueueManager end...
1515   2012-08-24 20:44:43,671 [DelayQueueManager] DEBUG org.smslib.helper.Logge
r  - Stopped.
1515   2012-08-24 20:44:43,671 [WatchDog] DEBUG org.smslib.helper.Logger  - Stop
ped.
1515   2012-08-24 20:44:43,671 [main] INFO  org.smslib.helper.Logger  - GTW: mod
em1: Stopping gateway...
1515   2012-08-24 20:44:43,671 [main] DEBUG org.smslib.helper.Logger  - GTW: mod
em1: SEND :AT+WATH=31(cr)
1515   2012-08-24 20:44:43,671 [main] INFO  org.smslib.helper.Logger  - SMSServe
r: interface: org.smslib.smsserver.interfaces.Database stopped.
1515   2012-08-24 20:44:43,671 [main] INFO  org.smslib.helper.Logger  - SMSServe
r: interface: org.smslib.smsserver.interfaces.SimpleInboundFileLogger stopped.
1515   2012-08-24 20:44:43,671 [main] INFO  org.smslib.helper.Logger  - GTW: mod
em1: Stopping gateway...
1515   2012-08-24 20:44:43,671 [main] DEBUG org.smslib.helper.Logger  - GTW: mod
em1: SEND :AT+WATH=31(cr)
1515   2012-08-24 20:44:43,671 [main] ERROR org.smslib.helper.Logger  - SMSServe
r Error:
java.lang.NullPointerException
        at org.smslib.modem.SerialModemDriver.write(SerialModemDriver.java:161)
        at org.smslib.modem.AModemDriver.write(AModemDriver.java:301)
        at org.smslib.modem.athandler.ATHandler_Wavecom.done(ATHandler_Wavecom.j
ava:51)
        at org.smslib.modem.ModemGateway.stopGateway(ModemGateway.java:196)
        at org.smslib.Service.stopService(Service.java:399)
        at org.smslib.smsserver.SMSServer.run(SMSServer.java:341)
        at org.smslib.smsserver.SMSServer.main(SMSServer.java:629)
1531   2012-08-24 20:44:43,687 [main] INFO  org.smslib.helper.Logger  - GTW: mod
em1: Stopping gateway...
1531   2012-08-24 20:44:43,687 [main] DEBUG org.smslib.helper.Logger  - GTW: mod
em1: SEND :AT+WATH=31(cr)
1531   2012-08-24 20:44:43,687 [main] ERROR org.smslib.helper.Logger  - SMSServe
r error while shutting down:
java.lang.NullPointerException
        at org.smslib.modem.SerialModemDriver.write(SerialModemDriver.java:161)
        at org.smslib.modem.AModemDriver.write(AModemDriver.java:301)
        at org.smslib.modem.athandler.ATHandler_Wavecom.done(ATHandler_Wavecom.j
ava:51)
        at org.smslib.modem.ModemGateway.stopGateway(ModemGateway.java:196)
        at org.smslib.Service.stopService(Service.java:399)
        at org.smslib.smsserver.SMSServer.main(SMSServer.java:634)
1625   2012-08-24 20:44:43,781 [NotifyQueueManager] DEBUG org.smslib.helper.Logg
er  - Running...
1625   2012-08-24 20:44:43,781 [NotifyQueueManager] DEBUG org.smslib.helper.Logg
er  - NotifyQueueManager running...

Below is the attached settings file for the server

Help me in this issue.

Regards
Sameer

Original issue reported on code.google.com by hi.this....@gmail.com on 24 Aug 2012 at 3:37

Attachments:

GoogleCodeExporter commented 9 years ago
Version 3.4.6 is no longer supported - please use the latest one!

Original comment by admin@smslib.org on 26 Aug 2012 at 4:02