Announcement

Collapse
No announcement yet.

Mirth Settings | Email is not working

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Mirth Settings | Email is not working

    Version Mirth 3.6.2

    When I configure the email in the settings and clicked the test mail, application shows the following errors.

    Method failed: HTTP/1.1 500 Internal Server Error
    com.mirth.connect.client.core.ClientException: Method failed: HTTP/1.1 500 Internal Server Error
    at com.mirth.connect.client.core.ServerConnection.han dleResponse(ServerConnection.java:529)
    at com.mirth.connect.client.core.ServerConnection.exe cuteSync(ServerConnection.java:256)
    at com.mirth.connect.client.core.ServerConnection.app ly(ServerConnection.java:166)
    at org.glassfish.jersey.client.ClientRuntime.invoke(C lientRuntime.java:255)
    at org.glassfish.jersey.client.JerseyInvocation$3.cal l(JerseyInvocation.java:722)
    at org.glassfish.jersey.internal.Errors.process(Error s.java:315)
    at org.glassfish.jersey.internal.Errors.process(Error s.java:297)
    at org.glassfish.jersey.internal.Errors.process(Error s.java:228)
    at org.glassfish.jersey.process.internal.RequestScope .runInScope(RequestScope.java:444)
    at org.glassfish.jersey.client.JerseyInvocation.invok e(JerseyInvocation.java:718)
    at org.glassfish.jersey.client.JerseyInvocation$Build er.method(JerseyInvocation.java:459)
    at org.glassfish.jersey.client.proxy.WebResourceFacto ry.invoke(WebResourceFactory.java:379)
    at com.sun.proxy.$Proxy42.sendTestEmail(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.mirth.connect.client.core.Client$2.invoke(Clie nt.java:265)
    at com.sun.proxy.$Proxy42.sendTestEmail(Unknown Source)
    at com.mirth.connect.client.core.Client.sendTestEmail (Client.java:683)
    at com.mirth.connect.client.ui.SettingsPanelServer$10 .doInBackground(SettingsPanelServer.java:1008)
    at com.mirth.connect.client.ui.SettingsPanelServer$10 .doInBackground(SettingsPanelServer.java:1003)
    at javax.swing.SwingWorker$1.call(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at javax.swing.SwingWorker.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker( Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.NoClassDefFoundError: javax/activation/DataSource
    at org.apache.commons.mail.Email.createMimeMessage(Em ail.java:1793)
    at org.apache.commons.mail.Email.buildMimeMessage(Ema il.java:1266)
    at org.apache.commons.mail.Email.send(Email.java:1427 )
    at com.mirth.connect.server.controllers.DefaultConfig urationController.sendTestEmail(DefaultConfigurati onController.java:1336)
    at com.mirth.connect.server.api.servlets.Configuratio nServlet.sendTestEmail(ConfigurationServlet.java:2 27)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invo ke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invo ke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl. invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at com.mirth.connect.server.api.providers.MirthResour ceInvocationHandlerProvider$1.invoke(MirthResource InvocationHandlerProvider.java:219)
    at org.glassfish.jersey.server.model.internal.Abstrac tJavaResourceMethodDispatcher$1.run(AbstractJavaRe sourceMethodDispatcher.java:144)
    at org.glassfish.jersey.server.model.internal.Abstrac tJavaResourceMethodDispatcher.invoke(AbstractJavaR esourceMethodDispatcher.java:161)
    at org.glassfish.jersey.server.model.internal.JavaRes ourceMethodDispatcherProvider$TypeOutInvoker.doDis patch(JavaResourceMethodDispatcherProvider.java:20 5)
    at org.glassfish.jersey.server.model.internal.Abstrac tJavaResourceMethodDispatcher.dispatch(AbstractJav aResourceMethodDispatcher.java:99)
    at org.glassfish.jersey.server.model.ResourceMethodIn voker.invoke(ResourceMethodInvoker.java:389)
    at org.glassfish.jersey.server.model.ResourceMethodIn voker.apply(ResourceMethodInvoker.java:347)
    at org.glassfish.jersey.server.model.ResourceMethodIn voker.apply(ResourceMethodInvoker.java:102)
    at org.glassfish.jersey.server.ServerRuntime$2.run(Se rverRuntime.java:326)
    at org.glassfish.jersey.internal.Errors$1.call(Errors .java:271)
    at org.glassfish.jersey.internal.Errors$1.call(Errors .java:267)
    at org.glassfish.jersey.internal.Errors.process(Error s.java:315)
    at org.glassfish.jersey.internal.Errors.process(Error s.java:297)
    at org.glassfish.jersey.internal.Errors.process(Error s.java:267)
    at org.glassfish.jersey.process.internal.RequestScope .runInScope(RequestScope.java:317)
    at org.glassfish.jersey.server.ServerRuntime.process( ServerRuntime.java:305)
    at org.glassfish.jersey.server.ApplicationHandler.han dle(ApplicationHandler.java:1154)
    at org.glassfish.jersey.servlet.WebComponent.serviceI mpl(WebComponent.java:471)
    at org.glassfish.jersey.servlet.WebComponent.service( WebComponent.java:425)
    at org.glassfish.jersey.servlet.ServletContainer.serv ice(ServletContainer.java:383)
    at org.glassfish.jersey.servlet.ServletContainer.serv ice(ServletContainer.java:336)
    at org.glassfish.jersey.servlet.ServletContainer.serv ice(ServletContainer.java:223)
    at org.eclipse.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:864)
    at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1655)
    at com.mirth.connect.server.MethodFilter.doFilter(Met hodFilter.java:37)
    at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1642)
    at com.mirth.connect.server.api.providers.Clickjackin gFilter.doFilter(ClickjackingFilter.java:44)
    at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1642)
    at com.mirth.connect.server.api.providers.ApiOriginFi lter.doFilter(ApiOriginFilter.java:71)
    at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1642)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle( ServletHandler.java:533)
    at org.eclipse.jetty.server.handler.ScopedHandler.nex tHandle(ScopedHandler.java:255)
    at org.eclipse.jetty.server.session.SessionHandler.do Handle(SessionHandler.java:1595)
    at org.eclipse.jetty.server.handler.ScopedHandler.nex tHandle(ScopedHandler.java:255)
    at org.eclipse.jetty.server.handler.ContextHandler.do Handle(ContextHandler.java:1253)
    at org.eclipse.jetty.server.handler.ScopedHandler.nex tScope(ScopedHandler.java:203)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(S ervletHandler.java:473)
    at org.eclipse.jetty.server.session.SessionHandler.do Scope(SessionHandler.java:1564)
    at org.eclipse.jetty.server.handler.ScopedHandler.nex tScope(ScopedHandler.java:201)
    at org.eclipse.jetty.server.handler.ContextHandler.do Scope(ContextHandler.java:1155)
    at org.eclipse.jetty.server.handler.ScopedHandler.han dle(ScopedHandler.java:144)
    at org.eclipse.jetty.server.handler.HandlerList.handl e(HandlerList.java:61)
    at org.eclipse.jetty.server.handler.HandlerWrapper.ha ndle(HandlerWrapper.java:132)
    at org.eclipse.jetty.server.Server.handle(Server.java :531)
    at org.eclipse.jetty.server.HttpChannel.handle(HttpCh annel.java:352)
    at org.eclipse.jetty.server.HttpConnection.onFillable (HttpConnection.java:260)
    at org.eclipse.jetty.io.AbstractConnection$ReadCallba ck.succeeded(AbstractConnection.java:281)
    at org.eclipse.jetty.io.FillInterest.fillable(FillInt erest.java:102)
    at org.eclipse.jetty.io.ssl.SslConnection.onFillable( SslConnection.java:291)
    at org.eclipse.jetty.io.ssl.SslConnection$3.succeeded (SslConnection.java:151)
    at org.eclipse.jetty.io.FillInterest.fillable(FillInt erest.java:102)
    at org.eclipse.jetty.io.ChannelEndPoint$2.run(Channel EndPoint.java:118)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.run Job(QueuedThreadPool.java:754)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$2.r un(QueuedThreadPool.java:672)
    at java.base/java.lang.Thread.run(Thread.java:834)
    Caused by: java.lang.ClassNotFoundException: javax.activation.DataSource
    at java.base/java.net.URLClassLoader.findClass(URLClassLoader.j ava:471)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:5 88)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:5 21)
    ... 64 more
Working...
X