Hi Zubair,
Here is the log when this problem appear the first time :
* INFO  2016-02-02 19:59:59,649 Detected apps: [] (DefaultAppManager.java 
[http-apr-8080-exec-3])* INFO  2016-02-02 20:03:06,682 Detected apps: [] 
(DefaultAppManager.java [http-apr-8080-exec-7])* INFO  2016-02-02 20:03:48,867 
Detected apps: [] (DefaultAppManager.java [http-apr-8080-exec-8])* INFO  
2016-02-02 20:05:06,589 Received SMS: SMS testing. (SmsPublisher.java 
[Thread-12])* INFO  2016-02-02 20:05:06,610 Sending message OutboundSMS 
[recipients=+467XXXXXXXX, message=DHIS: No command found] 
(DefaultOutboundSmsTransportService.java [Thread-12])* INFO  2016-02-02 
20:05:06,617 RequestURL: 
http://opertorgateway.org/sendsms.php?UserName=MyUser&Password=**********&SOA=MyUser&MN=%2B467XXXXXXXX&SM=DHIS%3A+No+command+found
 PasserelleGSM (SimplisticHttpGetGateWay.java [Thread-12])* INFO  2016-02-02 
20:05:07,729 Received SMS: SMS testing. (SmsPublisher.java [Thread-12])* INFO  
2016-02-02 20:05:07,741 Sending message OutboundSMS [recipients=+467XXXXXXXX, 
message=DHIS: No command found] (DefaultOutboundSmsTransportService.java 
[Thread-12])* INFO  2016-02-02 20:05:07,742 RequestURL: 
http://opertorgateway.org/sendsms.php?UserName=MyUser&Password=**********&SOA=MyUser&MN=%2B467XXXXXXXX&SM=DHIS%3A+No+command+found
 PasserelleGSM (SimplisticHttpGetGateWay.java [Thread-12])* WARN  2016-02-02 
20:05:47,635 Authentication event AuthenticationSuccessEvent: GsmDhisUser; 
details: 
org.springframework.security.web.authentication.WebAuthenticationDetails@1de6: 
RemoteIpAddress: 24.152.208.38; SessionId: null (LoggerListener.java 
[http-apr-8080-exec-1])* WARN  2016-02-02 20:06:31,215 Authentication event 
AuthenticationSuccessEvent: GsmDhisUser; details: 
org.springframework.security.web.authentication.WebAuthenticationDetails@1de6: 
RemoteIpAddress: 24.152.208.38; SessionId: null (LoggerListener.java 
[http-apr-8080-exec-7])* WARN  2016-02-02 20:06:41,672 Authentication event 
AuthenticationSuccessEvent: GsmDhisUser; details: 
org.springframework.security.web.authentication.WebAuthenticationDetails@1de6: 
RemoteIpAddress: 24.152.208.38; SessionId: null (LoggerListener.java 
[http-apr-8080-exec-5])* WARN  2016-02-02 20:07:00,393 Authentication event 
AuthenticationSuccessEvent: bao-admin; details: 
org.springframework.security.web.authentication.WebAuthenticationDetails@1de6: 
RemoteIpAddress: 24.152.208.38; SessionId: null (LoggerListener.java 
[http-apr-8080-exec-6])* INFO  2016-02-02 20:07:08,074 Received SMS: SMS 
testing. (SmsPublisher.java [Thread-12])* INFO  2016-02-02 20:07:08,081 Sending 
message OutboundSMS [recipients=+467XXXXXXXX, message=DHIS: No command found] 
(DefaultOutboundSmsTransportService.java [Thread-12])* INFO  2016-02-02 
20:07:08,082 RequestURL: 
http://opertorgateway.org/sendsms.php?UserName=MyUser&Password=**********&SOA=MyUser&MN=%2B467XXXXXXXX&SM=DHIS%3A+No+command+found
 PasserelleGSM (SimplisticHttpGetGateWay.java [Thread-12])* ERROR 2016-02-02 
20:07:08,676 Batch update returned unexpected row count from update [0]; actual 
row count: 0; expected: 1; nested exception is 
org.hibernate.StaleStateException: Batch update returned unexpected row count 
from update [0]; actual row count: 0; expected: 1 (SmsPublisher.java 
[Thread-12])* INFO  2016-02-02 20:07:14,718 Received SMS: SMS testing. 
(SmsPublisher.java [Thread-26])* INFO  2016-02-02 20:07:14,726 Sending message 
OutboundSMS [recipients=+467XXXXXXXX, message=DHIS: No command found] 
(DefaultOutboundSmsTransportService.java [Thread-26])* INFO  2016-02-02 
20:07:14,726 RequestURL: 
http://opertorgateway.org/sendsms.php?UserName=MyUser&Password=**********&SOA=MyUser&MN=%2B467XXXXXXXX&SM=DHIS%3A+No+command+found
 PasserelleGSM (SimplisticHttpGetGateWay.java [Thread-26])* ERROR 2016-02-02 
20:07:15,209 Batch update returned unexpected row count from update [0]; actual 
row count: 0; expected: 1; nested exception is 
org.hibernate.StaleStateException: Batch update returned unexpected row count 
from update [0]; actual row count: 0; expected: 1 (SmsPublisher.java 
[Thread-26])* INFO  2016-02-02 20:07:25,209 Received SMS: SMS testing. 
(SmsPublisher.java [Thread-26])* INFO  2016-02-02 20:07:25,216 Sending message 
OutboundSMS [recipients=+467XXXXXXXX, message=DHIS: No command found] 
(DefaultOutboundSmsTransportService.java [Thread-26])* INFO  2016-02-02 
20:07:25,217 RequestURL: 
http://opertorgateway.org/sendsms.php?UserName=MyUser&Password=**********&SOA=MyUser&MN=%2B467XXXXXXXX&SM=DHIS%3A+No+command+found
 PasserelleGSM (SimplisticHttpGetGateWay.java [Thread-26])* ERROR 2016-02-02 
20:07:25,680 Batch update returned unexpected row count from update [0]; actual 
row count: 0; expected: 1; nested exception is 
org.hibernate.StaleStateException: Batch update returned unexpected row count 
from update [0]; actual row count: 0; expected: 1 (SmsPublisher.java 
[Thread-26])* INFO  2016-02-02 20:07:35,680 Received SMS: SMS testing. 
(SmsPublisher.java [Thread-26])

Sincerely, ========================= EKANI Guy 
 



  

    Le Lundi 14 mars 2016 13h31, Zubair Asghar Raja <zub...@dhis2.org> a écrit :
 

 Hi Guy,I am responsible for SMS related stuff. Can you share the logs ?

Regards
Zubair



On 14 Mar 2016, at 1:14 PM, "Lars Helge Øverland" <l...@dhis2.org> wrote:
Thanks Guy. We will have a developer reach out to you.
Since nobody have reported to be using the local SMS gateway modem, we will 
remove it for version 2.23.
regards,
Lars

On Thu, Mar 10, 2016 at 8:52 AM, Guy Ekani <constyek...@yahoo.fr> wrote:

Hello Lars,
Thank's for information,
We are trying to use SMS funtionnality with  a SMS gateway provided by an 
external operator (Genreric HTTP Gateway) with DHIS 2.21 Build revision: 20998
But we havetwo problems : - The received SMS are not imported automatically,- 
When we manually import a received SMS, it's make a loop that send a thousand 
of SMS to a specific Phone number
Please, could you help us to solve this issue that's drained our SMS Credit ?
Sincerely ========================= EKANI Guy 
 



  

    Le Mardi 8 mars 2016 11h22, Lars Helge Øverland <l...@dhis2.org> a écrit :
 

 Hi all,

weare rewriting much of the functionality for sending outgoing SMS in DHIS 2. 
In that regard we were wondering if anyone is using the current function for 
sending SMS using a local SMS modem / gateway?
In production setups one should in any case use a network-based SMS gateway 
provided by an external operator (bulksms, clickatell).
The library we use (smslib) is deprected as well. We were thinking to end 
support for local SMS modems in 2.23.
regards,
Lars




-- 
Lars Helge Øverland
Lead developer, DHIS 2Universityof OsloSkype: larshelgeoverland
http://www.dhis2.org

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to    : dhis2-us...@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help  : https://help.launchpad.net/ListHelp


   



-- 
Lars Helge Øverland
Lead developer, DHIS 2Universityof OsloSkype: larshelgeoverland
http://www.dhis2.org

Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp



  
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to