-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: java.lang.IncompatibleClassChangeError in SessionImpl.java
PostPosted: Thu Nov 16, 2006 5:51 pm 
Beginner
Beginner

Joined: Thu Nov 16, 2006 11:34 am
Posts: 26
Location: Boston
I get this error at runtime for my application deployed on JBoss 4.0.5 which has hibernate 3.

java.lang.IncompatibleClassChangeError
at org.hibernate.impl.SessionImpl.afterTransactionCompletion(SessionImpl.java:377)
at org.hibernate.jdbc.JDBCContext.afterTransactionCompletion(JDBCContext.java:228)
at org.hibernate.jdbc.JDBCContext.disconnect(JDBCContext.java:191)
at org.hibernate.jdbc.JDBCContext.release(JDBCContext.java:88)
at org.hibernate.impl.SessionImpl.close(SessionImpl.java:274)

The same configuration deploys fine on JBoss 4.0.2.

I tried googling and removed log4j jars (incompatible versions probably) from my application.war file but the problem still persisits

what next?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 17, 2006 11:57 am 
Beginner
Beginner

Joined: Thu Nov 16, 2006 11:34 am
Posts: 26
Location: Boston
I got this solved by deleting one of the hibernate.jars that comes along with Jboss 4.0.5 distribution. My application's WEB-INF/lib had an older version of hibernate.jar and that created the incompatibilities at runtime ...


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.