ThanDB / jsmpp

Automatically exported from code.google.com/p/jsmpp
Apache License 2.0
0 stars 0 forks source link

Protocol level response in transactionTimer Asynchronous way #97

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Any packet sent to the peer
2. Waiting for the protocol level response.
3. Need to have a way for asynchronous way of waiting for the same response.

What is the expected output? What do you see instead?
If the protocol level packet response not received causes the thread in 
blocking.

What version of the product are you using? On what operating system?
jsmpp 2.1.0

Please provide any additional information below.
org.jsmpp.extra.ResponseTimeoutException: No response after waiting for 2000 
millis when executing deliver_sm with sessionId c148ce88 and sequenceNumber 22
        at org.jsmpp.session.AbstractSession.executeSendCommand(AbstractSession.java:261)
        at org.jsmpp.session.SMPPServerSession.deliverShortMessage(SMPPServerSession.java:162)
        at com.btsl.flares.engine.ussd.io.dispatcher.smpp.SmppOutInterfaceImpl.sendDeliverSm(SmppOutInterfaceImpl.java:753)
        at com.btsl.flares.engine.ussd.io.dispatcher.smpp.SmppOutInterfaceImpl.processProxyRequest(SmppOutInterfaceImpl.java:449)
        at com.btsl.flares.engine.ussd.io.dispatcher.smpp.SmppOutInterfaceImpl.execute(SmppOutInterfaceImpl.java:152)
        at com.btsl.flares.engine.ussd.core.service.ExternalAppHandler.handleSmppInterfaceRequest(ExternalAppHandler.java:1254)
        at com.btsl.flares.engine.ussd.core.service.ExternalAppHandler.handleBasedOnInterfaceType(ExternalAppHandler.java:400)
        at com.btsl.flares.engine.ussd.core.service.ExternalAppHandler.handleExternalAppRequest(ExternalAppHandler.java:220)
        at com.btsl.flares.engine.ussd.core.service.ExternalAppHandler.handleRequest(ExternalAppHandler.java:160)
        at com.btsl.flares.engine.ussd.core.service.RequestProcessorService.handleFreeflowRequest(RequestProcessorService.java:2051)
        at com.btsl.flares.engine.ussd.core.service.RequestProcessorService.processLeafNode(RequestProcessorService.java:1880)
        at com.btsl.flares.engine.ussd.core.service.RequestProcessorService.processMainMenu(RequestProcessorService.java:1010)
        at com.btsl.flares.engine.ussd.core.service.RequestProcessorService.processRequest(RequestProcessorService.java:1629)
        at com.btsl.flares.engine.ussd.core.service.RequestProcessorService.handleRequest(RequestProcessorService.java:444)
        at com.btsl.flares.engine.ussd.core.service.RequestProcessorService.execute(RequestProcessorService.java:127)
        at com.btsl.concurrent.Poolable.process(Poolable.java:42)
        at com.btsl.flares.engine.AppPoolable.process(AppPoolable.java:50)
        at com.btsl.concurrent.Poolable.run(Poolable.java:27)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
Caused by: org.jsmpp.extra.ResponseTimeoutException: No response after 2000 
millis
        at org.jsmpp.extra.PendingResponse.waitDone(PendingResponse.java:117)
        at org.jsmpp.session.AbstractSession.executeSendCommand(AbstractSession.java:257)

Original issue reported on code.google.com by rsrchmur...@gmail.com on 25 Apr 2011 at 4:04

GoogleCodeExporter commented 9 years ago
can you solve this issue?

Original comment by o.m.osma...@gmail.com on 13 Jul 2012 at 6:26