Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Error while using Logics SMPP APIs

Posted on 2009-04-12
Medium Priority
Last Modified: 2013-11-10
I am using Logica SMPP APIs to connect to a SMSC for sending and receiving SMS.
I am using JDK 1.6 and Apache Tomcat 6.
The web application is being deployed in Windows Server 2003.

After running the application for couple of days, when I try to send a message, I am getting this error :

java.io.IOException: Not connected
      at com.logica.smpp.TCPIPConnection.send(TCPIPConnection.java:344)
      at com.logica.smpp.Transmitter.send(Transmitter.java:69)
      at com.logica.smpp.Session.send(Session.java:931)
      at com.logica.smpp.Session.send(Session.java:984)
      at com.logica.smpp.Session.submit(Session.java:585)
      at com.san.sms.smpp.SMPPMessaging.submitRequest(SMPPMessaging.java:777)
      at com.san.sms.smpp.SMPPMessaging.submitTextMessage(SMPPMessaging.java:403)
      at com.san.sms.smpp.SMPPMessaging.handleMessage(SMPPMessaging.java:314)
      at com.san.sms.smpp.SMPPMessaging.access$2(SMPPMessaging.java:310)
      at com.san.sms.smpp.SMPPMessaging$MessageQueListener.run(SMPPMessaging.java:258)

I think it is getting unbound. But I am neither sending any unbind requests nor the SMSC.
What might be the problem.
Is it an OS related issue or network related issue.

Question by:sandeep1984
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Accepted Solution

d_techguy earned 1500 total points
ID: 24128567
From the error it seems that your application is not bounded to SMSC. But as you said the application was running & neither you nor SMSC sent any unbound request then first thing i'll look for is the time of Inactivity over the connection!!

Do you get this error while you try to send SMS after certain period of time? Try to find that do you get this error after inactivity of 1 hr or may be 24 hrs over connection. If yes, check with you SMSC that do they have a timeout mechanism in place. This can also happen because of some firewall rule over you network.

Solution to this can also be scheduler that sends can send dummy SMS as Keep Alive message (if you messaging is free ;) )


Author Comment

ID: 24129048
Thanks for the reply.

It might not be because, I am sending Enquirelink request every 5 minutes & getting proper response.
What might be the problem then??

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
This program is used to assist in finding and resolving common problems with wireless connections.
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This Micro Tutorial will show you how to maximize your wireless card to its maximum capability. This will be demonstrated using Intel(R) Centrino(R) Wireless-N 2230 wireless card on Windows 8 operating system.
Suggested Courses

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question