Mantis - Resin
Viewing Issue Advanced Details
6071 minor always 07-13-17 14:25 11-21-17 09:44
wileysaw  
ferg  
normal  
closed 4.0.54  
fixed  
none    
none 4.0.54  
0006071: Additional methods for jcache API & related hibernate errors
java.lang.IllegalStateException: java.lang.NoSuchMethodError: javax.cache.Caching.getCachingProvider(Ljava/lang/String;)Ljavax/cache/spi/CachingProvider;

Hibernate I get this error (with servlet-hack turned on) :file:/home/ec2-user/resin/webapps/ROOT/WEB-INF/classes/META-INF/persistence.xml:6: com.caucho.env.jpa.PersistenceUnitManager.setProvider(): org.hibernate.jpa.HibernatePersistenceProvider must implement javax.persistence.spi.PersistenceProvider.


javax.persistence.PersistenceException: Exception [EclipseLink-28018] (Eclipse Persistence Services - 2.4.0.v20120608-r11652): org.eclipse.persistence.exceptions.EntityManagerSetupException
                       Exception Description: Predeployment of PersistenceUnit [zeusportal.entityManagerFactory] failed.
                       Internal Exception: Exception [EclipseLink-28010] (Eclipse Persistence Services - 2.4.0.v20120608-r11652): org.eclipse.persistence.exceptions.EntityManagerSetupException
                       Exception Description: PersistenceUnitInfo zeusportal.entityManagerFactory has transactionType JTA, but does not have a jtaDataSource defined.
[17-07-09 14:31:04.876] {resin-23} javax.persistence.PersistenceException: Exception [EclipseLink-28018] (Eclipse Persistence Services - 2.4.0.v20120608-r11652): org.eclipse.persistence.exceptions.EntityManagerSetupException
                       Exception Description: Predeployment of PersistenceUnit [zeusportal.entityManagerFactory] failed.
                       Internal Exception: Exception [EclipseLink-28010] (Eclipse Persistence Services - 2.4.0.v20120608-r11652): org.eclipse.persistence.exceptions.EntityManagerSetupException
                       Exception Description: PersistenceUnitInfo zeusportal.entityManagerFactory has transactionType JTA, but does not have a jtaDataSource defined.

Notes
(0006773)
ferg   
07-31-17 15:40   
Renamed javax.cache to com.caucho.caucho to avoid conflict with final cache spec.