While going though the simple deployment/undeployment process in the Jboss5 I observed
1) jboss.jca:name=DefaultJCAMetaDataRepository,service=JCAMetaDataRepository MBean exists
and the operations like listDeploymentsForConnector() did not give the results as expected
. I deployed a sample.rar and a connection factory my-ds.xml for this rar .
I keyed in "sample.ear" for the listDeploymentForConnector() and found that it
did not returned any values as I was expecting the info regadring the my-ds.xml .
Before doing this I verified the deployment success by looking required MBean's at the
jmx-console .
2) ConnectorMetaDataCount () and ManagedConnectionFactoryCount() are not reducing the
count once the rar/-ds.xml file is undeployed .
After looking into the code I found that JCAMetaDataRepository did not have methods
defined for removal .
The JCAMetaDataRepository(repository) is updated in the Parser deployer for Connector AND
MCF . Actually the repository should be added in the deploy(..) of the real deployers
(for Connector AND MCF).
The undeploy(....) of the real deployers should remove the entry from the repository also
, this is missing right now .
PS : I understand that the RARMetaDataRepository is basically named as
JCAMetaDataRepository .
http://anonsvn.jboss.org/repos/jbossas/trunk/connector/src/main/org/jboss...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107402#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...