MazWoz / jsmpp

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

Enquire-Link problem from server to client #102

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. server (HP SMSC) is trying to Enquire-Link the client (jsmpp)
2. client is not responding in time or does not reply at all
3. server reset connection
4. client tries to send new message and it fails with exception 
attached(java.net.SocketException: Broken pipe)
 ERROR [pool-8-thread-25835] - AbstractSession.executeAsyncSendCommand.299 - Failed sending submit_sm command
java.net.SocketException: Broken pipe
        at java.net.SocketOutputStream.socketWrite0(Native Method)
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
        at java.net.SocketOutputStream.write(SocketOutputStream.java:124)
        at org.jsmpp.DefaultPDUSender.writeAndFlush(DefaultPDUSender.java:419)
        at org.jsmpp.DefaultPDUSender.sendSubmitSm(DefaultPDUSender.java:203)
        at org.jsmpp.SynchronizedPDUSender.sendSubmitSm(SynchronizedPDUSender.java:192)
        at org.jsmpp.session.SubmitSmCommandTask.executeTask(SubmitSmCommandTask.java:86)
        at org.jsmpp.session.AbstractSession.executeAsyncSendCommand(AbstractSession.java:297)
        at org.jsmpp.session.SMPPSession.submitShortMessageAsync(SMPPSession.java:371)
        at smsdispatcher.ConnectionManager$1.run(ConnectionManager.java:208)
        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:619)

What is the expected output? What do you see instead?
expected : client library should  send Enquire-Link ack
real: client either it does not reply or reply late

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

Please provide any additional information below.

Original issue reported on code.google.com by mhsms2...@gmail.com on 3 Jun 2011 at 5:21

Attachments:

GoogleCodeExporter commented 8 years ago
i forget to add that the OS is SunOS 10.5

Original comment by mhsms2...@gmail.com on 3 Jun 2011 at 5:25

GoogleCodeExporter commented 8 years ago
also Enquire-Link from client (jsmpp) to server is not working at all? please 
advice

Original comment by mhsms2...@gmail.com on 3 Jun 2011 at 5:40

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Dear sir ,

I have Small doubt on Enquire Link.

Can i send the Enquire Link from SMPPSim(Server) to Client(Our Application).

If Possible please guide me.

Thanks & Regards 
Narasimha 

Original comment by tippared...@gmail.com on 21 Sep 2013 at 6:01