Description: "ManagedConnection pool has been destroyed" exception during migration of database server for ActiveMatrix Administrator.
Symptoms: Steps followed to change ActiveMatrix Administrator database.
=============================================================
Changing database details requires that you perform the following steps.
1).From the TIBCO Administrator user interface, stop the following applications:
-com.tibco.amx.commonlogging.logservice.app
-com.tibco.amx.commonlogging.payloadservice.app
-com.tibco.amx.mcr.aggregator
2).Uninstall the Teneo and Hibernate resource instances that the applications are using.
3). Uninstall the JDBC resource instances that the applications are using.
4).Start the TIBCO Configuration Tool and select Edit TIBCO ActiveMatrix Administrator Server Configuration - V3.2.
5).Select the enterprise and server name from the Server Configuration drop down menu and select Edit Database settings.
6).Edit
the database configuration and click Configure. When the update is complete,
TIBCO Configuration Tool restarts the SystemNode node.
7).When
the SystemNode node becomes available, log in to the TIBCO Administrator
GUI and update the JDBC resource templates of the applications stopped in step 1 with the new database information.
8).Install the JDBC, Teneo, and Hibernate resource instances.
9).Restart the three applications.
10).Restart the SystemNode node.
*If the database URL is changed to point to a different database, make
sure you migrate all data from the old database location to the new
database location.You can do this migration after step 3 in the above
list (stop tibcohost and nodes, backup old amx admin db, migrate DB to
new server, restart tibcohost and nodes ). Editing the configuration
alone does not migrate the data.
===============================================================
Problem. At Step 3 an exception was thrown ("ManagedConnection pool has been destroyed") while uninstalling JDBC resource instances for the Log Service or Payload Service.
Cause: This is a document defect resolved in ActiveMatrix 3.3.0 . When uninstalling JDBC resource instances, confirm that the Governance JDBC shared resource instance must be the last to be uninstalled.