I'm using JBoss 4.0.2 on Sun JDK 1.5.0_06, alternately on JRockit 1.5.0_04 build 26. The same problem I'll describe happens on both.
We have an application deployed as an EAR. Deployment from a cold JBoss start has no problems, however, when using hot deployment, most of the time JBoss will
a- unbind our datasource
b- start loading services
c- not find the datasource, and blow up
I think it should first unbind the datasource, then re-bind it, then proceed. For some reason this only happens on (few) hot deployments.
Any way to track this down further?
i'm not a cador, but i can tell you hot deploy working as well as plug'n play, if you see what i mean.
you should stop your jboss server before deploying.