anonymous wrote : 11:39:59,609 INFO [STDOUT] 11:39:59,609 INFO [Version] Hibernate
Annotations 3.3.0.GA
| 11:39:59,640 INFO [STDOUT] 11:39:59,640 INFO [Environment] Hibernate 3.2.6
| 11:39:59,640 INFO [STDOUT] 11:39:59,640 INFO [Environment] hibernate.properties not
found
| 11:39:59,656 INFO [STDOUT] 11:39:59,656 INFO [Environment] Bytecode provider name :
javassist
| 11:39:59,656 INFO [STDOUT] 11:39:59,656 INFO [Environment] using JDK 1.4
java.sql.Timestamp handli
| ng
| 11:39:59,812 INFO [STDOUT] 11:39:59,812 INFO [Version] Hibernate EntityManager
3.3.1.GA
| 11:40:00,359 INFO [STDOUT] 11:40:00,359 INFO [AnnotationBinder] Binding entity from
annotated clas
| s: com.hui.Person
| 11:40:00,875 INFO [STDOUT] 11:40:00,875 INFO [EntityBinder] Bind entity
com.hui.Person on table pe
| rson_table
| 11:40:00,953 INFO [STDOUT] 11:40:00,953 INFO [Version] Hibernate Validator 3.0.0.GA
| 11:40:01,171 INFO [STDOUT] 11:40:01,171 INFO [NamingHelper] JNDI InitialContext
properties:{java.n
| aming.provider.url=jnp://localhost:1099,
java.naming.factory.initial=org.jnp.interfaces.NamingContex
| tFactory}
Looks like you are packaging your own version of Hibernate with your application.
JBoss-4.2.2GA does not ship with this version of Hibernate. It comes with:
15:46:45,666 INFO [main] [Version] Hibernate EntityManager 3.2.1.GA
| 15:46:45,760 INFO [main] [Version] Hibernate Annotations 3.2.1.GA
| 15:46:45,791 INFO [main] [Environment] Hibernate 3.2.4.sp1
Try removing Hibernate related jars from your application. Let's see if this is a
classloader related issue. Furthermore, are you packaging any jboss related jars too? If
you have the list of jars that are packaged and deployed in your application then post
them here. And what does your jboss-app.xml look like?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159521#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...