Article - CS421265
Mail Extension is not working in ThingWorx Platform 9.4
Modified: 29-May-2025
Applies To
- ThingWorx Platform 9.4 F000 to 9.5 SP2
Description
- When trying to send an email an error is received in <ThingworxStorage>/logs/ApplicationLog.log
[L: ERROR] [O: c.t.w.Things] [I: ] [U: Administrator] [S: ] [P: ] [T: http-nio-80-exec-1] Thing [MailerThing] is not running [L: WARN] [O: c.t.w.BaseService] [I: ] [U: Administrator] [S: ] [P: ] [T: http-nio-80-exec-1] Transaction has been marked as a failure for request /Thingworx/Things/MailerThing/Services/SendMessage
- When trying to save mail server configuration as an Administrator the user is getting disconnected with the following in <ThingworxStorage>/logs/ErrorLog.log:
[L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: Administrator] [S: ] [P: ] [T: http-nio-80-exec-7] Servlet execution threw an exception java.lang.Exception: Servlet execution threw an exception at com.thingworx.security.authentication.AuthenticationFilter.propagateRequest(AuthenticationFilter.java:755) at com.thingworx.security.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:245) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176) at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
- Trying to send an Email using different browsers, directly from the server, or from outside the organization network the following is seen in <ThingworxStorage>/logs/ErrorLog.log:
[L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: Administrator] [S: ] [P: ] [T: http-nio-80-exec-3] Unable to Invoke Service SendMessage on MailThing : 'void com.thingworx.common.utils.HttpUtilities.validateDomainWithoutProtocol(java.lang.String)' java.lang.Exception: 'void com.thingworx.common.utils.HttpUtilities.validateDomainWithoutProtocol(java.lang.String)' at com.thingworx.common.processors.ReflectionProcessor.processService(ReflectionProcessor.java:250) at com.thingworx.handlers.ReflectionServiceHandler.processService(ReflectionServiceHandler.java:50) at com.thingworx.handlers.ServiceHandlerBase.processServiceWithMetrics(ServiceHandlerBase.java:48) at com.thingworx.things.Thing.processServiceRequestDirect(Thing.java:8497) at com.thingworx.things.Thing.processAPIServiceRequest(Thing.java:8434) at com.thingworx.webservices.BaseService.handleInvoke(BaseService.java:3339) ... 49 common frames omitted Wrapped by: com.thingworx.common.exceptions.InvalidRequestException: Unable to Invoke Service SendMessage on MailThing : 'void com.thingworx.common.utils.HttpUtilities.validateDomainWithoutProtocol(java.lang.String)' at com.thingworx.webservices.BaseService.handleInvoke(BaseService.java:3396) at com.thingworx.webservices.BaseService.service(BaseService.java:478) at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)
- Receiving error in <ThingworxStorage>/logs/ApplicationLog.log when trying to run SendMessage service in a MailServer Thing:
Invalid request: java.lang.NoSuchMethodError: 'void com.thingworx.common.utils.HttpUtilities.validateDomainWithoutProtocol(java.lang.String)'
This is a printer-friendly version of Article 421265 and may be out of date. For the latest version click CS421265