forhead wrote:
Here is stack trace: LocalManagedConnectionFactory.createManagedConnection crashes at line 160.
We believe that the problem is in hotdeployment: JBoss does not manage to undeploy the application and connections and that is why hotdeployment fails when Hibernate asks for a connection from JBoss connection manager. I use jTDS driver, but problems occur with MS JDBC Driver too.
This is neither a hibernate error nor jboss. Exception happens when jboss tries to create connection to DMBS using jdbc driver's connect().
nested throwable: (java.lang.RuntimeException: No message resource found for message property prop.servertype)
this is exactly what your MS JDBC driver wants to tell you (No message resource found for message property prop.servertype).
Check your driver configuration.
Make sure you can get connection from jboss datasource.
Deploy your hibernate application again.