I am trying to send sms to mobile with smppsessionfactorybean. I configured host, port,systemid,password,bindtype,autostartup.(with nexmo sms server configuration). But at the time of send() method call it is throwing
"java.io.IOException: Cannot submitShortMessage while in state CLOSED".
what is the meaning of this error?
sysout:-- SessionState: CLOSED
sysout:-- SessionId: 09ca74d9
IO error occur java.io.IOException: Cannot submitShortMessage while in state CLOSED at org.jsmpp.session.AbstractSession.ensureTransmittable(AbstractSession.java:375) at org.jsmpp.session.AbstractSession.ensureTransmittable(AbstractSession.java:358) at org.jsmpp.session.SMPPSession.submitShortMessage(SMPPSession.java:312) at org.jsmpp.session.SMPPSession$$FastClassBySpringCGLIB$$9f8cc1d0.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:629) at org.jsmpp.session.SMPPSession$$EnhancerBySpringCGLIB$$636b51bb.submitShortMessage() at org.springframework.integration.smpp.core.SmesMessageSpecification.send(SmesMessageSpecification.java:420)