After spending some more time analyzing the failure of testAddDataSource I could make that
the org.jboss.resource.deployers.management.DsDataSourceTemplate.wrtieTemplate(..) is not
implemented fully , the code should be something like
| if( group instanceof ManagedConnectionFactoryDeploymentGroup )
| {
| AbstractManagedObjectFactory mof = new AbstractManagedObjectFactory();
| ManagedObject dsDeploymentMO =
mof.initManagedObject((Serializable)group,"DataSource", "LocalTx");
| for(ManagedProperty moprop : values.getProperties().values())
| {
| ManagedProperty moProp = dsDeploymentMO.getProperty(moprop.getName());
| moProp.setValue((Serializable)moprop.getValue());
| }
| }
|
This above code needs to be refactored , may be this could provide some help to Alexey who
would be looking at this now .
PS: This code is yet not working
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110250#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...