Bookmark Topic Watch Topic
  • New Topic

JPA + JBoss = java.lang.ClassCastException

 
Igor Bo
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Report post to moderator
Dear experts,

I developed a web application that uses JPA provided by TopLink. It is deployed to Tomcat 6 and everything work perfectly but now I need to migrate to JBoss. While deploying to JBoss I have following error:


persistence.xml:



Using Hibernate JPA provider doesn't change anything, as well as transaction-type="RESOURCE_LOCAL". Application also uses ICEFaces but I don't think problem is there.

Java ver: JavaSE 6, JavaEE 5
JBoss ver: jboss-5.1.0.GA-jdk6
Postgres ver: postgresql-8.4.4-1-windows
Driver: postgresql-8.4-701.jdbc4.jar
IDE: MyEclipse 8.5
Platform: Windows

Thank you in advance for any help!
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not post the same question to multiple forums: CarefullyChooseOneForum

Let's continue the discussion in this duplicate thread.
 
    Bookmark Topic Watch Topic
  • New Topic