I just upgrade my JBoss 2.4 installation to 2.4.10 (with Tomcat 4.0.6) and I am having a few problems when re-deploying some CMP beans.
I have an EAR which contains a Jar with several CMP beans in it. On startup the data source initalises and the beans are deployed succesfully. After deployment the application works OK.
However, when I re-deploy the EAR I get the following error:
[INFO,ContainerFactory] Deploying DatabaseSampleEJB
[WARN,JawsApplicationMetaData] Connection init failed
java.lang.RuntimeException: No ManagedConnections Available!
java.sql.SQLException: Connection unavailable: java.lang.RuntimeException: No ManagedConnections Available!
If I restart the service and deploy again everything is fine.
Can anyone tell me what would cause this error and how I fix it?
I forgot to mention the same EAR will deploy and re-deploy correctly on 2.4.4 (Tomcat 4.0.1).
Any help appreciated.