Van Halbert
2013-08-12 13:42:59 UTC
Van Halbert [https://community.jboss.org/people/van.halbert] created the discussion
"Trying to create datasource, delete and then create again with same name requires sever restart"
To view the discussion, visit: https://community.jboss.org/message/832328#832328
--------------------------------------------------------------
Referencing https://issues.jboss.org/browse/AS7-4776 https://issues.jboss.org/browse/AS7-4776
Teiid is having an issue with the usecase:Â Â Â create, delete and create again with same name
The use case is driven from the Teiid Designer, which will create a datasource in order that the user can preview the data.   And there are cases when the datasource will need to be removed. However, a subsequent call to recreate the datasource with the same name will be unsuccessfull unless the server is restarted.   It appears the server isn't cleaning up the connection factory after the delete, hence the issue with trying to readd with the same name.
Any possibility of a fix?
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/832328#832328]
Start a new discussion in IronJacamar at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098]
"Trying to create datasource, delete and then create again with same name requires sever restart"
To view the discussion, visit: https://community.jboss.org/message/832328#832328
--------------------------------------------------------------
Referencing https://issues.jboss.org/browse/AS7-4776 https://issues.jboss.org/browse/AS7-4776
Teiid is having an issue with the usecase:Â Â Â create, delete and create again with same name
The use case is driven from the Teiid Designer, which will create a datasource in order that the user can preview the data.   And there are cases when the datasource will need to be removed. However, a subsequent call to recreate the datasource with the same name will be unsuccessfull unless the server is restarted.   It appears the server isn't cleaning up the connection factory after the delete, hence the issue with trying to readd with the same name.
Any possibility of a fix?
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/832328#832328]
Start a new discussion in IronJacamar at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098]