title: Deployment org.hibernate.service.UnknownServiceException: Unknown service requested [org.hibernate.service.jdbc.connections.spi.ConnectionProvider]
body: <p>I am trying to deploy a Java EE 6 Rest application to a remote Glassfish Server but keep getting this error</p>
  
  <pre><code>Caused by: org.hibernate.service.UnknownServiceException: Unknown service requested [org.hibernate.service.jdbc.connections.spi.ConnectionProvider]
          at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:126)
          at org.hibernate.internal.AbstractSessionImpl.getJdbcConnectionAccess(AbstractSessionImpl.java:259)
          at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.&lt;init&gt;(JdbcCoordinatorImpl.java:75)
          at org.hibernate.engine.transaction.internal.TransactionCoordinatorImpl.&lt;init&gt;(TransactionCoordinatorImpl.java:87)
  </code></pre>
  
  <p>However the code runs perfectly when deployed locally.</p>
  
  <p>And the remote Glassfish server already has an application running on it with this same version of hibernate so I'm confused as to what can be causing this.</p>
  
  <p>Any help appreciated.</p>
  
  <p>Regards</p>