UIMA
  1. UIMA
  2. UIMA-2437

UIMA AS not checking state of a Connection when stopping resulting in ConnectionClosedException

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.1AS
    • Fix Version/s: 2.4.0AS
    • Component/s: Async Scaleout
    • Labels:
      None

      Description

      Jenkins reports an exception when running a new testcase testGenerateAndDeployPrimitiveDD():

      org.apache.activemq.ConnectionClosedException: The connection is already closed
      at org.apache.activemq.ActiveMQConnection.checkClosed(ActiveMQConnection.java:1363)
      at org.apache.activemq.ActiveMQConnection.checkClosedOrFailed(ActiveMQConnection.java:1350)
      at org.apache.activemq.ActiveMQConnection.deleteTempDestination(ActiveMQConnection.java:1933)
      at org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl.stopConnection(BaseUIMAAsynchronousEngine_impl.java:236)
      at org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl.stop(BaseUIMAAsynchronousEngine_impl.java:281)
      at org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngineCommon_impl$UimaASShutdownHook.run(BaseUIMAAsynchronousEngineCommon_impl.java:3040)
      at java.lang.Thread.run(Thread.java:595)

      Check the state of a connection while doing cleanup.

        Activity

        Jerry Cwiklik created issue -
        Hide
        Jerry Cwiklik added a comment -

        Added code to check if broker connection is valid before doing jms cleanup

        Show
        Jerry Cwiklik added a comment - Added code to check if broker connection is valid before doing jms cleanup
        Jerry Cwiklik made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Jerry Cwiklik
            Reporter:
            Jerry Cwiklik
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development