Unable to remove Thread Pool from HTTP Connector Shared Resource template.

Unable to remove Thread Pool from HTTP Connector Shared Resource template.

book

Article ID: KB0093238

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix Service Grid -
TIBCO ActiveMatrix Service Bus -
TIBCO ActiveMatrix BusinessWorks Service Engine -

Description

Description:
User has configured a HTTP Connector Shared resource with a Thread Pool in HTTP Connector Shared Resource -> Advanced -> Worker Thread Pool, and was not able to remove the Worker Thread Pool.
Symptoms:
For a HTTP Connector Shared Resource, the "Advanced" -> "Worker Thread Pool" field once set, can no longer accept an empty value.

Cause:
Users experienced this issue in TIBCO ActiveMatrix ("AMX") 3.1.5 environment. This is a defect already fixed in AMX version 3.3.0.

Issue/Introduction

Unable to remove Thread Pool from HTTP Connector Shared Resource template.

Resolution

As a workaround use the Command Line Interface ("CLI") to update the shared resource.

Use the template under <<AMX_CONFIG_HOME>>\admin\<enterprise>\samples and modify the files resourcetemplate_build.xml and resourcetemplate_data.xml as per the impacted HTTP Connector shared resource. Remove the threadpool name from the "threadPoolJndiName" placeholder under resourcetemplate_data.xml -> HttpConnectorResourceTemplate.

Before running the scripts, ensure that the remote_props.properties file contains the correct information. All the password fields are in an obfuscated format. The obfuscate_build.xml file (present in the same location) can be used to generate encrypted passwords if required.

ant -f  <AMX_CONFIG_HOME>/admin/<enterprise>/samples/obfuscate_build.xml -Dpassword=<clear text password>

Once verified run the ant script "update" target to modify the Shared Resource. After the script executes successfully, navigate to Admin -> Shared Objects -> Resource Template and verify whether the Worker Thread Pool has been removed.

ant -f resourcetemplate_build.xml update

If an installed Resource Instance is associated with this Shared Resource, from the Administrator UI navigate to  Infrastructure -> Hosts ->  <<Host_Name>> -> Resource Instances. A user will notice the corresponding Resource Instance (RI) in an "Out of Sync" state. The user can then install the RI.

Additional Information

Attach are sample files (Filename: resourcetemplate_build.xml and resourcetemplate_data.xml) for the HTTP Connector.

Attachments

Unable to remove Thread Pool from HTTP Connector Shared Resource template. get_app
Unable to remove Thread Pool from HTTP Connector Shared Resource template. get_app