[jboss-jira] [JBoss JIRA] Commented: (JBAS-6777) 'interleaving' prop on connection factories and datasources is always null, even when underlying ds.xml file contains the interleaving element
Scott M Stark (JIRA)
jira-events at lists.jboss.org
Fri Jun 19 18:32:56 EDT 2009
[ https://jira.jboss.org/jira/browse/JBAS-6777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12473099#action_12473099 ]
Scott M Stark commented on JBAS-6777:
-------------------------------------
Yes, its in the https://svn.jboss.org/repos/jbossas/branches/JBPAPP_5_0 and the test is validating that the interleaving property is true on the underlying component:
// Query the interleaving
ManagementView mgtView = getManagementView();
ComponentType type = KnownComponentTypes.DataSourceTypes.XA.getType();
ManagedComponent txcf = mgtView.getComponent(jndiName, type);
assertNotNull(txcf);
ManagedProperty interleaving = txcf.getProperty("interleaving");
assertNotNull("interleaving", interleaving);
MetaValue interleavingMV = interleaving.getValue();
assertNotNull("interleaving.value", interleavingMV);
assertEquals("interleaving.value is true", SimpleValueSupport.wrap(Boolean.TRUE), interleavingMV);
Can you attach the ds.xml file that is showing the false value.
> 'interleaving' prop on connection factories and datasources is always null, even when underlying ds.xml file contains the interleaving element
> ----------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: JBAS-6777
> URL: https://jira.jboss.org/jira/browse/JBAS-6777
> Project: JBoss Application Server
> Issue Type: Sub-task
> Security Level: Public(Everyone can see)
> Components: ProfileService
> Affects Versions: JBossAS-5.1.0.GA
> Reporter: Ian Springer
> Assignee: Scott M Stark
> Fix For: JBossAS-5.2.0.Beta1
>
>
> My ds.xml file:
> <connection-factories>
> <tx-connection-factory>
> <jndi-name>MyXATxCF</jndi-name>
> <rar-name>jms-ra.rar</rar-name>
> <connection-definition>org.jboss.resource.adapter.jms.JmsConnectionFactory</connection-definition>
> ...
> <interleaving/>
> </tx-connection-factory>
> </connection-factories>
> But the interleaving ManagedProperty on this CF is still null, rather than true:
> name=interleaving, viewUse=NONE, readOnly=false, mandatory=false, removed=false, type=SimpleMetaType:java.lang.Boolean, value= <<<null>>>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list