• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deployement problem in oc4j with hibernate + JPA and Spring

 
ishan dave
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,

From last 2 days I am facing a problem in deployment of our application in oc4j client of oracle app server.
I am getting the following exception



When I am deploying the same application in tomcat app server its working fine. But I am unable to deploy the same in oc4j.

I am using the following technologies
Spring 2.0
Struts 2.0
Hibernate 3.3
JPA 1.0
OC4J 10.1.3.3.0
IDE : my eclipse 6.0

My persistence.xml


Datasource-context.xml


Server.xml (oc4j/j2ee/home/config)


Orion-application.xml (oc4j/j2ee/home/config)



Please help to deploy my application, I created one application with struts2 and spring2 and that is working fine, but when I try to add JPA with hibernate 3.3 I am unable to deploy it.

Thanks a lot in advance.

With best regards,
Ishaan
 
Edvins Reisons
Ranch Hand
Posts: 364
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
---------------------------------------------------------------------------

Operation failed with error: [mkclsets:mkclsets] - Exception creating EntityManagerFactory using PersistenceProvider class oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider for persistence unit mkclsetsPersistenceUnit.

---------------------------------------------------------------------------

This exception message means that the server is using Toplink and not Hibernate as persistence provider. Maybe this will help you configure your server, or some more documentation and Internet lookup in the same direction.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic