JSMPP Errors when trying to send messages

1,042 views
Skip to first unread message

Ali Salem

unread,
Jun 22, 2010, 9:02:28 AM6/22/10
to jsmpp
Dear all:

i have connected JSMPP with my operator SMPP ,its OK to receive but
when trying to send messages i have this error code :

log4j:WARN No appenders could be found for logger
(org.jsmpp.examples.gateway.AlGateway).
log4j:WARN Please initialize the log4j system properly.
java.io.IOException: Receive negative bind response: Negative response
00000005 found
at org.jsmpp.session.SMPPSession.connectAndBind(SMPPSession.java:245)
at org.jsmpp.session.SMPPSession.connectAndBind(SMPPSession.java:199)
at org.jsmpp.session.SMPPSession.<init>(SMPPSession.java:138)
at org.jsmpp.examples.gateway.AlGateway.newSession(AlGateway.java:
150)
at org.jsmpp.examples.gateway.AlGateway.getSession2(AlGateway.java:
188)
at
org.jsmpp.examples.gateway.AlGateway.submitShortMessage(AlGateway.java:
88)
at
org.jsmpp.examples.gateway.service.ThreadPool.StudentScoreWorker.processMessage(StudentScoreWorker.java:
106)
at
org.jsmpp.examples.gateway.service.StudentScoreService.onRecieveMessage(StudentScoreService.java:
42)
at
org.jsmpp.examples.gateway.service.StudentScoreService.onAcceptDeliverSm(StudentScoreService.java:
122)
at org.jsmpp.session.SMPPSession.fireAcceptDeliverSm(SMPPSession.java:
444)
at org.jsmpp.session.SMPPSession.access$0(SMPPSession.java:442)
at org.jsmpp.session.SMPPSession
$ResponseHandlerImpl.processDeliverSm(SMPPSession.java:461)
at
org.jsmpp.session.state.SMPPSessionBoundRX.processDeliverSm0(SMPPSessionBoundRX.java:
109)
at
org.jsmpp.session.state.SMPPSessionBoundTRX.processDeliverSm(SMPPSessionBoundTRX.java:
42)
at org.jsmpp.session.PDUProcessTask.run(PDUProcessTask.java:81)
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)


so any one can give me some help

Abdelmoula El Ousfour

unread,
Jun 22, 2010, 9:10:53 AM6/22/10
to js...@googlegroups.com
Hi Ali,

from the bellow I can see a negative response code which mean application already binded.

 ESME_RALYBND   -   0x05

you are trying to bind when you are already binded

Regards


--
You received this message because you are subscribed to the Google Groups "jsmpp" group.
To post to this group, send email to js...@googlegroups.com.
To unsubscribe from this group, send email to jsmpp+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jsmpp?hl=en.


Vikash Anand

unread,
Jun 22, 2010, 9:17:07 AM6/22/10
to js...@googlegroups.com
Hi,

Maybe your IP is not registered or there is some problem with setting parameters. Please contact your service provide for IP confirmation and parameters that you are using.

This error can also be encountered when you opened a session and not using for long time. Please use session.setEnquireLinkTimer(15000);
and test again.

Do let us know the result.

Thanks,
Vikash Anand.

--
You received this message because you are subscribed to the Google Groups "jsmpp" group.
To post to this group, send email to js...@googlegroups.com.
To unsubscribe from this group, send email to jsmpp+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jsmpp?hl=en.




--
Thanks and Regards,
Vikash Anand.
Reply all
Reply to author
Forward
0 new messages