アーティクル - CS421265
ThingWorx Platform 9.4 でメール拡張機能が動作しない
修正日: 29-May-2025
適用対象
- ThingWorx Platform 9.4 F000 to 9.5 SP2
説明
- 電子メールを送信しようとすると、 <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
- 管理者としてメール サーバーの構成を保存しようとすると、ユーザーが切断され、 <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)
- 別のブラウザを使用して、サーバーから直接、または組織ネットワークの外部から電子メールを送信しようとすると、 <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)
- MailServer Thing でSendMessageサービスを実行しようとすると、 <ThingworxStorage>/logs/ ApplicationLog.logにエラーが発生します。
Invalid request: java.lang.NoSuchMethodError: 'void com.thingworx.common.utils.HttpUtilities.validateDomainWithoutProtocol(java.lang.String)'
最新バージョンはこちらを参照ください CS421265