camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From awillia <antony.willi...@fronde.com>
Subject Re: Unreleased thread, possible in SMPP component
Date Tue, 25 Oct 2011 22:30:47 GMT
I have been looking into this further. Below is the log while it is trying to
connect to the SMS-C.

I actually think it might be constantly reconnecting, even though it may not
need to. So it may actually be the SMPPProducer.

It attempts twice each time. The first one receives a negative bind response
and the second seems to connect. But then a new set of threads does it all
over again. If I restart it seems to connect properly again.

So I think it is either creating multiple SMPPProducers or new threads to
keep trying to connect all the time.

2011-10-26 10:55:30,089 [Thread-229] INFO  - Trying to reconnect provider to
smpp://FRONDETEST@202.73.206.71:5000 - attempt #1...
2011-10-26 10:55:30,105 [Thread-229] INFO  - Connected
2011-10-26 10:55:30,106 [Thread-232] INFO  - Starting PDUReaderWorker with
processor degree:3 ...
2011-10-26 10:55:30,122 [Thread-232] WARN  - Lost provider connection to:
smpp://FRONDETEST@202.73.206.71:5000 - trying to reconnect...
2011-10-26 10:55:30,122 [Thread-229] ERROR - Receive negative bind response
org.jsmpp.extra.NegativeResponseException: Negative response 0000000d found
        at
org.jsmpp.session.AbstractSession.validateResponse(AbstractSession.java:215)
        at
org.jsmpp.session.AbstractSession.executeSendCommand(AbstractSession.java:271)
        at org.jsmpp.session.SMPPSession.sendBind(SMPPSession.java:294)
        at
org.jsmpp.session.SMPPSession.connectAndBind(SMPPSession.java:232)
        at
org.jsmpp.session.SMPPSession.connectAndBind(SMPPSession.java:200)
        at
org.apache.camel.component.smpp.SmppProducer.createSession(SmppProducer.java:93)
        at
org.apache.camel.component.smpp.SmppProducer.access$500(SmppProducer.java:48)
        at
org.apache.camel.component.smpp.SmppProducer$2.run(SmppProducer.java:225)
        at java.lang.Thread.run(Thread.java:679)
2011-10-26 10:55:30,123 [Thread-229] INFO  - Failed to reconnect provider to
smpp://FRONDETEST@202.73.206.71:5000
2011-10-26 10:55:30,124 [Thread-232] INFO  - PDUReaderWorker stop
2011-10-26 10:55:32,643 [Thread-230] WARN  - Lost provider connection to:
smpp://FRONDETEST@202.73.206.71:5000 - trying to reconnect...
2011-10-26 10:55:33,643 [Thread-233] INFO  - Schedule reconnect after 5000
millis
2011-10-26 10:55:35,123 [Thread-229] INFO  - Trying to reconnect provider to
smpp://FRONDETEST@202.73.206.71:5000 - attempt #2...
2011-10-26 10:55:35,139 [Thread-229] INFO  - Connected
2011-10-26 10:55:35,140 [Thread-234] INFO  - Starting PDUReaderWorker with
processor degree:3 ...
2011-10-26 10:55:35,156 [Thread-229] INFO  - Connected to:
smpp://user@domain:5000
2011-10-26 10:55:35,156 [Thread-235] INFO  - Starting EnquireLinkSender
2011-10-26 10:55:35,156 [Thread-229] INFO  - Reconnected to
smpp://FRONDETEST@202.73.206.71:5000
2011-10-26 10:55:35,157 [Thread-227] INFO  - EnquireLinkSender stop
2011-10-26 10:55:38,644 [Thread-233] INFO  - Trying to reconnect provider to
smpp://FRONDETEST@202.73.206.71:5000 - attempt #1...
2011-10-26 10:55:38,660 [Thread-233] INFO  - Connected
2011-10-26 10:55:38,660 [Thread-236] INFO  - Starting PDUReaderWorker with
processor degree:3 ...
2011-10-26 10:55:38,676 [Thread-236] WARN  - Lost provider connection to:
smpp://FRONDETEST@202.73.206.71:5000 - trying to reconnect...
2011-10-26 10:55:38,676 [Thread-233] ERROR - Receive negative bind response
org.jsmpp.extra.NegativeResponseException: Negative response 0000000d found
        at
org.jsmpp.session.AbstractSession.validateResponse(AbstractSession.java:215)
        at
org.jsmpp.session.AbstractSession.executeSendCommand(AbstractSession.java:271)
        at org.jsmpp.session.SMPPSession.sendBind(SMPPSession.java:294)
        at
org.jsmpp.session.SMPPSession.connectAndBind(SMPPSession.java:232)
        at
org.jsmpp.session.SMPPSession.connectAndBind(SMPPSession.java:200)
        at
org.apache.camel.component.smpp.SmppProducer.createSession(SmppProducer.java:93)
        at
org.apache.camel.component.smpp.SmppProducer.access$500(SmppProducer.java:48)
        at
org.apache.camel.component.smpp.SmppProducer$2.run(SmppProducer.java:225)
        at java.lang.Thread.run(Thread.java:679)
2011-10-26 10:55:38,677 [Thread-233] INFO  - Failed to reconnect provider to
smpp://FRONDETEST@202.73.206.71:5000
2011-10-26 10:55:38,678 [Thread-236] INFO  - PDUReaderWorker stop
2011-10-26 10:55:41,190 [Thread-234] WARN  - Lost provider connection to:
smpp://FRONDETEST@202.73.206.71:5000 - trying to reconnect...
2011-10-26 10:55:42,191 [Thread-237] INFO  - Schedule reconnect after 5000
millis
2011-10-26 10:55:43,677 [Thread-233] INFO  - Trying to reconnect provider to
smpp://FRONDETEST@202.73.206.71:5000 - attempt #2...
2011-10-26 10:55:43,693 [Thread-233] INFO  - Connected
2011-10-26 10:55:43,694 [Thread-238] INFO  - Starting PDUReaderWorker with
processor degree:3 ...
2011-10-26 10:55:43,710 [Thread-233] INFO  - Connected to:
smpp://user@domain:5000
2011-10-26 10:55:43,710 [Thread-239] INFO  - Starting EnquireLinkSender
2011-10-26 10:55:43,710 [Thread-233] INFO  - Reconnected to
smpp://FRONDETEST@202.73.206.71:5000
2011-10-26 10:55:43,711 [Thread-231] INFO  - EnquireLinkSender stop
2011-10-26 10:55:46,599 [Camel (fmdCamelContext) thread #26 -
JmsConsumer[fmd:gateway:send:test-smpp2]] WARN  - Quota of 200 reached for
application. Num                                                      ber of
messages sent is 222
2011-10-26 10:55:46,633 [Camel (fmdCamelContext) thread #24 -
JmsConsumer[fmd:gateway:send:test-smpp1]] WARN  - Quota of 100 reached for
application. Num                                                      ber of
messages sent is 126
2011-10-26 10:55:47,191 [Thread-237] INFO  - Trying to reconnect provider to
smpp://FRONDETEST@202.73.206.71:5000 - attempt #1...
2011-10-26 10:55:47,208 [Thread-237] INFO  - Connected
2011-10-26 10:55:47,208 [Thread-240] INFO  - Starting PDUReaderWorker with
processor degree:3 ...
2011-10-26 10:55:47,227 [Thread-240] WARN  - Lost provider connection to:
smpp://FRONDETEST@202.73.206.71:5000 - trying to reconnect...
2011-10-26 10:55:47,227 [Thread-237] ERROR - Receive negative bind response
org.jsmpp.extra.NegativeResponseException: Negative response 0000000d found
        at
org.jsmpp.session.AbstractSession.validateResponse(AbstractSession.java:215)
        at
org.jsmpp.session.AbstractSession.executeSendCommand(AbstractSession.java:271)
        at org.jsmpp.session.SMPPSession.sendBind(SMPPSession.java:294)
        at
org.jsmpp.session.SMPPSession.connectAndBind(SMPPSession.java:232)
        at
org.jsmpp.session.SMPPSession.connectAndBind(SMPPSession.java:200)
        at
org.apache.camel.component.smpp.SmppProducer.createSession(SmppProducer.java:93)
        at
org.apache.camel.component.smpp.SmppProducer.access$500(SmppProducer.java:48)
        at
org.apache.camel.component.smpp.SmppProducer$2.run(SmppProducer.java:225)
        at java.lang.Thread.run(Thread.java:679)
2011-10-26 10:55:47,228 [Thread-237] INFO  - Failed to reconnect provider to
smpp://FRONDETEST@202.73.206.71:5000
2011-10-26 10:55:47,229 [Thread-240] INFO  - PDUReaderWorker stop
2011-10-26 10:55:49,745 [Thread-238] WARN  - Lost provider connection to:
smpp://FRONDETEST@202.73.206.71:5000 - trying to reconnect...
2011-10-26 10:55:50,745 [Thread-241] INFO  - Schedule reconnect after 5000
millis
2011-10-26 10:55:52,228 [Thread-237] INFO  - Trying to reconnect provider to
smpp://FRONDETEST@202.73.206.71:5000 - attempt #2...
2011-10-26 10:55:52,244 [Thread-237] INFO  - Connected
2011-10-26 10:55:52,245 [Thread-242] INFO  - Starting PDUReaderWorker with
processor degree:3 ...
2011-10-26 10:55:52,262 [Thread-237] INFO  - Connected to:
smpp://user@domain:5000
2011-10-26 10:55:52,262 [Thread-243] INFO  - Starting EnquireLinkSender
2011-10-26 10:55:52,262 [Thread-237] INFO  - Reconnected to
smpp://FRONDETEST@202.73.206.71:5000
2011-10-26 10:55:52,263 [Thread-235] INFO  - EnquireLinkSender stop
2011-10-26 10:55:55,746 [Thread-241] INFO  - Trying to reconnect provider to
smpp://FRONDETEST@202.73.206.71:5000 - attempt #1...
2011-10-26 10:55:55,761 [Thread-241] INFO  - Connected
2011-10-26 10:55:55,762 [Thread-244] INFO  - Starting PDUReaderWorker with
processor degree:3 ...
2011-10-26 10:55:55,778 [Thread-244] WARN  - Lost provider connection to:
smpp://FRONDETEST@202.73.206.71:5000 - trying to reconnect...
2011-10-26 10:55:55,778 [Thread-241] ERROR - Receive negative bind response
org.jsmpp.extra.NegativeResponseException: Negative response 0000000d found
        at
org.jsmpp.session.AbstractSession.validateResponse(AbstractSession.java:215)
        at
org.jsmpp.session.AbstractSession.executeSendCommand(AbstractSession.java:271)
        at org.jsmpp.session.SMPPSession.sendBind(SMPPSession.java:294)
        at
org.jsmpp.session.SMPPSession.connectAndBind(SMPPSession.java:232)
        at
org.jsmpp.session.SMPPSession.connectAndBind(SMPPSession.java:200)
        at
org.apache.camel.component.smpp.SmppProducer.createSession(SmppProducer.java:93)
        at
org.apache.camel.component.smpp.SmppProducer.access$500(SmppProducer.java:48)
        at
org.apache.camel.component.smpp.SmppProducer$2.run(SmppProducer.java:225)
        at java.lang.Thread.run(Thread.java:679)
2011-10-26 10:55:55,779 [Thread-241] INFO  - Failed to reconnect provider to
smpp://FRONDETEST@202.73.206.71:5000
2011-10-26 10:55:55,780 [Thread-244] INFO  - PDUReaderWorker stop
2011-10-26 10:55:58,296 [Thread-242] WARN  - Lost provider connection to:
smpp://FRONDETEST@202.73.206.71:5000 - trying to reconnect...
2011-10-26 10:55:59,297 [Thread-245] INFO  - Schedule reconnect after 5000
millis
2011-10-26 10:56:00,779 [Thread-241] INFO  - Trying to reconnect provider to
smpp://FRONDETEST@202.73.206.71:5000 - attempt #2...
2011-10-26 10:56:00,796 [Thread-241] INFO  - Connected
2011-10-26 10:56:00,796 [Thread-246] INFO  - Starting PDUReaderWorker with
processor degree:3 ...
2011-10-26 10:56:00,813 [Thread-241] INFO  - Connected to:
smpp://user@domain:5000
2011-10-26 10:56:00,813 [Thread-247] INFO  - Starting EnquireLinkSender
2011-10-26 10:56:00,813 [Thread-241] INFO  - Reconnected to
smpp://FRONDETEST@202.73.206.71:5000
2011-10-26 10:56:00,814 [Thread-239] INFO  - EnquireLinkSender stop
2011-10-26 10:56:04,297 [Thread-245] INFO  - Trying to reconnect provider to
smpp://FRONDETEST@202.73.206.71:5000 - attempt #1...
2011-10-26 10:56:04,313 [Thread-245] INFO  - Connected
2011-10-26 10:56:04,313 [Thread-248] INFO  - Starting PDUReaderWorker with
processor degree:3 ...
2011-10-26 10:56:04,329 [Thread-248] WARN  - Lost provider connection to:
smpp://FRONDETEST@202.73.206.71:5000 - trying to reconnect...
2011-10-26 10:56:04,329 [Thread-245] ERROR - Receive negative bind response
org.jsmpp.extra.NegativeResponseException: Negative response 0000000d found
        at
org.jsmpp.session.AbstractSession.validateResponse(AbstractSession.java:215)
        at
org.jsmpp.session.AbstractSession.executeSendCommand(AbstractSession.java:271)
        at org.jsmpp.session.SMPPSession.sendBind(SMPPSession.java:294)
        at
org.jsmpp.session.SMPPSession.connectAndBind(SMPPSession.java:232)
        at
org.jsmpp.session.SMPPSession.connectAndBind(SMPPSession.java:200)
        at
org.apache.camel.component.smpp.SmppProducer.createSession(SmppProducer.java:93)
        at
org.apache.camel.component.smpp.SmppProducer.access$500(SmppProducer.java:48)
        at
org.apache.camel.component.smpp.SmppProducer$2.run(SmppProducer.java:225)
        at java.lang.Thread.run(Thread.java:679)
2011-10-26 10:56:04,330 [Thread-245] INFO  - Failed to reconnect provider to
smpp://FRONDETEST@202.73.206.71:5000
2011-10-26 10:56:04,331 [Thread-248] INFO  - PDUReaderWorker stop
2011-10-26 10:56:06,850 [Thread-246] WARN  - Lost provider connection to:
smpp://FRONDETEST@202.73.206.71:5000 - trying to reconnect...
2011-10-26 10:56:07,850 [Thread-249] INFO  - Schedule reconnect after 5000
millis
2011-10-26 10:56:09,330 [Thread-245] INFO  - Trying to reconnect provider to
smpp://FRONDETEST@202.73.206.71:5000 - attempt #2...
2011-10-26 10:56:09,347 [Thread-245] INFO  - Connected
2011-10-26 10:56:09,347 [Thread-250] INFO  - Starting PDUReaderWorker with
processor degree:3 ...
2011-10-26 10:56:09,363 [Thread-245] INFO  - Connected to:
smpp://user@domain:5000
2011-10-26 10:56:09,363 [Thread-251] INFO  - Starting EnquireLinkSender
2011-10-26 10:56:09,363 [Thread-245] INFO  - Reconnected to
smpp://FRONDETEST@202.73.206.71:5000
2011-10-26 10:56:09,364 [Thread-243] INFO  - EnquireLinkSender stop


--
View this message in context: http://camel.465427.n5.nabble.com/Unreleased-thread-possible-in-SMPP-component-tp4922901p4938006.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message