Details
-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
7.1.0.Alpha1
-
None
Description
In doing some performance testing, I wanted to remove the Cached Connection Manager (CCM) from the data source I configured. Since you cannot edit this attribute through the console (as of yet), I hand edited the XML file to add use-ccm="false" as follows:
<datasource jndi-name="java:/MySqlDS" pool-name="MySqlDS" enabled="true" jta="true" use-java-context="true" use-ccm="false">
After starting the server, I noticed that the use-ccm value disappears when the server is running, and the above line looks like this:
<datasource jndi-name="java:/MySqlDS" pool-name="MySqlDS" enabled="true" jta="true" use-java-context="true">
After shutting down the server, I noticed that the use-ccm attribute was back, but was now true again, as follows:
<datasource jndi-name="java:/MySqlDS" pool-name="MySqlDS" enabled="true" jta="true" use-java-context="true" use-ccm="true">
So, this is obviously broken. I'm not even sure if when I set it to false, that it actually is running that way. At this point, since its missing from the configuration after startup, and is written back as true, I believe its probably running with a value of true as well, which is obviously not what I want.