Announcement

Collapse
No announcement yet.

ASTM Client Receiver

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

  • #31
    ASTM Listener gets disconnected

    Originally posted by vognstang View Post
    this post does not seem to generate much interest, but anywho, i added some stuff and done some testing of the connector... so here goes...
    I was successfully able to add the extension and create a new channel with ASTM Listener but for some reasons its always disconnects as soon as the connection is made. I have tried with different socket apps as well but those also gets disconnected Any idea whats happening? If i do the same with simple LLP listener it remains connected but I am unable to send back the ACK with it.

    Great work but need help!!!!

    Attached Files

    Comment


    • #32
      I am not able to import that plug in i get error here is the error message. Can someone help me for this.

      Code:
      Unable to install extension: 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.handleResponse(ServerConnection.java:485)
      at com.mirth.connect.client.core.ServerConnection.executeSync(ServerConnection.java:250)
      at com.mirth.connect.client.core.ServerConnection.apply(ServerConnection.java:160)
      at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:255)
      at org.glassfish.jersey.client.JerseyInvocation$3.call(JerseyInvocation.java:722)
      at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
      at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
      at org.glassfish.jersey.internal.Errors.process(Errors.java:228)
      at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:444)
      at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:718)
      at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:459)
      at org.glassfish.jersey.client.proxy.WebResourceFactory.invoke(WebResourceFactory.java:379)
      at com.sun.proxy.$Proxy48.installExtension(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at com.mirth.connect.client.core.Client$2.invoke(Client.java:263)
      at com.sun.proxy.$Proxy48.installExtension(Unknown Source)
      at com.mirth.connect.client.core.Client.installExtension(Client.java:2421)
      at com.mirth.connect.client.ui.Frame.installExtension(Frame.java:4231)
      at com.mirth.connect.client.ui.extensionmanager.ExtensionManagerPanel$11.doInBackground(ExtensionManagerPanel.java:640)
      at com.mirth.connect.client.ui.extensionmanager.ExtensionManagerPanel$11.doInBackground(ExtensionManagerPanel.java:635)
      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: com.mirth.connect.client.core.ControllerException: Error extracting extension. com.mirth.connect.donkey.util.xstream.SerializerException: com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$UnknownFieldException: No such field com.mirth.connect.model.ConnectorMetaData.serviceClassName
      ---- Debugging information ----
      field               : serviceClassName
      class               : com.mirth.connect.model.ConnectorMetaData
      required-type       : com.mirth.connect.model.ConnectorMetaData
      converter-type      : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
      version             : not available
      -------------------------------
      at com.mirth.connect.server.controllers.DefaultExtensionController.extractExtension(DefaultExtensionController.java:501)
      at com.mirth.connect.server.api.servlets.ExtensionServlet.installExtension(ExtensionServlet.java:56)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at com.mirth.connect.server.api.providers.MirthResourceInvocationHandlerProvider$1.invoke(MirthResourceInvocationHandlerProvider.java:219)
      at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)
      at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
      at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:143)
      at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
      at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
      at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
      at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
      at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.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(Errors.java:315)
      at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
      at org.glassfish.jersey.internal.Errors.process(Errors.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.handle(ApplicationHandler.java:1154)
      at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)
      at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)
      at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)
      at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)
      at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)
      at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1712)
      at com.mirth.connect.server.MethodFilter.doFilter(MethodFilter.java:37)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1699)
      at com.mirth.connect.server.api.providers.ClickjackingFilter.doFilter(ClickjackingFilter.java:44)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1699)
      at com.mirth.connect.server.api.providers.ApiOriginFilter.doFilter(ApiOriginFilter.java:71)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1699)
      at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582)
      at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:224)
      at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)
      at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512)
      at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
      at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
      at org.eclipse.jetty.server.Server.handle(Server.java:534)
      at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320)
      at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
      at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
      at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
      at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:202)
      at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
      at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
      at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
      at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
      at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
      at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
      at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
      at 
      at java.lang.Thread.run(Unknown Source)
      Caused by: com.mirth.connect.donkey.util.xstream.SerializerException: com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$UnknownFieldException: No such field com.mirth.connect.model.ConnectorMetaData.serviceClassName
      ---- Debugging information ----
      field               : serviceClassName
      class               : com.mirth.connect.model.ConnectorMetaData
      required-type       : com.mirth.connect.model.ConnectorMetaData
      converter-type      : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
      version             : not available
      -------------------------------
      at com.mirth.connect.model.converters.ObjectXMLSerializer.handleDeserializationException(ObjectXMLSerializer.java:320)
      at com.mirth.connect.model.converters.ObjectXMLSerializer.deserialize(ObjectXMLSerializer.java:213)
      at com.mirth.connect.server.controllers.DefaultExtensionController.extractExtension(DefaultExtensionController.java:464)
      ... 59 more
      Caused by: com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$UnknownFieldException: No such field com.mirth.connect.model.ConnectorMetaData.serviceClassName
      ---- Debugging information ----
      field               : serviceClassName
      class               : com.mirth.connect.model.ConnectorMetaData
      required-type       : com.mirth.connect.model.ConnectorMetaData
      converter-type      : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
      version             : not available
      -------------------------------
      at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.handleUnknownField(AbstractReflectionConverter.java:495)
      at 
      at

      Comment


      • #33
        Bro, where do I get astm extensions or plugins.pls anyone share the information.

        Comment


        • #34
          Originally posted by vognstang View Post
          this post does not seem to generate much interest, but anywho, i added some stuff and done some testing of the connector... so here goes...
          Which mirth version have to use ?

          Comment


          • #35
            Originally posted by vognstang View Post
            okidoki sounds good i am not to concerned then, removing the beans stuff (as it sounds like you are doing) would definetly help on a multitude of things (ex. automated testing)

            I attached a very very very preliminary version of the connector (plus source), any feed back is appreciated, though i can not promise to adhere to any comments and i will ofcause not be liable for it to work(that was the disclaimer)
            Which mirth versions have to use to install extensions?

            Comment


            • #36
              Extensions are versioned like Mirth itself. Also the ASTM extension is not free, it comes with the gold license pack. You need a contract / license agreement with Nextgen to run any extension built by Nextgen/Mirth that is not in the base product you can download for free.
              Mirth 3.8.0 / PostgreSQL 11 / Ubuntu 18.04
              Diridium Technologies, Inc.
              https://diridium.com

              Comment

              Working...
              X