org.jsmpp.extra.NegativeResponseException: Negative response 000000ff found

1,501 views
Skip to first unread message

Imran Raza Khan

unread,
Apr 28, 2009, 3:49:17 AM4/28/09
to js...@googlegroups.com
Hi All,

I have multi threaded program and i run 50000 SMS from each thread but in one thread i faced following error and rest all threads keep running fine

org.jsmpp.extra.NegativeResponseException: Negative response 000000ff found

        at org.jsmpp.session.AbstractSession.validateResponse(AbstractSession.java:215)

        at org.jsmpp.session.AbstractSession.executeSendCommand(AbstractSession.java:271)

        at org.jsmpp.session.SMPPSession.submitShortMessage(SMPPSession.java:318)

        at com.warid.bulk.StressClient.run(StressClient.java:87)

        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)

        at java.util.concurrent.FutureTask.run(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

        at java.lang.Thread.run(Unknown Source)

org.jsmpp.extra.NegativeResponseException: Negative response 000000ff found

        at org.jsmpp.session.AbstractSession.validateResponse(AbstractSession.java:215)

        at org.jsmpp.session.AbstractSession.executeSendCommand(AbstractSession.java:271)

        at org.jsmpp.session.SMPPSession.submitShortMessage(SMPPSession.java:318)

        at com.warid.bulk.StressClient.run(StressClient.java:87)

        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)

        at java.util.concurrent.FutureTask.run(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

        at java.lang.Thread.run(Unknown Source)


Regards,

imran


Abdelmoula El Ousfour

unread,
Apr 28, 2009, 4:11:33 AM4/28/09
to js...@googlegroups.com
Hi Imran

I believe this is coming form the SMSC as submit_sm_resp with error code FF which means UNKOWN ERR so you may need to check the SMSC side why he send you that error and in which circomstanses maybe the short code you are using has some throthling in the SMSC or  .......

Regards
Abdel
Reply all
Reply to author
Forward
0 new messages