Details
-
Bug
-
Resolution: Obsolete
-
Major
-
EAP_EWP 5.1.2 ER1, EAP_EWP 5.2.0 ER2
-
None
-
Fedora 14 x64
-
NEW
Description
1. run an EAP/EWP 5.1.2.ER1 instance (I tried with EAP and EWP 'default' configuration)
2. deploy a datasource using admin console. This affects all types (Local TX, No TX, XA). use any appropriate configuration data
3. display the list of deployed datasources of the given type and delete the datasource you had created
4. the datasource disappears from the admin console, but it stays deployed on the server and the *-ds.xml file doesn't get deleted from 'deploy' directory
Excerpt from EAP/EWP log that appears after you delete the datasource using admin console:
14:03:02,725 INFO [DeployHandler] Stop, [vfsfile:/home/jmartisk/testing-eap-5.1.2-ER1/jboss-eap-noauth-5.1/jboss-as/server/default/deploy/myAwesomeDS-ds.xml]
14:03:02,726 INFO [ConnectionFactoryBindingService] Unbound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=myAwesomeDS' from JNDI name 'java:myAwesomeDS'
14:03:02,732 INFO [DeployHandler] End stop, [vfsfile:/home/jmartisk/testing-eap-5.1.2-ER1/jboss-eap-noauth-5.1/jboss-as/server/default/deploy/myAwesomeDS-ds.xml]
14:03:02,732 INFO [DeployHandler] Begin start, [vfsfile:/home/jmartisk/testing-eap-5.1.2-ER1/jboss-eap-noauth-5.1/jboss-as/server/default/deploy/myAwesomeDS-ds.xml]
14:03:02,747 INFO [PersistenceModificationChecker] /home/jmartisk/testing-eap-5.1.2-ER1/jboss-eap-noauth-5.1/jboss-as/server/default/deploy/myAwesomeDS-ds.xml 1317816175000 // 1317816182716
14:03:02,764 INFO [DeployHandler] End start, [vfsfile:/home/jmartisk/testing-eap-5.1.2-ER1/jboss-eap-noauth-5.1/jboss-as/server/default/deploy/myAwesomeDS-ds.xml
.. the datasource only gets restarted, not deleted.