sungsilnom / jsmpp

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

Receive negative response #160

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Connect and bind to sms6.routesms.com port 2346
0 [main] DEBUG org.jsmpp.session.SMPPSession  - Connect and bind to 
sms6.routesms.com port 2346
111 [main] INFO org.jsmpp.session.SMPPSession  - Connected
115 [Thread-0] INFO org.jsmpp.session.SMPPSession  - Starting PDUReaderWorker 
with processor degree:3 ...
213 [pool-1-thread-1] DEBUG org.jsmpp.session.AbstractSessionContext  - 
Activity notified
213 [pool-1-thread-1] DEBUG org.jsmpp.session.state.SMPPSessionOpen  - Bind 
Response header (36, 80000009, 00000000, 1)
220 [main] DEBUG org.jsmpp.session.AbstractSession  - bind response received
221 [Thread-1] INFO org.jsmpp.session.SMPPSession  - Starting EnquireLinkSender
5213 [Thread-0] DEBUG org.jsmpp.session.SMPPSession  - No activity notified
5213 [Thread-0] DEBUG org.jsmpp.session.SMPPSession  - Sending enquire link 
notify
5303 [pool-1-thread-2] DEBUG org.jsmpp.session.AbstractSessionContext  - 
Activity notified
5303 [Thread-1] DEBUG org.jsmpp.session.AbstractSession  - enquire_link 
response received
10302 [Thread-0] DEBUG org.jsmpp.session.SMPPSession  - No activity notified
10302 [Thread-0] DEBUG org.jsmpp.session.SMPPSession  - Sending enquire link 
notify
10340 [pool-1-thread-3] DEBUG org.jsmpp.session.AbstractSessionContext  - 
Activity notified
10341 [main] DEBUG org.jsmpp.session.AbstractSession  - submit_sm response 
received
Receive negative response
org.jsmpp.extra.NegativeResponseException: Negative response 00000401 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:321)
        at Source.SimpleSubmitExample.main(SimpleSubmitExample.java:72)
10428 [pool-1-thread-1] DEBUG org.jsmpp.session.AbstractSessionContext  - 
Activity notified
10428 [Thread-1] DEBUG org.jsmpp.session.AbstractSession  - enquire_link 
response received
10516 [pool-1-thread-2] DEBUG org.jsmpp.session.AbstractSessionContext  - 
Activity notified
10518 [Thread-0] INFO org.jsmpp.session.SMPPSession  - PDUReaderWorker stop
10519 [main] DEBUG org.jsmpp.session.AbstractSession  - unbind response received
10928 [Thread-1] INFO org.jsmpp.session.SMPPSession  - EnquireLinkSender stop
BUILD SUCCESSFUL (total time: 11 seconds)

Original issue reported on code.google.com by bulk24sm...@gmail.com on 16 May 2014 at 2:16