I tried to set up p2spy, on jboss 6.1 final. So, I altered the <driver-class> in oracle-ds.xml and configured the oracle driver in spy.properties, and fired up jboss. Fine. Nothing captured however. Application still working.
So decided to revert my change to the oracle driver, but I also made a deliberate typo in the <driver-class> statement, which I thought would stop jboss from speaking to Oracle.
It didn't break anything. I can log in to the application, make changes, and the changes persists across jboss restarts.
I would like to understand where else database connectivity could be configured?
Does hibernate have its own data source configuration when it's running in jboss?