Contents

When the breakpoint in a route between two components is removed and it shows as removed in the Event Process as well, whereas it remains in the backend server, remove routes in FES Route Manager in the Server Connections (eStudio). If this does not work, invoke "disconnectClient" operation in the FES Admin Service in Server Connections (eStudio).

Removing Routes

If an Event Process is running in eStudio with unclosed breakpoint (E.g. Simple Chat EP running with breakpoint set in route2), Resolve this by removing the route.


Figure 1: Sample EP with unclosed Breakpoint (in route2)
 

After opening the Connection Management perspective in eStuido, perform the actions below in the Server Connections panel:

  1. Log into FES-JMX and navigate to JMX Connection > Fiorano > etc > RouteManager > RouteManager node.
  2. Right click RouteManager node and click View Operations.


    Figure 2: Navigating to RouteManager node and opening the dialog box of operations
     
  3. In the RouteManager dialog box, select the listAllRoutes operation in the left navigation bar and then click the listAllRoutes button under the Invoke Operation section to list all the routes with breakpoints.
  4. The routes with breakpoint appear in the format "<EventProcessName>_<Version>_<RouteName>_DEBUG" under the Result tab. Double-click the value(s) or click the button next to it and copy the value(s).


    Figure 3: Copying the route name that appears in the list under the Result tab
     
  5. Click removeRoute(routeGUID) operation in the left navigation panel and replace the routeGUID value "null" (under the Invoke Operation section) with the route name copied in the previous step. Then, click the removeRoute button to remove the route.


    Figure 4: Invoking removeRoute operation
     
  6. In the dialog box with the confirm message "Operation invoked successfully", click OK.


    Figure 5: Dialog box with Confirmation message

If removing routes does not fix the issue, refer to the next section to understand how to disconnect clients.

Disconnecting Clients

When an event process runs with Breakpoint, the route with breakpoint appears in the Dashboard as PTP (Point-to-Point) connections under the Enterprise Server (Server Status > Connections). Copy the client IDs and disconnect these from the Admin Service utility under FES-JMX in the Server Connections panel present in the Connection Management perspective. (FES-JMX > JMX Connection > Fiorano > etc > AdminService > AdminService > View Operations). This disconnects the route. Below are elaborate steps for the same scenario (Removing Routes section) of Simple Chat Event Process running with breakpoint set in route2.

Step 1: Login to Fiorano Web Console (ESB Dashboard) and copy the Client IDs

Perform the following actions in the Dashboard to complete Step 1:

  1. Under the Server Status node, select fes (Enterprise Server), and then select Connections.
  2. Check for Connection Type : PTP, related to unclosed break points. The connection names will have the pattern <CLIENT_ID>,<Number> . Client IDs will be in the format mentioned below:
    • ESBX_SYSTEM<Event Process Name><Version><RouteName>_C
    • ESBX_SYSTEM<EventProcessName><Version><COMPONENT_NAME>_<RouteName>
  3. Double-click the ClientIDs and copy it one after the other. Note: Ignore the route number suffixed to the Client ID.


    Figure 6: Copying the Client IDs from the Connections section in Dashboard

Step 2: Open the Connection Management perspective in eStudio and disconnect the PTP Client Connection identified by the Client IDs

After opening Connection Management perspective in eStuido, perform the actions below in Server Connections panel:

  1. Log into FES-JMX and navigate to JMX Connection > Fiorano > etc > AdminService > AdminService node.


    Figure 7: Navigating to AdminService node
     
  2. Right click the AdminService node and click View Operations.
  3. In the AdminService dialog box, select the disconnectClient(clientID) operation on the left navigation bar and paste the Client IDs (copied in Step 2) in the clientID field under the Operation tab.

    Icon

    Paste the Client IDs one after the other, that is, disconnect one at a time.

  4. Click the disconnectClient button to invoke the operation to disconnect the PTP client connection.


    Figure 8: Invoking operation to disconnect client
     
  5. The result in the Result tab appears as
    1. 'true' if the client is disconnected
    2. 'false' if the client is not disconnected.


      Figure 9: The result displayed in the Result tab

The result gets reflected in the Dashboard and the client IDs which are disconnected from the AdminService are no longer displayed in the Dashboard.

Adaptavist ThemeBuilder EngineAtlassian Confluence