biemond-orawls
biemond-orawls copied to clipboard
wls_datasource doesnt update DatasourceType
@biemond,
I'm seeing this weird issue not sure why it happens but this is what I have seen so far. I tried to get the attribute details using what you do in set_attribute_value and get_attribute_value. This is what I see. Why is DatasourceType shows None while for others the values are just fine.
wls:/J2EE_domain/edit/JDBCSystemResources/omdbDS/Resource/omdbDS !> fields=getMBI().getAttribute('DatasourceType').getDescriptor().getFieldValues(attribute_fields)
wls:/J2EE_domain/edit/JDBCSystemResources/omdbDS/Resource/omdbDS !> print fields
array(java.lang.Object,[None, None, None])
wls:/J2EE_domain/edit/JDBCSystemResources/omdbDS/Resource/omdbDS !> fields=getMBI().getAttribute('Name').getDescriptor().getFieldValues(attribute_fields)
wls:/J2EE_domain/edit/JDBCSystemResources/omdbDS/Resource/omdbDS !> print fields
array(java.lang.Object,[None, None, None])
wls:/J2EE_domain/edit/JDBCSystemResources/omdbDS/Resource/omdbDS/JDBCXAParams/omdbDS !> fields=getMBI().getAttribute('KeepXaConnTillTxComplete').getDescriptor().getFieldValues(attribute_fields)
wls:/J2EE_domain/edit/JDBCSystemResources/omdbDS/Resource/omdbDS/JDBCXAParams/omdbDS !> print fields
array(java.lang.Object,['boolean', 1, None])
wls:/J2EE_domain/edit/JDBCSystemResources/omdbDS/Resource/omdbDS/JDBCDataSourceParams/omdbDS !> fields=getMBI().getAttribute('GlobalTransactionsProtocol').getDescriptor().getFieldValues(attribute_fields)
wls:/J2EE_domain/edit/JDBCSystemResources/omdbDS/Resource/omdbDS/JDBCDataSourceParams/omdbDS !> print fields
array(java.lang.Object,[None, 'OnePhaseCommit', None])
what I noticed, I cannot set my datasource type to GENERIC. the module is resetting the type to AGL.
ok, I guess wls does this on purpose or it is a bug. I will check it out
that's what I think too. could be a weblogic bug.
My sincere apologies. There was an issue with our r10k which caused our old code to send to the servers. This has been rectified now. I can update the datasource from AGL to GENERIC.