[jboss-jira] [JBoss JIRA] (AS7-2150) use-ccm flag gets over written after server started

Stefano Maestri (Resolved) (JIRA) jira-events at lists.jboss.org
Thu Oct 20 09:10:47 EDT 2011


     [ https://issues.jboss.org/browse/AS7-2150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefano Maestri resolved AS7-2150.
----------------------------------

    Resolution: Cannot Reproduce Bug


Not reproducible in current master. It has been fixed with this pull request
https://github.com/jbossas/jboss-as/pull/468
                
> use-ccm flag gets over written after server started
> ---------------------------------------------------
>
>                 Key: AS7-2150
>                 URL: https://issues.jboss.org/browse/AS7-2150
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: JCA
>    Affects Versions: 7.1.0.Alpha1
>            Reporter: Andrig Miller
>            Assignee: Stefano Maestri
>             Fix For: 7.1.0.Beta1
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list