I am facing an issue while shutting down Wildfly 8.2 , standalone mode , jdk 1.7 on RHEL 6.5 . During shutdown we are updating the db using the datasource. But the datasource is getting un bounded before the EJB [in a ear] is trying to update the database.
We have added the dependency on the ojdbc module in jboss-deployment-structure.xml file. [<module name="com.oracle.ojdbc6" export="true"/> ] . This is not helping to resolve the issue
We want to unbound datasource after ear undeployment during shutdown.
Clt+C is unbounding datasource immediately
INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) JBAS010409: Unbound data source [java:jboss/datasources/ABCDataSource]
INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) JBAS010409: Unbound data source [java:jboss/datasources/CCCDataSource]
INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-7) JBAS010409: Unbound data source [java:jboss/datasources/PPPPDataSource]
INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-8) JBAS010409: Unbound data source [java:jboss/datasources/AAAADataSource]
thanking you all in advance.
regards
Karteek