File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Object Relational Mapping and the fly likes JPA/Hibernate 3.5.5 in WebSphere Application Server 7 Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "JPA/Hibernate 3.5.5 in WebSphere Application Server 7 Exception" Watch "JPA/Hibernate 3.5.5 in WebSphere Application Server 7 Exception" New topic
Author

JPA/Hibernate 3.5.5 in WebSphere Application Server 7 Exception

Viji San
Ranch Hand

Joined: Aug 12, 2010
Posts: 35
Hello, I am getting the below exception when I deploy my Web/EJB/JPA Hibernate application in WAS7 .


Exception Message:


I have the below hibernate jar files in my lib

antlr-2.7.6.jar
commons-collections-3.1.jar
dom4j-1.6.1.jar
hibernate-jpa-2.0-api-1.0.0.Final.jar
hibernate3.jar
javassist-3.9.0.GA.jar
jta-1.1.jar
slf4j-api-1.5.8.jar
slf4j-jdk14-1.5.8.jar
slf4j-log4j12-1.5.6.jar
slf4j-nop-1.5.2.jar
slf4j-simple-1.5.8.jar

My Persistence.xml file content is below:



Orm.xml file content is below:



Can anyone please help me to find out what am I missing here and which jar file needs to be added?
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

The method being called is a JEE 6 method. Does WAS 7 support JEE 6?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Viji San
Ranch Hand

Joined: Aug 12, 2010
Posts: 35
Looks like, I need to apply a feature pack in WAS 7 to get support for JPA2.0 and Hibernate 3.5.5. Otherwise, I might need to go with JPA1 1.0 and Hibernate 3.2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JPA/Hibernate 3.5.5 in WebSphere Application Server 7 Exception