I have successfully deploy the mysql driver jar and the project war file in standalone mode in jboss AS 7 and connect to the data base through data source.
Then i start the server in domain mode and deploy the connector jar and war file and assign them to server group also. But when i run the application I am getting a null pointer when fetching the connection. The data source has not initialize and it cause the null pointer to be thrown in datasource.getConnection()
Is there any additional configuration missing here in domain mode which is not in the standalone mood.
Do we need to set a xa-datasource in domain mood for jboss? In standalone i didn't not set it though