Solved

Error while using Logics SMPP APIs

Posted on 2009-04-12
2
833 Views
Last Modified: 2013-11-10
HI,
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.

Thanks.
0
Comment
Question by:sandeep1984
2 Comments
 
LVL 2

Accepted Solution

by:
d_techguy earned 500 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 ;) )

cheers
0
 
LVL 2

Author Comment

by:sandeep1984
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??
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Cisco Access point 6 90
difference of if loops 23 50
MySqlDump not dumping triggers 1 33
configure dependency in POM for new database 3 26
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…
In this article we have discussed about the OS X EI Capitan and how to fix Wi-Fi issue in OS X El Capitan. We have explained how to delete system level preferences and create a new Wi-Fi location to resolve Wi-Fi issue.
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

831 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