Hi, i couldnt ps my ex post, sorry if its annoying,
I'm running on windows 7 with D-Link modem.
can some help me with the problem?
Here goes the log and some info that i thought might be useful:
# Set a different balancer than the default.
smsserver.balancer=RoundRobinLoadBalancer
#Set a different router than the default.
#smsserver.router=NumberPoolRouter
# Lets add a modem
gateway.0=modem1, SerialModem
modem1.port=COM4
modem1.baudrate=9600
modem1.manufacturer=DLINK
modem1.model=DWM-156
modem1.protocol=PDU
#modem1.pin=0000
modem1.inbound=no
modem1.outbound=yes
modem1.smsc_number=
modem1.init_string=ATZ\rATZ\rATZ\r
# Here is an example of a MySQL database interface.
interface.0=db1, Database
db1.type=mysql
db1.url=jdbc:mysql://localhost:3306/SMS?autoReconnect=true
db1.driver=com.mysql.jdbc.Driver
db1.username=root
db1.password=thisismine
db1.tables.sms_in=
db1.tables.sms_out=
db1.tables.calls=
db1.batch_size=50
db1.retries=2
db1.update_outbound_on_statusreport=yes
# Here is an example of a SimpleInboundFileLogger interface.
interface.1=file1, SimpleInboundFileLogger, inbound
file1.filename=c:/logger.txt
#Interval for processing inbound messages (in seconds)
settings.inbound_interval=600
#Interval for processing outbound queues (in seconds)
settings.outbound_interval=60
#After reading, should SMSServer delete the processed messages from
the gateways?
#Default is "no" for safety. Set to "yes" if you wish to delete
messages.
#If you leave it to "no", SMSServer will process the same messages
over and over again!
settings.delete_after_processing=yes
# Should SMSServer work in sync or async sending mode?
# Async mode forwards messages to gateway queues.
# Values can be "sync" and "async".
settings.send_mode = sync
*The other settings hasn't been changed.
log:
90474 2012-07-01 14:10:22,100 [WatchDog] DEBUG
org.smslib.threading.AServiceThr
ead - Running...
90514 2012-07-01 14:10:22,140 [CNMIEmulatorProcessor [modem1]] DEBUG
org.smslib
.threading.AServiceThread - ** disabled **
94209 2012-07-01 14:10:25,835 [QueueManager [modem1]] DEBUG
org.smslib.threadin
g.AServiceThread - Running...
99209 2012-07-01 14:10:30,835 [QueueManager [modem1]] DEBUG
org.smslib.threadin
g.AServiceThread - Running...
104209 2012-07-01 14:10:35,835 [QueueManager [modem1]] DEBUG
org.smslib.threadin
g.AServiceThread - Running...
105475 2012-07-01 14:10:37,101 [WatchDog] DEBUG
org.smslib.threading.AServiceThr
ead - Running...
109210 2012-07-01 14:10:40,836 [QueueManager [modem1]] DEBUG
org.smslib.threadin
g.AServiceThread - Running...
114210 2012-07-01 14:10:45,836 [QueueManager [modem1]] DEBUG
org.smslib.threadin
g.AServiceThread - Running...
119210 2012-07-01 14:10:50,836 [QueueManager [modem1]] DEBUG
org.smslib.threadin
g.AServiceThread - Running...
120475 2012-07-01 14:10:52,101 [WatchDog] DEBUG
org.smslib.threading.AServiceThr
ead - Running...
120514 2012-07-01 14:10:52,140 [CNMIEmulatorProcessor [modem1]] DEBUG
org.smslib
.threading.AServiceThread - ** disabled **
124212 2012-07-01 14:10:55,838 [QueueManager [modem1]] DEBUG
org.smslib.threadin
g.AServiceThread - Running...
128577 2012-07-01 14:11:00,203 [KeepAlive [modem1]] DEBUG
org.smslib.threading.A
ServiceThread - Running...
129213 2012-07-01 14:11:00,839 [QueueManager [modem1]] DEBUG
org.smslib.threadin
g.AServiceThread - Running...
134213 2012-07-01 14:11:05,839 [QueueManager [modem1]] DEBUG
org.smslib.threadin
g.AServiceThread - Running...
134324 2012-07-01 14:11:05,950 [SMSServer - OutboundPollingThread]
DEBUG org.sms
lib.modem.AModemDriver - GTW: modem1: Buffer contents on timeout:
134324 2012-07-01 14:11:05,950 [SMSServer - OutboundPollingThread]
WARN org.sms
lib.Service - sendMessage(): Gateway modem1 does not respond, marking
for resta
rt.
134324 2012-07-01 14:11:05,950 [KeepAlive [modem1]] DEBUG
org.smslib.modem.AMode
mDriver - GTW: modem1: SEND :AT(cr)
134325 2012-07-01 14:11:05,951 [NotifyQueueManager] DEBUG
org.smslib.notify.Noti
fyQueueManager$NotificationQueueManager - NotifyQueueManager end...
134427 2012-07-01 14:11:06,053 [NotifyQueueManager] DEBUG
org.smslib.threading.A
ServiceThread - Running...
134427 2012-07-01 14:11:06,053 [NotifyQueueManager] DEBUG
org.smslib.notify.Noti
fyQueueManager$NotificationQueueManager - NotifyQueueManager
running...
135477 2012-07-01 14:11:07,103 [WatchDog] DEBUG
org.smslib.threading.AServiceThr
ead - Running...
135477 2012-07-01 14:11:07,103 [WatchDog] WARN org.smslib.Service
$WatchDog - G
ateway: modem1 restarting.
135477 2012-07-01 14:11:07,103 [WatchDog] INFO
org.smslib.modem.ModemGateway -
GTW: modem1: Stopping gateway...
135478 2012-07-01 14:11:07,104 [NotifyQueueManager] DEBUG
org.smslib.notify.Noti
fyQueueManager$NotificationQueueManager - NotifyQueueManager end...
135478 2012-07-01 14:11:07,104 [QueueManager [modem1]] DEBUG
org.smslib.threadin
g.AServiceThread - Stopped.
135480 2012-07-01 14:11:07,106 [KeepAlive [modem1]] WARN
org.smslib.modem.AMode
mDriver$CharQueue - GTW: modem1: Re-throwing InterruptedException in
Queue.peek
() - should be during shutdown...
java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at org.smslib.modem.AModemDriver
$CharQueue.peek(AModemDriver.java:560)
at org.smslib.modem.AModemDriver.getResponse(AModemDriver.java:
332)
at org.smslib.modem.AModemDriver.getResponse(AModemDriver.java:
313)
at org.smslib.modem.athandler.ATHandler.isAlive(ATHandler.java:
136)
at org.smslib.modem.AModemDriver
$KeepAlive.process(AModemDriver.java:682
)
at org.smslib.threading.AServiceThread.run(AServiceThread.java:
105)
135482 2012-07-01 14:11:07,108 [KeepAlive [modem1]] WARN
org.smslib.modem.AMode
mDriver - GTW: modem1: GetResponse() Interrupted.
java.lang.InterruptedException
at org.smslib.modem.AModemDriver
$CharQueue.peek(AModemDriver.java:570)
at org.smslib.modem.AModemDriver.getResponse(AModemDriver.java:
332)
at org.smslib.modem.AModemDriver.getResponse(AModemDriver.java:
313)
at org.smslib.modem.athandler.ATHandler.isAlive(ATHandler.java:
136)
at org.smslib.modem.AModemDriver
$KeepAlive.process(AModemDriver.java:682
)
at org.smslib.threading.AServiceThread.run(AServiceThread.java:
105)
135580 2012-07-01 14:11:07,206 [NotifyQueueManager] DEBUG
org.smslib.threading.A
ServiceThread - Running...
135580 2012-07-01 14:11:07,206 [NotifyQueueManager] DEBUG
org.smslib.notify.Noti
fyQueueManager$NotificationQueueManager - NotifyQueueManager
running...
135581 2012-07-01 14:11:07,207 [NotifyQueueManager] DEBUG
org.smslib.notify.Noti
fyQueueManager$NotificationQueueManager - NotifyQueueManager end...
135681 2012-07-01 14:11:07,307 [NotifyQueueManager] DEBUG
org.smslib.threading.A
ServiceThread - Running...
135681 2012-07-01 14:11:07,307 [NotifyQueueManager] DEBUG
org.smslib.notify.Noti
fyQueueManager$NotificationQueueManager - NotifyQueueManager
running...
135681 2012-07-01 14:11:07,307 [NotifyQueueManager] DEBUG
org.smslib.notify.Noti
fyQueueManager$NotificationQueueManager - NotifyQueueManager end...
135782 2012-07-01 14:11:07,408 [NotifyQueueManager] DEBUG
org.smslib.threading.A
ServiceThread - Running...
135782 2012-07-01 14:11:07,408 [NotifyQueueManager] DEBUG
org.smslib.notify.Noti
fyQueueManager$NotificationQueueManager - NotifyQueueManager
running...
150515 2012-07-01 14:11:22,141 [CNMIEmulatorProcessor [modem1]] DEBUG
org.smslib
.threading.AServiceThread - ** disabled **
160914 2012-07-01 14:11:32,540 [SMSlib-ModemReader-modem1] DEBUG
org.smslib.mode
m.AModemDriver$ModemReader - GTW: modem1: ModemReader thread ended.
180516 2012-07-01 14:11:52,142 [CNMIEmulatorProcessor [modem1]] DEBUG
org.smslib
.threading.AServiceThread - ** disabled **
194378 2012-07-01 14:12:06,004 [SMSServer - OutboundPollingThread]
DEBUG org.sms
lib.smsserver.SMSServer$OutboundPollingThread -
OutboundPollingThread() run.
194485 2012-07-01 14:12:06,111 [SMSServer - OutboundPollingThread]
INFO org.sms
lib.smsserver.SMSServer - SMSServer: sending synchronously...
195484 2012-07-01 14:12:07,110 [CNMIEmulatorProcessor [modem1]] DEBUG
org.smslib
.threading.AServiceThread - Stopped.
195484 2012-07-01 14:12:07,110 [SMSLib-AsyncNotifier : modem1] DEBUG
org.smslib.
modem.AModemDriver$AsyncNotifier - GTW: modem1: AsyncNotifier thread
ended.
195485 2012-07-01 14:12:07,111 [SMSLib-AsyncMessageProcessor : modem1]
DEBUG org
.smslib.modem.AModemDriver$AsyncMessageProcessor - GTW: modem1:
AsyncMessagePro
cessor thread ended.
195486 2012-07-01 14:12:07,112 [WatchDog] INFO
org.smslib.modem.SerialModemDriv
er - GTW: modem1: Closing: COM4 @9600
195486 2012-07-01 14:12:07,112 [WatchDog] INFO
org.smslib.modem.ModemGateway -
GTW: modem1: Gateway stopped.
195486 2012-07-01 14:12:07,112 [WatchDog] INFO
org.smslib.modem.ModemGateway -
GTW: modem1: Starting gateway, using Generic AT Handler.
195486 2012-07-01 14:12:07,112 [NotifyQueueManager] DEBUG
org.smslib.notify.Noti
fyQueueManager$NotificationQueueManager - NotifyQueueManager end...
195487 2012-07-01 14:12:07,113 [WatchDog] INFO
org.smslib.modem.SerialModemDriv
er - GTW: modem1: Opening: COM4 @9600
195587 2012-07-01 14:12:07,213 [NotifyQueueManager] DEBUG
org.smslib.threading.A
ServiceThread - Running...
195587 2012-07-01 14:12:07,213 [NotifyQueueManager] DEBUG
org.smslib.notify.Noti
fyQueueManager$NotificationQueueManager - NotifyQueueManager
running...
197488 2012-07-01 14:12:09,114 [WatchDog] INFO
org.smslib.modem.SerialModemDriv
er - GTW: modem1: Closing: COM4 @9600
197489 2012-07-01 14:12:09,115 [WatchDog] ERROR org.smslib.Service
$WatchDog - E
rror while starting Gateway: modem1
org.smslib.GatewayException: Comm library exception:
java.lang.RuntimeException:
javax.comm.PortInUseException: Port currently owned by Unknown
Windows Applicat
ion
at
org.smslib.modem.SerialModemDriver.connectPort(SerialModemDriver.java
:102)
at org.smslib.modem.AModemDriver.connect(AModemDriver.java:
114)
at
org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:189)
at org.smslib.Service$WatchDog.process(Service.java:1597)
at org.smslib.threading.AServiceThread.run(AServiceThread.java:
105)
197489 2012-07-01 14:12:09,115 [NotifyQueueManager] DEBUG
org.smslib.notify.Noti
fyQueueManager$NotificationQueueManager - NotifyQueueManager end...
197591 2012-07-01 14:12:09,217 [NotifyQueueManager] DEBUG
org.smslib.threading.A
ServiceThread - Running...
197591 2012-07-01 14:12:09,217 [NotifyQueueManager] DEBUG
org.smslib.notify.Noti
fyQueueManager$NotificationQueueManager - NotifyQueueManager
running...
204482 2012-07-01 14:12:16,108 [Thread-0] INFO
org.smslib.smsserver.SMSServer$S
hutdown - SMSServer shutting down, please wait...
204490 2012-07-01 14:12:16,116 [main] INFO
org.smslib.smsserver.SMSServer - SM
SServer exiting normally.
204542 2012-07-01 14:12:16,168 [Thread-0] INFO
org.smslib.smsserver.interfaces.
Interface - SMSServer: interface:
org.smslib.smsserver.interfaces.Database stop
ped.
204543 2012-07-01 14:12:16,169 [Thread-0] INFO
org.smslib.smsserver.interfaces.
Interface - SMSServer: interface:
org.smslib.smsserver.interfaces.SimpleInbound
FileLogger stopped.
204543 2012-07-01 14:12:16,169 [DelayQueueManager] DEBUG
org.smslib.queues.Abstr
actQueueManager$DelayQueueManager - DelayQueueManager end...
204744 2012-07-01 14:12:16,370 [WatchDog] DEBUG
org.smslib.threading.AServiceThr
ead - Stopped.
204744 2012-07-01 14:12:16,370 [Thread-0] INFO
org.smslib.modem.ModemGateway -
GTW: modem1: Stopping gateway...
204745 2012-07-01 14:12:16,371 [NotifyQueueManager] DEBUG
org.smslib.notify.Noti
fyQueueManager$NotificationQueueManager - NotifyQueueManager end...
204745 2012-07-01 14:12:16,371 [Thread-0] INFO
org.smslib.modem.SerialModemDriv
er - GTW: modem1: Closing: COM4 @9600
204745 2012-07-01 14:12:16,371 [Thread-0] INFO
org.smslib.modem.ModemGateway -
GTW: modem1: Gateway stopped.
204845 2012-07-01 14:12:16,471 [NotifyQueueManager] DEBUG
org.smslib.threading.A
ServiceThread - Running...
204845 2012-07-01 14:12:16,471 [NotifyQueueManager] DEBUG
org.smslib.notify.Noti
fyQueueManager$NotificationQueueManager - NotifyQueueManager
running...
204845 2012-07-01 14:12:16,471 [NotifyQueueManager] DEBUG
org.smslib.notify.Noti
fyQueueManager$NotificationQueueManager - NotifyQueueManager end...
204947 2012-07-01 14:12:16,573 [SMSServer - InboundPollingThread]
DEBUG org.smsl
ib.smsserver.SMSServer$InboundPollingThread - InboundPollingThread()
interrupte
d.
204948 2012-07-01 14:12:16,574 [SMSServer - OutboundPollingThread]
DEBUG org.sms
lib.smsserver.SMSServer$OutboundPollingThread -
OutboundPollingThread() interru
pted.
Thanks in advance
--
You received this message because you are subscribed to the Google Groups
"SMSLib Discussion 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.