1.7 Alpha Intermittent SMS connect failure

 

I can send emails happily, but sometimes the SMS email connection fails - the top part of the stack trace is below.  I have mail logging on (see earlier report) but there is nothing more in the openvpms.log and ..full.log than below.

I think that the interesting thing is that it is trying to talk to localhost - it should be smtp.netvigator.com as shown in the following snippet

It turns out that the fix is to restart TomCat (just logging out and back in does not fix it).

I am afraid that I cannot explore further at the moment. I have used up my 10 free credits getting the gateway running [the problem was OneWaySMS's documentation - it did not say that you had to add the country code for in-country numbers].

Regards, Tim G

 

 

 <error-report>
<version>1.7-SNAPSHOT</version>
<revision>5331</revision>
<message>SMS-0202: Mail server connection failed: Could not connect to SMTP host: localhost, port: 25</message>
<exception>
<type>org.openvpms.sms.SMSException</type>
<message>SMS-0202: Mail server connection failed: Could not connect to SMTP host: localhost, port: 25</message>
<stackTrace>
<trace>org.openvpms.sms.mail.MailConnection.send(MailConnection.java:91)</trace>
<trace>org.openvpms.web.component.im.sms.SMSEditor.send(SMSEditor.java:169)</trace>
<trace>org.openvpms.web.component.im.sms.SMSDialog.send(SMSDialog.java:118)</trace>
<trace>org.openvpms.web.component.im.sms.SMSDialog.onOK(SMSDialog.java:95)</trace>
<trace>org.openvpms.web.echo.dialog.PopupDialog.onButton(PopupDialog.java:294)</trace>
<trace>org.openvpms.web.echo.dialog.PopupDialog$3.onAction(PopupDialog.java:448)</trace>
<trace>org.openvpms.web.echo.event.ActionListener.actionPerformed(ActionListener.java:40)</trace>
<trace>nextapp.echo2.app.button.AbstractButton.fireActionPerformed(AbstractButton.java:135)</trace>
<trace>echopointng.ButtonEx$1.actionPerformed(ButtonEx.java:120)</trace>
<trace>nextapp.echo2.app.button.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:70)</trace>
<trace>echopointng.model.DefaultButtonModelEx.doAction(DefaultButtonModelEx.java:51)</trace>
<trace>echopointng.ButtonEx.processInput(ButtonEx.java:202)</trace>
<trace>nextapp.echo2.app.update.ClientUpdateManager.process(ClientUpdateManager.java:116)</trace>
<trace>nextapp.echo2.app.update.UpdateManager.processClientUpdates(UpdateManager.java:89)</trace>
<trace>nextapp.echo2.webcontainer.ContainerSynchronizeService.renderUpdate(ContainerSynchronizeService.java:471)</trace>
<trace>nextapp.echo2.webrender.service.SynchronizeService.service(SynchronizeService.java:279)</trace>
<trace>nextapp.echo2.webrender.WebRenderServlet.process(WebRenderServlet.java:273)</trace>
<trace>org.openvpms.web.echo.servlet.SpringWebContainerServlet.process(SpringWebContainerServlet.java:148)</trace>
<trace>nextapp.echo2.webrender.WebRenderServlet.doPost(WebRenderServlet.java:189)</trace>
<trace>javax.servlet.http.HttpServlet.service(HttpServlet.java:637)</trace>
<trace>javax.servlet.http.HttpServlet.service(HttpServlet.java:717)</trace> 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: 1.7 Alpha Intermittent SMS connect failure

The context of the logged out session was being cached, so it wasn't using the correct location details.

Fixed in revision 5339.

Thanks,

-Tim

Syndicate content